2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for courier-authlib 0.60.1.
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 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 # Zsh 3.x and 4.x performs 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
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 # Check that we are running under the correct shell.
556 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Remove one level of quotation (which was required for Make).
561 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
566 if test "X$1" = X--no-reexec
; then
567 # Discard the --no-reexec flag, and continue.
569 elif test "X$1" = X--fallback-echo
; then
570 # Avoid inline document here, it may be left over
572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573 # Yippee, $echo works!
576 # Restart under the correct shell.
577 exec $SHELL "$0" --no-reexec ${1+"$@"}
580 if test "X$1" = X--fallback-echo
; then
581 # used as fallback echo
589 # The HP-UX ksh and POSIX shell print the target directory to stdout
591 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
593 if test -z "$ECHO"; then
594 if test "X${echo_test_string+set}" != Xset
; then
595 # find a string as large as possible, as long as the shell can cope with it
596 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
599 echo_test_string
=`eval $cmd` &&
600 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
612 # The Solaris, AIX, and Digital Unix default echo programs unquote
613 # backslashes. This makes it impossible to quote backslashes using
614 # echo "$something" | sed 's/\\/\\\\/g'
616 # So, first we look for a working echo in the user's PATH.
618 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
619 for dir
in $PATH /usr
/ucb
; do
621 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624 test "X$echo_testing_string" = "X$echo_test_string"; then
631 if test "X$echo" = Xecho
; then
632 # We didn't find a better echo, so look for alternatives.
633 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 # This shell has a builtin print -r that does the trick.
638 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
639 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
640 # If we have ksh, try running configure again with it.
641 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
642 export ORIGINAL_CONFIG_SHELL
643 CONFIG_SHELL
=/bin
/ksh
645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
649 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
651 test "X$echo_testing_string" = "X$echo_test_string"; then
654 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655 test "X$echo_testing_string" = 'X\t' &&
656 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
660 SHELL
="$CONFIG_SHELL"
662 echo="$CONFIG_SHELL $0 --fallback-echo"
663 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664 test "X$echo_testing_string" = 'X\t' &&
665 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666 test "X$echo_testing_string" = "X$echo_test_string"; then
667 echo="$CONFIG_SHELL $0 --fallback-echo"
669 # maybe with a smaller string...
672 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
680 if test "$prev" != 'sed 50q "$0"'; then
681 echo_test_string
=`eval $prev`
682 export echo_test_string
683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
685 # Oops. We lost completely, so just stick with echo.
694 # Copy echo and quote the copy suitably for passing to libtool from
695 # the Makefile, instead of quoting the original, which is used later.
697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
704 tagnames
=${tagnames+${tagnames},}CXX
706 tagnames
=${tagnames+${tagnames},}F77
708 exec 7<&0 </dev
/null
6>&1
711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
712 # so uname gets run too.
713 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
718 ac_default_prefix
=/usr
/local
720 ac_config_libobj_dir
=.
726 SHELL
=${CONFIG_SHELL-/bin/sh}
728 # Identity of this package.
729 PACKAGE_NAME
='courier-authlib'
730 PACKAGE_TARNAME
='courier-authlib'
731 PACKAGE_VERSION
='0.60.1'
732 PACKAGE_STRING
='courier-authlib 0.60.1'
733 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
735 ac_unique_file
="courierauth.h"
736 # Factoring default headers for most tests.
737 ac_includes_default
="\
739 #ifdef HAVE_SYS_TYPES_H
740 # include <sys/types.h>
742 #ifdef HAVE_SYS_STAT_H
743 # include <sys/stat.h>
749 # ifdef HAVE_STDLIB_H
754 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
759 #ifdef HAVE_STRINGS_H
760 # include <strings.h>
762 #ifdef HAVE_INTTYPES_H
763 # include <inttypes.h>
781 program_transform_name
823 INSTALL_STRIP_PROGRAM
947 ac_precious_vars
='build_alias
962 ac_subdirs_all
='libltdl bdbobj gdbmobj md5 sha1 libhmac numlib makedat userdb rfc822 random128 liblock liblog'
964 # Initialize some variables set by options.
966 ac_init_version
=false
967 # The variables have the same names as the options, with
968 # dashes changed to underlines.
976 program_transform_name
=s
,x
,x
,
984 # Installation directory options.
985 # These are left unexpanded so users can "make install exec_prefix=/foo"
986 # and all the variables that are supposed to be based on exec_prefix
987 # by default will actually change.
988 # Use braces instead of parens because sh, perl, etc. also accept them.
989 # (The list follows the same order as the GNU Coding Standards.)
990 bindir
='${exec_prefix}/bin'
991 sbindir
='${exec_prefix}/sbin'
992 libexecdir
='${exec_prefix}/libexec'
993 datarootdir
='${prefix}/share'
994 datadir
='${datarootdir}'
995 sysconfdir
='${prefix}/etc'
996 sharedstatedir
='${prefix}/com'
997 localstatedir
='${prefix}/var'
998 includedir
='${prefix}/include'
999 oldincludedir
='/usr/include'
1000 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1001 infodir
='${datarootdir}/info'
1006 libdir
='${exec_prefix}/lib'
1007 localedir
='${datarootdir}/locale'
1008 mandir
='${datarootdir}/man'
1014 # If the previous option needs an argument, assign it.
1015 if test -n "$ac_prev"; then
1016 eval $ac_prev=\
$ac_option
1022 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1026 # Accept the important Cygnus configure options, so we can diagnose typos.
1028 case $ac_dashdash$ac_option in
1032 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1034 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1035 bindir
=$ac_optarg ;;
1037 -build |
--build |
--buil |
--bui |
--bu)
1038 ac_prev
=build_alias
;;
1039 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1040 build_alias
=$ac_optarg ;;
1042 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1043 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1044 ac_prev
=cache_file
;;
1045 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1046 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1047 cache_file
=$ac_optarg ;;
1049 --config-cache |
-C)
1050 cache_file
=config.cache
;;
1052 -datadir |
--datadir |
--datadi |
--datad)
1054 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1055 datadir
=$ac_optarg ;;
1057 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1058 |
--dataroo |
--dataro |
--datar)
1059 ac_prev
=datarootdir
;;
1060 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1061 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1062 datarootdir
=$ac_optarg ;;
1064 -disable-* |
--disable-*)
1065 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1068 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1069 { (exit 1); exit 1; }; }
1070 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1071 eval enable_
$ac_feature=no
;;
1073 -docdir |
--docdir |
--docdi |
--doc |
--do)
1075 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1076 docdir
=$ac_optarg ;;
1078 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1080 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1081 dvidir
=$ac_optarg ;;
1083 -enable-* |
--enable-*)
1084 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1087 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1088 { (exit 1); exit 1; }; }
1089 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1090 eval enable_
$ac_feature=\
$ac_optarg ;;
1092 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1093 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1094 |
--exec |
--exe |
--ex)
1095 ac_prev
=exec_prefix
;;
1096 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1097 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1098 |
--exec=* |
--exe=* |
--ex=*)
1099 exec_prefix
=$ac_optarg ;;
1101 -gas |
--gas |
--ga |
--g)
1102 # Obsolete; use --with-gas.
1105 -help |
--help |
--hel |
--he |
-h)
1106 ac_init_help
=long
;;
1107 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1108 ac_init_help
=recursive
;;
1109 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1110 ac_init_help
=short
;;
1112 -host |
--host |
--hos |
--ho)
1113 ac_prev
=host_alias
;;
1114 -host=* |
--host=* |
--hos=* |
--ho=*)
1115 host_alias
=$ac_optarg ;;
1117 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1119 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1121 htmldir
=$ac_optarg ;;
1123 -includedir |
--includedir |
--includedi |
--included |
--include \
1124 |
--includ |
--inclu |
--incl |
--inc)
1125 ac_prev
=includedir
;;
1126 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1127 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1128 includedir
=$ac_optarg ;;
1130 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1132 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1133 infodir
=$ac_optarg ;;
1135 -libdir |
--libdir |
--libdi |
--libd)
1137 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1138 libdir
=$ac_optarg ;;
1140 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1141 |
--libexe |
--libex |
--libe)
1142 ac_prev
=libexecdir
;;
1143 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1144 |
--libexe=* |
--libex=* |
--libe=*)
1145 libexecdir
=$ac_optarg ;;
1147 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1148 ac_prev
=localedir
;;
1149 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1150 localedir
=$ac_optarg ;;
1152 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1153 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1154 ac_prev
=localstatedir
;;
1155 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1156 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1157 localstatedir
=$ac_optarg ;;
1159 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1161 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1162 mandir
=$ac_optarg ;;
1164 -nfp |
--nfp |
--nf)
1165 # Obsolete; use --without-fp.
1168 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1169 |
--no-cr |
--no-c |
-n)
1172 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1173 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1176 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1177 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1178 |
--oldin |
--oldi |
--old |
--ol |
--o)
1179 ac_prev
=oldincludedir
;;
1180 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1181 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1182 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1183 oldincludedir
=$ac_optarg ;;
1185 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1187 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1188 prefix
=$ac_optarg ;;
1190 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1191 |
--program-pre |
--program-pr |
--program-p)
1192 ac_prev
=program_prefix
;;
1193 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1194 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1195 program_prefix
=$ac_optarg ;;
1197 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1198 |
--program-suf |
--program-su |
--program-s)
1199 ac_prev
=program_suffix
;;
1200 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1201 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1202 program_suffix
=$ac_optarg ;;
1204 -program-transform-name |
--program-transform-name \
1205 |
--program-transform-nam |
--program-transform-na \
1206 |
--program-transform-n |
--program-transform- \
1207 |
--program-transform |
--program-transfor \
1208 |
--program-transfo |
--program-transf \
1209 |
--program-trans |
--program-tran \
1210 |
--progr-tra |
--program-tr |
--program-t)
1211 ac_prev
=program_transform_name
;;
1212 -program-transform-name=* |
--program-transform-name=* \
1213 |
--program-transform-nam=* |
--program-transform-na=* \
1214 |
--program-transform-n=* |
--program-transform-=* \
1215 |
--program-transform=* |
--program-transfor=* \
1216 |
--program-transfo=* |
--program-transf=* \
1217 |
--program-trans=* |
--program-tran=* \
1218 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1219 program_transform_name
=$ac_optarg ;;
1221 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1223 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1224 pdfdir
=$ac_optarg ;;
1226 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1228 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1231 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1232 |
-silent |
--silent |
--silen |
--sile |
--sil)
1235 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1237 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1239 sbindir
=$ac_optarg ;;
1241 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1242 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1243 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1245 ac_prev
=sharedstatedir
;;
1246 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1247 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1248 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1250 sharedstatedir
=$ac_optarg ;;
1252 -site |
--site |
--sit)
1254 -site=* |
--site=* |
--sit=*)
1257 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1259 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1260 srcdir
=$ac_optarg ;;
1262 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1263 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1264 ac_prev
=sysconfdir
;;
1265 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1266 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1267 sysconfdir
=$ac_optarg ;;
1269 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1270 ac_prev
=target_alias
;;
1271 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1272 target_alias
=$ac_optarg ;;
1274 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1277 -version |
--version |
--versio |
--versi |
--vers |
-V)
1278 ac_init_version
=: ;;
1281 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1284 { echo "$as_me: error: invalid package name: $ac_package" >&2
1285 { (exit 1); exit 1; }; }
1286 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1287 eval with_
$ac_package=\
$ac_optarg ;;
1289 -without-* |
--without-*)
1290 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1291 # Reject names that are not valid shell variable names.
1292 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1293 { echo "$as_me: error: invalid package name: $ac_package" >&2
1294 { (exit 1); exit 1; }; }
1295 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1296 eval with_
$ac_package=no
;;
1299 # Obsolete; use --with-x.
1302 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1303 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1304 ac_prev
=x_includes
;;
1305 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1306 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1307 x_includes
=$ac_optarg ;;
1309 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1310 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1311 ac_prev
=x_libraries
;;
1312 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1313 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1314 x_libraries
=$ac_optarg ;;
1316 -*) { echo "$as_me: error: unrecognized option: $ac_option
1317 Try \`$0 --help' for more information." >&2
1318 { (exit 1); exit 1; }; }
1322 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1323 # Reject names that are not valid shell variable names.
1324 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1325 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1326 { (exit 1); exit 1; }; }
1327 eval $ac_envvar=\
$ac_optarg
1328 export $ac_envvar ;;
1331 # FIXME: should be removed in autoconf 3.0.
1332 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1333 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1334 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1335 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1341 if test -n "$ac_prev"; then
1342 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1343 { echo "$as_me: error: missing argument to $ac_option" >&2
1344 { (exit 1); exit 1; }; }
1347 # Be sure to have absolute directory names.
1348 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1349 datadir sysconfdir sharedstatedir localstatedir includedir \
1350 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1351 libdir localedir mandir
1353 eval ac_val
=\$
$ac_var
1355 [\\/$
]* | ?
:[\\/]* ) continue;;
1356 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1358 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1359 { (exit 1); exit 1; }; }
1362 # There might be people who depend on the old broken behavior: `$host'
1363 # used to hold the argument of --host etc.
1364 # FIXME: To remove some day.
1367 target
=$target_alias
1369 # FIXME: To remove some day.
1370 if test "x$host_alias" != x
; then
1371 if test "x$build_alias" = x
; then
1372 cross_compiling
=maybe
1373 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1374 If a cross compiler is detected then cross compile mode will be used." >&2
1375 elif test "x$build_alias" != "x$host_alias"; then
1381 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1383 test "$silent" = yes && exec 6>/dev
/null
1386 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1387 ac_ls_di
=`ls -di .` &&
1388 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1389 { echo "$as_me: error: Working directory cannot be determined" >&2
1390 { (exit 1); exit 1; }; }
1391 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1392 { echo "$as_me: error: pwd does not report name of working directory" >&2
1393 { (exit 1); exit 1; }; }
1396 # Find the source files, if location was not specified.
1397 if test -z "$srcdir"; then
1398 ac_srcdir_defaulted
=yes
1399 # Try the directory containing this script, then the parent directory.
1400 ac_confdir
=`$as_dirname -- "$0" ||
1401 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1402 X"$0" : 'X\(//\)[^/]' \| \
1403 X"$0" : 'X\(//\)$' \| \
1404 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1428 ac_srcdir_defaulted
=no
1430 if test ! -r "$srcdir/$ac_unique_file"; then
1431 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1432 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1433 { (exit 1); exit 1; }; }
1435 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1437 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1438 { (exit 1); exit 1; }; }
1440 # When building in place, set srcdir=.
1441 if test "$ac_abs_confdir" = "$ac_pwd"; then
1444 # Remove unnecessary trailing slashes from srcdir.
1445 # Double slashes in file names in object file debugging info
1446 # mess up M-x gdb in Emacs.
1448 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1450 for ac_var
in $ac_precious_vars; do
1451 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1452 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1453 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1454 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1458 # Report the --help message.
1460 if test "$ac_init_help" = "long"; then
1461 # Omit some internal or obsolete options to make the list less imposing.
1462 # This message is too long to be a string in the A/UX 3.1 sh.
1464 \`configure' configures courier-authlib 0.60.1 to adapt to many kinds of systems.
1466 Usage: $0 [OPTION]... [VAR=VALUE]...
1468 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1469 VAR=VALUE. See below for descriptions of some of the useful variables.
1471 Defaults for the options are specified in brackets.
1474 -h, --help display this help and exit
1475 --help=short display options specific to this package
1476 --help=recursive display the short help of all the included packages
1477 -V, --version display version information and exit
1478 -q, --quiet, --silent do not print \`checking...' messages
1479 --cache-file=FILE cache test results in FILE [disabled]
1480 -C, --config-cache alias for \`--cache-file=config.cache'
1481 -n, --no-create do not create output files
1482 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1490 By default, \`make install' will install all the files in
1491 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1492 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1493 for instance \`--prefix=\$HOME'.
1495 For better control, use the options below.
1497 Fine tuning of the installation directories:
1498 --bindir=DIR user executables [EPREFIX/bin]
1499 --sbindir=DIR system admin executables [EPREFIX/sbin]
1500 --libexecdir=DIR program executables [EPREFIX/libexec]
1501 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1502 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1503 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1504 --libdir=DIR object code libraries [EPREFIX/lib]
1505 --includedir=DIR C header files [PREFIX/include]
1506 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1507 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1508 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1509 --infodir=DIR info documentation [DATAROOTDIR/info]
1510 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1511 --mandir=DIR man documentation [DATAROOTDIR/man]
1512 --docdir=DIR documentation root [DATAROOTDIR/doc/courier-authlib]
1513 --htmldir=DIR html documentation [DOCDIR]
1514 --dvidir=DIR dvi documentation [DOCDIR]
1515 --pdfdir=DIR pdf documentation [DOCDIR]
1516 --psdir=DIR ps documentation [DOCDIR]
1522 --program-prefix=PREFIX prepend PREFIX to installed program names
1523 --program-suffix=SUFFIX append SUFFIX to installed program names
1524 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1527 --build=BUILD configure
for building on BUILD
[guessed
]
1528 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1532 if test -n "$ac_init_help"; then
1533 case $ac_init_help in
1534 short | recursive
) echo "Configuration of courier-authlib 0.60.1:";;
1539 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1540 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1541 --disable-dependency-tracking speeds up one-time build
1542 --enable-dependency-tracking do not reject slow dependency extractors
1543 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1544 --enable-static[=PKGS
] build static libraries
[default
=yes]
1545 --enable-fast-install[=PKGS
]
1546 optimize
for fast installation
[default
=yes]
1547 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1550 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1551 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1552 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1553 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1555 --with-tags[=TAGS
] include additional configurations
[automatic
]
1557 --with-pkgconfdir=d Install config files
in directory
1558 --with-db=gdbm Use the GDBM library.
1559 --with-db=db Use the libdb.a library.
1560 --without-authuserdb Do not include the authuserdb module
1562 --without-authpam Do not include the authpam module
1563 --with-authpam-libraries="libs" Link
'libs' with authpam
, this may be
1564 required
for FreeBSD
3.3
1565 --without-authldap Do not include the authldap module
1566 --with-authldaprc=filename Expect to
find authldaprc here
1567 --without-authpwd Do not include the authpwd module
1568 --without-authshadow Do not include the authshadow module
1569 --without-authvchkpw Do not include the authvchkpw module
1570 --with-authpgsqlrc=filename Expect to
find authpgsql here
1571 --without-authpgsql Do not include the authpgsql module
1572 --with-pgsql-libs=DIR Look
for pgsql libs
in this dir
1573 --with-pgsql-includes=DIR Look
for pgsql includes
in this dir
1574 --with-authmysqlrc=filename Expect to
find authmysql here
1575 --without-authmysql Do not include the authmysql module
1576 --with-mysql-libs=DIR Look
for mysql libs
in this dir
1577 --with-mysql-includes=DIR Look
for mysql includes
in this dir
1578 --without-authcustom Do not include the authcustom module
1579 --with-pipeprog=filename Expect to
find the pipe-prog here
1580 --without-authpipe Do not include the authpipe module
1581 --with-authdaemonrc=filename Expect to
find authdaemonrc here
1582 --with-authdaemonvar=directory Directory where authdaemon.pid and
1583 the listening socket is created
1584 --with-mailuser=user Specify
mail user name
(defaults to
1585 courier
, daemon
, admin
, bin
, or root
)
1586 --with-mailgroup=group Specify
mail group name
(defaults to courier
,
1587 daemon
, sys
, adm
, or root
)
1588 --without-stdheaderdir Header files will be installed into a directory
1589 not
in the compiler
's default search path.
1591 Some influential environment variables:
1592 CC C compiler command
1593 CFLAGS C compiler flags
1594 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1595 nonstandard directory <lib dir>
1596 LIBS libraries to pass to the linker, e.g. -l<library>
1597 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1598 you have headers in a nonstandard directory <include dir>
1600 CXX C++ compiler command
1601 CXXFLAGS C++ compiler flags
1602 CXXCPP C++ preprocessor
1603 F77 Fortran 77 compiler command
1604 FFLAGS Fortran 77 compiler flags
1606 Use these variables to override the choices made by `configure' or to
help
1607 it to
find libraries and programs with nonstandard names
/locations.
1609 Report bugs to
<courier-users@lists.sourceforge.net
>.
1614 if test "$ac_init_help" = "recursive"; then
1615 # If there are subdirs, report their specific --help.
1616 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1617 test -d "$ac_dir" ||
continue
1621 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1623 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1624 # A ".." for each directory in $ac_dir_suffix.
1625 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1626 case $ac_top_builddir_sub in
1627 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1628 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1631 ac_abs_top_builddir
=$ac_pwd
1632 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1633 # for backward compatibility:
1634 ac_top_builddir
=$ac_top_build_prefix
1637 .
) # We are building in place.
1639 ac_top_srcdir
=$ac_top_builddir_sub
1640 ac_abs_top_srcdir
=$ac_pwd ;;
1641 [\\/]* | ?
:[\\/]* ) # Absolute name.
1642 ac_srcdir
=$srcdir$ac_dir_suffix;
1643 ac_top_srcdir
=$srcdir
1644 ac_abs_top_srcdir
=$srcdir ;;
1646 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1647 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1648 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1650 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1652 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1653 # Check for guested configure.
1654 if test -f "$ac_srcdir/configure.gnu"; then
1656 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1657 elif test -f "$ac_srcdir/configure"; then
1659 $SHELL "$ac_srcdir/configure" --help=recursive
1661 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1663 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1667 test -n "$ac_init_help" && exit $ac_status
1668 if $ac_init_version; then
1670 courier-authlib configure
0.60.1
1671 generated by GNU Autoconf
2.61
1673 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1674 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1675 This configure
script is free software
; the Free Software Foundation
1676 gives unlimited permission to copy
, distribute and modify it.
1680 cat >config.log
<<_ACEOF
1681 This file contains any messages produced by compilers while
1682 running configure, to aid debugging if configure makes a mistake.
1684 It was created by courier-authlib $as_me 0.60.1, which was
1685 generated by GNU Autoconf 2.61. Invocation command line was
1697 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1698 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1699 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1700 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1701 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1703 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1704 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1706 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1707 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1708 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1709 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1710 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1711 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1712 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir
=.
1721 echo "PATH: $as_dir"
1737 # Keep a trace of the command line.
1738 # Strip out --no-create and --no-recursion so they do not pile up.
1739 # Strip out --silent because we don't want to record it for future runs.
1740 # Also quote any args containing shell meta-characters.
1741 # Make two passes to allow for proper duplicate-argument suppression.
1745 ac_must_keep_next
=false
1751 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1752 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1753 |
-silent |
--silent |
--silen |
--sile |
--sil)
1756 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1759 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1761 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1762 if test $ac_must_keep_next = true
; then
1763 ac_must_keep_next
=false
# Got value, back to normal.
1766 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1767 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1768 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1769 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1770 case "$ac_configure_args0 " in
1771 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1774 -* ) ac_must_keep_next
=true
;;
1777 ac_configure_args
="$ac_configure_args '$ac_arg'"
1782 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1783 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1785 # When interrupted or exit'd, cleanup temporary files, and complete
1786 # config.log. We remove comments because anyway the quotes in there
1787 # would cause problems or look ugly.
1788 # WARNING: Use '\'' to represent an apostrophe within the trap.
1789 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1790 trap 'exit_status=$?
1791 # Save into config.log some information that might help in debugging.
1796 ## ---------------- ##
1797 ## Cache variables. ##
1798 ## ---------------- ##
1801 # The following way of writing the cache mishandles newlines in values,
1803 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1804 eval ac_val=\$$ac_var
1808 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1809 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1812 _ | IFS | as_nl) ;; #(
1813 *) $as_unset $ac_var ;;
1818 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1819 *${as_nl}ac_space=\ *)
1821 "s/'\''/'\''\\\\'\'''\''/g;
1822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1825 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1833 ## ----------------- ##
1834 ## Output variables. ##
1835 ## ----------------- ##
1838 for ac_var in $ac_subst_vars
1840 eval ac_val=\$$ac_var
1842 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1844 echo "$ac_var='\''$ac_val'\''"
1848 if test -n "$ac_subst_files"; then
1850 ## ------------------- ##
1851 ## File substitutions. ##
1852 ## ------------------- ##
1855 for ac_var
in $ac_subst_files
1857 eval ac_val
=\$
$ac_var
1859 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1861 echo "$ac_var='\''$ac_val'\''"
1866 if test -s confdefs.h; then
1876 test "$ac_signal" != 0 &&
1877 echo "$as_me: caught signal $ac_signal"
1878 echo "$as_me: exit $exit_status"
1880 rm -f core *.core core.conftest.* &&
1881 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1884 for ac_signal
in 1 2 13 15; do
1885 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1889 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1890 rm -f -r conftest
* confdefs.h
1892 # Predefined preprocessor variables.
1894 cat >>confdefs.h
<<_ACEOF
1895 #define PACKAGE_NAME "$PACKAGE_NAME"
1899 cat >>confdefs.h
<<_ACEOF
1900 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1904 cat >>confdefs.h
<<_ACEOF
1905 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1909 cat >>confdefs.h
<<_ACEOF
1910 #define PACKAGE_STRING "$PACKAGE_STRING"
1914 cat >>confdefs.h
<<_ACEOF
1915 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1919 # Let the site file select an alternate cache file if it wants to.
1920 # Prefer explicitly selected file to automatically selected ones.
1921 if test -n "$CONFIG_SITE"; then
1922 set x
"$CONFIG_SITE"
1923 elif test "x$prefix" != xNONE
; then
1924 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1926 set x
"$ac_default_prefix/share/config.site" \
1927 "$ac_default_prefix/etc/config.site"
1932 if test -r "$ac_site_file"; then
1933 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1934 echo "$as_me: loading site script $ac_site_file" >&6;}
1935 sed 's/^/| /' "$ac_site_file" >&5
1940 if test -r "$cache_file"; then
1941 # Some versions of bash will fail to source /dev/null (special
1942 # files actually), so we avoid doing that.
1943 if test -f "$cache_file"; then
1944 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1945 echo "$as_me: loading cache $cache_file" >&6;}
1947 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1948 *) .
"./$cache_file";;
1952 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1953 echo "$as_me: creating cache $cache_file" >&6;}
1957 # Check that the precious variables saved in the cache have kept the same
1959 ac_cache_corrupted
=false
1960 for ac_var
in $ac_precious_vars; do
1961 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1962 eval ac_new_set
=\
$ac_env_${ac_var}_set
1963 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1964 eval ac_new_val
=\
$ac_env_${ac_var}_value
1965 case $ac_old_set,$ac_new_set in
1967 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1968 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1969 ac_cache_corrupted
=: ;;
1971 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1972 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1973 ac_cache_corrupted
=: ;;
1976 if test "x$ac_old_val" != "x$ac_new_val"; then
1977 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1978 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1979 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1980 echo "$as_me: former value: $ac_old_val" >&2;}
1981 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1982 echo "$as_me: current value: $ac_new_val" >&2;}
1983 ac_cache_corrupted
=:
1986 # Pass precious variables to config.status.
1987 if test "$ac_new_set" = set; then
1989 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1990 *) ac_arg
=$ac_var=$ac_new_val ;;
1992 case " $ac_configure_args " in
1993 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1994 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1998 if $ac_cache_corrupted; then
1999 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2000 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2001 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2002 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2003 { (exit 1); exit 1; }; }
2031 ac_cpp
='$CPP $CPPFLAGS'
2032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2039 ac_config_headers
="$ac_config_headers courier_auth_config.h"
2042 am__api_version
='1.10'
2045 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2046 if test -f "$ac_dir/install-sh"; then
2048 ac_install_sh
="$ac_aux_dir/install-sh -c"
2050 elif test -f "$ac_dir/install.sh"; then
2052 ac_install_sh
="$ac_aux_dir/install.sh -c"
2054 elif test -f "$ac_dir/shtool"; then
2056 ac_install_sh
="$ac_aux_dir/shtool install -c"
2060 if test -z "$ac_aux_dir"; then
2061 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2062 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2063 { (exit 1); exit 1; }; }
2066 # These three variables are undocumented and unsupported,
2067 # and are intended to be withdrawn in a future Autoconf release.
2068 # They can cause serious problems if a builder's source tree is in a directory
2069 # whose full name contains unusual characters.
2070 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2071 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2072 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2075 # Find a good install program. We prefer a C program (faster),
2076 # so one script is as good as another. But avoid the broken or
2077 # incompatible versions:
2078 # SysV /etc/install, /usr/sbin/install
2079 # SunOS /usr/etc/install
2080 # IRIX /sbin/install
2082 # AmigaOS /C/install, which installs bootblocks on floppy discs
2083 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2084 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2085 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2086 # OS/2's system install, which has a completely different semantic
2087 # ./install, which can be erroneously created by make from ./install.sh.
2088 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2089 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2090 if test -z "$INSTALL"; then
2091 if test "${ac_cv_path_install+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir
=.
2099 # Account for people who put trailing slashes in PATH elements.
2101 .
/ | .
// |
/cC
/* | \
2102 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2103 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2106 # OSF1 and SCO ODT 3.0 have their own names for install.
2107 # Don't use installbsd from OSF since it installs stuff as root
2109 for ac_prog
in ginstall scoinst
install; do
2110 for ac_exec_ext
in '' $ac_executable_extensions; do
2111 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2112 if test $ac_prog = install &&
2113 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2114 # AIX install. It has an incompatible calling convention.
2116 elif test $ac_prog = install &&
2117 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2118 # program-specific install script used by HP pwplus--don't use.
2121 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2134 if test "${ac_cv_path_install+set}" = set; then
2135 INSTALL
=$ac_cv_path_install
2137 # As a last resort, use the slow shell script. Don't cache a
2138 # value for INSTALL within a source directory, because that will
2139 # break other packages using the cache if that directory is
2140 # removed, or if the value is a relative name.
2141 INSTALL
=$ac_install_sh
2144 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2145 echo "${ECHO_T}$INSTALL" >&6; }
2147 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2148 # It thinks the first close brace ends the variable substitution.
2149 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2151 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2153 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2155 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2156 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2159 echo timestamp
> conftest.
file
2160 # Do `set' in a subshell so we don't clobber the current shell's
2161 # arguments. Must try -L first in case configure is actually a
2162 # symlink; some systems play weird games with the mod time of symlinks
2163 # (eg FreeBSD returns the mod time of the symlink's containing
2166 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2167 if test "$*" = "X"; then
2169 set X
`ls -t $srcdir/configure conftest.file`
2172 if test "$*" != "X $srcdir/configure conftest.file" \
2173 && test "$*" != "X conftest.file $srcdir/configure"; then
2175 # If neither matched, then we have a broken ls. This can happen
2176 # if, for instance, CONFIG_SHELL is bash and it inherits a
2177 # broken ls alias from the environment. This has actually
2178 # happened. Such a system could not be considered "sane".
2179 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2180 alias in your environment" >&5
2181 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2182 alias in your environment" >&2;}
2183 { (exit 1); exit 1; }; }
2186 test "$2" = conftest.
file
2192 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2193 Check your system clock" >&5
2194 echo "$as_me: error: newly created file is older than distributed files!
2195 Check your system clock" >&2;}
2196 { (exit 1); exit 1; }; }
2198 { echo "$as_me:$LINENO: result: yes" >&5
2199 echo "${ECHO_T}yes" >&6; }
2200 test "$program_prefix" != NONE
&&
2201 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2202 # Use a double $ so make ignores it.
2203 test "$program_suffix" != NONE
&&
2204 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2205 # Double any \ or $. echo might interpret backslashes.
2206 # By default was `s,x,x', remove it if useless.
2207 cat <<\_ACEOF
>conftest.
sed
2208 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2210 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2213 # expand $ac_aux_dir to an absolute path
2214 am_aux_dir
=`cd $ac_aux_dir && pwd`
2216 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2217 # Use eval to expand $SHELL
2218 if eval "$MISSING --run true"; then
2219 am_missing_run
="$MISSING --run "
2222 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2223 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2226 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2227 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2228 if test -z "$MKDIR_P"; then
2229 if test "${ac_cv_path_mkdir+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2233 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2236 test -z "$as_dir" && as_dir
=.
2237 for ac_prog
in mkdir gmkdir
; do
2238 for ac_exec_ext
in '' $ac_executable_extensions; do
2239 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2240 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2241 'mkdir (GNU coreutils) '* | \
2242 'mkdir (coreutils) '* | \
2243 'mkdir (fileutils) '4.1*)
2244 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2254 if test "${ac_cv_path_mkdir+set}" = set; then
2255 MKDIR_P
="$ac_cv_path_mkdir -p"
2257 # As a last resort, use the slow shell script. Don't cache a
2258 # value for MKDIR_P within a source directory, because that will
2259 # break other packages using the cache if that directory is
2260 # removed, or if the value is a relative name.
2261 test -d .
/--version && rmdir .
/--version
2262 MKDIR_P
="$ac_install_sh -d"
2265 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2266 echo "${ECHO_T}$MKDIR_P" >&6; }
2270 [\\/$
]* | ?
:[\\/]*) ;;
2271 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2274 for ac_prog
in gawk mawk nawk
awk
2276 # Extract the first word of "$ac_prog", so it can be a program name with args.
2277 set dummy
$ac_prog; ac_word
=$2
2278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2280 if test "${ac_cv_prog_AWK+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 if test -n "$AWK"; then
2284 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir
=.
2291 for ac_exec_ext
in '' $ac_executable_extensions; do
2292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2293 ac_cv_prog_AWK
="$ac_prog"
2294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 if test -n "$AWK"; then
2305 { echo "$as_me:$LINENO: result: $AWK" >&5
2306 echo "${ECHO_T}$AWK" >&6; }
2308 { echo "$as_me:$LINENO: result: no" >&5
2309 echo "${ECHO_T}no" >&6; }
2313 test -n "$AWK" && break
2316 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2317 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2318 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2319 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 cat >conftest.
make <<\_ACEOF
2325 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2327 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2328 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2330 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2332 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2336 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2337 { echo "$as_me:$LINENO: result: yes" >&5
2338 echo "${ECHO_T}yes" >&6; }
2341 { echo "$as_me:$LINENO: result: no" >&5
2342 echo "${ECHO_T}no" >&6; }
2343 SET_MAKE
="MAKE=${MAKE-make}"
2346 rm -rf .tst
2>/dev
/null
2347 mkdir .tst
2>/dev
/null
2348 if test -d .tst
; then
2353 rmdir .tst
2>/dev
/null
2355 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2356 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2357 # is not polluted with repeated "-I."
2358 am__isrc
=' -I$(srcdir)'
2359 # test to see if srcdir already configured
2360 if test -f $srcdir/config.status
; then
2361 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2362 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2363 { (exit 1); exit 1; }; }
2367 # test whether we have cygpath
2368 if test -z "$CYGPATH_W"; then
2369 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2370 CYGPATH_W
='cygpath -w'
2377 # Define the identity of the package.
2378 PACKAGE
='courier-authlib'
2382 cat >>confdefs.h
<<_ACEOF
2383 #define PACKAGE "$PACKAGE"
2387 cat >>confdefs.h
<<_ACEOF
2388 #define VERSION "$VERSION"
2391 # Some tools Automake needs.
2393 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2396 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2399 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2402 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2405 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2407 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2409 # Installed binaries are usually stripped using `strip' when the user
2410 # run `make install-strip'. However `strip' might not be the right
2411 # tool to use in cross-compilation environments, therefore Automake
2412 # will honor the `STRIP' environment variable to overrule this program.
2413 if test "$cross_compiling" != no
; then
2414 if test -n "$ac_tool_prefix"; then
2415 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2416 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2419 if test "${ac_cv_prog_STRIP+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 if test -n "$STRIP"; then
2423 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir
=.
2430 for ac_exec_ext
in '' $ac_executable_extensions; do
2431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2432 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442 STRIP
=$ac_cv_prog_STRIP
2443 if test -n "$STRIP"; then
2444 { echo "$as_me:$LINENO: result: $STRIP" >&5
2445 echo "${ECHO_T}$STRIP" >&6; }
2447 { echo "$as_me:$LINENO: result: no" >&5
2448 echo "${ECHO_T}no" >&6; }
2453 if test -z "$ac_cv_prog_STRIP"; then
2455 # Extract the first word of "strip", so it can be a program name with args.
2456 set dummy strip
; ac_word
=$2
2457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2459 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 if test -n "$ac_ct_STRIP"; then
2463 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir
=.
2470 for ac_exec_ext
in '' $ac_executable_extensions; do
2471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2472 ac_cv_prog_ac_ct_STRIP
="strip"
2473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2482 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2483 if test -n "$ac_ct_STRIP"; then
2484 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2485 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2487 { echo "$as_me:$LINENO: result: no" >&5
2488 echo "${ECHO_T}no" >&6; }
2491 if test "x$ac_ct_STRIP" = x
; then
2494 case $cross_compiling:$ac_tool_warned in
2496 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2497 whose name does not start with the host triplet. If you think this
2498 configuration is useful to you, please write to autoconf@gnu.org." >&5
2499 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2500 whose name does not start with the host triplet. If you think this
2501 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2502 ac_tool_warned
=yes ;;
2507 STRIP
="$ac_cv_prog_STRIP"
2511 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2513 # We need awk for the "check" target. The system "awk" is bad on
2515 # Always define AMTAR for backward compatibility.
2517 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2519 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2525 >confdefs.h
# Kill PACKAGE_ macros
2527 LPATH
="$PATH:/usr/local/bin"
2529 for ac_prog
in gawk mawk nawk
awk
2531 # Extract the first word of "$ac_prog", so it can be a program name with args.
2532 set dummy
$ac_prog; ac_word
=$2
2533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2535 if test "${ac_cv_prog_AWK+set}" = set; then
2536 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 if test -n "$AWK"; then
2539 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir
=.
2546 for ac_exec_ext
in '' $ac_executable_extensions; do
2547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2548 ac_cv_prog_AWK
="$ac_prog"
2549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 if test -n "$AWK"; then
2560 { echo "$as_me:$LINENO: result: $AWK" >&5
2561 echo "${ECHO_T}$AWK" >&6; }
2563 { echo "$as_me:$LINENO: result: no" >&5
2564 echo "${ECHO_T}no" >&6; }
2568 test -n "$AWK" && break
2572 ac_cpp
='$CPP $CPPFLAGS'
2573 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2574 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2575 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2576 if test -n "$ac_tool_prefix"; then
2577 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2578 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2581 if test "${ac_cv_prog_CC+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 if test -n "$CC"; then
2585 ac_cv_prog_CC
="$CC" # Let the user override the test.
2587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2591 test -z "$as_dir" && as_dir
=.
2592 for ac_exec_ext
in '' $ac_executable_extensions; do
2593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2594 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 if test -n "$CC"; then
2606 { echo "$as_me:$LINENO: result: $CC" >&5
2607 echo "${ECHO_T}$CC" >&6; }
2609 { echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6; }
2615 if test -z "$ac_cv_prog_CC"; then
2617 # Extract the first word of "gcc", so it can be a program name with args.
2618 set dummy gcc
; ac_word
=$2
2619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2621 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 if test -n "$ac_ct_CC"; then
2625 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir
=.
2632 for ac_exec_ext
in '' $ac_executable_extensions; do
2633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2634 ac_cv_prog_ac_ct_CC
="gcc"
2635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2645 if test -n "$ac_ct_CC"; then
2646 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2647 echo "${ECHO_T}$ac_ct_CC" >&6; }
2649 { echo "$as_me:$LINENO: result: no" >&5
2650 echo "${ECHO_T}no" >&6; }
2653 if test "x$ac_ct_CC" = x
; then
2656 case $cross_compiling:$ac_tool_warned in
2658 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2659 whose name does not start with the host triplet. If you think this
2660 configuration is useful to you, please write to autoconf@gnu.org." >&5
2661 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2662 whose name does not start with the host triplet. If you think this
2663 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2664 ac_tool_warned
=yes ;;
2672 if test -z "$CC"; then
2673 if test -n "$ac_tool_prefix"; then
2674 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2675 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2678 if test "${ac_cv_prog_CC+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 if test -n "$CC"; then
2682 ac_cv_prog_CC
="$CC" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2691 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 if test -n "$CC"; then
2703 { echo "$as_me:$LINENO: result: $CC" >&5
2704 echo "${ECHO_T}$CC" >&6; }
2706 { echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6; }
2713 if test -z "$CC"; then
2714 # Extract the first word of "cc", so it can be a program name with args.
2715 set dummy cc
; ac_word
=$2
2716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2718 if test "${ac_cv_prog_CC+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 if test -n "$CC"; then
2722 ac_cv_prog_CC
="$CC" # Let the user override the test.
2725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir
=.
2730 for ac_exec_ext
in '' $ac_executable_extensions; do
2731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2732 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2733 ac_prog_rejected
=yes
2737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 if test $ac_prog_rejected = yes; then
2745 # We found a bogon in the path, so make sure we never use it.
2746 set dummy
$ac_cv_prog_CC
2748 if test $# != 0; then
2749 # We chose a different compiler from the bogus one.
2750 # However, it has the same basename, so the bogon will be chosen
2751 # first if we set CC to just the basename; use the full file name.
2753 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2759 if test -n "$CC"; then
2760 { echo "$as_me:$LINENO: result: $CC" >&5
2761 echo "${ECHO_T}$CC" >&6; }
2763 { echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6; }
2769 if test -z "$CC"; then
2770 if test -n "$ac_tool_prefix"; then
2771 for ac_prog
in cl.exe
2773 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2774 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2777 if test "${ac_cv_prog_CC+set}" = set; then
2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2780 if test -n "$CC"; then
2781 ac_cv_prog_CC
="$CC" # Let the user override the test.
2783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir
=.
2788 for ac_exec_ext
in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 if test -n "$CC"; then
2802 { echo "$as_me:$LINENO: result: $CC" >&5
2803 echo "${ECHO_T}$CC" >&6; }
2805 { echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6; }
2810 test -n "$CC" && break
2813 if test -z "$CC"; then
2815 for ac_prog
in cl.exe
2817 # Extract the first word of "$ac_prog", so it can be a program name with args.
2818 set dummy
$ac_prog; ac_word
=$2
2819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2821 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2824 if test -n "$ac_ct_CC"; then
2825 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir
=.
2832 for ac_exec_ext
in '' $ac_executable_extensions; do
2833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2834 ac_cv_prog_ac_ct_CC
="$ac_prog"
2835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2844 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2845 if test -n "$ac_ct_CC"; then
2846 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2847 echo "${ECHO_T}$ac_ct_CC" >&6; }
2849 { echo "$as_me:$LINENO: result: no" >&5
2850 echo "${ECHO_T}no" >&6; }
2854 test -n "$ac_ct_CC" && break
2857 if test "x$ac_ct_CC" = x
; then
2860 case $cross_compiling:$ac_tool_warned in
2862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2863 whose name does not start with the host triplet. If you think this
2864 configuration is useful to you, please write to autoconf@gnu.org." >&5
2865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2866 whose name does not start with the host triplet. If you think this
2867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2868 ac_tool_warned
=yes ;;
2877 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2878 See \`config.log' for more details." >&5
2879 echo "$as_me: error: no acceptable C compiler found in \$PATH
2880 See \`config.log' for more details." >&2;}
2881 { (exit 1); exit 1; }; }
2883 # Provide some information about the compiler.
2884 echo "$as_me:$LINENO: checking for C compiler version" >&5
2885 ac_compiler
=`set X $ac_compile; echo $2`
2886 { (ac_try
="$ac_compiler --version >&5"
2888 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2892 (eval "$ac_compiler --version >&5") 2>&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }
2896 { (ac_try="$ac_compiler -v >&5"
2898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2899 *) ac_try_echo
=$ac_try;;
2901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2902 (eval "$ac_compiler -v >&5") 2>&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }
2906 { (ac_try
="$ac_compiler -V >&5"
2908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compiler -V >&5") 2>&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }
2917 cat >conftest.$ac_ext <<_ACEOF
2920 cat confdefs.h >>conftest.$ac_ext
2921 cat >>conftest.$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2932 ac_clean_files_save=$ac_clean_files
2933 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2934 # Try to create an executable without -o first, disregard a.out.
2935 # It will help us diagnose broken compilers, and finding out an intuition
2937 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2938 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2939 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2941 # List of possible output files, starting from the most likely.
2942 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2943 # only as a last resort. b.out is created by i960 compilers.
2944 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2946 # The IRIX 6 linker writes into existing files which may not be
2947 # executable, retaining their permissions. Remove them first so a
2948 # subsequent execution test works.
2950 for ac_file in $ac_files
2953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2954 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2959 if { (ac_try="$ac_link_default"
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2965 (eval "$ac_link_default") 2>&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; then
2969 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2970 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2971 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2972 # so that the user can short-circuit this test for compilers unknown to
2974 for ac_file
in $ac_files ''
2976 test -f "$ac_file" ||
continue
2978 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2981 # We found the default executable, but exeext='' is most
2985 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2987 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2989 # We set ac_cv_exeext here because the later test for it is not
2990 # safe: cross compilers may not add the suffix if given an `-o'
2991 # argument, so we may need to know it at that point already.
2992 # Even if this section looks crufty: it has the advantage of
2999 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3005 { echo "$as_me:$LINENO: result: $ac_file" >&5
3006 echo "${ECHO_T}$ac_file" >&6; }
3007 if test -z "$ac_file"; then
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.
$ac_ext >&5
3011 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3012 See \`config.log' for more details." >&5
3013 echo "$as_me: error: C compiler cannot create executables
3014 See \`config.log' for more details." >&2;}
3015 { (exit 77); exit 77; }; }
3018 ac_exeext
=$ac_cv_exeext
3020 # Check that the compiler produces executables we can run. If not, either
3021 # the compiler is broken, or we cross compile.
3022 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3023 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3024 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3025 # If not cross compiling, check that we can run a simple program.
3026 if test "$cross_compiling" != yes; then
3027 if { ac_try
='./$ac_file'
3028 { (case "(($ac_try" in
3029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033 (eval "$ac_try") 2>&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); }; }; then
3039 if test "$cross_compiling" = maybe; then
3042 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3043 If you meant to cross compile, use \`--host'.
3044 See \`config.log' for more details.
" >&5
3045 echo "$as_me: error
: cannot run C compiled programs.
3046 If you meant to cross compile
, use \
`--host'.
3047 See \`config.log
' for more details." >&2;}
3048 { (exit 1); exit 1; }; }
3052 { echo "$as_me:$LINENO: result: yes" >&5
3053 echo "${ECHO_T}yes" >&6; }
3055 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3056 ac_clean_files=$ac_clean_files_save
3057 # Check that the compiler produces executables we can run. If not, either
3058 # the compiler is broken, or we cross compile.
3059 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3060 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3061 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3062 echo "${ECHO_T}$cross_compiling" >&6; }
3064 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3065 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3066 if { (ac_try="$ac_link"
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3072 (eval "$ac_link") 2>&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; then
3076 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3077 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3078 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3080 for ac_file
in conftest.exe conftest conftest.
*; do
3081 test -f "$ac_file" ||
continue
3083 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
3084 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3090 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3091 See \`config.log' for more details." >&5
3092 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3093 See \`config.log' for more details." >&2;}
3094 { (exit 1); exit 1; }; }
3097 rm -f conftest
$ac_cv_exeext
3098 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3099 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3101 rm -f conftest.
$ac_ext
3102 EXEEXT
=$ac_cv_exeext
3104 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3105 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3106 if test "${ac_cv_objext+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 cat >conftest.
$ac_ext <<_ACEOF
3112 cat confdefs.h
>>conftest.
$ac_ext
3113 cat >>conftest.
$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3124 rm -f conftest.o conftest.obj
3125 if { (ac_try
="$ac_compile"
3127 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3131 (eval "$ac_compile") 2>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; then
3135 for ac_file in conftest.o conftest.obj conftest.*; do
3136 test -f "$ac_file" || continue;
3138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3139 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3144 echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3148 See \`config.log
' for more details." >&5
3149 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3150 See \`config.log' for more details.
" >&2;}
3151 { (exit 1); exit 1; }; }
3154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3156 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
3157 echo "${ECHO_T}$ac_cv_objext" >&6; }
3158 OBJEXT=$ac_cv_objext
3160 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
3161 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
3162 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3163 echo $ECHO_N "(cached
) $ECHO_C" >&6
3165 cat >conftest.$ac_ext <<_ACEOF
3168 cat confdefs.h >>conftest.$ac_ext
3169 cat >>conftest.$ac_ext <<_ACEOF
3170 /* end confdefs.h. */
3183 rm -f conftest.$ac_objext
3184 if { (ac_try="$ac_compile"
3186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3187 *) ac_try_echo=$ac_try;;
3189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3190 (eval "$ac_compile") 2>conftest.er1
3192 grep -v '^ *+' conftest.er1 >conftest.err
3194 cat conftest.err >&5
3195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3196 (exit $ac_status); } && {
3197 test -z "$ac_c_werror_flag" ||
3198 test ! -s conftest.err
3199 } && test -s conftest.$ac_objext; then
3202 echo "$as_me: failed program was
:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3209 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3212 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3213 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3214 GCC=`test $ac_compiler_gnu = yes && echo yes`
3215 ac_test_CFLAGS=${CFLAGS+set}
3216 ac_save_CFLAGS=$CFLAGS
3217 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3218 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3219 if test "${ac_cv_prog_cc_g+set}" = set; then
3220 echo $ECHO_N "(cached
) $ECHO_C" >&6
3222 ac_save_c_werror_flag=$ac_c_werror_flag
3223 ac_c_werror_flag=yes
3226 cat >conftest.$ac_ext <<_ACEOF
3229 cat confdefs.h >>conftest.$ac_ext
3230 cat >>conftest.$ac_ext <<_ACEOF
3231 /* end confdefs.h. */
3241 rm -f conftest.$ac_objext
3242 if { (ac_try="$ac_compile"
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3248 (eval "$ac_compile") 2>conftest.er1
3250 grep -v '^ *+' conftest.er1 >conftest.err
3252 cat conftest.err >&5
3253 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3254 (exit $ac_status); } && {
3255 test -z "$ac_c_werror_flag" ||
3256 test ! -s conftest.err
3257 } && test -s conftest.$ac_objext; then
3260 echo "$as_me: failed program was
:" >&5
3261 sed 's/^/| /' conftest.$ac_ext >&5
3264 cat >conftest.$ac_ext <<_ACEOF
3267 cat confdefs.h >>conftest.$ac_ext
3268 cat >>conftest.$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3279 rm -f conftest.$ac_objext
3280 if { (ac_try="$ac_compile"
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3286 (eval "$ac_compile") 2>conftest.er1
3288 grep -v '^ *+' conftest.er1 >conftest.err
3290 cat conftest.err >&5
3291 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3292 (exit $ac_status); } && {
3293 test -z "$ac_c_werror_flag" ||
3294 test ! -s conftest.err
3295 } && test -s conftest.$ac_objext; then
3298 echo "$as_me: failed program was
:" >&5
3299 sed 's/^/| /' conftest.$ac_ext >&5
3301 ac_c_werror_flag=$ac_save_c_werror_flag
3303 cat >conftest.$ac_ext <<_ACEOF
3306 cat confdefs.h >>conftest.$ac_ext
3307 cat >>conftest.$ac_ext <<_ACEOF
3308 /* end confdefs.h. */
3318 rm -f conftest.$ac_objext
3319 if { (ac_try="$ac_compile"
3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3325 (eval "$ac_compile") 2>conftest.er1
3327 grep -v '^ *+' conftest.er1 >conftest.err
3329 cat conftest.err >&5
3330 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3331 (exit $ac_status); } && {
3332 test -z "$ac_c_werror_flag" ||
3333 test ! -s conftest.err
3334 } && test -s conftest.$ac_objext; then
3337 echo "$as_me: failed program was
:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3350 ac_c_werror_flag=$ac_save_c_werror_flag
3352 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3353 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3354 if test "$ac_test_CFLAGS" = set; then
3355 CFLAGS=$ac_save_CFLAGS
3356 elif test $ac_cv_prog_cc_g = yes; then
3357 if test "$GCC" = yes; then
3363 if test "$GCC" = yes; then
3369 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3370 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3371 if test "${ac_cv_prog_cc_c89+set}" = set; then
3372 echo $ECHO_N "(cached
) $ECHO_C" >&6
3374 ac_cv_prog_cc_c89=no
3376 cat >conftest.$ac_ext <<_ACEOF
3379 cat confdefs.h >>conftest.$ac_ext
3380 cat >>conftest.$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3384 #include <sys/types.h>
3385 #include <sys/stat.h>
3386 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3387 struct buf { int x; };
3388 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3389 static char *e (p, i)
3395 static char *f (char * (*g) (char **, int), char **p, ...)
3400 s = g (p, va_arg (v,int));
3405 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3406 function prototypes and stuff, but not '\xHH' hex character constants.
3407 These don't provoke an error unfortunately, instead are silently treated
3408 as 'x'. The following induces an error, until -std is added to get
3409 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3410 array size at least. It's necessary to write '\x00'==0 to get something
3411 that's true only with -std. */
3412 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3414 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3415 inside strings and character constants. */
3417 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3419 int test (int i, double x);
3420 struct s1 {int (*f) (int a);};
3421 struct s2 {int (*f) (double a);};
3422 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3428 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3433 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3434 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3436 CC="$ac_save_CC $ac_arg"
3437 rm -f conftest.$ac_objext
3438 if { (ac_try="$ac_compile"
3440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441 *) ac_try_echo=$ac_try;;
3443 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3444 (eval "$ac_compile") 2>conftest.er1
3446 grep -v '^ *+' conftest.er1 >conftest.err
3448 cat conftest.err >&5
3449 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3450 (exit $ac_status); } && {
3451 test -z "$ac_c_werror_flag" ||
3452 test ! -s conftest.err
3453 } && test -s conftest.$ac_objext; then
3454 ac_cv_prog_cc_c89=$ac_arg
3456 echo "$as_me: failed program was
:" >&5
3457 sed 's/^/| /' conftest.$ac_ext >&5
3462 rm -f core conftest.err conftest.$ac_objext
3463 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3465 rm -f conftest.$ac_ext
3470 case "x
$ac_cv_prog_cc_c89" in
3472 { echo "$as_me:$LINENO: result
: none needed
" >&5
3473 echo "${ECHO_T}none needed
" >&6; } ;;
3475 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3476 echo "${ECHO_T}unsupported
" >&6; } ;;
3478 CC="$CC $ac_cv_prog_cc_c89"
3479 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3480 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3485 ac_cpp='$CPP $CPPFLAGS'
3486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3489 DEPDIR="${am__leading_dot}deps
"
3491 ac_config_commands="$ac_config_commands depfiles
"
3494 am_make=${MAKE-make}
3495 cat > confinc << 'END'
3500 # If we don't find an include directive, just comment out the code.
3501 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
3502 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
3506 # First try GNU make style include.
3507 echo "include confinc" > confmf
3508 # We grep out `Entering directory' and `Leaving directory'
3509 # messages which can occur if `w' ends up in MAKEFLAGS.
3510 # In particular we don't look at `^make:' because GNU make might
3511 # be invoked under some other name (usually "gmake"), in which
3512 # case it prints its new name instead of `make'.
3513 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3518 # Now try BSD make style include.
3519 if test "$am__include" = "#"; then
3520 echo '.include "confinc"' > confmf
3521 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3522 am__include
=.include
3529 { echo "$as_me:$LINENO: result: $_am_result" >&5
3530 echo "${ECHO_T}$_am_result" >&6; }
3531 rm -f confinc confmf
3533 # Check whether --enable-dependency-tracking was given.
3534 if test "${enable_dependency_tracking+set}" = set; then
3535 enableval
=$enable_dependency_tracking;
3538 if test "x$enable_dependency_tracking" != xno
; then
3539 am_depcomp
="$ac_aux_dir/depcomp"
3542 if test "x$enable_dependency_tracking" != xno; then
3552 depcc
="$CC" am_compiler_list
=
3554 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3555 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3556 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3560 # We make a subdir and do the tests there. Otherwise we can end up
3561 # making bogus files that we don't know about and never remove. For
3562 # instance it was reported that on HP-UX the gcc test will end up
3563 # making a dummy file named `D' -- because `-MD' means `put the output
3566 # Copy depcomp to subdir because otherwise we won't find it if we're
3567 # using a relative directory.
3568 cp "$am_depcomp" conftest.dir
3570 # We will build objects and dependencies in a subdirectory because
3571 # it helps to detect inapplicable dependency modes. For instance
3572 # both Tru64's cc and ICC support -MD to output dependencies as a
3573 # side effect of compilation, but ICC will put the dependencies in
3574 # the current directory while Tru64 will put them in the object
3578 am_cv_CC_dependencies_compiler_type
=none
3579 if test "$am_compiler_list" = ""; then
3580 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3582 for depmode
in $am_compiler_list; do
3583 # Setup a source with many dependencies, because some compilers
3584 # like to wrap large dependency lists on column 80 (with \), and
3585 # we should not choose a depcomp mode which is confused by this.
3587 # We need to recreate these files for each test, as the compiler may
3588 # overwrite some of them when testing with obscure command lines.
3589 # This happens at least with the AIX C compiler.
3591 for i
in 1 2 3 4 5 6; do
3592 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3593 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3594 # Solaris 8's {/usr,}/bin/sh.
3595 touch sub
/conftst
$i.h
3597 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3601 # after this tag, mechanisms are not by side-effect, so they'll
3602 # only be used when explicitly requested
3603 if test "x$enable_dependency_tracking" = xyes
; then
3611 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3612 # mode. It turns out that the SunPro C++ compiler does not properly
3613 # handle `-M -o', and we need to detect this.
3614 if depmode
=$depmode \
3615 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3616 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3617 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3618 >/dev
/null
2>conftest.err
&&
3619 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3620 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3621 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3622 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3623 # icc doesn't choke on unknown options, it will just issue warnings
3624 # or remarks (even with -Werror). So we grep stderr for any message
3625 # that says an option was ignored or not supported.
3626 # When given -MP, icc 7.0 and 7.1 complain thusly:
3627 # icc: Command line warning: ignoring option '-M'; no argument required
3628 # The diagnosis changed in icc 8.0:
3629 # icc: Command line remark: option '-MP' not supported
3630 if (grep 'ignoring option' conftest.err ||
3631 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3632 am_cv_CC_dependencies_compiler_type
=$depmode
3641 am_cv_CC_dependencies_compiler_type
=none
3645 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3646 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3647 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3650 test "x$enable_dependency_tracking" != xno \
3651 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3653 am__fastdepCC_FALSE
='#'
3655 am__fastdepCC_TRUE
='#'
3656 am__fastdepCC_FALSE
=
3661 ac_cpp
='$CPP $CPPFLAGS'
3662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3665 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3666 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3667 # On Suns, sometimes $CPP names a directory.
3668 if test -n "$CPP" && test -d "$CPP"; then
3671 if test -z "$CPP"; then
3672 if test "${ac_cv_prog_CPP+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 # Double quotes because CPP needs to be expanded
3676 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3679 for ac_c_preproc_warn_flag
in '' yes
3681 # Use a header file that comes with gcc, so configuring glibc
3682 # with a fresh cross-compiler works.
3683 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3684 # <limits.h> exists even on freestanding compilers.
3685 # On the NeXT, cc -E runs the code through the compiler's parser,
3686 # not just through cpp. "Syntax error" is here to catch this case.
3687 cat >conftest.
$ac_ext <<_ACEOF
3690 cat confdefs.h
>>conftest.
$ac_ext
3691 cat >>conftest.
$ac_ext <<_ACEOF
3692 /* end confdefs.h. */
3694 # include <limits.h>
3696 # include <assert.h>
3700 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3703 *) ac_try_echo=$ac_try;;
3705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3708 grep -v '^ *+' conftest.er1 >conftest.err
3710 cat conftest.err >&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); } >/dev/null && {
3713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3714 test ! -s conftest.err
3718 echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.$ac_ext >&5
3721 # Broken: fails on valid input.
3725 rm -f conftest.err conftest.$ac_ext
3727 # OK, works on sane cases. Now check whether nonexistent headers
3728 # can be detected and how.
3729 cat >conftest.$ac_ext <<_ACEOF
3732 cat confdefs.h >>conftest.$ac_ext
3733 cat >>conftest.$ac_ext <<_ACEOF
3734 /* end confdefs.h. */
3735 #include <ac_nonexistent.h>
3737 if { (ac_try="$ac_cpp conftest.$ac_ext"
3739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3740 *) ac_try_echo
=$ac_try;;
3742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3745 grep -v '^ *+' conftest.er1
>conftest.err
3747 cat conftest.err
>&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); } >/dev
/null
&& {
3750 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3751 test ! -s conftest.err
3753 # Broken: success on invalid input.
3756 echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.
$ac_ext >&5
3759 # Passes both tests.
3764 rm -f conftest.err conftest.
$ac_ext
3767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3768 rm -f conftest.err conftest.
$ac_ext
3769 if $ac_preproc_ok; then
3781 { echo "$as_me:$LINENO: result: $CPP" >&5
3782 echo "${ECHO_T}$CPP" >&6; }
3784 for ac_c_preproc_warn_flag
in '' yes
3786 # Use a header file that comes with gcc, so configuring glibc
3787 # with a fresh cross-compiler works.
3788 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3789 # <limits.h> exists even on freestanding compilers.
3790 # On the NeXT, cc -E runs the code through the compiler's parser,
3791 # not just through cpp. "Syntax error" is here to catch this case.
3792 cat >conftest.
$ac_ext <<_ACEOF
3795 cat confdefs.h
>>conftest.
$ac_ext
3796 cat >>conftest.
$ac_ext <<_ACEOF
3797 /* end confdefs.h. */
3799 # include <limits.h>
3801 # include <assert.h>
3805 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3808 *) ac_try_echo=$ac_try;;
3810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3811 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3813 grep -v '^ *+' conftest.er1 >conftest.err
3815 cat conftest.err >&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); } >/dev/null && {
3818 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3819 test ! -s conftest.err
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3826 # Broken: fails on valid input.
3830 rm -f conftest.err conftest.$ac_ext
3832 # OK, works on sane cases. Now check whether nonexistent headers
3833 # can be detected and how.
3834 cat >conftest.$ac_ext <<_ACEOF
3837 cat confdefs.h >>conftest.$ac_ext
3838 cat >>conftest.$ac_ext <<_ACEOF
3839 /* end confdefs.h. */
3840 #include <ac_nonexistent.h>
3842 if { (ac_try="$ac_cpp conftest.$ac_ext"
3844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3845 *) ac_try_echo
=$ac_try;;
3847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3850 grep -v '^ *+' conftest.er1
>conftest.err
3852 cat conftest.err
>&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } >/dev
/null
&& {
3855 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3856 test ! -s conftest.err
3858 # Broken: success on invalid input.
3861 echo "$as_me: failed program was:" >&5
3862 sed 's/^/| /' conftest.
$ac_ext >&5
3864 # Passes both tests.
3869 rm -f conftest.err conftest.
$ac_ext
3872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3873 rm -f conftest.err conftest.
$ac_ext
3874 if $ac_preproc_ok; then
3877 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3878 See \`config.log' for more details." >&5
3879 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3880 See \`config.log' for more details." >&2;}
3881 { (exit 1); exit 1; }; }
3885 ac_cpp
='$CPP $CPPFLAGS'
3886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3890 # Find a good install program. We prefer a C program (faster),
3891 # so one script is as good as another. But avoid the broken or
3892 # incompatible versions:
3893 # SysV /etc/install, /usr/sbin/install
3894 # SunOS /usr/etc/install
3895 # IRIX /sbin/install
3897 # AmigaOS /C/install, which installs bootblocks on floppy discs
3898 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3899 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3900 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3901 # OS/2's system install, which has a completely different semantic
3902 # ./install, which can be erroneously created by make from ./install.sh.
3903 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3904 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3905 if test -z "$INSTALL"; then
3906 if test "${ac_cv_path_install+set}" = set; then
3907 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir
=.
3914 # Account for people who put trailing slashes in PATH elements.
3916 .
/ | .
// |
/cC
/* | \
3917 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3918 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3921 # OSF1 and SCO ODT 3.0 have their own names for install.
3922 # Don't use installbsd from OSF since it installs stuff as root
3924 for ac_prog
in ginstall scoinst
install; do
3925 for ac_exec_ext
in '' $ac_executable_extensions; do
3926 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3927 if test $ac_prog = install &&
3928 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3929 # AIX install. It has an incompatible calling convention.
3931 elif test $ac_prog = install &&
3932 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3933 # program-specific install script used by HP pwplus--don't use.
3936 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3949 if test "${ac_cv_path_install+set}" = set; then
3950 INSTALL
=$ac_cv_path_install
3952 # As a last resort, use the slow shell script. Don't cache a
3953 # value for INSTALL within a source directory, because that will
3954 # break other packages using the cache if that directory is
3955 # removed, or if the value is a relative name.
3956 INSTALL
=$ac_install_sh
3959 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3960 echo "${ECHO_T}$INSTALL" >&6; }
3962 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3963 # It thinks the first close brace ends the variable substitution.
3964 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3966 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3968 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3970 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3971 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3973 if test "$LN_S" = "ln -s"; then
3974 { echo "$as_me:$LINENO: result: yes" >&5
3975 echo "${ECHO_T}yes" >&6; }
3977 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3978 echo "${ECHO_T}no, using $LN_S" >&6; }
3983 for ac_prog
in perl5 perl
3985 # Extract the first word of "$ac_prog", so it can be a program name with args.
3986 set dummy
$ac_prog; ac_word
=$2
3987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3989 if test "${ac_cv_path_SYSCONFTOOL_PERL+set}" = set; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 case $SYSCONFTOOL_PERL in
3994 ac_cv_path_SYSCONFTOOL_PERL
="$SYSCONFTOOL_PERL" # Let the user override the test with a path.
3997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir
=.
4002 for ac_exec_ext
in '' $ac_executable_extensions; do
4003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4004 ac_cv_path_SYSCONFTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
4005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 SYSCONFTOOL_PERL
=$ac_cv_path_SYSCONFTOOL_PERL
4016 if test -n "$SYSCONFTOOL_PERL"; then
4017 { echo "$as_me:$LINENO: result: $SYSCONFTOOL_PERL" >&5
4018 echo "${ECHO_T}$SYSCONFTOOL_PERL" >&6; }
4020 { echo "$as_me:$LINENO: result: no" >&5
4021 echo "${ECHO_T}no" >&6; }
4025 test -n "$SYSCONFTOOL_PERL" && break
4027 test -n "$SYSCONFTOOL_PERL" || SYSCONFTOOL_PERL
="perl"
4030 if test "$SYSCONFTOOL_PERL" = "perl"
4032 { { echo "$as_me:$LINENO: error: perl not found - please install perl" >&5
4033 echo "$as_me: error: perl not found - please install perl" >&2;}
4034 { (exit 1); exit 1; }; }
4037 { echo "$as_me:$LINENO: checking for sysconftool..." >&5
4038 echo $ECHO_N "checking for sysconftool...... $ECHO_C" >&6; }
4040 for sysconf_dir
in $ac_aux_dir . .. ..
/..
4042 if test -f $srcdir/$sysconf_dir/sysconftool
4044 SYSCONFTOOL
=$srcdir/$sysconf_dir/sysconftool
4049 if test "$SYSCONFTOOL" = ""
4051 { { echo "$as_me:$LINENO: error: sysconftool missing - not in the package" >&5
4052 echo "$as_me: error: sysconftool missing - not in the package" >&2;}
4053 { (exit 1); exit 1; }; }
4056 { echo "$as_me:$LINENO: result: $SYSCONFTOOL" >&5
4057 echo "${ECHO_T}$SYSCONFTOOL" >&6; }
4058 SYSCONFTOOL
="$SYSCONFTOOL_PERL $SYSCONFTOOL"
4063 { echo "$as_me:$LINENO: checking for lt_dlinit in -lltdl" >&5
4064 echo $ECHO_N "checking for lt_dlinit in -lltdl... $ECHO_C" >&6; }
4065 if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 ac_check_lib_save_LIBS
=$LIBS
4070 cat >conftest.
$ac_ext <<_ACEOF
4073 cat confdefs.h
>>conftest.
$ac_ext
4074 cat >>conftest.
$ac_ext <<_ACEOF
4075 /* end confdefs.h. */
4077 /* Override any GCC internal prototype to avoid an error.
4078 Use char because int might match the return type of a GCC
4079 builtin and then its argument prototype would still apply. */
4087 return lt_dlinit ();
4092 rm -f conftest.
$ac_objext conftest
$ac_exeext
4093 if { (ac_try
="$ac_link"
4095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4099 (eval "$ac_link") 2>conftest.er1
4101 grep -v '^ *+' conftest.er1 >conftest.err
4103 cat conftest.err >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } && {
4106 test -z "$ac_c_werror_flag" ||
4107 test ! -s conftest.err
4108 } && test -s conftest$ac_exeext &&
4109 $as_test_x conftest$ac_exeext; then
4110 ac_cv_lib_ltdl_lt_dlinit=yes
4112 echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4115 ac_cv_lib_ltdl_lt_dlinit=no
4118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4119 conftest$ac_exeext conftest.$ac_ext
4120 LIBS=$ac_check_lib_save_LIBS
4122 { echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dlinit" >&5
4123 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlinit" >&6; }
4124 if test $ac_cv_lib_ltdl_lt_dlinit = yes; then
4125 test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no
4127 if test x"$enable_ltdl_install" = xno; then
4128 { echo "$as_me:$LINENO: WARNING: libltdl not installed, but installation disabled" >&5
4129 echo "$as_me: WARNING: libltdl not installed, but installation disabled" >&2;}
4131 enable_ltdl_install=yes
4136 if test x"$enable_ltdl_install" = x"yes"; then
4137 ac_configure_args="$ac_configure_args --enable-ltdl-install"
4138 LIBLTDL='${top_builddir}/''libltdl'/libltdl.la
4139 LTDLINCL='-I${top_srcdir}/''libltdl'
4141 ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
4145 # For backwards non-gettext consistent compatibility...
4150 # Check whether --enable-shared was given.
4151 if test "${enable_shared+set}" = set; then
4152 enableval=$enable_shared; p=${PACKAGE-default}
4154 yes) enable_shared=yes ;;
4155 no) enable_shared=no ;;
4158 # Look at the argument we got. We use all the common list separators.
4159 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4160 for pkg in $enableval; do
4162 if test "X$pkg" = "X$p"; then
4174 # Check whether --enable-static was given.
4175 if test "${enable_static+set}" = set; then
4176 enableval=$enable_static; p=${PACKAGE-default}
4178 yes) enable_static=yes ;;
4179 no) enable_static=no ;;
4182 # Look at the argument we got. We use all the common list separators.
4183 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4184 for pkg in $enableval; do
4186 if test "X$pkg" = "X$p"; then
4198 # Check whether --enable-fast-install was given.
4199 if test "${enable_fast_install+set}" = set; then
4200 enableval=$enable_fast_install; p=${PACKAGE-default}
4202 yes) enable_fast_install=yes ;;
4203 no) enable_fast_install=no ;;
4205 enable_fast_install=no
4206 # Look at the argument we got. We use all the common list separators.
4207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4208 for pkg in $enableval; do
4210 if test "X$pkg" = "X$p"; then
4211 enable_fast_install=yes
4218 enable_fast_install=yes
4222 # Make sure we can run config.sub.
4223 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4224 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4225 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4226 { (exit 1); exit 1; }; }
4228 { echo "$as_me:$LINENO: checking build system type" >&5
4229 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4230 if test "${ac_cv_build+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 ac_build_alias=$build_alias
4234 test "x$ac_build_alias" = x &&
4235 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4236 test "x$ac_build_alias" = x &&
4237 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4238 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4239 { (exit 1); exit 1; }; }
4240 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4241 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4242 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4243 { (exit 1); exit 1; }; }
4246 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4247 echo "${ECHO_T}$ac_cv_build" >&6; }
4248 case $ac_cv_build in
4250 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4251 echo "$as_me: error: invalid value of canonical build" >&2;}
4252 { (exit 1); exit 1; }; };;
4255 ac_save_IFS=$IFS; IFS='-'
4261 # Remember, the first character of IFS is used to create $*,
4262 # except with old shells:
4265 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
4268 { echo "$as_me:$LINENO: checking host system type" >&5
4269 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4270 if test "${ac_cv_host+set}" = set; then
4271 echo $ECHO_N "(cached) $ECHO_C" >&6
4273 if test "x$host_alias" = x; then
4274 ac_cv_host=$ac_cv_build
4276 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4277 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4278 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4279 { (exit 1); exit 1; }; }
4283 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4284 echo "${ECHO_T}$ac_cv_host" >&6; }
4287 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4288 echo "$as_me: error: invalid value of canonical host" >&2;}
4289 { (exit 1); exit 1; }; };;
4292 ac_save_IFS=$IFS; IFS='-'
4298 # Remember, the first character of IFS is used to create $*,
4299 # except with old shells:
4302 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
4305 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4306 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4307 if test "${lt_cv_path_SED+set}" = set; then
4308 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 # Loop through the user's path and test for sed and gsed.
4311 # Then use that list of sed's as ones to test for truncation.
4312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir=.
4317 for lt_ac_prog in sed gsed; do
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4320 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4328 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4329 # along with /bin/sed that truncates output.
4330 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4331 test ! -f $lt_ac_sed && continue
4332 cat /dev/null > conftest.in
4334 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4335 # Check for GNU sed and select it if it is found.
4336 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4337 lt_cv_path_SED=$lt_ac_sed
4341 cat conftest.in conftest.in >conftest.tmp
4342 mv conftest.tmp conftest.in
4343 cp conftest.in conftest.nl
4345 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4346 cmp -s conftest.out conftest.nl || break
4347 # 10000 chars as input seems more than enough
4348 test $lt_ac_count -gt 10 && break
4349 lt_ac_count=`expr $lt_ac_count + 1`
4350 if test $lt_ac_count -gt $lt_ac_max; then
4351 lt_ac_max=$lt_ac_count
4352 lt_cv_path_SED=$lt_ac_sed
4361 { echo "$as_me:$LINENO: result: $SED" >&5
4362 echo "${ECHO_T}$SED" >&6; }
4364 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4365 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4366 if test "${ac_cv_path_GREP+set}" = set; then
4367 echo $ECHO_N "(cached) $ECHO_C" >&6
4369 # Extract the first word of "grep ggrep" to use in msg output
4370 if test -z "$GREP"; then
4371 set dummy grep ggrep; ac_prog_name=$2
4372 if test "${ac_cv_path_GREP+set}" = set; then
4373 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 ac_path_GREP_found=false
4376 # Loop through the user's path and test for each of PROGNAME-LIST
4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4381 test -z "$as_dir" && as_dir=.
4382 for ac_prog in grep ggrep; do
4383 for ac_exec_ext in '' $ac_executable_extensions; do
4384 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4385 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4386 # Check for GNU ac_path_GREP and select it if it is found.
4387 # Check for GNU $ac_path_GREP
4388 case `"$ac_path_GREP" --version 2>&1` in
4390 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4393 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4396 cat "conftest.in" "conftest.in" >"conftest.tmp"
4397 mv "conftest.tmp" "conftest.in"
4398 cp "conftest.in" "conftest.nl"
4399 echo 'GREP' >> "conftest.nl"
4400 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4401 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4402 ac_count=`expr $ac_count + 1`
4403 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4404 # Best one so far, save it but keep looking for a better one
4405 ac_cv_path_GREP="$ac_path_GREP"
4406 ac_path_GREP_max=$ac_count
4408 # 10*(2^10) chars as input seems more than enough
4409 test $ac_count -gt 10 && break
4411 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4415 $ac_path_GREP_found && break 3
4425 GREP="$ac_cv_path_GREP"
4426 if test -z "$GREP"; then
4427 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4428 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4429 { (exit 1); exit 1; }; }
4433 ac_cv_path_GREP=$GREP
4438 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4439 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4440 GREP="$ac_cv_path_GREP"
4443 { echo "$as_me:$LINENO: checking for egrep" >&5
4444 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4445 if test "${ac_cv_path_EGREP+set}" = set; then
4446 echo $ECHO_N "(cached) $ECHO_C" >&6
4448 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4449 then ac_cv_path_EGREP="$GREP -E"
4451 # Extract the first word of "egrep" to use in msg output
4452 if test -z "$EGREP"; then
4453 set dummy egrep; ac_prog_name=$2
4454 if test "${ac_cv_path_EGREP+set}" = set; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 ac_path_EGREP_found=false
4458 # Loop through the user's path and test for each of PROGNAME-LIST
4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4463 test -z "$as_dir" && as_dir=.
4464 for ac_prog in egrep; do
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4467 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4468 # Check for GNU ac_path_EGREP and select it if it is found.
4469 # Check for GNU $ac_path_EGREP
4470 case `"$ac_path_EGREP" --version 2>&1` in
4472 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4475 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4478 cat "conftest.in" "conftest.in" >"conftest.tmp"
4479 mv "conftest.tmp" "conftest.in"
4480 cp "conftest.in" "conftest.nl"
4481 echo 'EGREP' >> "conftest.nl"
4482 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4483 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4484 ac_count=`expr $ac_count + 1`
4485 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4486 # Best one so far, save it but keep looking for a better one
4487 ac_cv_path_EGREP="$ac_path_EGREP"
4488 ac_path_EGREP_max=$ac_count
4490 # 10*(2^10) chars as input seems more than enough
4491 test $ac_count -gt 10 && break
4493 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4497 $ac_path_EGREP_found && break 3
4507 EGREP="$ac_cv_path_EGREP"
4508 if test -z "$EGREP"; then
4509 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4510 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4511 { (exit 1); exit 1; }; }
4515 ac_cv_path_EGREP=$EGREP
4521 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4522 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4523 EGREP="$ac_cv_path_EGREP"
4527 # Check whether --with-gnu-ld was given.
4528 if test "${with_gnu_ld+set}" = set; then
4529 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4535 if test "$GCC" = yes; then
4536 # Check if gcc -print-prog-name=ld gives a path.
4537 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4538 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4541 # gcc leaves a trailing carriage return which upsets mingw
4542 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
4544 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
4547 # Accept absolute paths.
4549 re_direlt='/[^/][^/]*/\.\./'
4550 # Canonicalize the pathname of ld
4551 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
4552 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4553 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
4555 test -z "$LD" && LD="$ac_prog"
4558 # If it fails, then pretend we aren't using GCC.
4562 # If it is relative, then search for the first ld in PATH.
4566 elif test "$with_gnu_ld" = yes; then
4567 { echo "$as_me:$LINENO: checking for GNU ld" >&5
4568 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4570 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4571 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4573 if test "${lt_cv_path_LD+set}" = set; then
4574 echo $ECHO_N "(cached) $ECHO_C" >&6
4576 if test -z "$LD"; then
4577 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4578 for ac_dir in $PATH; do
4580 test -z "$ac_dir" && ac_dir=.
4581 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4582 lt_cv_path_LD="$ac_dir/$ac_prog"
4583 # Check to see if the program is GNU ld. I'd rather use --version,
4584 # but apparently some variants of GNU ld only accept -v.
4585 # Break only if it was the GNU/non-GNU ld that we prefer.
4586 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
4587 *GNU* | *'with BFD'*)
4588 test "$with_gnu_ld" != no && break
4591 test "$with_gnu_ld" != yes && break
4598 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4603 if test -n "$LD"; then
4604 { echo "$as_me:$LINENO: result: $LD" >&5
4605 echo "${ECHO_T}$LD" >&6; }
4607 { echo "$as_me:$LINENO: result: no" >&5
4608 echo "${ECHO_T}no" >&6; }
4610 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4611 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4612 { (exit 1); exit 1; }; }
4613 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4614 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4615 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4619 case `$LD -v 2>&1 </dev
/null
` in
4620 *GNU* | *'with BFD'*)
4621 lt_cv_prog_gnu_ld=yes
4624 lt_cv_prog_gnu_ld=no
4628 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4629 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4630 with_gnu_ld=$lt_cv_prog_gnu_ld
4633 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4634 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4635 if test "${lt_cv_ld_reload_flag+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 lt_cv_ld_reload_flag='-r'
4640 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4641 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4642 reload_flag=$lt_cv_ld_reload_flag
4643 case $reload_flag in
4645 *) reload_flag=" $reload_flag" ;;
4647 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4650 if test "$GCC" = yes; then
4651 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4653 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4658 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4659 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4660 if test "${lt_cv_path_NM+set}" = set; then
4661 echo $ECHO_N "(cached) $ECHO_C" >&6
4663 if test -n "$NM"; then
4664 # Let the user override the test.
4667 lt_nm_to_check="${ac_tool_prefix}nm"
4668 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4669 lt_nm_to_check="$lt_nm_to_check nm"
4671 for lt_tmp_nm in $lt_nm_to_check; do
4672 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4673 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4675 test -z "$ac_dir" && ac_dir=.
4676 tmp_nm="$ac_dir/$lt_tmp_nm"
4677 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4678 # Check to see if the nm accepts a BSD-compat flag.
4679 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
4680 # nm: unknown option "B" ignored
4681 # Tru64's nm complains that
/dev
/null is an invalid object
file
4682 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4683 */dev
/null
* |
*'Invalid file or object type'*)
4684 lt_cv_path_NM
="$tmp_nm -B"
4688 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4690 lt_cv_path_NM
="$tmp_nm -p"
4694 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4695 continue # so that we can try to find one that supports BSD flags
4704 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4707 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4708 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4711 { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4712 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4713 if test "${lt_cv_deplibs_check_method+set}" = set; then
4714 echo $ECHO_N "(cached) $ECHO_C" >&6
4716 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4717 lt_cv_file_magic_test_file
=
4718 lt_cv_deplibs_check_method
='unknown'
4719 # Need to set the preceding variable on all platforms that support
4720 # interlibrary dependencies.
4721 # 'none' -- dependencies not supported.
4722 # `unknown' -- same as none, but documents that we really don't know.
4723 # 'pass_all' -- all dependencies passed with no checks.
4724 # 'test_compile' -- check by making test program.
4725 # 'file_magic [[regex]]' -- check by looking for files in library path
4726 # which responds to the $file_magic_cmd with a given extended regex.
4727 # If you have `file' or equivalent on your system and you're not sure
4728 # whether `pass_all' will *always* work, you probably want this one.
4732 lt_cv_deplibs_check_method
=pass_all
4736 lt_cv_deplibs_check_method
=pass_all
4740 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4741 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4742 lt_cv_file_magic_test_file
=/shlib
/libc.so
4746 # func_win32_libid is a shell function defined in ltmain.sh
4747 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4748 lt_cv_file_magic_cmd
='func_win32_libid'
4752 # Base MSYS/MinGW do not provide the 'file' command needed by
4753 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4754 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4755 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4758 darwin
* | rhapsody
*)
4759 lt_cv_deplibs_check_method
=pass_all
4762 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
4763 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4766 # Not sure whether the presence of OpenBSD here was a mistake.
4767 # Let's accept both of them until this is cleared up.
4768 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4769 lt_cv_file_magic_cmd
=/usr
/bin
/file
4770 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4774 lt_cv_deplibs_check_method
=pass_all
4779 lt_cv_deplibs_check_method
=pass_all
4782 hpux10.20
* | hpux11
*)
4783 lt_cv_file_magic_cmd
=/usr
/bin
/file
4786 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4787 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4790 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]'
4791 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4794 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4795 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4801 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4802 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4805 irix5
* | irix6
* | nonstopux
*)
4807 *-32|
*"-32 ") libmagic
=32-bit;;
4808 *-n32|
*"-n32 ") libmagic
=N32
;;
4809 *-64|
*"-64 ") libmagic
=64-bit;;
4810 *) libmagic
=never-match
;;
4812 lt_cv_deplibs_check_method
=pass_all
4815 # This must be Linux ELF.
4817 lt_cv_deplibs_check_method
=pass_all
4821 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4822 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4824 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4829 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4830 lt_cv_file_magic_cmd
=/usr
/bin
/file
4831 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4835 lt_cv_deplibs_check_method
=unknown
4839 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4840 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4842 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4846 osf3
* | osf4
* | osf5
*)
4847 lt_cv_deplibs_check_method
=pass_all
4851 lt_cv_deplibs_check_method
=pass_all
4855 case $host_vendor in
4857 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]'
4858 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4861 lt_cv_deplibs_check_method
=pass_all
4864 lt_cv_file_magic_cmd
='/bin/file'
4865 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4868 lt_cv_file_magic_cmd
='/bin/file'
4869 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4870 lt_cv_file_magic_test_file
=/lib
/libc.so
4873 lt_cv_deplibs_check_method
=pass_all
4876 lt_cv_deplibs_check_method
=pass_all
4881 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4882 lt_cv_deplibs_check_method
=pass_all
4887 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4888 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4889 file_magic_cmd
=$lt_cv_file_magic_cmd
4890 deplibs_check_method
=$lt_cv_deplibs_check_method
4891 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4896 # If no C compiler was specified, use CC.
4899 # If no C compiler flags were specified, use CFLAGS.
4900 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4902 # Allow CC to be a program name with arguments.
4905 # Check whether --enable-libtool-lock was given.
4906 if test "${enable_libtool_lock+set}" = set; then
4907 enableval
=$enable_libtool_lock;
4910 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4912 # Some flags need to be propagated to the compiler or linker for good
4916 # Find out which ABI we are using.
4917 echo 'int i;' > conftest.
$ac_ext
4918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4919 (eval $ac_compile) 2>&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); }; then
4923 case `/usr/bin/file conftest.$ac_objext` in
4935 # Find out which ABI we are using.
4936 echo '#line 4936 "configure"' > conftest.
$ac_ext
4937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4938 (eval $ac_compile) 2>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; then
4942 if test "$lt_cv_prog_gnu_ld" = yes; then
4943 case `/usr/bin/file conftest.$ac_objext` in
4945 LD
="${LD-ld} -melf32bsmip"
4948 LD
="${LD-ld} -melf32bmipn32"
4951 LD
="${LD-ld} -melf64bmip"
4955 case `/usr/bin/file conftest.$ac_objext` in
4971 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4972 # Find out which ABI we are using.
4973 echo 'int i;' > conftest.
$ac_ext
4974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4975 (eval $ac_compile) 2>&5
4977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4978 (exit $ac_status); }; then
4979 case `/usr/bin/file conftest.o` in
4983 LD
="${LD-ld} -m elf_i386"
4985 ppc64-
*linux
*|powerpc64-
*linux
*)
4986 LD
="${LD-ld} -m elf32ppclinux"
4989 LD
="${LD-ld} -m elf_s390"
4992 LD
="${LD-ld} -m elf32_sparc"
4999 LD
="${LD-ld} -m elf_x86_64"
5001 ppc
*-*linux
*|powerpc
*-*linux
*)
5002 LD
="${LD-ld} -m elf64ppc"
5005 LD
="${LD-ld} -m elf64_s390"
5008 LD
="${LD-ld} -m elf64_sparc"
5018 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5019 SAVE_CFLAGS
="$CFLAGS"
5020 CFLAGS
="$CFLAGS -belf"
5021 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5022 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5023 if test "${lt_cv_cc_needs_belf+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5027 ac_cpp
='$CPP $CPPFLAGS'
5028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5032 cat >conftest.
$ac_ext <<_ACEOF
5035 cat confdefs.h
>>conftest.
$ac_ext
5036 cat >>conftest.
$ac_ext <<_ACEOF
5037 /* end confdefs.h. */
5047 rm -f conftest.
$ac_objext conftest
$ac_exeext
5048 if { (ac_try
="$ac_link"
5050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5051 *) ac_try_echo=$ac_try;;
5053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5054 (eval "$ac_link") 2>conftest.er1
5056 grep -v '^ *+' conftest.er1 >conftest.err
5058 cat conftest.err >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); } && {
5061 test -z "$ac_c_werror_flag" ||
5062 test ! -s conftest.err
5063 } && test -s conftest$ac_exeext &&
5064 $as_test_x conftest$ac_exeext; then
5065 lt_cv_cc_needs_belf=yes
5067 echo "$as_me: failed program was:" >&5
5068 sed 's/^/| /' conftest.$ac_ext >&5
5070 lt_cv_cc_needs_belf=no
5073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5074 conftest$ac_exeext conftest.$ac_ext
5076 ac_cpp='$CPP $CPPFLAGS'
5077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5082 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5083 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5084 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5085 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5086 CFLAGS="$SAVE_CFLAGS"
5090 # Find out which ABI we are using.
5091 echo 'int i;' > conftest.$ac_ext
5092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5093 (eval $ac_compile) 2>&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; then
5097 case `/usr
/bin
/file conftest.o
` in
5099 case $lt_cv_prog_gnu_ld in
5100 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5101 *) LD="${LD-ld} -64" ;;
5112 need_locks="$enable_libtool_lock"
5116 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5117 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5118 if test "${ac_cv_header_stdc+set}" = set; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5121 cat >conftest.$ac_ext <<_ACEOF
5124 cat confdefs.h >>conftest.$ac_ext
5125 cat >>conftest.$ac_ext <<_ACEOF
5126 /* end confdefs.h. */
5140 rm -f conftest.$ac_objext
5141 if { (ac_try="$ac_compile"
5143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5144 *) ac_try_echo
=$ac_try;;
5146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5147 (eval "$ac_compile") 2>conftest.er1
5149 grep -v '^ *+' conftest.er1
>conftest.err
5151 cat conftest.err
>&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } && {
5154 test -z "$ac_c_werror_flag" ||
5155 test ! -s conftest.err
5156 } && test -s conftest.
$ac_objext; then
5157 ac_cv_header_stdc
=yes
5159 echo "$as_me: failed program was:" >&5
5160 sed 's/^/| /' conftest.
$ac_ext >&5
5162 ac_cv_header_stdc
=no
5165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5167 if test $ac_cv_header_stdc = yes; then
5168 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5169 cat >conftest.
$ac_ext <<_ACEOF
5172 cat confdefs.h
>>conftest.
$ac_ext
5173 cat >>conftest.
$ac_ext <<_ACEOF
5174 /* end confdefs.h. */
5178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5179 $EGREP "memchr" >/dev
/null
2>&1; then
5182 ac_cv_header_stdc
=no
5188 if test $ac_cv_header_stdc = yes; then
5189 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5190 cat >conftest.
$ac_ext <<_ACEOF
5193 cat confdefs.h
>>conftest.
$ac_ext
5194 cat >>conftest.
$ac_ext <<_ACEOF
5195 /* end confdefs.h. */
5199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5200 $EGREP "free" >/dev
/null
2>&1; then
5203 ac_cv_header_stdc
=no
5209 if test $ac_cv_header_stdc = yes; then
5210 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5211 if test "$cross_compiling" = yes; then
5214 cat >conftest.
$ac_ext <<_ACEOF
5217 cat confdefs.h
>>conftest.
$ac_ext
5218 cat >>conftest.
$ac_ext <<_ACEOF
5219 /* end confdefs.h. */
5222 #if ((' ' & 0x0FF) == 0x020)
5223 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5224 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5226 # define ISLOWER(c) \
5227 (('a' <= (c) && (c) <= 'i') \
5228 || ('j' <= (c) && (c) <= 'r') \
5229 || ('s' <= (c) && (c) <= 'z'))
5230 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5233 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5238 for (i = 0; i < 256; i++)
5239 if (XOR (islower (i), ISLOWER (i))
5240 || toupper (i) != TOUPPER (i))
5245 rm -f conftest
$ac_exeext
5246 if { (ac_try
="$ac_link"
5248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5249 *) ac_try_echo=$ac_try;;
5251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5252 (eval "$ac_link") 2>&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5256 { (case "(($ac_try" in
5257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5258 *) ac_try_echo
=$ac_try;;
5260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5261 (eval "$ac_try") 2>&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); }; }; then
5267 echo "$as_me: program exited with status $ac_status" >&5
5268 echo "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.
$ac_ext >&5
5272 ac_cv_header_stdc
=no
5274 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5280 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5281 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5282 if test $ac_cv_header_stdc = yes; then
5284 cat >>confdefs.h
<<\_ACEOF
5285 #define STDC_HEADERS 1
5290 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5300 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5301 inttypes.h stdint.h unistd.h
5303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5304 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5306 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5307 echo $ECHO_N "(cached) $ECHO_C" >&6
5309 cat >conftest.
$ac_ext <<_ACEOF
5312 cat confdefs.h
>>conftest.
$ac_ext
5313 cat >>conftest.
$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5315 $ac_includes_default
5317 #include <$ac_header>
5319 rm -f conftest.
$ac_objext
5320 if { (ac_try
="$ac_compile"
5322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5323 *) ac_try_echo=$ac_try;;
5325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5326 (eval "$ac_compile") 2>conftest.er1
5328 grep -v '^ *+' conftest.er1 >conftest.err
5330 cat conftest.err >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } && {
5333 test -z "$ac_c_werror_flag" ||
5334 test ! -s conftest.err
5335 } && test -s conftest.$ac_objext; then
5336 eval "$as_ac_Header=yes"
5338 echo "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.$ac_ext >&5
5341 eval "$as_ac_Header=no"
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5346 ac_res=`eval echo '${'$as_ac_Header'}'`
5347 { echo "$as_me:$LINENO: result: $ac_res" >&5
5348 echo "${ECHO_T}$ac_res" >&6; }
5349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5350 cat >>confdefs.h <<_ACEOF
5351 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5360 for ac_header in dlfcn.h
5362 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5367 echo $ECHO_N "(cached) $ECHO_C" >&6
5369 ac_res=`eval echo '${'$as_ac_Header'}'`
5370 { echo "$as_me:$LINENO: result: $ac_res" >&5
5371 echo "${ECHO_T}$ac_res" >&6; }
5373 # Is the header compilable?
5374 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5376 cat >conftest.$ac_ext <<_ACEOF
5379 cat confdefs.h >>conftest.$ac_ext
5380 cat >>conftest.$ac_ext <<_ACEOF
5381 /* end confdefs.h. */
5382 $ac_includes_default
5383 #include <$ac_header>
5385 rm -f conftest.$ac_objext
5386 if { (ac_try="$ac_compile"
5388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5389 *) ac_try_echo
=$ac_try;;
5391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5392 (eval "$ac_compile") 2>conftest.er1
5394 grep -v '^ *+' conftest.er1
>conftest.err
5396 cat conftest.err
>&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); } && {
5399 test -z "$ac_c_werror_flag" ||
5400 test ! -s conftest.err
5401 } && test -s conftest.
$ac_objext; then
5402 ac_header_compiler
=yes
5404 echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.
$ac_ext >&5
5407 ac_header_compiler
=no
5410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5411 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5412 echo "${ECHO_T}$ac_header_compiler" >&6; }
5414 # Is the header present?
5415 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5417 cat >conftest.
$ac_ext <<_ACEOF
5420 cat confdefs.h
>>conftest.
$ac_ext
5421 cat >>conftest.
$ac_ext <<_ACEOF
5422 /* end confdefs.h. */
5423 #include <$ac_header>
5425 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5428 *) ac_try_echo=$ac_try;;
5430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5433 grep -v '^ *+' conftest.er1 >conftest.err
5435 cat conftest.err >&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); } >/dev/null && {
5438 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5439 test ! -s conftest.err
5441 ac_header_preproc=yes
5443 echo "$as_me: failed program was:" >&5
5444 sed 's/^/| /' conftest.$ac_ext >&5
5446 ac_header_preproc=no
5449 rm -f conftest.err conftest.$ac_ext
5450 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5451 echo "${ECHO_T}$ac_header_preproc" >&6; }
5453 # So? What about this header?
5454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5460 ac_header_preproc=yes
5463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5476 ## -------------------------------------------------- ##
5477 ## Report this to courier-users@lists.sourceforge.net ##
5478 ## -------------------------------------------------- ##
5480 ) | sed "s/^/$as_me: WARNING: /" >&2
5483 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5486 echo $ECHO_N "(cached) $ECHO_C" >&6
5488 eval "$as_ac_Header=\$ac_header_preproc"
5490 ac_res=`eval echo '${'$as_ac_Header'}'`
5491 { echo "$as_me:$LINENO: result: $ac_res" >&5
5492 echo "${ECHO_T}$ac_res" >&6; }
5495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5496 cat >>confdefs.h <<_ACEOF
5497 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5505 ac_cpp='$CXXCPP $CPPFLAGS'
5506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5509 if test -z "$CXX"; then
5510 if test -n "$CCC"; then
5513 if test -n "$ac_tool_prefix"; then
5514 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5516 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5517 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5520 if test "${ac_cv_prog_CXX+set}" = set; then
5521 echo $ECHO_N "(cached) $ECHO_C" >&6
5523 if test -n "$CXX"; then
5524 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5533 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5544 if test -n "$CXX"; then
5545 { echo "$as_me:$LINENO: result: $CXX" >&5
5546 echo "${ECHO_T}$CXX" >&6; }
5548 { echo "$as_me:$LINENO: result: no" >&5
5549 echo "${ECHO_T}no" >&6; }
5553 test -n "$CXX" && break
5556 if test -z "$CXX"; then
5558 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5560 # Extract the first word of "$ac_prog", so it can be a program name with args.
5561 set dummy $ac_prog; ac_word=$2
5562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5564 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5565 echo $ECHO_N "(cached) $ECHO_C" >&6
5567 if test -n "$ac_ct_CXX"; then
5568 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 test -z "$as_dir" && as_dir=.
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577 ac_cv_prog_ac_ct_CXX="$ac_prog"
5578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5587 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5588 if test -n "$ac_ct_CXX"; then
5589 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5590 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5592 { echo "$as_me:$LINENO: result: no" >&5
5593 echo "${ECHO_T}no" >&6; }
5597 test -n "$ac_ct_CXX" && break
5600 if test "x$ac_ct_CXX" = x; then
5603 case $cross_compiling:$ac_tool_warned in
5605 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5606 whose name does not start with the host triplet. If you think this
5607 configuration is useful to you, please write to autoconf@gnu.org." >&5
5608 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5609 whose name does not start with the host triplet. If you think this
5610 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5611 ac_tool_warned=yes ;;
5619 # Provide some information about the compiler.
5620 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5621 ac_compiler=`set X
$ac_compile; echo $2`
5622 { (ac_try="$ac_compiler --version >&5"
5624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5625 *) ac_try_echo
=$ac_try;;
5627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5628 (eval "$ac_compiler --version >&5") 2>&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); }
5632 { (ac_try
="$ac_compiler -v >&5"
5634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5635 *) ac_try_echo=$ac_try;;
5637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5638 (eval "$ac_compiler -v >&5") 2>&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); }
5642 { (ac_try="$ac_compiler -V >&5"
5644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5645 *) ac_try_echo
=$ac_try;;
5647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5648 (eval "$ac_compiler -V >&5") 2>&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }
5653 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5654 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5655 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5656 echo $ECHO_N "(cached) $ECHO_C" >&6
5658 cat >conftest.
$ac_ext <<_ACEOF
5661 cat confdefs.h
>>conftest.
$ac_ext
5662 cat >>conftest.
$ac_ext <<_ACEOF
5663 /* end confdefs.h. */
5676 rm -f conftest.
$ac_objext
5677 if { (ac_try
="$ac_compile"
5679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5680 *) ac_try_echo=$ac_try;;
5682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5683 (eval "$ac_compile") 2>conftest.er1
5685 grep -v '^ *+' conftest.er1 >conftest.err
5687 cat conftest.err >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); } && {
5690 test -z "$ac_cxx_werror_flag" ||
5691 test ! -s conftest.err
5692 } && test -s conftest.$ac_objext; then
5695 echo "$as_me: failed program was:" >&5
5696 sed 's/^/| /' conftest.$ac_ext >&5
5701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5702 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5705 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5706 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5707 GXX=`test $ac_compiler_gnu = yes && echo yes`
5708 ac_test_CXXFLAGS=${CXXFLAGS+set}
5709 ac_save_CXXFLAGS=$CXXFLAGS
5710 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5711 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5712 if test "${ac_cv_prog_cxx_g+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5716 ac_cxx_werror_flag=yes
5719 cat >conftest.$ac_ext <<_ACEOF
5722 cat confdefs.h >>conftest.$ac_ext
5723 cat >>conftest.$ac_ext <<_ACEOF
5724 /* end confdefs.h. */
5734 rm -f conftest.$ac_objext
5735 if { (ac_try="$ac_compile"
5737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5738 *) ac_try_echo
=$ac_try;;
5740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5741 (eval "$ac_compile") 2>conftest.er1
5743 grep -v '^ *+' conftest.er1
>conftest.err
5745 cat conftest.err
>&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } && {
5748 test -z "$ac_cxx_werror_flag" ||
5749 test ! -s conftest.err
5750 } && test -s conftest.
$ac_objext; then
5751 ac_cv_prog_cxx_g
=yes
5753 echo "$as_me: failed program was:" >&5
5754 sed 's/^/| /' conftest.
$ac_ext >&5
5757 cat >conftest.
$ac_ext <<_ACEOF
5760 cat confdefs.h
>>conftest.
$ac_ext
5761 cat >>conftest.
$ac_ext <<_ACEOF
5762 /* end confdefs.h. */
5772 rm -f conftest.
$ac_objext
5773 if { (ac_try
="$ac_compile"
5775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5776 *) ac_try_echo=$ac_try;;
5778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5779 (eval "$ac_compile") 2>conftest.er1
5781 grep -v '^ *+' conftest.er1 >conftest.err
5783 cat conftest.err >&5
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); } && {
5786 test -z "$ac_cxx_werror_flag" ||
5787 test ! -s conftest.err
5788 } && test -s conftest.$ac_objext; then
5791 echo "$as_me: failed program was:" >&5
5792 sed 's/^/| /' conftest.$ac_ext >&5
5794 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5796 cat >conftest.$ac_ext <<_ACEOF
5799 cat confdefs.h >>conftest.$ac_ext
5800 cat >>conftest.$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5811 rm -f conftest.$ac_objext
5812 if { (ac_try="$ac_compile"
5814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5815 *) ac_try_echo
=$ac_try;;
5817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5818 (eval "$ac_compile") 2>conftest.er1
5820 grep -v '^ *+' conftest.er1
>conftest.err
5822 cat conftest.err
>&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } && {
5825 test -z "$ac_cxx_werror_flag" ||
5826 test ! -s conftest.err
5827 } && test -s conftest.
$ac_objext; then
5828 ac_cv_prog_cxx_g
=yes
5830 echo "$as_me: failed program was:" >&5
5831 sed 's/^/| /' conftest.
$ac_ext >&5
5836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5843 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5845 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5846 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5847 if test "$ac_test_CXXFLAGS" = set; then
5848 CXXFLAGS
=$ac_save_CXXFLAGS
5849 elif test $ac_cv_prog_cxx_g = yes; then
5850 if test "$GXX" = yes; then
5856 if test "$GXX" = yes; then
5863 ac_cpp
='$CXXCPP $CPPFLAGS'
5864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5868 depcc
="$CXX" am_compiler_list
=
5870 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5871 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5872 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5875 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5876 # We make a subdir and do the tests there. Otherwise we can end up
5877 # making bogus files that we don't know about and never remove. For
5878 # instance it was reported that on HP-UX the gcc test will end up
5879 # making a dummy file named `D' -- because `-MD' means `put the output
5882 # Copy depcomp to subdir because otherwise we won't find it if we're
5883 # using a relative directory.
5884 cp "$am_depcomp" conftest.dir
5886 # We will build objects and dependencies in a subdirectory because
5887 # it helps to detect inapplicable dependency modes. For instance
5888 # both Tru64's cc and ICC support -MD to output dependencies as a
5889 # side effect of compilation, but ICC will put the dependencies in
5890 # the current directory while Tru64 will put them in the object
5894 am_cv_CXX_dependencies_compiler_type
=none
5895 if test "$am_compiler_list" = ""; then
5896 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5898 for depmode
in $am_compiler_list; do
5899 # Setup a source with many dependencies, because some compilers
5900 # like to wrap large dependency lists on column 80 (with \), and
5901 # we should not choose a depcomp mode which is confused by this.
5903 # We need to recreate these files for each test, as the compiler may
5904 # overwrite some of them when testing with obscure command lines.
5905 # This happens at least with the AIX C compiler.
5907 for i
in 1 2 3 4 5 6; do
5908 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5909 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5910 # Solaris 8's {/usr,}/bin/sh.
5911 touch sub
/conftst
$i.h
5913 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5917 # after this tag, mechanisms are not by side-effect, so they'll
5918 # only be used when explicitly requested
5919 if test "x$enable_dependency_tracking" = xyes
; then
5927 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5928 # mode. It turns out that the SunPro C++ compiler does not properly
5929 # handle `-M -o', and we need to detect this.
5930 if depmode
=$depmode \
5931 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5932 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5933 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5934 >/dev
/null
2>conftest.err
&&
5935 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5936 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5937 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5938 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5939 # icc doesn't choke on unknown options, it will just issue warnings
5940 # or remarks (even with -Werror). So we grep stderr for any message
5941 # that says an option was ignored or not supported.
5942 # When given -MP, icc 7.0 and 7.1 complain thusly:
5943 # icc: Command line warning: ignoring option '-M'; no argument required
5944 # The diagnosis changed in icc 8.0:
5945 # icc: Command line remark: option '-MP' not supported
5946 if (grep 'ignoring option' conftest.err ||
5947 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5948 am_cv_CXX_dependencies_compiler_type
=$depmode
5957 am_cv_CXX_dependencies_compiler_type
=none
5961 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5962 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5963 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5966 test "x$enable_dependency_tracking" != xno \
5967 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5968 am__fastdepCXX_TRUE
=
5969 am__fastdepCXX_FALSE
='#'
5971 am__fastdepCXX_TRUE
='#'
5972 am__fastdepCXX_FALSE
=
5978 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5979 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5980 (test "X$CXX" != "Xg++"))) ; then
5982 ac_cpp
='$CXXCPP $CPPFLAGS'
5983 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5984 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5985 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5986 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5987 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5988 if test -z "$CXXCPP"; then
5989 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 # Double quotes because CXXCPP needs to be expanded
5993 for CXXCPP
in "$CXX -E" "/lib/cpp"
5996 for ac_cxx_preproc_warn_flag
in '' yes
5998 # Use a header file that comes with gcc, so configuring glibc
5999 # with a fresh cross-compiler works.
6000 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6001 # <limits.h> exists even on freestanding compilers.
6002 # On the NeXT, cc -E runs the code through the compiler's parser,
6003 # not just through cpp. "Syntax error" is here to catch this case.
6004 cat >conftest.
$ac_ext <<_ACEOF
6007 cat confdefs.h
>>conftest.
$ac_ext
6008 cat >>conftest.
$ac_ext <<_ACEOF
6009 /* end confdefs.h. */
6011 # include <limits.h>
6013 # include <assert.h>
6017 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6020 *) ac_try_echo=$ac_try;;
6022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6025 grep -v '^ *+' conftest.er1 >conftest.err
6027 cat conftest.err >&5
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); } >/dev/null && {
6030 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6031 test ! -s conftest.err
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6038 # Broken: fails on valid input.
6042 rm -f conftest.err conftest.$ac_ext
6044 # OK, works on sane cases. Now check whether nonexistent headers
6045 # can be detected and how.
6046 cat >conftest.$ac_ext <<_ACEOF
6049 cat confdefs.h >>conftest.$ac_ext
6050 cat >>conftest.$ac_ext <<_ACEOF
6051 /* end confdefs.h. */
6052 #include <ac_nonexistent.h>
6054 if { (ac_try="$ac_cpp conftest.$ac_ext"
6056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6057 *) ac_try_echo
=$ac_try;;
6059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6062 grep -v '^ *+' conftest.er1
>conftest.err
6064 cat conftest.err
>&5
6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 (exit $ac_status); } >/dev
/null
&& {
6067 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6068 test ! -s conftest.err
6070 # Broken: success on invalid input.
6073 echo "$as_me: failed program was:" >&5
6074 sed 's/^/| /' conftest.
$ac_ext >&5
6076 # Passes both tests.
6081 rm -f conftest.err conftest.
$ac_ext
6084 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6085 rm -f conftest.err conftest.
$ac_ext
6086 if $ac_preproc_ok; then
6091 ac_cv_prog_CXXCPP
=$CXXCPP
6094 CXXCPP
=$ac_cv_prog_CXXCPP
6096 ac_cv_prog_CXXCPP
=$CXXCPP
6098 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
6099 echo "${ECHO_T}$CXXCPP" >&6; }
6101 for ac_cxx_preproc_warn_flag
in '' yes
6103 # Use a header file that comes with gcc, so configuring glibc
6104 # with a fresh cross-compiler works.
6105 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6106 # <limits.h> exists even on freestanding compilers.
6107 # On the NeXT, cc -E runs the code through the compiler's parser,
6108 # not just through cpp. "Syntax error" is here to catch this case.
6109 cat >conftest.
$ac_ext <<_ACEOF
6112 cat confdefs.h
>>conftest.
$ac_ext
6113 cat >>conftest.
$ac_ext <<_ACEOF
6114 /* end confdefs.h. */
6116 # include <limits.h>
6118 # include <assert.h>
6122 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6125 *) ac_try_echo=$ac_try;;
6127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6130 grep -v '^ *+' conftest.er1 >conftest.err
6132 cat conftest.err >&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } >/dev/null && {
6135 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6136 test ! -s conftest.err
6140 echo "$as_me: failed program was:" >&5
6141 sed 's/^/| /' conftest.$ac_ext >&5
6143 # Broken: fails on valid input.
6147 rm -f conftest.err conftest.$ac_ext
6149 # OK, works on sane cases. Now check whether nonexistent headers
6150 # can be detected and how.
6151 cat >conftest.$ac_ext <<_ACEOF
6154 cat confdefs.h >>conftest.$ac_ext
6155 cat >>conftest.$ac_ext <<_ACEOF
6156 /* end confdefs.h. */
6157 #include <ac_nonexistent.h>
6159 if { (ac_try="$ac_cpp conftest.$ac_ext"
6161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6162 *) ac_try_echo
=$ac_try;;
6164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6167 grep -v '^ *+' conftest.er1
>conftest.err
6169 cat conftest.err
>&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); } >/dev
/null
&& {
6172 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6173 test ! -s conftest.err
6175 # Broken: success on invalid input.
6178 echo "$as_me: failed program was:" >&5
6179 sed 's/^/| /' conftest.
$ac_ext >&5
6181 # Passes both tests.
6186 rm -f conftest.err conftest.
$ac_ext
6189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6190 rm -f conftest.err conftest.
$ac_ext
6191 if $ac_preproc_ok; then
6194 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6195 See \`config.log' for more details." >&5
6196 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6197 See \`config.log' for more details." >&2;}
6198 { (exit 1); exit 1; }; }
6202 ac_cpp
='$CXXCPP $CPPFLAGS'
6203 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6204 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6205 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6211 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6212 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6213 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6214 if test -n "$ac_tool_prefix"; then
6215 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6218 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6221 if test "${ac_cv_prog_F77+set}" = set; then
6222 echo $ECHO_N "(cached) $ECHO_C" >&6
6224 if test -n "$F77"; then
6225 ac_cv_prog_F77
="$F77" # Let the user override the test.
6227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6231 test -z "$as_dir" && as_dir
=.
6232 for ac_exec_ext
in '' $ac_executable_extensions; do
6233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6234 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6245 if test -n "$F77"; then
6246 { echo "$as_me:$LINENO: result: $F77" >&5
6247 echo "${ECHO_T}$F77" >&6; }
6249 { echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6; }
6254 test -n "$F77" && break
6257 if test -z "$F77"; then
6259 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6261 # Extract the first word of "$ac_prog", so it can be a program name with args.
6262 set dummy
$ac_prog; ac_word
=$2
6263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6265 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6266 echo $ECHO_N "(cached) $ECHO_C" >&6
6268 if test -n "$ac_ct_F77"; then
6269 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6275 test -z "$as_dir" && as_dir
=.
6276 for ac_exec_ext
in '' $ac_executable_extensions; do
6277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278 ac_cv_prog_ac_ct_F77
="$ac_prog"
6279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6288 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6289 if test -n "$ac_ct_F77"; then
6290 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6291 echo "${ECHO_T}$ac_ct_F77" >&6; }
6293 { echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6; }
6298 test -n "$ac_ct_F77" && break
6301 if test "x$ac_ct_F77" = x
; then
6304 case $cross_compiling:$ac_tool_warned in
6306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6307 whose name does not start with the host triplet. If you think this
6308 configuration is useful to you, please write to autoconf@gnu.org." >&5
6309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6310 whose name does not start with the host triplet. If you think this
6311 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6312 ac_tool_warned
=yes ;;
6319 # Provide some information about the compiler.
6320 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6321 ac_compiler
=`set X $ac_compile; echo $2`
6322 { (ac_try
="$ac_compiler --version >&5"
6324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6325 *) ac_try_echo=$ac_try;;
6327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6328 (eval "$ac_compiler --version >&5") 2>&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); }
6332 { (ac_try="$ac_compiler -v >&5"
6334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6335 *) ac_try_echo
=$ac_try;;
6337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6338 (eval "$ac_compiler -v >&5") 2>&5
6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); }
6342 { (ac_try
="$ac_compiler -V >&5"
6344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6345 *) ac_try_echo=$ac_try;;
6347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6348 (eval "$ac_compiler -V >&5") 2>&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); }
6354 # If we don't use `.F
' as extension, the preprocessor is not run on the
6355 # input file. (Note that this only needs to work for GNU compilers.)
6358 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6359 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6360 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6361 echo $ECHO_N "(cached) $ECHO_C" >&6
6363 cat >conftest.$ac_ext <<_ACEOF
6371 rm -f conftest.$ac_objext
6372 if { (ac_try="$ac_compile"
6374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6375 *) ac_try_echo=$ac_try;;
6377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6378 (eval "$ac_compile") 2>conftest.er1
6380 grep -v '^
*+' conftest.er1 >conftest.err
6382 cat conftest.err >&5
6383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); } && {
6385 test -z "$ac_f77_werror_flag" ||
6386 test ! -s conftest.err
6387 } && test -s conftest.$ac_objext; then
6390 echo "$as_me: failed program was:" >&5
6391 sed 's
/^
/|
/' conftest.$ac_ext >&5
6396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6397 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6400 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6401 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6403 ac_test_FFLAGS=${FFLAGS+set}
6404 ac_save_FFLAGS=$FFLAGS
6406 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6407 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6408 if test "${ac_cv_prog_f77_g+set}" = set; then
6409 echo $ECHO_N "(cached) $ECHO_C" >&6
6412 cat >conftest.$ac_ext <<_ACEOF
6417 rm -f conftest.$ac_objext
6418 if { (ac_try="$ac_compile"
6420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6421 *) ac_try_echo=$ac_try;;
6423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6424 (eval "$ac_compile") 2>conftest.er1
6426 grep -v '^
*+' conftest.er1 >conftest.err
6428 cat conftest.err >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } && {
6431 test -z "$ac_f77_werror_flag" ||
6432 test ! -s conftest.err
6433 } && test -s conftest.$ac_objext; then
6434 ac_cv_prog_f77_g=yes
6436 echo "$as_me: failed program was:" >&5
6437 sed 's
/^
/|
/' conftest.$ac_ext >&5
6442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6445 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6446 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6447 if test "$ac_test_FFLAGS" = set; then
6448 FFLAGS=$ac_save_FFLAGS
6449 elif test $ac_cv_prog_f77_g = yes; then
6450 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6456 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6463 G77=`test $ac_compiler_gnu = yes && echo yes`
6465 ac_cpp='$CPP $CPPFLAGS'
6466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6467 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6472 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6474 # find the maximum length of command line arguments
6475 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6476 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6477 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6478 echo $ECHO_N "(cached) $ECHO_C" >&6
6485 # On DJGPP, this test can blow up pretty badly due to problems in libc
6486 # (any single argument exceeding 2000 bytes causes a buffer overrun
6487 # during glob expansion). Even if it were fixed, the result of this
6488 # check would be larger than it should be.
6489 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6493 # Under GNU Hurd, this test is not required because there is
6494 # no limit to the length of command line arguments.
6495 # Libtool will interpret -1 as no limit whatsoever
6496 lt_cv_sys_max_cmd_len
=-1;
6500 # On Win9x/ME, this test blows up -- it succeeds, but takes
6501 # about 5 minutes as the teststring grows exponentially.
6502 # Worse, since 9x/ME are not pre-emptively multitasking,
6503 # you end up with a "frozen" computer, even though with patience
6504 # the test eventually succeeds (with a max line length of 256k).
6505 # Instead, let's just punt: use the minimum linelength reported by
6506 # all of the supported platforms: 8192 (on NT/2K/XP).
6507 lt_cv_sys_max_cmd_len
=8192;
6511 # On AmigaOS with pdksh, this test takes hours, literally.
6512 # So we just punt and use a minimum line length of 8192.
6513 lt_cv_sys_max_cmd_len
=8192;
6516 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6517 # This has been around since 386BSD, at least. Likely further.
6518 if test -x /sbin
/sysctl
; then
6519 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6520 elif test -x /usr
/sbin
/sysctl
; then
6521 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6523 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6525 # And add a safety zone
6526 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6527 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6531 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6532 lt_cv_sys_max_cmd_len
=196608
6536 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6537 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6538 # nice to cause kernel panics so lets avoid the loop below.
6539 # First set a reasonable default.
6540 lt_cv_sys_max_cmd_len
=16384
6542 if test -x /sbin
/sysconfig
; then
6543 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6544 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6549 lt_cv_sys_max_cmd_len
=102400
6551 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6552 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6553 if test -n "$kargmax"; then
6554 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6556 lt_cv_sys_max_cmd_len
=32768
6560 # If test is not a shell built-in, we'll probably end up computing a
6561 # maximum length that is only half of the actual maximum length, but
6563 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6564 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6565 = "XX$teststring") >/dev
/null
2>&1 &&
6566 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6567 lt_cv_sys_max_cmd_len
=$new_result &&
6568 test $i != 17 # 1/2 MB should be enough
6571 teststring
=$teststring$teststring
6574 # Add a significant safety factor because C++ compilers can tack on massive
6575 # amounts of additional arguments before passing them to the linker.
6576 # It appears as though 1/2 is a usable value.
6577 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6583 if test -n $lt_cv_sys_max_cmd_len ; then
6584 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6585 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6587 { echo "$as_me:$LINENO: result: none" >&5
6588 echo "${ECHO_T}none" >&6; }
6594 # Check for command to grab the raw symbol name followed by C symbol from nm.
6595 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6596 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6597 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6598 echo $ECHO_N "(cached) $ECHO_C" >&6
6601 # These are sane defaults that work on at least a few old systems.
6602 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6604 # Character class describing NM global symbol codes.
6605 symcode
='[BCDEGRST]'
6607 # Regexp to match symbols that can be accessed directly from C.
6608 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6610 # Transform an extracted symbol line into a proper C declaration
6611 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6613 # Transform an extracted symbol line into symbol name and symbol address
6614 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6616 # Define system-specific variables.
6621 cygwin
* | mingw
* | pw32
*)
6622 symcode
='[ABCDGISTW]'
6624 hpux
*) # Its linker distinguishes data from code symbols
6625 if test "$host_cpu" = ia64
; then
6626 symcode
='[ABCDEGRST]'
6628 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6629 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6632 if test "$host_cpu" = ia64
; then
6633 symcode
='[ABCDGIRSTW]'
6634 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6635 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6639 symcode
='[BCDEGRST]'
6642 symcode
='[BCDEGQRST]'
6653 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6661 # Handle CRLF in mingw tool chain
6665 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6669 # If we're using GNU nm, then use its standard symbol codes.
6670 case `$NM -V 2>&1` in
6671 *GNU
* |
*'with BFD'*)
6672 symcode
='[ABCDGIRSTW]' ;;
6675 # Try without a prefix undercore, then with it.
6676 for ac_symprfx
in "" "_"; do
6678 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6679 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6681 # Write the raw and C identifiers.
6682 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6684 # Check to see that the pipe works correctly.
6688 cat > conftest.
$ac_ext <<EOF
6693 void nm_test_func(){}
6697 int main(){nm_test_var='a';nm_test_func();return(0);}
6700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6701 (eval $ac_compile) 2>&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; then
6705 # Now try to grab the symbols.
6707 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6708 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); } && test -s "$nlist"; then
6712 # Try sorting and uniquifying the output.
6713 if sort "$nlist" |
uniq > "$nlist"T
; then
6714 mv -f "$nlist"T
"$nlist"
6719 # Make sure that we snagged all the symbols we need.
6720 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6721 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6722 cat <<EOF > conftest.$ac_ext
6728 # Now generate the symbol file.
6729 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6731 cat <<EOF >> conftest.$ac_ext
6732 #if defined (__STDC__) && __STDC__
6733 # define lt_ptr_t void *
6735 # define lt_ptr_t char *
6739 /* The mapping between symbol names and symbols. */
6744 lt_preloaded_symbols[] =
6747 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6748 cat <<\EOF
>> conftest.
$ac_ext
6756 # Now try linking the two files.
6757 mv conftest.
$ac_objext conftstm.
$ac_objext
6758 lt_save_LIBS
="$LIBS"
6759 lt_save_CFLAGS
="$CFLAGS"
6760 LIBS
="conftstm.$ac_objext"
6761 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6763 (eval $ac_link) 2>&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6769 LIBS
="$lt_save_LIBS"
6770 CFLAGS
="$lt_save_CFLAGS"
6772 echo "cannot find nm_test_func in $nlist" >&5
6775 echo "cannot find nm_test_var in $nlist" >&5
6778 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6781 echo "$progname: failed program was:" >&5
6782 cat conftest.
$ac_ext >&5
6784 rm -f conftest
* conftst
*
6786 # Do not use the global_symbol_pipe unless it works.
6787 if test "$pipe_works" = yes; then
6790 lt_cv_sys_global_symbol_pipe
=
6796 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6797 lt_cv_sys_global_symbol_to_cdecl
=
6799 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6800 { echo "$as_me:$LINENO: result: failed" >&5
6801 echo "${ECHO_T}failed" >&6; }
6803 { echo "$as_me:$LINENO: result: ok" >&5
6804 echo "${ECHO_T}ok" >&6; }
6807 { echo "$as_me:$LINENO: checking for objdir" >&5
6808 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6809 if test "${lt_cv_objdir+set}" = set; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6812 rm -f .libs
2>/dev
/null
6813 mkdir .libs
2>/dev
/null
6814 if test -d .libs
; then
6817 # MS-DOS does not allow filenames that begin with a dot.
6820 rmdir .libs
2>/dev
/null
6822 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6823 echo "${ECHO_T}$lt_cv_objdir" >&6; }
6824 objdir
=$lt_cv_objdir
6832 # AIX sometimes has problems with the GCC collect2 program. For some
6833 # reason, if we set the COLLECT_NAMES environment variable, the problems
6834 # vanish in a puff of smoke.
6835 if test "X${COLLECT_NAMES+set}" != Xset
; then
6837 export COLLECT_NAMES
6842 # Sed substitution that helps us do robust quoting. It backslashifies
6843 # metacharacters that are still active within double-quoted strings.
6844 Xsed
='sed -e 1s/^X//'
6845 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6847 # Same as above, but do not quote variable references.
6848 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6850 # Sed substitution to delay expansion of an escaped shell variable in a
6851 # double_quote_subst'ed string.
6852 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6854 # Sed substitution to avoid accidental globbing in evaled expressions
6855 no_glob_subst
='s/\*/\\\*/g'
6861 default_ofile
=libtool
6862 can_build_shared
=yes
6864 # All known linkers require a `.a' archive for static linking (except MSVC,
6865 # which needs '.lib').
6867 ltmain
="$ac_aux_dir/ltmain.sh"
6868 ofile
="$default_ofile"
6869 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6871 if test -n "$ac_tool_prefix"; then
6872 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6873 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6876 if test "${ac_cv_prog_AR+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 if test -n "$AR"; then
6880 ac_cv_prog_AR
="$AR" # Let the user override the test.
6882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6886 test -z "$as_dir" && as_dir
=.
6887 for ac_exec_ext
in '' $ac_executable_extensions; do
6888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6889 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6900 if test -n "$AR"; then
6901 { echo "$as_me:$LINENO: result: $AR" >&5
6902 echo "${ECHO_T}$AR" >&6; }
6904 { echo "$as_me:$LINENO: result: no" >&5
6905 echo "${ECHO_T}no" >&6; }
6910 if test -z "$ac_cv_prog_AR"; then
6912 # Extract the first word of "ar", so it can be a program name with args.
6913 set dummy
ar; ac_word
=$2
6914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6916 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6917 echo $ECHO_N "(cached) $ECHO_C" >&6
6919 if test -n "$ac_ct_AR"; then
6920 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6926 test -z "$as_dir" && as_dir
=.
6927 for ac_exec_ext
in '' $ac_executable_extensions; do
6928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6929 ac_cv_prog_ac_ct_AR
="ar"
6930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6939 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6940 if test -n "$ac_ct_AR"; then
6941 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6942 echo "${ECHO_T}$ac_ct_AR" >&6; }
6944 { echo "$as_me:$LINENO: result: no" >&5
6945 echo "${ECHO_T}no" >&6; }
6948 if test "x$ac_ct_AR" = x
; then
6951 case $cross_compiling:$ac_tool_warned in
6953 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6954 whose name does not start with the host triplet. If you think this
6955 configuration is useful to you, please write to autoconf@gnu.org." >&5
6956 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6957 whose name does not start with the host triplet. If you think this
6958 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6959 ac_tool_warned
=yes ;;
6967 if test -n "$ac_tool_prefix"; then
6968 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6969 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6972 if test "${ac_cv_prog_RANLIB+set}" = set; then
6973 echo $ECHO_N "(cached) $ECHO_C" >&6
6975 if test -n "$RANLIB"; then
6976 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6982 test -z "$as_dir" && as_dir
=.
6983 for ac_exec_ext
in '' $ac_executable_extensions; do
6984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6985 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6995 RANLIB
=$ac_cv_prog_RANLIB
6996 if test -n "$RANLIB"; then
6997 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6998 echo "${ECHO_T}$RANLIB" >&6; }
7000 { echo "$as_me:$LINENO: result: no" >&5
7001 echo "${ECHO_T}no" >&6; }
7006 if test -z "$ac_cv_prog_RANLIB"; then
7007 ac_ct_RANLIB
=$RANLIB
7008 # Extract the first word of "ranlib", so it can be a program name with args.
7009 set dummy ranlib
; ac_word
=$2
7010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7012 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7013 echo $ECHO_N "(cached) $ECHO_C" >&6
7015 if test -n "$ac_ct_RANLIB"; then
7016 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7022 test -z "$as_dir" && as_dir
=.
7023 for ac_exec_ext
in '' $ac_executable_extensions; do
7024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7025 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7035 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7036 if test -n "$ac_ct_RANLIB"; then
7037 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7038 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7040 { echo "$as_me:$LINENO: result: no" >&5
7041 echo "${ECHO_T}no" >&6; }
7044 if test "x$ac_ct_RANLIB" = x
; then
7047 case $cross_compiling:$ac_tool_warned in
7049 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7050 whose name does not start with the host triplet. If you think this
7051 configuration is useful to you, please write to autoconf@gnu.org." >&5
7052 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7053 whose name does not start with the host triplet. If you think this
7054 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7055 ac_tool_warned
=yes ;;
7057 RANLIB
=$ac_ct_RANLIB
7060 RANLIB
="$ac_cv_prog_RANLIB"
7063 if test -n "$ac_tool_prefix"; then
7064 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7065 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7068 if test "${ac_cv_prog_STRIP+set}" = set; then
7069 echo $ECHO_N "(cached) $ECHO_C" >&6
7071 if test -n "$STRIP"; then
7072 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7078 test -z "$as_dir" && as_dir
=.
7079 for ac_exec_ext
in '' $ac_executable_extensions; do
7080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7081 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7091 STRIP
=$ac_cv_prog_STRIP
7092 if test -n "$STRIP"; then
7093 { echo "$as_me:$LINENO: result: $STRIP" >&5
7094 echo "${ECHO_T}$STRIP" >&6; }
7096 { echo "$as_me:$LINENO: result: no" >&5
7097 echo "${ECHO_T}no" >&6; }
7102 if test -z "$ac_cv_prog_STRIP"; then
7104 # Extract the first word of "strip", so it can be a program name with args.
7105 set dummy strip
; ac_word
=$2
7106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7108 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7109 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 if test -n "$ac_ct_STRIP"; then
7112 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir
=.
7119 for ac_exec_ext
in '' $ac_executable_extensions; do
7120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7121 ac_cv_prog_ac_ct_STRIP
="strip"
7122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7131 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7132 if test -n "$ac_ct_STRIP"; then
7133 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7134 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7136 { echo "$as_me:$LINENO: result: no" >&5
7137 echo "${ECHO_T}no" >&6; }
7140 if test "x$ac_ct_STRIP" = x
; then
7143 case $cross_compiling:$ac_tool_warned in
7145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7146 whose name does not start with the host triplet. If you think this
7147 configuration is useful to you, please write to autoconf@gnu.org." >&5
7148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7149 whose name does not start with the host triplet. If you think this
7150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7151 ac_tool_warned
=yes ;;
7156 STRIP
="$ac_cv_prog_STRIP"
7161 old_CFLAGS
="$CFLAGS"
7163 # Set sane defaults for various variables
7164 test -z "$AR" && AR
=ar
7165 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7166 test -z "$AS" && AS
=as
7167 test -z "$CC" && CC
=cc
7168 test -z "$LTCC" && LTCC
=$CC
7169 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7170 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7171 test -z "$LD" && LD
=ld
7172 test -z "$LN_S" && LN_S
="ln -s"
7173 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7174 test -z "$NM" && NM
=nm
7175 test -z "$SED" && SED
=sed
7176 test -z "$OBJDUMP" && OBJDUMP
=objdump
7177 test -z "$RANLIB" && RANLIB
=:
7178 test -z "$STRIP" && STRIP
=:
7179 test -z "$ac_objext" && ac_objext
=o
7181 # Determine commands to create old-style static archives.
7182 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7183 old_postinstall_cmds
='chmod 644 $oldlib'
7184 old_postuninstall_cmds
=
7186 if test -n "$RANLIB"; then
7189 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7192 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7195 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7198 for cc_temp
in $compiler""; do
7200 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7201 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7206 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7209 # Only perform the check for file, if the check method requires it
7210 case $deplibs_check_method in
7212 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7213 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7214 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7215 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7216 echo $ECHO_N "(cached) $ECHO_C" >&6
7220 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7223 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7224 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7225 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7226 for ac_dir
in $ac_dummy; do
7228 test -z "$ac_dir" && ac_dir
=.
7229 if test -f $ac_dir/${ac_tool_prefix}file; then
7230 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7231 if test -n "$file_magic_test_file"; then
7232 case $deplibs_check_method in
7234 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7235 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7236 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7237 $EGREP "$file_magic_regex" > /dev
/null
; then
7242 *** Warning: the command libtool uses to detect shared libraries,
7243 *** $file_magic_cmd, produces output that libtool cannot recognize.
7244 *** The result is that libtool may fail to recognize shared libraries
7245 *** as such. This will affect the creation of libtool libraries that
7246 *** depend on shared libraries, but programs linked with such libtool
7247 *** libraries will work regardless of this problem. Nevertheless, you
7248 *** may want to report the problem to your system manager and/or to
7249 *** bug-libtool@gnu.org
7259 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7264 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7265 if test -n "$MAGIC_CMD"; then
7266 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7267 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7269 { echo "$as_me:$LINENO: result: no" >&5
7270 echo "${ECHO_T}no" >&6; }
7273 if test -z "$lt_cv_path_MAGIC_CMD"; then
7274 if test -n "$ac_tool_prefix"; then
7275 { echo "$as_me:$LINENO: checking for file" >&5
7276 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7277 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7278 echo $ECHO_N "(cached) $ECHO_C" >&6
7282 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7285 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7286 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7287 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7288 for ac_dir
in $ac_dummy; do
7290 test -z "$ac_dir" && ac_dir
=.
7291 if test -f $ac_dir/file; then
7292 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7293 if test -n "$file_magic_test_file"; then
7294 case $deplibs_check_method in
7296 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7297 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7298 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7299 $EGREP "$file_magic_regex" > /dev
/null
; then
7304 *** Warning: the command libtool uses to detect shared libraries,
7305 *** $file_magic_cmd, produces output that libtool cannot recognize.
7306 *** The result is that libtool may fail to recognize shared libraries
7307 *** as such. This will affect the creation of libtool libraries that
7308 *** depend on shared libraries, but programs linked with such libtool
7309 *** libraries will work regardless of this problem. Nevertheless, you
7310 *** may want to report the problem to your system manager and/or to
7311 *** bug-libtool@gnu.org
7321 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7326 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7327 if test -n "$MAGIC_CMD"; then
7328 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7329 echo "${ECHO_T}$MAGIC_CMD" >&6; }
7331 { echo "$as_me:$LINENO: result: no" >&5
7332 echo "${ECHO_T}no" >&6; }
7347 # Check whether --enable-libtool-lock was given.
7348 if test "${enable_libtool_lock+set}" = set; then
7349 enableval
=$enable_libtool_lock;
7352 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7355 # Check whether --with-pic was given.
7356 if test "${with_pic+set}" = set; then
7357 withval
=$with_pic; pic_mode
="$withval"
7362 test -z "$pic_mode" && pic_mode
=default
7364 # Use C for the default configuration in the libtool script
7368 ac_cpp
='$CPP $CPPFLAGS'
7369 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7370 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7371 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7374 # Source file extension for C test sources.
7377 # Object file extension for compiled C test sources.
7381 # Code to be used in simple compile tests
7382 lt_simple_compile_test_code
="int some_variable = 0;\n"
7384 # Code to be used in simple link tests
7385 lt_simple_link_test_code
='int main(){return(0);}\n'
7388 # If no C compiler was specified, use CC.
7391 # If no C compiler flags were specified, use CFLAGS.
7392 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7394 # Allow CC to be a program name with arguments.
7398 # save warnings/boilerplate of simple test code
7399 ac_outfile
=conftest.
$ac_objext
7400 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
7401 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7402 _lt_compiler_boilerplate
=`cat conftest.err`
7405 ac_outfile
=conftest.
$ac_objext
7406 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
7407 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7408 _lt_linker_boilerplate
=`cat conftest.err`
7413 lt_prog_compiler_no_builtin_flag
=
7415 if test "$GCC" = yes; then
7416 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7419 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7420 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7421 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7424 lt_cv_prog_compiler_rtti_exceptions
=no
7425 ac_outfile
=conftest.
$ac_objext
7426 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7427 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7428 # Insert the option either (1) after the last *FLAGS variable, or
7429 # (2) before a word containing "conftest.", or (3) at the end.
7430 # Note that $ac_compile itself does not contain backslashes and begins
7431 # with a dollar sign (not a hyphen), so the echo should work correctly.
7432 # The option is referenced via a variable to avoid confusing sed.
7433 lt_compile
=`echo "$ac_compile" | $SED \
7434 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7435 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7436 -e 's:$: $lt_compiler_flag:'`
7437 (eval echo "\"\$as_me:7437: $lt_compile\"" >&5)
7438 (eval "$lt_compile" 2>conftest.err
)
7440 cat conftest.err
>&5
7441 echo "$as_me:7441: \$? = $ac_status" >&5
7442 if (exit $ac_status) && test -s "$ac_outfile"; then
7443 # The compiler can only warn and ignore the option if not recognized
7444 # So say no if there are warnings other than the usual output.
7445 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7446 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7447 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7448 lt_cv_prog_compiler_rtti_exceptions
=yes
7454 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7455 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7457 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7458 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7465 lt_prog_compiler_wl
=
7466 lt_prog_compiler_pic
=
7467 lt_prog_compiler_static
=
7469 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7470 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7472 if test "$GCC" = yes; then
7473 lt_prog_compiler_wl
='-Wl,'
7474 lt_prog_compiler_static
='-static'
7478 # All AIX code is PIC.
7479 if test "$host_cpu" = ia64
; then
7480 # AIX 5 now supports IA64 processor
7481 lt_prog_compiler_static
='-Bstatic'
7486 # FIXME: we need at least 68020 code to build shared libraries, but
7487 # adding the `-m68020' flag to GCC prevents building anything better,
7489 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7492 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7493 # PIC is the default for these OSes.
7496 mingw
* | pw32
* | os2
*)
7497 # This hack is so that the source file can tell whether it is being
7498 # built for inclusion in a dll (and should export symbols for example).
7499 lt_prog_compiler_pic
='-DDLL_EXPORT'
7502 darwin
* | rhapsody
*)
7503 # PIC is the default on this platform
7504 # Common symbols not allowed in MH_DYLIB files
7505 lt_prog_compiler_pic
='-fno-common'
7509 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7510 # Instead, we relocate shared libraries at runtime.
7514 # Just because we use GCC doesn't mean we suddenly get shared libraries
7515 # on systems that don't support them.
7516 lt_prog_compiler_can_build_shared
=no
7521 if test -d /usr
/nec
; then
7522 lt_prog_compiler_pic
=-Kconform_pic
7527 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7534 lt_prog_compiler_pic
='-fPIC'
7540 lt_prog_compiler_pic
='-fPIC'
7544 # PORTME Check for flag to pass linker flags through the system compiler.
7547 lt_prog_compiler_wl
='-Wl,'
7548 if test "$host_cpu" = ia64
; then
7549 # AIX 5 now supports IA64 processor
7550 lt_prog_compiler_static
='-Bstatic'
7552 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7556 # PIC is the default on this platform
7557 # Common symbols not allowed in MH_DYLIB files
7558 case $cc_basename in
7560 lt_prog_compiler_pic
='-qnocommon'
7561 lt_prog_compiler_wl
='-Wl,'
7566 mingw
* | pw32
* | os2
*)
7567 # This hack is so that the source file can tell whether it is being
7568 # built for inclusion in a dll (and should export symbols for example).
7569 lt_prog_compiler_pic
='-DDLL_EXPORT'
7572 hpux9
* | hpux10
* | hpux11
*)
7573 lt_prog_compiler_wl
='-Wl,'
7574 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7581 lt_prog_compiler_pic
='+Z'
7584 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7585 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7588 irix5
* | irix6
* | nonstopux
*)
7589 lt_prog_compiler_wl
='-Wl,'
7590 # PIC (with -KPIC) is the default.
7591 lt_prog_compiler_static
='-non_shared'
7595 lt_prog_compiler_pic
='-KPIC'
7596 lt_prog_compiler_static
='-Bstatic'
7600 case $cc_basename in
7602 lt_prog_compiler_wl
='-Wl,'
7603 lt_prog_compiler_pic
='-KPIC'
7604 lt_prog_compiler_static
='-static'
7606 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7607 # Portland Group compilers (*not* the Pentium gcc compiler,
7608 # which looks to be a dead project)
7609 lt_prog_compiler_wl
='-Wl,'
7610 lt_prog_compiler_pic
='-fpic'
7611 lt_prog_compiler_static
='-Bstatic'
7614 lt_prog_compiler_wl
='-Wl,'
7615 # All Alpha code is PIC.
7616 lt_prog_compiler_static
='-non_shared'
7621 osf3
* | osf4
* | osf5
*)
7622 lt_prog_compiler_wl
='-Wl,'
7623 # All OSF/1 code is PIC.
7624 lt_prog_compiler_static
='-non_shared'
7628 lt_prog_compiler_pic
='-KPIC'
7629 lt_prog_compiler_static
='-Bstatic'
7630 case $cc_basename in
7632 lt_prog_compiler_wl
='-Qoption ld ';;
7634 lt_prog_compiler_wl
='-Wl,';;
7639 lt_prog_compiler_wl
='-Qoption ld '
7640 lt_prog_compiler_pic
='-PIC'
7641 lt_prog_compiler_static
='-Bstatic'
7644 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7645 lt_prog_compiler_wl
='-Wl,'
7646 lt_prog_compiler_pic
='-KPIC'
7647 lt_prog_compiler_static
='-Bstatic'
7651 if test -d /usr
/nec
;then
7652 lt_prog_compiler_pic
='-Kconform_pic'
7653 lt_prog_compiler_static
='-Bstatic'
7657 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7658 lt_prog_compiler_wl
='-Wl,'
7659 lt_prog_compiler_pic
='-KPIC'
7660 lt_prog_compiler_static
='-Bstatic'
7664 lt_prog_compiler_wl
='-Wl,'
7665 lt_prog_compiler_can_build_shared
=no
7669 lt_prog_compiler_pic
='-pic'
7670 lt_prog_compiler_static
='-Bstatic'
7674 lt_prog_compiler_can_build_shared
=no
7679 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7680 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7683 # Check to make sure the PIC flag actually works.
7685 if test -n "$lt_prog_compiler_pic"; then
7687 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7688 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7689 if test "${lt_prog_compiler_pic_works+set}" = set; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 lt_prog_compiler_pic_works
=no
7693 ac_outfile
=conftest.
$ac_objext
7694 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7695 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7696 # Insert the option either (1) after the last *FLAGS variable, or
7697 # (2) before a word containing "conftest.", or (3) at the end.
7698 # Note that $ac_compile itself does not contain backslashes and begins
7699 # with a dollar sign (not a hyphen), so the echo should work correctly.
7700 # The option is referenced via a variable to avoid confusing sed.
7701 lt_compile
=`echo "$ac_compile" | $SED \
7702 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7703 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7704 -e 's:$: $lt_compiler_flag:'`
7705 (eval echo "\"\$as_me:7705: $lt_compile\"" >&5)
7706 (eval "$lt_compile" 2>conftest.err
)
7708 cat conftest.err
>&5
7709 echo "$as_me:7709: \$? = $ac_status" >&5
7710 if (exit $ac_status) && test -s "$ac_outfile"; then
7711 # The compiler can only warn and ignore the option if not recognized
7712 # So say no if there are warnings other than the usual output.
7713 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7714 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7715 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7716 lt_prog_compiler_pic_works
=yes
7722 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7723 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7725 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7726 case $lt_prog_compiler_pic in
7728 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7731 lt_prog_compiler_pic
=
7732 lt_prog_compiler_can_build_shared
=no
7737 # For platforms which do not support PIC, -DPIC is meaningless:
7739 lt_prog_compiler_pic
=
7742 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7747 # Check to make sure the static flag actually works.
7749 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7750 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7751 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7752 if test "${lt_prog_compiler_static_works+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 lt_prog_compiler_static_works
=no
7756 save_LDFLAGS
="$LDFLAGS"
7757 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7758 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7759 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7760 # The linker can only warn and ignore the option if not recognized
7761 # So say no if there are warnings
7762 if test -s conftest.err
; then
7763 # Append any errors to the config.log.
7764 cat conftest.err
1>&5
7765 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7766 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7767 if diff conftest.exp conftest.er2
>/dev
/null
; then
7768 lt_prog_compiler_static_works
=yes
7771 lt_prog_compiler_static_works
=yes
7775 LDFLAGS
="$save_LDFLAGS"
7778 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7779 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7781 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7784 lt_prog_compiler_static
=
7788 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7789 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7790 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7791 echo $ECHO_N "(cached) $ECHO_C" >&6
7793 lt_cv_prog_compiler_c_o
=no
7794 $rm -r conftest
2>/dev
/null
7798 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7800 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7801 # Insert the option either (1) after the last *FLAGS variable, or
7802 # (2) before a word containing "conftest.", or (3) at the end.
7803 # Note that $ac_compile itself does not contain backslashes and begins
7804 # with a dollar sign (not a hyphen), so the echo should work correctly.
7805 lt_compile
=`echo "$ac_compile" | $SED \
7806 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7808 -e 's:$: $lt_compiler_flag:'`
7809 (eval echo "\"\$as_me:7809: $lt_compile\"" >&5)
7810 (eval "$lt_compile" 2>out
/conftest.err
)
7812 cat out
/conftest.err
>&5
7813 echo "$as_me:7813: \$? = $ac_status" >&5
7814 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7816 # The compiler can only warn and ignore the option if not recognized
7817 # So say no if there are warnings
7818 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7819 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7820 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7821 lt_cv_prog_compiler_c_o
=yes
7826 # SGI C++ compiler will create directory out/ii_files/ for
7827 # template instantiation
7828 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7829 $rm out
/* && rmdir out
7835 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7836 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7839 hard_links
="nottested"
7840 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7841 # do not overwrite the value of need_locks provided by the user
7842 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7843 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7846 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7848 ln conftest.a conftest.b
2>&5 || hard_links
=no
7849 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7850 { echo "$as_me:$LINENO: result: $hard_links" >&5
7851 echo "${ECHO_T}$hard_links" >&6; }
7852 if test "$hard_links" = no
; then
7853 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7854 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7861 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7862 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7865 allow_undefined_flag
=
7866 enable_shared_with_static_runtimes
=no
7868 archive_expsym_cmds
=
7869 old_archive_From_new_cmds
=
7870 old_archive_from_expsyms_cmds
=
7871 export_dynamic_flag_spec
=
7872 whole_archive_flag_spec
=
7873 thread_safe_flag_spec
=
7874 hardcode_libdir_flag_spec
=
7875 hardcode_libdir_flag_spec_ld
=
7876 hardcode_libdir_separator
=
7879 hardcode_shlibpath_var
=unsupported
7880 link_all_deplibs
=unknown
7881 hardcode_automatic
=no
7884 always_export_symbols
=no
7885 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7886 # include_expsyms should be a list of space-separated symbols to be *always*
7887 # included in the symbol list
7889 # exclude_expsyms can be an extended regexp of symbols to exclude
7890 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7891 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7892 # as well as any symbol that contains `d'.
7893 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7894 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7895 # platforms (ab)use it in PIC code, but their linkers get confused if
7896 # the symbol is explicitly referenced. Since portable code cannot
7897 # rely on this symbol name, it's probably fine to never include it in
7898 # preloaded symbol tables.
7899 extract_expsyms_cmds
=
7900 # Just being paranoid about ensuring that cc_basename is set.
7901 for cc_temp
in $compiler""; do
7903 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7904 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7909 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7912 cygwin
* | mingw
* | pw32
*)
7913 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7914 # When not using gcc, we currently assume that we are using
7915 # Microsoft Visual C++.
7916 if test "$GCC" != yes; then
7921 # we just hope/assume this is gcc and not c89 (= MSVC++)
7930 if test "$with_gnu_ld" = yes; then
7931 # If archive_cmds runs LD, not CC, wlarc should be empty
7934 # Set some defaults for GNU ld with shared library support. These
7935 # are reset later if shared libraries are not supported. Putting them
7936 # here allows them to be overridden if necessary.
7937 runpath_var
=LD_RUN_PATH
7938 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
7939 export_dynamic_flag_spec
='${wl}--export-dynamic'
7940 # ancient GNU ld didn't support --whole-archive et. al.
7941 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
7942 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7944 whole_archive_flag_spec
=
7946 supports_anon_versioning
=no
7947 case `$LD -v 2>/dev/null` in
7948 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7949 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7950 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7951 *\
2.11.
*) ;; # other 2.11 versions
7952 *) supports_anon_versioning
=yes ;;
7955 # See if GNU ld supports shared libraries.
7957 aix3
* | aix4
* | aix5
*)
7958 # On AIX/PPC, the GNU linker is very broken
7959 if test "$host_cpu" != ia64
; then
7963 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7964 *** to be unable to reliably create shared libraries on AIX.
7965 *** Therefore, libtool is disabling shared libraries support. If you
7966 *** really care for shared libraries, you may want to modify your PATH
7967 *** so that a non-GNU linker is found, and then restart.
7974 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)'
7975 hardcode_libdir_flag_spec
='-L$libdir'
7976 hardcode_minus_L
=yes
7978 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7979 # that the semantics of dynamic libraries on AmigaOS, at least up
7980 # to version 4, is to share data among multiple programs linked
7981 # with the same dynamic library. Since this doesn't match the
7982 # behavior of shared libraries on other platforms, we can't use
7988 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
7989 allow_undefined_flag
=unsupported
7990 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7991 # support --undefined. This deserves some investigation. FIXME
7992 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7998 cygwin
* | mingw
* | pw32
*)
7999 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8000 # as there is no search path for DLLs.
8001 hardcode_libdir_flag_spec
='-L$libdir'
8002 allow_undefined_flag
=unsupported
8003 always_export_symbols
=no
8004 enable_shared_with_static_runtimes
=yes
8005 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8007 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8008 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8009 # If the export-symbols file already is a .def file (1st line
8010 # is EXPORTS), use it as is; otherwise, prepend...
8011 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8012 cp $export_symbols $output_objdir/$soname.def;
8014 echo EXPORTS > $output_objdir/$soname.def;
8015 cat $export_symbols >> $output_objdir/$soname.def;
8017 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8025 hardcode_shlibpath_var
=no
8026 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8027 export_dynamic_flag_spec
='${wl}-E'
8028 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8029 # Instead, shared libraries are loaded at an image base (0x10000000 by
8030 # default) and relocated if they conflict, which is a slow very memory
8031 # consuming and fragmenting process. To avoid this, we pick a random,
8032 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8033 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8034 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8035 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'
8039 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8041 case $cc_basename,$host_cpu in
8042 pgcc
*) # Portland Group C compiler
8043 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'
8044 tmp_addflag
=' $pic_flag'
8046 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8047 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'
8048 tmp_addflag
=' $pic_flag -Mnomain' ;;
8049 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8050 tmp_addflag
=' -i_dynamic' ;;
8051 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8052 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8053 ifc
* | ifort
*) # Intel Fortran compiler
8054 tmp_addflag
=' -nofor_main' ;;
8056 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8058 if test $supports_anon_versioning = yes; then
8059 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8060 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8061 $echo "local: *; };" >> $output_objdir/$libname.ver~
8062 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8070 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8071 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8074 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8075 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8080 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8084 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8085 *** create shared libraries on Solaris systems. Therefore, libtool
8086 *** is disabling shared libraries support. We urge you to upgrade GNU
8087 *** binutils to release 2.9.1 or newer. Another option is to modify
8088 *** your PATH or compiler configuration so that the native linker is
8089 *** used, and then restart.
8092 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8093 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8094 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8100 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8101 case `$LD -v 2>&1` in
8102 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8106 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8107 *** reliably create shared libraries on SCO systems. Therefore, libtool
8108 *** is disabling shared libraries support. We urge you to upgrade GNU
8109 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8110 *** your PATH or compiler configuration so that the native linker is
8111 *** used, and then restart.
8116 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8117 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8118 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8119 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8128 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8131 hardcode_shlibpath_var
=no
8135 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8136 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8137 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8144 if test "$ld_shlibs" = no
; then
8146 hardcode_libdir_flag_spec
=
8147 export_dynamic_flag_spec
=
8148 whole_archive_flag_spec
=
8151 # PORTME fill in a description of your system's linker (not GNU ld)
8154 allow_undefined_flag
=unsupported
8155 always_export_symbols
=yes
8156 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'
8157 # Note: this linker hardcodes the directories in LIBPATH if there
8158 # are no directories specified by -L.
8159 hardcode_minus_L
=yes
8160 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8161 # Neither direct hardcoding nor static linking is supported with a
8163 hardcode_direct
=unsupported
8168 if test "$host_cpu" = ia64
; then
8169 # On IA64, the linker does run time linking by default, so we don't
8170 # have to do anything special.
8171 aix_use_runtimelinking
=no
8172 exp_sym_flag
='-Bexport'
8175 # If we're using GNU nm, then we don't want the "-C" option.
8176 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8177 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8178 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'
8180 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'
8182 aix_use_runtimelinking
=no
8184 # Test if we are trying to use run time linking or normal
8185 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8186 # need to do runtime linking.
8187 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8188 for ld_flag
in $LDFLAGS; do
8189 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8190 aix_use_runtimelinking
=yes
8197 exp_sym_flag
='-bexport'
8198 no_entry_flag
='-bnoentry'
8201 # When large executables or shared objects are built, AIX ld can
8202 # have problems creating the table of contents. If linking a library
8203 # or program results in "error TOC overflow" add -mminimal-toc to
8204 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8205 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8209 hardcode_libdir_separator
=':'
8210 link_all_deplibs
=yes
8212 if test "$GCC" = yes; then
8213 case $host_os in aix4.
[012]|aix4.
[012].
*)
8214 # We only want to do this on AIX 4.2 and lower, the check
8215 # below for broken collect2 doesn't work under 4.3+
8216 collect2name
=`${CC} -print-prog-name=collect2`
8217 if test -f "$collect2name" && \
8218 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8220 # We have reworked collect2
8223 # We have old collect2
8224 hardcode_direct
=unsupported
8225 # It fails to find uninstalled libraries when the uninstalled
8226 # path is not listed in the libpath. Setting hardcode_minus_L
8227 # to unsupported forces relinking
8228 hardcode_minus_L
=yes
8229 hardcode_libdir_flag_spec
='-L$libdir'
8230 hardcode_libdir_separator
=
8234 shared_flag
='-shared'
8235 if test "$aix_use_runtimelinking" = yes; then
8236 shared_flag
="$shared_flag "'${wl}-G'
8240 if test "$host_cpu" = ia64
; then
8241 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8242 # chokes on -Wl,-G. The following line is correct:
8245 if test "$aix_use_runtimelinking" = yes; then
8246 shared_flag
='${wl}-G'
8248 shared_flag
='${wl}-bM:SRE'
8253 # It seems that -bexpall does not export symbols beginning with
8254 # underscore (_), so it is better to generate a list of symbols to export.
8255 always_export_symbols
=yes
8256 if test "$aix_use_runtimelinking" = yes; then
8257 # Warning - without using the other runtime loading flags (-brtl),
8258 # -berok will link without error, but may produce a broken library.
8259 allow_undefined_flag
='-berok'
8260 # Determine the default libpath from the value encoded in an empty executable.
8261 cat >conftest.
$ac_ext <<_ACEOF
8264 cat confdefs.h
>>conftest.
$ac_ext
8265 cat >>conftest.
$ac_ext <<_ACEOF
8266 /* end confdefs.h. */
8276 rm -f conftest.
$ac_objext conftest
$ac_exeext
8277 if { (ac_try
="$ac_link"
8279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8280 *) ac_try_echo=$ac_try;;
8282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8283 (eval "$ac_link") 2>conftest.er1
8285 grep -v '^ *+' conftest.er1 >conftest.err
8287 cat conftest.err >&5
8288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289 (exit $ac_status); } && {
8290 test -z "$ac_c_werror_flag" ||
8291 test ! -s conftest.err
8292 } && test -s conftest$ac_exeext &&
8293 $as_test_x conftest$ac_exeext; then
8295 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8297 # Check for a 64-bit object if we didn't find anything.
8298 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8301 echo "$as_me: failed program was:" >&5
8302 sed 's/^/| /' conftest.$ac_ext >&5
8307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8308 conftest$ac_exeext conftest.$ac_ext
8309 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8311 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8312 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8314 if test "$host_cpu" = ia64; then
8315 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8316 allow_undefined_flag="-z nodefs"
8317 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"
8319 # Determine the default libpath from the value encoded in an empty executable.
8320 cat >conftest.$ac_ext <<_ACEOF
8323 cat confdefs.h >>conftest.$ac_ext
8324 cat >>conftest.$ac_ext <<_ACEOF
8325 /* end confdefs.h. */
8335 rm -f conftest.$ac_objext conftest$ac_exeext
8336 if { (ac_try="$ac_link"
8338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8339 *) ac_try_echo
=$ac_try;;
8341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8342 (eval "$ac_link") 2>conftest.er1
8344 grep -v '^ *+' conftest.er1
>conftest.err
8346 cat conftest.err
>&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); } && {
8349 test -z "$ac_c_werror_flag" ||
8350 test ! -s conftest.err
8351 } && test -s conftest
$ac_exeext &&
8352 $as_test_x conftest
$ac_exeext; then
8354 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8356 # Check for a 64-bit object if we didn't find anything.
8357 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8360 echo "$as_me: failed program was:" >&5
8361 sed 's/^/| /' conftest.
$ac_ext >&5
8366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8367 conftest
$ac_exeext conftest.
$ac_ext
8368 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8370 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8371 # Warning - without using the other run time loading flags,
8372 # -berok will link without error, but may produce a broken library.
8373 no_undefined_flag
=' ${wl}-bernotok'
8374 allow_undefined_flag
=' ${wl}-berok'
8375 # Exported symbols can be pulled into shared objects from archives
8376 whole_archive_flag_spec
='$convenience'
8377 archive_cmds_need_lc
=yes
8378 # This is similar to how AIX traditionally builds its shared libraries.
8379 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'
8385 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)'
8386 hardcode_libdir_flag_spec
='-L$libdir'
8387 hardcode_minus_L
=yes
8388 # see comment about different semantics on the GNU ld section
8393 export_dynamic_flag_spec
=-rdynamic
8396 cygwin
* | mingw
* | pw32
*)
8397 # When not using gcc, we currently assume that we are using
8398 # Microsoft Visual C++.
8399 # hardcode_libdir_flag_spec is actually meaningless, as there is
8400 # no search path for DLLs.
8401 hardcode_libdir_flag_spec
=' '
8402 allow_undefined_flag
=unsupported
8403 # Tell ltmain to make .lib files, not .a files.
8405 # Tell ltmain to make .dll files, not .so files.
8407 # FIXME: Setting linknames here is a bad hack.
8408 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8409 # The linker will automatically build a .lib file if we build a DLL.
8410 old_archive_From_new_cmds
='true'
8411 # FIXME: Should let the user specify the lib program.
8412 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8413 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8414 enable_shared_with_static_runtimes
=yes
8417 darwin
* | rhapsody
*)
8419 rhapsody
* | darwin1.
[012])
8420 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8423 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8424 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8426 case ${MACOSX_DEPLOYMENT_TARGET} in
8428 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8431 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8437 archive_cmds_need_lc
=no
8439 hardcode_automatic
=yes
8440 hardcode_shlibpath_var
=unsupported
8441 whole_archive_flag_spec
=''
8442 link_all_deplibs
=yes
8443 if test "$GCC" = yes ; then
8444 output_verbose_link_cmd
='echo'
8445 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8446 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8447 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8448 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8449 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8451 case $cc_basename in
8453 output_verbose_link_cmd
='echo'
8454 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8455 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8456 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8457 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8458 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8468 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8469 hardcode_libdir_flag_spec
='-L$libdir'
8470 hardcode_shlibpath_var
=no
8477 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8478 # support. Future versions do this automatically, but an explicit c++rt0.o
8479 # does not break anything, and helps significantly (at the cost of a little
8482 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8483 hardcode_libdir_flag_spec
='-R$libdir'
8485 hardcode_shlibpath_var
=no
8488 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8490 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8492 hardcode_minus_L
=yes
8493 hardcode_shlibpath_var
=no
8496 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8497 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8498 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8499 hardcode_libdir_flag_spec
='-R$libdir'
8501 hardcode_shlibpath_var
=no
8505 if test "$GCC" = yes; then
8506 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'
8508 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'
8510 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8511 hardcode_libdir_separator
=:
8514 # hardcode_minus_L: Not really in the search PATH,
8515 # but as the default location of the library.
8516 hardcode_minus_L
=yes
8517 export_dynamic_flag_spec
='${wl}-E'
8521 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8522 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8524 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8526 if test "$with_gnu_ld" = no
; then
8527 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8528 hardcode_libdir_separator
=:
8531 export_dynamic_flag_spec
='${wl}-E'
8533 # hardcode_minus_L: Not really in the search PATH,
8534 # but as the default location of the library.
8535 hardcode_minus_L
=yes
8540 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8543 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8546 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8549 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8555 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8558 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8561 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8565 if test "$with_gnu_ld" = no
; then
8566 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8567 hardcode_libdir_separator
=:
8571 hardcode_libdir_flag_spec_ld
='+b $libdir'
8573 hardcode_shlibpath_var
=no
8577 export_dynamic_flag_spec
='${wl}-E'
8579 # hardcode_minus_L: Not really in the search PATH,
8580 # but as the default location of the library.
8581 hardcode_minus_L
=yes
8587 irix5
* | irix6
* | nonstopux
*)
8588 if test "$GCC" = yes; then
8589 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8591 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8592 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8594 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8595 hardcode_libdir_separator
=:
8596 link_all_deplibs
=yes
8600 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8601 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8603 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8605 hardcode_libdir_flag_spec
='-R$libdir'
8607 hardcode_shlibpath_var
=no
8611 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8613 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8614 hardcode_libdir_separator
=:
8615 hardcode_shlibpath_var
=no
8620 hardcode_shlibpath_var
=no
8621 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8622 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8623 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8624 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8625 export_dynamic_flag_spec
='${wl}-E'
8628 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8629 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8630 hardcode_libdir_flag_spec
='-R$libdir'
8633 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8634 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8641 hardcode_libdir_flag_spec
='-L$libdir'
8642 hardcode_minus_L
=yes
8643 allow_undefined_flag
=unsupported
8644 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'
8645 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8649 if test "$GCC" = yes; then
8650 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8651 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8653 allow_undefined_flag
=' -expect_unresolved \*'
8654 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8656 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8657 hardcode_libdir_separator
=:
8660 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8661 if test "$GCC" = yes; then
8662 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8663 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8664 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8666 allow_undefined_flag
=' -expect_unresolved \*'
8667 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8668 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8669 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8671 # Both c and cxx compiler support -rpath directly
8672 hardcode_libdir_flag_spec
='-rpath $libdir'
8674 hardcode_libdir_separator
=:
8678 no_undefined_flag
=' -z text'
8679 if test "$GCC" = yes; then
8681 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8682 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8683 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8686 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8687 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8688 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8690 hardcode_libdir_flag_spec
='-R$libdir'
8691 hardcode_shlibpath_var
=no
8693 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8695 # The compiler driver will combine linker options so we
8696 # cannot just pass the convience library names through
8697 # without $wl, iff we do not link with $LD.
8698 # Luckily, gcc supports the same syntax we need for Sun Studio.
8699 # Supported since Solaris 2.6 (maybe 2.5.1?)
8702 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract' ;;
8704 whole_archive_flag_spec
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8707 link_all_deplibs
=yes
8711 if test "x$host_vendor" = xsequent
; then
8712 # Use $CC to link under sequent, because it throws in some extra .o
8713 # files that make .init and .fini sections work.
8714 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8716 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8718 hardcode_libdir_flag_spec
='-L$libdir'
8720 hardcode_minus_L
=yes
8721 hardcode_shlibpath_var
=no
8725 case $host_vendor in
8727 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8728 hardcode_direct
=yes # is this really true???
8731 ## LD is ld it makes a PLAMLIB
8732 ## CC just makes a GrossModule.
8733 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8734 reload_cmds
='$CC -r -o $output$reload_objs'
8738 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8739 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8742 runpath_var
='LD_RUN_PATH'
8743 hardcode_shlibpath_var
=no
8747 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8748 hardcode_shlibpath_var
=no
8749 export_dynamic_flag_spec
='-Bexport'
8753 if test -d /usr
/nec
; then
8754 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8755 hardcode_shlibpath_var
=no
8756 runpath_var
=LD_RUN_PATH
8757 hardcode_runpath_var
=yes
8762 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
8763 no_undefined_flag
='${wl}-z,text'
8764 archive_cmds_need_lc
=no
8765 hardcode_shlibpath_var
=no
8766 runpath_var
='LD_RUN_PATH'
8768 if test "$GCC" = yes; then
8769 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8770 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8772 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8773 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8777 sysv5
* | sco3.2v5
* | sco5v6
*)
8778 # Note: We can NOT use -z defs as we might desire, because we do not
8779 # link with -lc, and that would cause any symbols used from libc to
8780 # always be unresolved, which means just about no library would
8781 # ever link correctly. If we're not using GNU ld we use -z text
8782 # though, which does catch some bad symbols but isn't as heavy-handed
8784 no_undefined_flag
='${wl}-z,text'
8785 allow_undefined_flag
='${wl}-z,nodefs'
8786 archive_cmds_need_lc
=no
8787 hardcode_shlibpath_var
=no
8788 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8789 hardcode_libdir_separator
=':'
8790 link_all_deplibs
=yes
8791 export_dynamic_flag_spec
='${wl}-Bexport'
8792 runpath_var
='LD_RUN_PATH'
8794 if test "$GCC" = yes; then
8795 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8796 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8798 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8799 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8804 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8805 hardcode_libdir_flag_spec
='-L$libdir'
8806 hardcode_shlibpath_var
=no
8815 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8816 echo "${ECHO_T}$ld_shlibs" >&6; }
8817 test "$ld_shlibs" = no
&& can_build_shared
=no
8820 # Do we need to explicitly link libc?
8822 case "x$archive_cmds_need_lc" in
8824 # Assume -lc should be added
8825 archive_cmds_need_lc
=yes
8827 if test "$enable_shared" = yes && test "$GCC" = yes; then
8828 case $archive_cmds in
8830 # FIXME: we may have to deal with multi-command sequences.
8833 # Test whether the compiler implicitly links with -lc since on some
8834 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8835 # to ld, don't add -lc before -lgcc.
8836 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8837 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8839 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8842 (eval $ac_compile) 2>&5
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); } 2>conftest.err
; then
8848 libobjs
=conftest.
$ac_objext
8850 wl
=$lt_prog_compiler_wl
8851 pic_flag
=$lt_prog_compiler_pic
8857 lt_save_allow_undefined_flag
=$allow_undefined_flag
8858 allow_undefined_flag
=
8859 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8860 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }
8865 archive_cmds_need_lc
=no
8867 archive_cmds_need_lc
=yes
8869 allow_undefined_flag
=$lt_save_allow_undefined_flag
8871 cat conftest.err
1>&5
8874 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8875 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8882 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8883 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8885 libname_spec
='lib$name'
8893 shlibpath_overrides_runpath
=unknown
8895 dynamic_linker
="$host_os ld.so"
8896 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8897 if test "$GCC" = yes; then
8898 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8899 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
8900 # if the path contains ";" then we assume it to be the separator
8901 # otherwise default to the standard path separator (i.e. ":") - it is
8902 # assumed that no part of a normal pathname contains ";" but that should
8903 # okay in the real world where ";" in dirpaths is itself problematic.
8904 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8906 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8909 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8911 need_lib_prefix
=unknown
8912 hardcode_into_libs
=no
8914 # when you set need_version to no, make sure it does not cause -set_version
8915 # flags to be left without arguments
8916 need_version
=unknown
8921 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8922 shlibpath_var
=LIBPATH
8924 # AIX 3 has no versioning support, so we append a major version to the name.
8925 soname_spec
='${libname}${release}${shared_ext}$major'
8932 hardcode_into_libs
=yes
8933 if test "$host_cpu" = ia64
; then
8934 # AIX 5 supports IA64
8935 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8936 shlibpath_var
=LD_LIBRARY_PATH
8938 # With GCC up to 2.95.x, collect2 would create an import file
8939 # for dependence libraries. The import file would start with
8940 # the line `#! .'. This would cause the generated library to
8941 # depend on `.', always an invalid library. This was fixed in
8942 # development snapshots of GCC prior to 3.0.
8944 aix4 | aix4.
[01] | aix4.
[01].
*)
8945 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8947 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
8954 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8955 # soname into executable. Probably we can add versioning support to
8956 # collect2, so additional links can be useful in future.
8957 if test "$aix_use_runtimelinking" = yes; then
8958 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8959 # instead of lib<name>.a to let people know that these are not
8960 # typical AIX shared libraries.
8961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8963 # We preserve .a as extension for shared libraries through AIX4.2
8964 # and later when we are not doing run time linking.
8965 library_names_spec
='${libname}${release}.a $libname.a'
8966 soname_spec
='${libname}${release}${shared_ext}$major'
8968 shlibpath_var
=LIBPATH
8973 library_names_spec
='$libname.ixlibrary $libname.a'
8974 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8975 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'
8979 library_names_spec
='${libname}${shared_ext}'
8980 dynamic_linker
="$host_os ld.so"
8981 shlibpath_var
=LIBRARY_PATH
8987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8988 soname_spec
='${libname}${release}${shared_ext}$major'
8989 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8990 shlibpath_var
=LD_LIBRARY_PATH
8991 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8992 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8993 # the default ld.so.conf also contains /usr/contrib/lib and
8994 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8995 # libtool to hard-code these into programs
8998 cygwin
* | mingw
* | pw32
*)
8999 version_type
=windows
9004 case $GCC,$host_os in
9005 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9006 library_names_spec
='$libname.dll.a'
9007 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9008 postinstall_cmds
='base_file=`basename \${file}`~
9009 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9010 dldir=$destdir/`dirname \$dlpath`~
9011 test -d \$dldir || mkdir -p \$dldir~
9012 $install_prog $dir/$dlname \$dldir/$dlname~
9013 chmod a+x \$dldir/$dlname'
9014 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9015 dlpath=$dir/\$dldll~
9017 shlibpath_overrides_runpath
=yes
9021 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9022 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9023 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9026 # MinGW DLLs use traditional 'lib' prefix
9027 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9028 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9029 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9030 # It is most probably a Windows format PATH printed by
9031 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9032 # path with ; separators, and with drive letters. We can handle the
9033 # drive letters (cygwin fileutils understands them), so leave them,
9034 # especially as we might pass files found there to a mingw objdump,
9035 # which wouldn't understand a cygwinified path. Ahh.
9036 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9038 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9042 # pw32 DLLs use 'pw' prefix rather than 'lib'
9043 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9049 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9052 dynamic_linker
='Win32 ld.exe'
9053 # FIXME: first we should search . and the directory the executable is in
9057 darwin
* | rhapsody
*)
9058 dynamic_linker
="$host_os dyld"
9062 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9063 soname_spec
='${libname}${release}${major}$shared_ext'
9064 shlibpath_overrides_runpath
=yes
9065 shlibpath_var
=DYLD_LIBRARY_PATH
9066 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9067 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9068 if test "$GCC" = yes; then
9069 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9071 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
9073 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9081 soname_spec
='${libname}${release}${shared_ext}$major'
9082 shlibpath_var
=LD_LIBRARY_PATH
9093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9094 soname_spec
='${libname}${release}${shared_ext}$major'
9095 shlibpath_var
=LD_LIBRARY_PATH
9096 shlibpath_overrides_runpath
=no
9097 hardcode_into_libs
=yes
9098 dynamic_linker
='GNU ld.so'
9101 freebsd
* | dragonfly
*)
9102 # DragonFly does not have aout. When/if they implement a new
9103 # versioning mechanism, adjust this.
9104 if test -x /usr
/bin
/objformat
; then
9105 objformat
=`/usr/bin/objformat`
9108 freebsd
[123]*) objformat
=aout
;;
9112 version_type
=freebsd-
$objformat
9113 case $version_type in
9115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9120 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9124 shlibpath_var
=LD_LIBRARY_PATH
9127 shlibpath_overrides_runpath
=yes
9129 freebsd3.
[01]* | freebsdelf3.
[01]*)
9130 shlibpath_overrides_runpath
=yes
9131 hardcode_into_libs
=yes
9133 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9134 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9135 shlibpath_overrides_runpath
=no
9136 hardcode_into_libs
=yes
9138 freebsd
*) # from 4.6 on
9139 shlibpath_overrides_runpath
=yes
9140 hardcode_into_libs
=yes
9149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9150 soname_spec
='${libname}${release}${shared_ext}$major'
9151 shlibpath_var
=LD_LIBRARY_PATH
9152 hardcode_into_libs
=yes
9155 hpux9
* | hpux10
* | hpux11
*)
9156 # Give a soname corresponding to the major version so that dld.sl refuses to
9157 # link against other versions.
9164 hardcode_into_libs
=yes
9165 dynamic_linker
="$host_os dld.so"
9166 shlibpath_var
=LD_LIBRARY_PATH
9167 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9169 soname_spec
='${libname}${release}${shared_ext}$major'
9170 if test "X$HPUX_IA64_MODE" = X32
; then
9171 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9173 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9175 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9179 hardcode_into_libs
=yes
9180 dynamic_linker
="$host_os dld.sl"
9181 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9182 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9184 soname_spec
='${libname}${release}${shared_ext}$major'
9185 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9186 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9190 dynamic_linker
="$host_os dld.sl"
9191 shlibpath_var
=SHLIB_PATH
9192 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9194 soname_spec
='${libname}${release}${shared_ext}$major'
9197 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9198 postinstall_cmds
='chmod 555 $lib'
9205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9206 soname_spec
='${libname}${release}${shared_ext}$major'
9207 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9208 shlibpath_var
=LD_LIBRARY_PATH
9209 shlibpath_overrides_runpath
=no
9210 hardcode_into_libs
=yes
9213 irix5
* | irix6
* | nonstopux
*)
9215 nonstopux
*) version_type
=nonstopux
;;
9217 if test "$lt_cv_prog_gnu_ld" = yes; then
9225 soname_spec
='${libname}${release}${shared_ext}$major'
9226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9228 irix5
* | nonstopux
*)
9232 case $LD in # libtool.m4 will add one of these switches to LD
9233 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9234 libsuff
= shlibsuff
= libmagic
=32-bit;;
9235 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9236 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9237 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9238 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9239 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9243 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9244 shlibpath_overrides_runpath
=no
9245 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9246 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9247 hardcode_into_libs
=yes
9250 # No shared lib support for Linux oldld, aout, or coff.
9251 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9255 # This must be Linux ELF.
9260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9261 soname_spec
='${libname}${release}${shared_ext}$major'
9262 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9263 shlibpath_var
=LD_LIBRARY_PATH
9264 shlibpath_overrides_runpath
=no
9265 # This implies no fast_install, which is unacceptable.
9266 # Some rework will be needed to allow for fast_install
9267 # before this can be enabled.
9268 hardcode_into_libs
=yes
9270 # find out which ABI we are using
9273 x86_64
*|s390x
*|powerpc64
*)
9274 echo '#line 9274 "configure"' > conftest.
$ac_ext
9275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9276 (eval $ac_compile) 2>&5
9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279 (exit $ac_status); }; then
9280 case `/usr/bin/file conftest.$ac_objext` in
9283 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9291 # Append ld.so.conf contents to the search path
9292 if test -f /etc
/ld.so.conf
; then
9293 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9294 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9297 # We used to test for /lib/ld.so.1 and disable shared libraries on
9298 # powerpc, because MkLinux only supported shared libraries with the
9299 # GNU dynamic linker. Since this was broken with cross compilers,
9300 # most powerpc-linux boxes support dynamic linking these days and
9301 # people can always --disable-shared, the test was removed, and we
9302 # assume the GNU/Linux dynamic linker is in use.
9303 dynamic_linker
='GNU/Linux ld.so'
9310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9311 soname_spec
='${libname}${release}${shared_ext}$major'
9312 shlibpath_var
=LD_LIBRARY_PATH
9313 shlibpath_overrides_runpath
=no
9314 hardcode_into_libs
=yes
9315 dynamic_linker
='GNU ld.so'
9322 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9324 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9325 dynamic_linker
='NetBSD (a.out) ld.so'
9327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9328 soname_spec
='${libname}${release}${shared_ext}$major'
9329 dynamic_linker
='NetBSD ld.elf_so'
9331 shlibpath_var
=LD_LIBRARY_PATH
9332 shlibpath_overrides_runpath
=yes
9333 hardcode_into_libs
=yes
9338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9339 shlibpath_var
=LD_LIBRARY_PATH
9340 shlibpath_overrides_runpath
=yes
9347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9348 soname_spec
='${libname}${release}${shared_ext}$major'
9349 shlibpath_var
=LD_LIBRARY_PATH
9350 shlibpath_overrides_runpath
=yes
9355 sys_lib_dlsearch_path_spec
="/usr/lib"
9357 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9359 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9360 *) need_version
=no
;;
9362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9363 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9364 shlibpath_var
=LD_LIBRARY_PATH
9365 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9367 openbsd2.
[89] | openbsd2.
[89].
*)
9368 shlibpath_overrides_runpath
=no
9371 shlibpath_overrides_runpath
=yes
9375 shlibpath_overrides_runpath
=yes
9380 libname_spec
='$name'
9383 library_names_spec
='$libname${shared_ext} $libname.a'
9384 dynamic_linker
='OS/2 ld.exe'
9385 shlibpath_var
=LIBPATH
9388 osf3
* | osf4
* | osf5
*)
9392 soname_spec
='${libname}${release}${shared_ext}$major'
9393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9394 shlibpath_var
=LD_LIBRARY_PATH
9395 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9396 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9404 soname_spec
='${libname}${release}${shared_ext}$major'
9405 shlibpath_var
=LD_LIBRARY_PATH
9406 shlibpath_overrides_runpath
=yes
9407 hardcode_into_libs
=yes
9408 # ldd complains unless libraries are executable
9409 postinstall_cmds
='chmod +x $lib'
9414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9415 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9416 shlibpath_var
=LD_LIBRARY_PATH
9417 shlibpath_overrides_runpath
=yes
9418 if test "$with_gnu_ld" = yes; then
9426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9427 soname_spec
='${libname}${release}${shared_ext}$major'
9428 shlibpath_var
=LD_LIBRARY_PATH
9429 case $host_vendor in
9431 shlibpath_overrides_runpath
=no
9433 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9434 runpath_var
=LD_RUN_PATH
9442 shlibpath_overrides_runpath
=no
9443 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9449 if test -d /usr
/nec
;then
9451 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9452 soname_spec
='$libname${shared_ext}.$major'
9453 shlibpath_var
=LD_LIBRARY_PATH
9457 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9458 version_type
=freebsd-elf
9461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9462 soname_spec
='${libname}${release}${shared_ext}$major'
9463 shlibpath_var
=LD_LIBRARY_PATH
9464 hardcode_into_libs
=yes
9465 if test "$with_gnu_ld" = yes; then
9466 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9467 shlibpath_overrides_runpath
=no
9469 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9470 shlibpath_overrides_runpath
=yes
9473 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9477 sys_lib_dlsearch_path_spec
='/usr/lib'
9482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9483 soname_spec
='${libname}${release}${shared_ext}$major'
9484 shlibpath_var
=LD_LIBRARY_PATH
9491 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9492 echo "${ECHO_T}$dynamic_linker" >&6; }
9493 test "$dynamic_linker" = no
&& can_build_shared
=no
9495 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9496 if test "$GCC" = yes; then
9497 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9500 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9501 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9503 if test -n "$hardcode_libdir_flag_spec" || \
9504 test -n "$runpath_var" || \
9505 test "X$hardcode_automatic" = "Xyes" ; then
9507 # We can hardcode non-existant directories.
9508 if test "$hardcode_direct" != no
&&
9509 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9510 # have to relink, otherwise we might link with an installed library
9511 # when we should be linking with a yet-to-be-installed one
9512 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9513 test "$hardcode_minus_L" != no
; then
9514 # Linking always hardcodes the temporary library directory.
9515 hardcode_action
=relink
9517 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9518 hardcode_action
=immediate
9521 # We cannot hardcode anything, or else we can only hardcode existing
9523 hardcode_action
=unsupported
9525 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
9526 echo "${ECHO_T}$hardcode_action" >&6; }
9528 if test "$hardcode_action" = relink
; then
9529 # Fast installation is not supported
9530 enable_fast_install
=no
9531 elif test "$shlibpath_overrides_runpath" = yes ||
9532 test "$enable_shared" = no
; then
9533 # Fast installation is not necessary
9534 enable_fast_install
=needless
9539 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9540 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9541 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9542 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9543 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9544 { echo "$as_me:$LINENO: result: yes" >&5
9545 echo "${ECHO_T}yes" >&6; }
9547 # FIXME - insert some real tests, host_os isn't really good enough
9550 if test -n "$STRIP" ; then
9551 striplib
="$STRIP -x"
9552 { echo "$as_me:$LINENO: result: yes" >&5
9553 echo "${ECHO_T}yes" >&6; }
9555 { echo "$as_me:$LINENO: result: no" >&5
9556 echo "${ECHO_T}no" >&6; }
9560 { echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6; }
9566 if test "x$enable_dlopen" != xyes
; then
9567 enable_dlopen
=unknown
9568 enable_dlopen_self
=unknown
9569 enable_dlopen_self_static
=unknown
9576 lt_cv_dlopen
="load_add_on"
9578 lt_cv_dlopen_self
=yes
9582 lt_cv_dlopen
="LoadLibrary"
9587 lt_cv_dlopen
="dlopen"
9592 # if libdl is installed we need to link against it
9593 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9594 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9595 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9596 echo $ECHO_N "(cached) $ECHO_C" >&6
9598 ac_check_lib_save_LIBS
=$LIBS
9600 cat >conftest.
$ac_ext <<_ACEOF
9603 cat confdefs.h
>>conftest.
$ac_ext
9604 cat >>conftest.
$ac_ext <<_ACEOF
9605 /* end confdefs.h. */
9607 /* Override any GCC internal prototype to avoid an error.
9608 Use char because int might match the return type of a GCC
9609 builtin and then its argument prototype would still apply. */
9622 rm -f conftest.
$ac_objext conftest
$ac_exeext
9623 if { (ac_try
="$ac_link"
9625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9626 *) ac_try_echo=$ac_try;;
9628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9629 (eval "$ac_link") 2>conftest.er1
9631 grep -v '^ *+' conftest.er1 >conftest.err
9633 cat conftest.err >&5
9634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9635 (exit $ac_status); } && {
9636 test -z "$ac_c_werror_flag" ||
9637 test ! -s conftest.err
9638 } && test -s conftest$ac_exeext &&
9639 $as_test_x conftest$ac_exeext; then
9640 ac_cv_lib_dl_dlopen=yes
9642 echo "$as_me: failed program was:" >&5
9643 sed 's/^/| /' conftest.$ac_ext >&5
9645 ac_cv_lib_dl_dlopen=no
9648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9649 conftest$ac_exeext conftest.$ac_ext
9650 LIBS=$ac_check_lib_save_LIBS
9652 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9653 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9654 if test $ac_cv_lib_dl_dlopen = yes; then
9655 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9660 lt_cv_dlopen_self=yes
9667 { echo "$as_me:$LINENO: checking for shl_load" >&5
9668 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9669 if test "${ac_cv_func_shl_load+set}" = set; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9672 cat >conftest.$ac_ext <<_ACEOF
9675 cat confdefs.h >>conftest.$ac_ext
9676 cat >>conftest.$ac_ext <<_ACEOF
9677 /* end confdefs.h. */
9678 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9680 #define shl_load innocuous_shl_load
9682 /* System header to define __stub macros and hopefully few prototypes,
9683 which can conflict with char shl_load (); below.
9684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9685 <limits.h> exists even on freestanding compilers. */
9688 # include <limits.h>
9690 # include <assert.h>
9695 /* Override any GCC internal prototype to avoid an error.
9696 Use char because int might match the return type of a GCC
9697 builtin and then its argument prototype would still apply. */
9702 /* The GNU C library defines this for functions which it implements
9703 to always fail with ENOSYS. Some functions are actually named
9704 something starting with __ and the normal name is an alias. */
9705 #if defined __stub_shl_load || defined __stub___shl_load
9717 rm -f conftest.$ac_objext conftest$ac_exeext
9718 if { (ac_try="$ac_link"
9720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9721 *) ac_try_echo
=$ac_try;;
9723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9724 (eval "$ac_link") 2>conftest.er1
9726 grep -v '^ *+' conftest.er1
>conftest.err
9728 cat conftest.err
>&5
9729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 (exit $ac_status); } && {
9731 test -z "$ac_c_werror_flag" ||
9732 test ! -s conftest.err
9733 } && test -s conftest
$ac_exeext &&
9734 $as_test_x conftest
$ac_exeext; then
9735 ac_cv_func_shl_load
=yes
9737 echo "$as_me: failed program was:" >&5
9738 sed 's/^/| /' conftest.
$ac_ext >&5
9740 ac_cv_func_shl_load
=no
9743 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9744 conftest
$ac_exeext conftest.
$ac_ext
9746 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9747 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9748 if test $ac_cv_func_shl_load = yes; then
9749 lt_cv_dlopen
="shl_load"
9751 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9752 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9753 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9754 echo $ECHO_N "(cached) $ECHO_C" >&6
9756 ac_check_lib_save_LIBS
=$LIBS
9758 cat >conftest.
$ac_ext <<_ACEOF
9761 cat confdefs.h
>>conftest.
$ac_ext
9762 cat >>conftest.
$ac_ext <<_ACEOF
9763 /* end confdefs.h. */
9765 /* Override any GCC internal prototype to avoid an error.
9766 Use char because int might match the return type of a GCC
9767 builtin and then its argument prototype would still apply. */
9780 rm -f conftest.
$ac_objext conftest
$ac_exeext
9781 if { (ac_try
="$ac_link"
9783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9784 *) ac_try_echo=$ac_try;;
9786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9787 (eval "$ac_link") 2>conftest.er1
9789 grep -v '^ *+' conftest.er1 >conftest.err
9791 cat conftest.err >&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); } && {
9794 test -z "$ac_c_werror_flag" ||
9795 test ! -s conftest.err
9796 } && test -s conftest$ac_exeext &&
9797 $as_test_x conftest$ac_exeext; then
9798 ac_cv_lib_dld_shl_load=yes
9800 echo "$as_me: failed program was:" >&5
9801 sed 's/^/| /' conftest.$ac_ext >&5
9803 ac_cv_lib_dld_shl_load=no
9806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9807 conftest$ac_exeext conftest.$ac_ext
9808 LIBS=$ac_check_lib_save_LIBS
9810 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9811 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9812 if test $ac_cv_lib_dld_shl_load = yes; then
9813 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9815 { echo "$as_me:$LINENO: checking for dlopen" >&5
9816 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9817 if test "${ac_cv_func_dlopen+set}" = set; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9820 cat >conftest.$ac_ext <<_ACEOF
9823 cat confdefs.h >>conftest.$ac_ext
9824 cat >>conftest.$ac_ext <<_ACEOF
9825 /* end confdefs.h. */
9826 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9828 #define dlopen innocuous_dlopen
9830 /* System header to define __stub macros and hopefully few prototypes,
9831 which can conflict with char dlopen (); below.
9832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9833 <limits.h> exists even on freestanding compilers. */
9836 # include <limits.h>
9838 # include <assert.h>
9843 /* Override any GCC internal prototype to avoid an error.
9844 Use char because int might match the return type of a GCC
9845 builtin and then its argument prototype would still apply. */
9850 /* The GNU C library defines this for functions which it implements
9851 to always fail with ENOSYS. Some functions are actually named
9852 something starting with __ and the normal name is an alias. */
9853 #if defined __stub_dlopen || defined __stub___dlopen
9865 rm -f conftest.$ac_objext conftest$ac_exeext
9866 if { (ac_try="$ac_link"
9868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9869 *) ac_try_echo
=$ac_try;;
9871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9872 (eval "$ac_link") 2>conftest.er1
9874 grep -v '^ *+' conftest.er1
>conftest.err
9876 cat conftest.err
>&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); } && {
9879 test -z "$ac_c_werror_flag" ||
9880 test ! -s conftest.err
9881 } && test -s conftest
$ac_exeext &&
9882 $as_test_x conftest
$ac_exeext; then
9883 ac_cv_func_dlopen
=yes
9885 echo "$as_me: failed program was:" >&5
9886 sed 's/^/| /' conftest.
$ac_ext >&5
9888 ac_cv_func_dlopen
=no
9891 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9892 conftest
$ac_exeext conftest.
$ac_ext
9894 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9895 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9896 if test $ac_cv_func_dlopen = yes; then
9897 lt_cv_dlopen
="dlopen"
9899 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9900 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9901 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9904 ac_check_lib_save_LIBS
=$LIBS
9906 cat >conftest.
$ac_ext <<_ACEOF
9909 cat confdefs.h
>>conftest.
$ac_ext
9910 cat >>conftest.
$ac_ext <<_ACEOF
9911 /* end confdefs.h. */
9913 /* Override any GCC internal prototype to avoid an error.
9914 Use char because int might match the return type of a GCC
9915 builtin and then its argument prototype would still apply. */
9928 rm -f conftest.
$ac_objext conftest
$ac_exeext
9929 if { (ac_try
="$ac_link"
9931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9932 *) ac_try_echo=$ac_try;;
9934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9935 (eval "$ac_link") 2>conftest.er1
9937 grep -v '^ *+' conftest.er1 >conftest.err
9939 cat conftest.err >&5
9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941 (exit $ac_status); } && {
9942 test -z "$ac_c_werror_flag" ||
9943 test ! -s conftest.err
9944 } && test -s conftest$ac_exeext &&
9945 $as_test_x conftest$ac_exeext; then
9946 ac_cv_lib_dl_dlopen=yes
9948 echo "$as_me: failed program was:" >&5
9949 sed 's/^/| /' conftest.$ac_ext >&5
9951 ac_cv_lib_dl_dlopen=no
9954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9955 conftest$ac_exeext conftest.$ac_ext
9956 LIBS=$ac_check_lib_save_LIBS
9958 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9959 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9960 if test $ac_cv_lib_dl_dlopen = yes; then
9961 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9963 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9964 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9965 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 ac_check_lib_save_LIBS=$LIBS
9970 cat >conftest.$ac_ext <<_ACEOF
9973 cat confdefs.h >>conftest.$ac_ext
9974 cat >>conftest.$ac_ext <<_ACEOF
9975 /* end confdefs.h. */
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9992 rm -f conftest.$ac_objext conftest$ac_exeext
9993 if { (ac_try="$ac_link"
9995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9996 *) ac_try_echo
=$ac_try;;
9998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9999 (eval "$ac_link") 2>conftest.er1
10001 grep -v '^ *+' conftest.er1
>conftest.err
10003 cat conftest.err
>&5
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); } && {
10006 test -z "$ac_c_werror_flag" ||
10007 test ! -s conftest.err
10008 } && test -s conftest
$ac_exeext &&
10009 $as_test_x conftest
$ac_exeext; then
10010 ac_cv_lib_svld_dlopen
=yes
10012 echo "$as_me: failed program was:" >&5
10013 sed 's/^/| /' conftest.
$ac_ext >&5
10015 ac_cv_lib_svld_dlopen
=no
10018 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10019 conftest
$ac_exeext conftest.
$ac_ext
10020 LIBS
=$ac_check_lib_save_LIBS
10022 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10023 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10024 if test $ac_cv_lib_svld_dlopen = yes; then
10025 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10027 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10028 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10029 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10030 echo $ECHO_N "(cached) $ECHO_C" >&6
10032 ac_check_lib_save_LIBS
=$LIBS
10034 cat >conftest.
$ac_ext <<_ACEOF
10037 cat confdefs.h
>>conftest.
$ac_ext
10038 cat >>conftest.
$ac_ext <<_ACEOF
10039 /* end confdefs.h. */
10041 /* Override any GCC internal prototype to avoid an error.
10042 Use char because int might match the return type of a GCC
10043 builtin and then its argument prototype would still apply. */
10051 return dld_link ();
10056 rm -f conftest.
$ac_objext conftest
$ac_exeext
10057 if { (ac_try
="$ac_link"
10058 case "(($ac_try" in
10059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10060 *) ac_try_echo=$ac_try;;
10062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10063 (eval "$ac_link") 2>conftest.er1
10065 grep -v '^ *+' conftest.er1 >conftest.err
10067 cat conftest.err >&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); } && {
10070 test -z "$ac_c_werror_flag" ||
10071 test ! -s conftest.err
10072 } && test -s conftest$ac_exeext &&
10073 $as_test_x conftest$ac_exeext; then
10074 ac_cv_lib_dld_dld_link=yes
10076 echo "$as_me: failed program was:" >&5
10077 sed 's/^/| /' conftest.$ac_ext >&5
10079 ac_cv_lib_dld_dld_link=no
10082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10083 conftest$ac_exeext conftest.$ac_ext
10084 LIBS=$ac_check_lib_save_LIBS
10086 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10087 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10088 if test $ac_cv_lib_dld_dld_link = yes; then
10089 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10110 if test "x$lt_cv_dlopen" != xno; then
10116 case $lt_cv_dlopen in
10118 save_CPPFLAGS="$CPPFLAGS"
10119 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10121 save_LDFLAGS="$LDFLAGS"
10122 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10125 LIBS="$lt_cv_dlopen_libs $LIBS"
10127 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10128 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10129 if test "${lt_cv_dlopen_self+set}" = set; then
10130 echo $ECHO_N "(cached) $ECHO_C" >&6
10132 if test "$cross_compiling" = yes; then :
10133 lt_cv_dlopen_self=cross
10135 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10136 lt_status=$lt_dlunknown
10137 cat > conftest.$ac_ext <<EOF
10138 #line 10138 "configure"
10139 #include "confdefs.h"
10148 # define LT_DLGLOBAL RTLD_GLOBAL
10151 # define LT_DLGLOBAL DL_GLOBAL
10153 # define LT_DLGLOBAL 0
10157 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10158 find out it does not work in some platform. */
10159 #ifndef LT_DLLAZY_OR_NOW
10161 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10164 # define LT_DLLAZY_OR_NOW DL_LAZY
10167 # define LT_DLLAZY_OR_NOW RTLD_NOW
10170 # define LT_DLLAZY_OR_NOW DL_NOW
10172 # define LT_DLLAZY_OR_NOW 0
10180 extern "C" void exit (int);
10183 void fnord() { int i=42;}
10186 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10187 int status = $lt_dlunknown;
10191 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10192 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10193 /* dlclose (self); */
10201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10202 (eval $ac_link) 2>&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10206 (./conftest; exit; ) >&5 2>/dev/null
10208 case x$lt_status in
10209 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10210 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10211 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10214 # compilation failed
10215 lt_cv_dlopen_self=no
10222 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10223 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10225 if test "x$lt_cv_dlopen_self" = xyes; then
10226 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10227 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10228 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10229 if test "${lt_cv_dlopen_self_static+set}" = set; then
10230 echo $ECHO_N "(cached) $ECHO_C" >&6
10232 if test "$cross_compiling" = yes; then :
10233 lt_cv_dlopen_self_static=cross
10235 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10236 lt_status=$lt_dlunknown
10237 cat > conftest.$ac_ext <<EOF
10238 #line 10238 "configure"
10239 #include "confdefs.h"
10248 # define LT_DLGLOBAL RTLD_GLOBAL
10251 # define LT_DLGLOBAL DL_GLOBAL
10253 # define LT_DLGLOBAL 0
10257 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10258 find out it does not work in some platform. */
10259 #ifndef LT_DLLAZY_OR_NOW
10261 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10264 # define LT_DLLAZY_OR_NOW DL_LAZY
10267 # define LT_DLLAZY_OR_NOW RTLD_NOW
10270 # define LT_DLLAZY_OR_NOW DL_NOW
10272 # define LT_DLLAZY_OR_NOW 0
10280 extern "C" void exit (int);
10283 void fnord() { int i=42;}
10286 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10287 int status = $lt_dlunknown;
10291 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10292 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10293 /* dlclose (self); */
10301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10302 (eval $ac_link) 2>&5
10304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10305 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10306 (./conftest; exit; ) >&5 2>/dev/null
10308 case x$lt_status in
10309 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10310 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10311 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10314 # compilation failed
10315 lt_cv_dlopen_self_static=no
10322 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10323 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10326 CPPFLAGS="$save_CPPFLAGS"
10327 LDFLAGS="$save_LDFLAGS"
10332 case $lt_cv_dlopen_self in
10333 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10334 *) enable_dlopen_self=unknown ;;
10337 case $lt_cv_dlopen_self_static in
10338 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10339 *) enable_dlopen_self_static=unknown ;;
10344 # Report which library types will actually be built
10345 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10346 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10347 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
10348 echo "${ECHO_T}$can_build_shared" >&6; }
10350 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10351 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10352 test "$can_build_shared" = "no" && enable_shared=no
10354 # On AIX, shared libraries and static libraries use the same namespace, and
10355 # are all built from PIC.
10358 test "$enable_shared" = yes && enable_static=no
10359 if test -n "$RANLIB"; then
10360 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10361 postinstall_cmds='$RANLIB $lib'
10366 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10367 test "$enable_shared" = yes && enable_static=no
10371 { echo "$as_me:$LINENO: result: $enable_shared" >&5
10372 echo "${ECHO_T}$enable_shared" >&6; }
10374 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10375 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10376 # Make sure either enable_shared or enable_static is yes.
10377 test "$enable_shared" = yes || enable_static=yes
10378 { echo "$as_me:$LINENO: result: $enable_static" >&5
10379 echo "${ECHO_T}$enable_static" >&6; }
10381 # The else clause should only fire when bootstrapping the
10382 # libtool distribution, otherwise you forgot to ship ltmain.sh
10383 # with your package, and you will get complaints that there are
10384 # no rules to generate ltmain.sh.
10385 if test -f "$ltmain"; then
10386 # See if we are running on zsh, and set the options which allow our commands through
10387 # without removal of \ escapes.
10388 if test -n "${ZSH_VERSION+set}" ; then
10389 setopt NO_GLOB_SUBST
10391 # Now quote all the things that may contain metacharacters while being
10392 # careful not to overquote the AC_SUBSTed values. We take copies of the
10393 # variables and quote the copies for generation of the libtool script.
10394 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10396 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10397 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10398 deplibs_check_method reload_flag reload_cmds need_locks \
10399 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10400 lt_cv_sys_global_symbol_to_c_name_address \
10401 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10402 old_postinstall_cmds old_postuninstall_cmds \
10406 lt_prog_compiler_wl \
10407 lt_prog_compiler_pic \
10408 lt_prog_compiler_static \
10409 lt_prog_compiler_no_builtin_flag \
10410 export_dynamic_flag_spec \
10411 thread_safe_flag_spec \
10412 whole_archive_flag_spec \
10413 enable_shared_with_static_runtimes \
10415 old_archive_from_new_cmds \
10420 compiler_lib_search_path \
10422 archive_expsym_cmds \
10424 postuninstall_cmds \
10425 old_archive_from_expsyms_cmds \
10426 allow_undefined_flag \
10427 no_undefined_flag \
10428 export_symbols_cmds \
10429 hardcode_libdir_flag_spec \
10430 hardcode_libdir_flag_spec_ld \
10431 hardcode_libdir_separator \
10432 hardcode_automatic \
10434 module_expsym_cmds \
10435 lt_cv_prog_compiler_c_o \
10437 include_expsyms; do
10440 old_archive_cmds | \
10441 old_archive_from_new_cmds | \
10443 archive_expsym_cmds | \
10445 module_expsym_cmds | \
10446 old_archive_from_expsyms_cmds | \
10447 export_symbols_cmds | \
10448 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10449 postinstall_cmds | postuninstall_cmds | \
10450 old_postinstall_cmds | old_postuninstall_cmds | \
10451 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10452 # Double-quote double-evaled strings.
10453 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10456 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10462 *'\$0 --fallback-echo"')
10463 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10467 cfgfile="${ofile}T"
10468 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10470 { echo "$as_me:$LINENO: creating $ofile" >&5
10471 echo "$as_me: creating $ofile" >&6;}
10473 cat <<__EOF__ >> "$cfgfile"
10476 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10477 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10478 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10480 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10481 # Free Software Foundation, Inc.
10483 # This file is part of GNU Libtool:
10484 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10486 # This program is free software; you can redistribute it and/or modify
10487 # it under the terms of the GNU General Public License as published by
10488 # the Free Software Foundation; either version 2 of the License, or
10489 # (at your option) any later version.
10491 # This program is distributed in the hope that it will be useful, but
10492 # WITHOUT ANY WARRANTY; without even the implied warranty of
10493 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10494 # General Public License for more details.
10496 # You should have received a copy of the GNU General Public License
10497 # along with this program; if not, write to the Free Software
10498 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10500 # As a special exception to the GNU General Public License, if you
10501 # distribute this file as part of a program that contains a
10502 # configuration script generated by Autoconf, you may include it under
10503 # the same distribution terms that you use for the rest of that program.
10505 # A sed program that does not truncate output.
10508 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10509 Xsed="$SED -e 1s/^X//"
10511 # The HP-UX ksh and POSIX shell print the target directory to stdout
10512 # if CDPATH is set.
10513 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10515 # The names of the tagged configurations supported by this script.
10518 # ### BEGIN LIBTOOL CONFIG
10520 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10522 # Shell to use when invoking shell scripts.
10525 # Whether or not to build shared libraries.
10526 build_libtool_libs=$enable_shared
10528 # Whether or not to build static libraries.
10529 build_old_libs=$enable_static
10531 # Whether or not to add -lc for building shared libraries.
10532 build_libtool_need_lc=$archive_cmds_need_lc
10534 # Whether or not to disallow shared libs when runtime libs are static
10535 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10537 # Whether or not to optimize for fast installation.
10538 fast_install=$enable_fast_install
10541 host_alias=$host_alias
10545 # The build system.
10546 build_alias=$build_alias
10550 # An echo program that does not interpret backslashes.
10555 AR_FLAGS=$lt_AR_FLAGS
10560 # LTCC compiler flags.
10561 LTCFLAGS=$lt_LTCFLAGS
10563 # A language-specific compiler.
10566 # Is the compiler the GNU C compiler?
10572 # The linker used to build libraries.
10575 # Whether we need hard or soft links.
10578 # A BSD-compatible nm program.
10581 # A symbol stripping program
10584 # Used to examine libraries when file_magic_cmd begins "file"
10585 MAGIC_CMD=$MAGIC_CMD
10587 # Used on cygwin: DLL creation program.
10590 # Used on cygwin: object dumper.
10593 # Used on cygwin: assembler.
10596 # The name of the directory that contains temporary libtool files.
10599 # How to create reloadable object files.
10600 reload_flag=$lt_reload_flag
10601 reload_cmds=$lt_reload_cmds
10603 # How to pass a linker flag through the compiler.
10604 wl=$lt_lt_prog_compiler_wl
10606 # Object file suffix (normally "o").
10607 objext="$ac_objext"
10609 # Old archive suffix (normally "a").
10612 # Shared library suffix (normally ".so").
10613 shrext_cmds='$shrext_cmds'
10615 # Executable file suffix (normally "").
10618 # Additional compiler flags for building library objects.
10619 pic_flag=$lt_lt_prog_compiler_pic
10622 # What is the maximum length of a command?
10623 max_cmd_len=$lt_cv_sys_max_cmd_len
10625 # Does compiler simultaneously support -c and -o options?
10626 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10628 # Must we lock files when doing compilation?
10629 need_locks=$lt_need_locks
10631 # Do we need the lib prefix for modules?
10632 need_lib_prefix=$need_lib_prefix
10634 # Do we need a version for libraries?
10635 need_version=$need_version
10637 # Whether dlopen is supported.
10638 dlopen_support=$enable_dlopen
10640 # Whether dlopen of programs is supported.
10641 dlopen_self=$enable_dlopen_self
10643 # Whether dlopen of statically linked programs is supported.
10644 dlopen_self_static=$enable_dlopen_self_static
10646 # Compiler flag to prevent dynamic linking.
10647 link_static_flag=$lt_lt_prog_compiler_static
10649 # Compiler flag to turn off builtin functions.
10650 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10652 # Compiler flag to allow reflexive dlopens.
10653 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10655 # Compiler flag to generate shared objects directly from archives.
10656 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10658 # Compiler flag to generate thread-safe objects.
10659 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10661 # Library versioning type.
10662 version_type=$version_type
10664 # Format of library name prefix.
10665 libname_spec=$lt_libname_spec
10667 # List of archive names. First name is the real one, the rest are links.
10668 # The last name is the one that the linker finds with -lNAME.
10669 library_names_spec=$lt_library_names_spec
10671 # The coded name of the library, if different from the real name.
10672 soname_spec=$lt_soname_spec
10674 # Commands used to build and install an old-style archive.
10676 old_archive_cmds=$lt_old_archive_cmds
10677 old_postinstall_cmds=$lt_old_postinstall_cmds
10678 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10680 # Create an old-style archive from a shared archive.
10681 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10683 # Create a temporary old-style archive to link instead of a shared archive.
10684 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10686 # Commands used to build and install a shared archive.
10687 archive_cmds=$lt_archive_cmds
10688 archive_expsym_cmds=$lt_archive_expsym_cmds
10689 postinstall_cmds=$lt_postinstall_cmds
10690 postuninstall_cmds=$lt_postuninstall_cmds
10692 # Commands used to build a loadable module (assumed same as above if empty)
10693 module_cmds=$lt_module_cmds
10694 module_expsym_cmds=$lt_module_expsym_cmds
10696 # Commands to strip libraries.
10697 old_striplib=$lt_old_striplib
10698 striplib=$lt_striplib
10700 # Dependencies to place before the objects being linked to create a
10702 predep_objects=$lt_predep_objects
10704 # Dependencies to place after the objects being linked to create a
10706 postdep_objects=$lt_postdep_objects
10708 # Dependencies to place before the objects being linked to create a
10710 predeps=$lt_predeps
10712 # Dependencies to place after the objects being linked to create a
10714 postdeps=$lt_postdeps
10716 # The library search path used internally by the compiler when linking
10717 # a shared library.
10718 compiler_lib_search_path=$lt_compiler_lib_search_path
10720 # Method to check whether dependent libraries are shared objects.
10721 deplibs_check_method=$lt_deplibs_check_method
10723 # Command to use when deplibs_check_method == file_magic.
10724 file_magic_cmd=$lt_file_magic_cmd
10726 # Flag that allows shared libraries with undefined symbols to be built.
10727 allow_undefined_flag=$lt_allow_undefined_flag
10729 # Flag that forces no undefined symbols.
10730 no_undefined_flag=$lt_no_undefined_flag
10732 # Commands used to finish a libtool library installation in a directory.
10733 finish_cmds=$lt_finish_cmds
10735 # Same as above, but a single script fragment to be evaled but not shown.
10736 finish_eval=$lt_finish_eval
10738 # Take the output of nm and produce a listing of raw symbols and C names.
10739 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10741 # Transform the output of nm in a proper C declaration
10742 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10744 # Transform the output of nm in a C name address pair
10745 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10747 # This is the shared library runtime path variable.
10748 runpath_var=$runpath_var
10750 # This is the shared library path variable.
10751 shlibpath_var=$shlibpath_var
10753 # Is shlibpath searched before the hard-coded library search path?
10754 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10756 # How to hardcode a shared library path into an executable.
10757 hardcode_action=$hardcode_action
10759 # Whether we should hardcode library paths into libraries.
10760 hardcode_into_libs=$hardcode_into_libs
10762 # Flag to hardcode \$libdir into a binary during linking.
10763 # This must work even if \$libdir does not exist.
10764 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10766 # If ld is used when linking, flag to hardcode \$libdir into
10767 # a binary during linking. This must work even if \$libdir does
10769 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10771 # Whether we need a single -rpath flag with a separated argument.
10772 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10774 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10775 # resulting binary.
10776 hardcode_direct=$hardcode_direct
10778 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10779 # resulting binary.
10780 hardcode_minus_L=$hardcode_minus_L
10782 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10783 # the resulting binary.
10784 hardcode_shlibpath_var=$hardcode_shlibpath_var
10786 # Set to yes if building a shared library automatically hardcodes DIR into the library
10787 # and all subsequent libraries and executables linked against it.
10788 hardcode_automatic=$hardcode_automatic
10790 # Variables whose values should be saved in libtool wrapper scripts and
10791 # restored at relink time.
10792 variables_saved_for_relink="$variables_saved_for_relink"
10794 # Whether libtool must link a program against all its dependency libraries.
10795 link_all_deplibs=$link_all_deplibs
10797 # Compile-time system search path for libraries
10798 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10800 # Run-time system search path for libraries
10801 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10803 # Fix the shell variable \$srcfile for the compiler.
10804 fix_srcfile_path="$fix_srcfile_path"
10806 # Set to yes if exported symbols are required.
10807 always_export_symbols=$always_export_symbols
10809 # The commands to list exported symbols.
10810 export_symbols_cmds=$lt_export_symbols_cmds
10812 # The commands to extract the exported symbol list from a shared archive.
10813 extract_expsyms_cmds=$lt_extract_expsyms_cmds
10815 # Symbols that should not be listed in the preloaded symbols.
10816 exclude_expsyms=$lt_exclude_expsyms
10818 # Symbols that must always be exported.
10819 include_expsyms=$lt_include_expsyms
10821 # ### END LIBTOOL CONFIG
10828 cat <<\EOF >> "$cfgfile"
10830 # AIX sometimes has problems with the GCC collect2 program. For some
10831 # reason, if we set the COLLECT_NAMES environment variable, the problems
10832 # vanish in a puff of smoke.
10833 if test "X${COLLECT_NAMES+set}" != Xset; then
10835 export COLLECT_NAMES
10841 # We use sed instead of cat because bash on DJGPP gets confused if
10842 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10843 # text mode, it properly converts lines to CR/LF. This bash problem
10844 # is reportedly fixed, but why not run on old versions too?
10845 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10847 mv -f "$cfgfile" "$ofile" || \
10848 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10852 # If there is no Makefile yet, we rely on a make rule to execute
10853 # `config.status
--recheck' to rerun these tests and create the
10854 # libtool script then.
10855 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
10856 if test -f "$ltmain_in"; then
10857 test -f Makefile && make "$ltmain"
10863 ac_cpp='$CPP $CPPFLAGS'
10864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10865 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10871 # Check whether --with-tags was given.
10872 if test "${with_tags+set}" = set; then
10873 withval=$with_tags; tagnames="$withval"
10877 if test -f "$ltmain" && test -n "$tagnames"; then
10878 if test ! -f "${ofile}"; then
10879 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
10880 echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
10883 if test -z "$LTCC"; then
10884 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
10885 if test -z "$LTCC"; then
10886 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10887 echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
10889 { echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
10890 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
10893 if test -z "$LTCFLAGS"; then
10894 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
10897 # Extract list of available tagged configurations in $ofile.
10898 # Note that this assumes the entire list is on one line.
10899 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10901 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10902 for tagname in $tagnames; do
10904 # Check whether tagname contains only valid characters
10905 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10907 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10908 echo "$as_me: error: invalid tag name: $tagname" >&2;}
10909 { (exit 1); exit 1; }; }
10913 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10915 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10916 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10917 { (exit 1); exit 1; }; }
10920 # Update the list of available tags.
10921 if test -n "$tagname"; then
10922 echo appending configuration tag \"$tagname\" to $ofile
10926 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10927 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
10928 (test "X$CXX" != "Xg++"))) ; then
10930 ac_cpp='$CXXCPP $CPPFLAGS'
10931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10938 archive_cmds_need_lc_CXX=no
10939 allow_undefined_flag_CXX=
10940 always_export_symbols_CXX=no
10941 archive_expsym_cmds_CXX=
10942 export_dynamic_flag_spec_CXX=
10943 hardcode_direct_CXX=no
10944 hardcode_libdir_flag_spec_CXX=
10945 hardcode_libdir_flag_spec_ld_CXX=
10946 hardcode_libdir_separator_CXX=
10947 hardcode_minus_L_CXX=no
10948 hardcode_shlibpath_var_CXX=unsupported
10949 hardcode_automatic_CXX=no
10951 module_expsym_cmds_CXX=
10952 link_all_deplibs_CXX=unknown
10953 old_archive_cmds_CXX=$old_archive_cmds
10954 no_undefined_flag_CXX=
10955 whole_archive_flag_spec_CXX=
10956 enable_shared_with_static_runtimes_CXX=no
10958 # Dependencies to place before and after the object being linked:
10959 predep_objects_CXX=
10960 postdep_objects_CXX=
10963 compiler_lib_search_path_CXX=
10965 # Source file extension for C++ test sources.
10968 # Object file extension for compiled C++ test sources.
10972 # Code to be used in simple compile tests
10973 lt_simple_compile_test_code="int some_variable = 0;\n"
10975 # Code to be used in simple link tests
10976 lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10978 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10980 # If no C compiler was specified, use CC.
10983 # If no C compiler flags were specified, use CFLAGS.
10984 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10986 # Allow CC to be a program name with arguments.
10990 # save warnings/boilerplate of simple test code
10991 ac_outfile=conftest.$ac_objext
10992 printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10993 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10994 _lt_compiler_boilerplate=`cat conftest.err
`
10997 ac_outfile=conftest.$ac_objext
10998 printf "$lt_simple_link_test_code" >conftest.$ac_ext
10999 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11000 _lt_linker_boilerplate=`cat conftest.err
`
11004 # Allow CC to be a program name with arguments.
11009 lt_save_with_gnu_ld=$with_gnu_ld
11010 lt_save_path_LD=$lt_cv_path_LD
11011 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11012 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11014 $as_unset lt_cv_prog_gnu_ld
11016 if test -n "${lt_cv_path_LDCXX+set}"; then
11017 lt_cv_path_LD=$lt_cv_path_LDCXX
11019 $as_unset lt_cv_path_LD
11021 test -z "${LDCXX+set}" || LD=$LDCXX
11025 for cc_temp in $compiler""; do
11027 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11028 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11033 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11036 # We don't want -fno-exception wen compiling C++ code, so set the
11037 # no_builtin_flag separately
11038 if test "$GXX" = yes; then
11039 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11041 lt_prog_compiler_no_builtin_flag_CXX=
11044 if test "$GXX" = yes; then
11045 # Set up default GNU C++ configuration
11048 # Check whether --with-gnu-ld was given.
11049 if test "${with_gnu_ld+set}" = set; then
11050 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11056 if test "$GCC" = yes; then
11057 # Check if gcc -print-prog-name=ld gives a path.
11058 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11059 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11062 # gcc leaves a trailing carriage return which upsets mingw
11063 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11065 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11068 # Accept absolute paths.
11070 re_direlt='/[^/][^/]*/\.\./'
11071 # Canonicalize the pathname of ld
11072 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11073 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11074 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11076 test -z "$LD" && LD="$ac_prog"
11079 # If it fails, then pretend we aren't using GCC.
11083 # If it is relative, then search for the first ld in PATH.
11084 with_gnu_ld=unknown
11087 elif test "$with_gnu_ld" = yes; then
11088 { echo "$as_me:$LINENO: checking for GNU ld" >&5
11089 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11091 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11092 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11094 if test "${lt_cv_path_LD+set}" = set; then
11095 echo $ECHO_N "(cached) $ECHO_C" >&6
11097 if test -z "$LD"; then
11098 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11099 for ac_dir in $PATH; do
11101 test -z "$ac_dir" && ac_dir=.
11102 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11103 lt_cv_path_LD="$ac_dir/$ac_prog"
11104 # Check to see if the program is GNU ld. I'd rather use --version,
11105 # but apparently some variants of GNU ld only accept -v.
11106 # Break only if it was the GNU/non-GNU ld that we prefer.
11107 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11108 *GNU* | *'with BFD'*)
11109 test "$with_gnu_ld" != no && break
11112 test "$with_gnu_ld" != yes && break
11119 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11123 LD="$lt_cv_path_LD"
11124 if test -n "$LD"; then
11125 { echo "$as_me:$LINENO: result: $LD" >&5
11126 echo "${ECHO_T}$LD" >&6; }
11128 { echo "$as_me:$LINENO: result: no" >&5
11129 echo "${ECHO_T}no" >&6; }
11131 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11132 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11133 { (exit 1); exit 1; }; }
11134 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11135 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11136 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11137 echo $ECHO_N "(cached) $ECHO_C" >&6
11139 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11140 case `$LD -v 2>&1 </dev
/null
` in
11141 *GNU* | *'with BFD'*)
11142 lt_cv_prog_gnu_ld=yes
11145 lt_cv_prog_gnu_ld=no
11149 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11150 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11151 with_gnu_ld=$lt_cv_prog_gnu_ld
11155 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11156 # archiving commands below assume that GNU ld is being used.
11157 if test "$with_gnu_ld" = yes; then
11158 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11159 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11161 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11162 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11164 # If archive_cmds runs LD, not CC, wlarc should be empty
11165 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11166 # investigate it a little bit more. (MM)
11169 # ancient GNU ld didn't support --whole-archive et. al.
11170 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11171 grep 'no-whole-archive' > /dev/null; then
11172 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11174 whole_archive_flag_spec_CXX=
11180 # A generic and very simple default shared library creation
11181 # command for GNU C++ for the case where it uses the native
11182 # linker, instead of GNU ld. If possible, this setting should
11183 # overridden to take advantage of the native linker features on
11184 # the platform it is being used on.
11185 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11188 # Commands to make compiler produce verbose output that lists
11189 # what "hidden" libraries, object files and flags are used when
11190 # linking a shared library.
11191 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11199 # PORTME: fill in a description of your system's C++ link characteristics
11200 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11201 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11205 # FIXME: insert proper C++ library support
11209 if test "$host_cpu" = ia64; then
11210 # On IA64, the linker does run time linking by default, so we don't
11211 # have to do anything special.
11212 aix_use_runtimelinking=no
11213 exp_sym_flag='-Bexport'
11216 aix_use_runtimelinking=no
11218 # Test if we are trying to use run time linking or normal
11219 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11220 # need to do runtime linking.
11221 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11222 for ld_flag in $LDFLAGS; do
11225 aix_use_runtimelinking=yes
11233 exp_sym_flag='-bexport'
11234 no_entry_flag='-bnoentry'
11237 # When large executables or shared objects are built, AIX ld can
11238 # have problems creating the table of contents. If linking a library
11239 # or program results in "error TOC overflow" add -mminimal-toc to
11240 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11241 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11243 archive_cmds_CXX=''
11244 hardcode_direct_CXX=yes
11245 hardcode_libdir_separator_CXX=':'
11246 link_all_deplibs_CXX=yes
11248 if test "$GXX" = yes; then
11249 case $host_os in aix4.[012]|aix4.[012].*)
11250 # We only want to do this on AIX 4.2 and lower, the check
11251 # below for broken collect2 doesn't work under 4.3+
11252 collect2name=`${CC} -print-prog-name=collect2
`
11253 if test -f "$collect2name" && \
11254 strings "$collect2name" | grep resolve_lib_name >/dev/null
11256 # We have reworked collect2
11257 hardcode_direct_CXX=yes
11259 # We have old collect2
11260 hardcode_direct_CXX=unsupported
11261 # It fails to find uninstalled libraries when the uninstalled
11262 # path is not listed in the libpath. Setting hardcode_minus_L
11263 # to unsupported forces relinking
11264 hardcode_minus_L_CXX=yes
11265 hardcode_libdir_flag_spec_CXX='-L$libdir'
11266 hardcode_libdir_separator_CXX=
11270 shared_flag='-shared'
11271 if test "$aix_use_runtimelinking" = yes; then
11272 shared_flag="$shared_flag "'${wl}-G'
11276 if test "$host_cpu" = ia64; then
11277 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11278 # chokes on -Wl,-G. The following line is correct:
11281 if test "$aix_use_runtimelinking" = yes; then
11282 shared_flag='${wl}-G'
11284 shared_flag='${wl}-bM:SRE'
11289 # It seems that -bexpall does not export symbols beginning with
11290 # underscore (_), so it is better to generate a list of symbols to export.
11291 always_export_symbols_CXX=yes
11292 if test "$aix_use_runtimelinking" = yes; then
11293 # Warning - without using the other runtime loading flags (-brtl),
11294 # -berok will link without error, but may produce a broken library.
11295 allow_undefined_flag_CXX='-berok'
11296 # Determine the default libpath from the value encoded in an empty executable.
11297 cat >conftest.$ac_ext <<_ACEOF
11300 cat confdefs.h >>conftest.$ac_ext
11301 cat >>conftest.$ac_ext <<_ACEOF
11302 /* end confdefs.h. */
11312 rm -f conftest.$ac_objext conftest$ac_exeext
11313 if { (ac_try="$ac_link"
11314 case "(($ac_try" in
11315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11316 *) ac_try_echo
=$ac_try;;
11318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11319 (eval "$ac_link") 2>conftest.er1
11321 grep -v '^ *+' conftest.er1
>conftest.err
11323 cat conftest.err
>&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); } && {
11326 test -z "$ac_cxx_werror_flag" ||
11327 test ! -s conftest.err
11328 } && test -s conftest
$ac_exeext &&
11329 $as_test_x conftest
$ac_exeext; then
11331 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11333 # Check for a 64-bit object if we didn't find anything.
11334 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.
$ac_ext >&5
11343 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11344 conftest
$ac_exeext conftest.
$ac_ext
11345 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11347 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11349 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11351 if test "$host_cpu" = ia64
; then
11352 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11353 allow_undefined_flag_CXX
="-z nodefs"
11354 archive_expsym_cmds_CXX
="\$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"
11356 # Determine the default libpath from the value encoded in an empty executable.
11357 cat >conftest.
$ac_ext <<_ACEOF
11360 cat confdefs.h
>>conftest.
$ac_ext
11361 cat >>conftest.
$ac_ext <<_ACEOF
11362 /* end confdefs.h. */
11372 rm -f conftest.
$ac_objext conftest
$ac_exeext
11373 if { (ac_try
="$ac_link"
11374 case "(($ac_try" in
11375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11376 *) ac_try_echo=$ac_try;;
11378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11379 (eval "$ac_link") 2>conftest.er1
11381 grep -v '^ *+' conftest.er1 >conftest.err
11383 cat conftest.err >&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); } && {
11386 test -z "$ac_cxx_werror_flag" ||
11387 test ! -s conftest.err
11388 } && test -s conftest$ac_exeext &&
11389 $as_test_x conftest$ac_exeext; then
11391 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11393 # Check for a 64-bit object if we didn't find anything.
11394 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11397 echo "$as_me: failed program was:" >&5
11398 sed 's/^/| /' conftest.$ac_ext >&5
11403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11404 conftest$ac_exeext conftest.$ac_ext
11405 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11407 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11408 # Warning - without using the other run time loading flags,
11409 # -berok will link without error, but may produce a broken library.
11410 no_undefined_flag_CXX=' ${wl}-bernotok'
11411 allow_undefined_flag_CXX=' ${wl}-berok'
11412 # Exported symbols can be pulled into shared objects from archives
11413 whole_archive_flag_spec_CXX='$convenience'
11414 archive_cmds_need_lc_CXX=yes
11415 # This is similar to how AIX traditionally builds its shared libraries.
11416 archive_expsym_cmds_CXX="\$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'
11422 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11423 allow_undefined_flag_CXX=unsupported
11424 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11425 # support --undefined. This deserves some investigation. FIXME
11426 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11433 case $cc_basename in
11435 # FIXME: insert proper C++ library support
11441 cygwin* | mingw* | pw32*)
11442 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11443 # as there is no search path for DLLs.
11444 hardcode_libdir_flag_spec_CXX='-L$libdir'
11445 allow_undefined_flag_CXX=unsupported
11446 always_export_symbols_CXX=no
11447 enable_shared_with_static_runtimes_CXX=yes
11449 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11450 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11451 # If the export-symbols file already is a .def file (1st line
11452 # is EXPORTS), use it as is; otherwise, prepend...
11453 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11454 cp $export_symbols $output_objdir/$soname.def;
11456 echo EXPORTS > $output_objdir/$soname.def;
11457 cat $export_symbols >> $output_objdir/$soname.def;
11459 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11464 darwin* | rhapsody*)
11466 rhapsody* | darwin1.[012])
11467 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11470 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11471 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11473 case ${MACOSX_DEPLOYMENT_TARGET} in
11475 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11478 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11484 archive_cmds_need_lc_CXX=no
11485 hardcode_direct_CXX=no
11486 hardcode_automatic_CXX=yes
11487 hardcode_shlibpath_var_CXX=unsupported
11488 whole_archive_flag_spec_CXX=''
11489 link_all_deplibs_CXX=yes
11491 if test "$GXX" = yes ; then
11492 lt_int_apple_cc_single_mod=no
11493 output_verbose_link_cmd='echo'
11494 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11495 lt_int_apple_cc_single_mod=yes
11497 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11498 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11500 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11502 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11503 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11504 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11505 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11507 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11509 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11511 case $cc_basename in
11513 output_verbose_link_cmd='echo'
11514 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11515 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11516 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11517 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11518 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11528 case $cc_basename in
11530 # FIXME: insert proper C++ library support
11534 # Green Hills C++ Compiler
11535 # FIXME: insert proper C++ library support
11539 # FIXME: insert proper C++ library support
11545 # C++ shared libraries reported to be fairly broken before switch to ELF
11549 archive_cmds_need_lc_CXX=no
11551 freebsd* | kfreebsd*-gnu | dragonfly*)
11552 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11559 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11560 hardcode_libdir_separator_CXX=:
11561 export_dynamic_flag_spec_CXX='${wl}-E'
11562 hardcode_direct_CXX=yes
11563 hardcode_minus_L_CXX=yes # Not in the search PATH,
11564 # but as the default
11565 # location of the library.
11567 case $cc_basename in
11569 # FIXME: insert proper C++ library support
11573 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11574 # Commands to make compiler produce verbose output that lists
11575 # what "hidden" libraries, object files and flags are used when
11576 # linking a shared library.
11578 # There doesn't appear to be a way to prevent this compiler from
11579 # explicitly linking system object files so we need to strip them
11580 # from the output so that they don't get included in the library
11582 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11585 if test "$GXX" = yes; then
11586 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11588 # FIXME: insert proper C++ library support
11595 if test $with_gnu_ld = no; then
11596 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11597 hardcode_libdir_separator_CXX=:
11601 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11604 export_dynamic_flag_spec_CXX='${wl}-E'
11610 hardcode_direct_CXX=no
11611 hardcode_shlibpath_var_CXX=no
11614 hardcode_direct_CXX=yes
11615 hardcode_minus_L_CXX=yes # Not in the search PATH,
11616 # but as the default
11617 # location of the library.
11621 case $cc_basename in
11623 # FIXME: insert proper C++ library support
11629 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11632 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11635 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11638 # Commands to make compiler produce verbose output that lists
11639 # what "hidden" libraries, object files and flags are used when
11640 # linking a shared library.
11642 # There doesn't appear to be a way to prevent this compiler from
11643 # explicitly linking system object files so we need to strip them
11644 # from the output so that they don't get included in the library
11646 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11649 if test "$GXX" = yes; then
11650 if test $with_gnu_ld = no; then
11653 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11656 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11659 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11664 # FIXME: insert proper C++ library support
11671 hardcode_direct_CXX=no
11672 hardcode_shlibpath_var_CXX=no
11673 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11674 export_dynamic_flag_spec_CXX='${wl}-E'
11675 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11676 # Instead, shared libraries are loaded at an image base (0x10000000 by
11677 # default) and relocated if they conflict, which is a slow very memory
11678 # consuming and fragmenting process. To avoid this, we pick a random,
11679 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11680 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11681 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11682 archive_expsym_cmds_CXX='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'
11685 case $cc_basename in
11688 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11690 # Archives containing C++ object files must be created using
11691 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11692 # necessary to make sure instantiated templates are included
11694 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11697 if test "$GXX" = yes; then
11698 if test "$with_gnu_ld" = no; then
11699 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11701 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11704 link_all_deplibs_CXX=yes
11707 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11708 hardcode_libdir_separator_CXX=:
11711 case $cc_basename in
11713 # Kuck and Associates, Inc. (KAI) C++ Compiler
11715 # KCC will only create a shared library if the output file
11716 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11717 # to its proper name (with version) after linking.
11718 archive_cmds_CXX='tempext
=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib
=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \
$templib; mv \
$templib $lib'
11719 archive_expsym_cmds_CXX='tempext
=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib
=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \
$templib ${wl}-retain-symbols-file,$export_symbols; mv \
$templib $lib'
11720 # Commands to make compiler produce verbose output that lists
11721 # what "hidden" libraries, object files and flags are used when
11722 # linking a shared library.
11724 # There doesn't appear to be a way to prevent this compiler from
11725 # explicitly linking system object files so we need to strip them
11726 # from the output so that they don't get included in the library
11728 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11730 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11731 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11733 # Archives containing C++ object files must be created using
11734 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11735 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11740 # version 8.0 and above of icpc choke on multiply defined symbols
11741 # if we add $predep_objects and $postdep_objects, however 7.1 and
11742 # earlier do not add the objects themselves.
11743 case `$CC -V 2>&1` in
11745 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11746 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11748 *) # Version 8.0 or newer
11751 ia64
*) tmp_idyn
=' -i_dynamic';;
11753 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11754 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11757 archive_cmds_need_lc_CXX
=no
11758 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11759 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11760 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11763 # Portland Group C++ compiler
11764 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11765 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11767 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11768 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11769 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11773 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11774 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11776 runpath_var
=LD_RUN_PATH
11777 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11778 hardcode_libdir_separator_CXX
=:
11780 # Commands to make compiler produce verbose output that lists
11781 # what "hidden" libraries, object files and flags are used when
11782 # linking a shared library.
11784 # There doesn't appear to be a way to prevent this compiler from
11785 # explicitly linking system object files so we need to strip them
11786 # from the output so that they don't get included in the library
11788 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11793 # FIXME: insert proper C++ library support
11797 # FIXME: insert proper C++ library support
11801 case $cc_basename in
11803 # FIXME: insert proper C++ library support
11807 # FIXME: insert proper C++ library support
11813 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
11814 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11816 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11817 hardcode_direct_CXX
=yes
11818 hardcode_shlibpath_var_CXX
=no
11820 # Workaround some broken pre-1.5 toolchains
11821 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11824 # C++ shared libraries are fairly broken
11828 hardcode_direct_CXX
=yes
11829 hardcode_shlibpath_var_CXX
=no
11830 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11831 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11832 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11833 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11834 export_dynamic_flag_spec_CXX
='${wl}-E'
11835 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11837 output_verbose_link_cmd
='echo'
11840 case $cc_basename in
11842 # Kuck and Associates, Inc. (KAI) C++ Compiler
11844 # KCC will only create a shared library if the output file
11845 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11846 # to its proper name (with version) after linking.
11847 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11849 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11850 hardcode_libdir_separator_CXX
=:
11852 # Archives containing C++ object files must be created using
11853 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11854 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11858 # Rational C++ 2.4.1
11859 # FIXME: insert proper C++ library support
11863 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11864 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11866 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11867 hardcode_libdir_separator_CXX
=:
11869 # Commands to make compiler produce verbose output that lists
11870 # what "hidden" libraries, object files and flags are used when
11871 # linking a shared library.
11873 # There doesn't appear to be a way to prevent this compiler from
11874 # explicitly linking system object files so we need to strip them
11875 # from the output so that they don't get included in the library
11877 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11880 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11881 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11882 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11884 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11885 hardcode_libdir_separator_CXX
=:
11887 # Commands to make compiler produce verbose output that lists
11888 # what "hidden" libraries, object files and flags are used when
11889 # linking a shared library.
11890 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11893 # FIXME: insert proper C++ library support
11900 case $cc_basename in
11902 # Kuck and Associates, Inc. (KAI) C++ Compiler
11904 # KCC will only create a shared library if the output file
11905 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11906 # to its proper name (with version) after linking.
11907 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11909 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11910 hardcode_libdir_separator_CXX
=:
11912 # Archives containing C++ object files must be created using
11913 # the KAI C++ compiler.
11914 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
11917 # Rational C++ 2.4.1
11918 # FIXME: insert proper C++ library support
11922 allow_undefined_flag_CXX
=' -expect_unresolved \*'
11923 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11924 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11925 echo "-hidden">> $lib.exp~
11926 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11929 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11930 hardcode_libdir_separator_CXX
=:
11932 # Commands to make compiler produce verbose output that lists
11933 # what "hidden" libraries, object files and flags are used when
11934 # linking a shared library.
11936 # There doesn't appear to be a way to prevent this compiler from
11937 # explicitly linking system object files so we need to strip them
11938 # from the output so that they don't get included in the library
11940 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11943 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
11944 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
11945 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11947 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11948 hardcode_libdir_separator_CXX
=:
11950 # Commands to make compiler produce verbose output that lists
11951 # what "hidden" libraries, object files and flags are used when
11952 # linking a shared library.
11953 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11956 # FIXME: insert proper C++ library support
11963 # FIXME: insert proper C++ library support
11967 case $cc_basename in
11970 # FIXME: insert proper C++ library support
11975 # FIXME: insert proper C++ library support
11979 # FIXME: insert proper C++ library support
11985 case $cc_basename in
11987 # Sun C++ 4.2, 5.x and Centerline C++
11988 archive_cmds_need_lc_CXX
=yes
11989 no_undefined_flag_CXX
=' -zdefs'
11990 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11991 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11992 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11994 hardcode_libdir_flag_spec_CXX
='-R$libdir'
11995 hardcode_shlibpath_var_CXX
=no
11997 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11999 # The C++ compiler is used as linker so we must use $wl
12000 # flag to pass the commands to the underlying system
12001 # linker. We must also pass each convience library through
12002 # to the system linker between allextract/defaultextract.
12003 # The C++ compiler will combine linker options so we
12004 # cannot just pass the convience library names through
12006 # Supported since Solaris 2.6 (maybe 2.5.1?)
12007 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
12010 link_all_deplibs_CXX
=yes
12012 output_verbose_link_cmd
='echo'
12014 # Archives containing C++ object files must be created using
12015 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12016 # necessary to make sure instantiated templates are included
12018 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12021 # Green Hills C++ Compiler
12022 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12024 # The C++ compiler must be used to create the archive.
12025 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12028 # GNU C++ compiler with Solaris linker
12029 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12030 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12031 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12032 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12033 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12034 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12036 # Commands to make compiler produce verbose output that lists
12037 # what "hidden" libraries, object files and flags are used when
12038 # linking a shared library.
12039 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12041 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12043 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12044 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12045 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12047 # Commands to make compiler produce verbose output that lists
12048 # what "hidden" libraries, object files and flags are used when
12049 # linking a shared library.
12050 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12053 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12058 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12059 no_undefined_flag_CXX
='${wl}-z,text'
12060 archive_cmds_need_lc_CXX
=no
12061 hardcode_shlibpath_var_CXX
=no
12062 runpath_var
='LD_RUN_PATH'
12064 case $cc_basename in
12066 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12067 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12070 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12071 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12075 sysv5
* | sco3.2v5
* | sco5v6
*)
12076 # Note: We can NOT use -z defs as we might desire, because we do not
12077 # link with -lc, and that would cause any symbols used from libc to
12078 # always be unresolved, which means just about no library would
12079 # ever link correctly. If we're not using GNU ld we use -z text
12080 # though, which does catch some bad symbols but isn't as heavy-handed
12082 # For security reasons, it is highly recommended that you always
12083 # use absolute paths for naming shared libraries, and exclude the
12084 # DT_RUNPATH tag from executables and libraries. But doing so
12085 # requires that you compile everything twice, which is a pain.
12086 # So that behaviour is only enabled if SCOABSPATH is set to a
12087 # non-empty value in the environment. Most likely only useful for
12088 # creating official distributions of packages.
12089 # This is a hack until libtool officially supports absolute path
12090 # names for shared libraries.
12091 no_undefined_flag_CXX
='${wl}-z,text'
12092 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12093 archive_cmds_need_lc_CXX
=no
12094 hardcode_shlibpath_var_CXX
=no
12095 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12096 hardcode_libdir_separator_CXX
=':'
12097 link_all_deplibs_CXX
=yes
12098 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12099 runpath_var
='LD_RUN_PATH'
12101 case $cc_basename in
12103 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12104 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12107 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12108 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12113 case $cc_basename in
12115 # NonStop-UX NCC 3.20
12116 # FIXME: insert proper C++ library support
12120 # FIXME: insert proper C++ library support
12126 # FIXME: insert proper C++ library support
12130 # FIXME: insert proper C++ library support
12134 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12135 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12136 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12142 cat > conftest.
$ac_ext <<EOF
12146 Foo (void) { a = 0; }
12152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12153 (eval $ac_compile) 2>&5
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); }; then
12157 # Parse the compiler output and extract the necessary
12158 # objects, libraries and library flags.
12160 # Sentinel used to keep track of whether or not we are before
12161 # the conftest object file.
12162 pre_test_object_deps_done
=no
12164 # The `*' in the case matches for architectures that use `case' in
12165 # $output_verbose_cmd can trigger glob expansion during the loop
12166 # eval without this substitution.
12167 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12169 for p
in `eval $output_verbose_link_cmd`; do
12173 # Some compilers place space between "-{L,R}" and the path.
12174 # Remove the space.
12175 if test $p = "-L" \
12176 ||
test $p = "-R"; then
12183 if test "$pre_test_object_deps_done" = no
; then
12186 # Internal compiler library paths should come after those
12187 # provided the user. The postdeps already come after the
12188 # user supplied libs so there is no need to process them.
12189 if test -z "$compiler_lib_search_path_CXX"; then
12190 compiler_lib_search_path_CXX
="${prev}${p}"
12192 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12195 # The "-l" case would never come before the object being
12196 # linked, so don't bother handling this case.
12199 if test -z "$postdeps_CXX"; then
12200 postdeps_CXX
="${prev}${p}"
12202 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12208 # This assumes that the test object file only shows up
12209 # once in the compiler output.
12210 if test "$p" = "conftest.$objext"; then
12211 pre_test_object_deps_done
=yes
12215 if test "$pre_test_object_deps_done" = no
; then
12216 if test -z "$predep_objects_CXX"; then
12217 predep_objects_CXX
="$p"
12219 predep_objects_CXX
="$predep_objects_CXX $p"
12222 if test -z "$postdep_objects_CXX"; then
12223 postdep_objects_CXX
="$p"
12225 postdep_objects_CXX
="$postdep_objects_CXX $p"
12230 *) ;; # Ignore the rest.
12238 echo "libtool.m4: error: problem compiling CXX test program"
12241 $rm -f confest.
$objext
12243 # PORTME: override above test on systems where it is broken
12246 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12247 # hack all around it, let's just trust "g++" to DTRT.
12248 predep_objects_CXX
=
12249 postdep_objects_CXX
=
12254 case $cc_basename in
12256 # Adding this requires a known-good setup of shared libraries for
12257 # Sun compiler versions before 5.6, else PIC objects from an old
12258 # archive will be linked into the output, leading to subtle bugs.
12259 postdeps_CXX
='-lCstd -lCrun'
12266 case " $postdeps_CXX " in
12267 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12270 lt_prog_compiler_wl_CXX
=
12271 lt_prog_compiler_pic_CXX
=
12272 lt_prog_compiler_static_CXX
=
12274 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12275 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12277 # C++ specific cases for pic, static, wl, etc.
12278 if test "$GXX" = yes; then
12279 lt_prog_compiler_wl_CXX
='-Wl,'
12280 lt_prog_compiler_static_CXX
='-static'
12284 # All AIX code is PIC.
12285 if test "$host_cpu" = ia64
; then
12286 # AIX 5 now supports IA64 processor
12287 lt_prog_compiler_static_CXX
='-Bstatic'
12291 # FIXME: we need at least 68020 code to build shared libraries, but
12292 # adding the `-m68020' flag to GCC prevents building anything better,
12294 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12296 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12297 # PIC is the default for these OSes.
12299 mingw
* | os2
* | pw32
*)
12300 # This hack is so that the source file can tell whether it is being
12301 # built for inclusion in a dll (and should export symbols for example).
12302 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12304 darwin
* | rhapsody
*)
12305 # PIC is the default on this platform
12306 # Common symbols not allowed in MH_DYLIB files
12307 lt_prog_compiler_pic_CXX
='-fno-common'
12310 # DJGPP does not support shared libraries at all
12311 lt_prog_compiler_pic_CXX
=
12314 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12315 # Instead, we relocate shared libraries at runtime.
12318 if test -d /usr
/nec
; then
12319 lt_prog_compiler_pic_CXX
=-Kconform_pic
12323 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12324 # not for PA HP-UX.
12329 lt_prog_compiler_pic_CXX
='-fPIC'
12334 lt_prog_compiler_pic_CXX
='-fPIC'
12340 # All AIX code is PIC.
12341 if test "$host_cpu" = ia64
; then
12342 # AIX 5 now supports IA64 processor
12343 lt_prog_compiler_static_CXX
='-Bstatic'
12345 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12349 case $cc_basename in
12351 # Green Hills C++ Compiler
12352 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12357 # PIC is the default on this platform
12358 # Common symbols not allowed in MH_DYLIB files
12359 case $cc_basename in
12361 lt_prog_compiler_pic_CXX
='-qnocommon'
12362 lt_prog_compiler_wl_CXX
='-Wl,'
12367 case $cc_basename in
12369 lt_prog_compiler_pic_CXX
='-KPIC'
12372 # Green Hills C++ Compiler
12373 lt_prog_compiler_pic_CXX
='-pic'
12379 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12380 # FreeBSD uses GNU C++
12382 hpux9
* | hpux10
* | hpux11
*)
12383 case $cc_basename in
12385 lt_prog_compiler_wl_CXX
='-Wl,'
12386 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12387 if test "$host_cpu" != ia64
; then
12388 lt_prog_compiler_pic_CXX
='+Z'
12392 lt_prog_compiler_wl_CXX
='-Wl,'
12393 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12399 lt_prog_compiler_pic_CXX
='+Z'
12408 # This is c89, which is MS Visual C++ (no shared libs)
12409 # Anyone wants to do a port?
12411 irix5
* | irix6
* | nonstopux
*)
12412 case $cc_basename in
12414 lt_prog_compiler_wl_CXX
='-Wl,'
12415 lt_prog_compiler_static_CXX
='-non_shared'
12416 # CC pic flag -KPIC is the default.
12423 case $cc_basename in
12426 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12427 lt_prog_compiler_pic_CXX
='-fPIC'
12431 lt_prog_compiler_wl_CXX
='-Wl,'
12432 lt_prog_compiler_pic_CXX
='-KPIC'
12433 lt_prog_compiler_static_CXX
='-static'
12436 # Portland Group C++ compiler.
12437 lt_prog_compiler_wl_CXX
='-Wl,'
12438 lt_prog_compiler_pic_CXX
='-fpic'
12439 lt_prog_compiler_static_CXX
='-Bstatic'
12443 # Make sure the PIC flag is empty. It appears that all Alpha
12444 # Linux and Compaq Tru64 Unix objects are PIC.
12445 lt_prog_compiler_pic_CXX
=
12446 lt_prog_compiler_static_CXX
='-non_shared'
12457 case $cc_basename in
12459 lt_prog_compiler_pic_CXX
='-W c,exportall'
12467 osf3
* | osf4
* | osf5
*)
12468 case $cc_basename in
12470 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12473 # Rational C++ 2.4.1
12474 lt_prog_compiler_pic_CXX
='-pic'
12477 # Digital/Compaq C++
12478 lt_prog_compiler_wl_CXX
='-Wl,'
12479 # Make sure the PIC flag is empty. It appears that all Alpha
12480 # Linux and Compaq Tru64 Unix objects are PIC.
12481 lt_prog_compiler_pic_CXX
=
12482 lt_prog_compiler_static_CXX
='-non_shared'
12491 case $cc_basename in
12493 # Sun C++ 4.2, 5.x and Centerline C++
12494 lt_prog_compiler_pic_CXX
='-KPIC'
12495 lt_prog_compiler_static_CXX
='-Bstatic'
12496 lt_prog_compiler_wl_CXX
='-Qoption ld '
12499 # Green Hills C++ Compiler
12500 lt_prog_compiler_pic_CXX
='-PIC'
12507 case $cc_basename in
12510 lt_prog_compiler_pic_CXX
='-pic'
12511 lt_prog_compiler_static_CXX
='-Bstatic'
12515 lt_prog_compiler_pic_CXX
='-pic'
12522 case $cc_basename in
12524 # NonStop-UX NCC 3.20
12525 lt_prog_compiler_pic_CXX
='-KPIC'
12531 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12532 case $cc_basename in
12534 lt_prog_compiler_wl_CXX
='-Wl,'
12535 lt_prog_compiler_pic_CXX
='-KPIC'
12536 lt_prog_compiler_static_CXX
='-Bstatic'
12543 lt_prog_compiler_can_build_shared_CXX
=no
12548 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12549 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12552 # Check to make sure the PIC flag actually works.
12554 if test -n "$lt_prog_compiler_pic_CXX"; then
12556 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12557 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12558 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 lt_prog_compiler_pic_works_CXX
=no
12562 ac_outfile
=conftest.
$ac_objext
12563 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12564 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12565 # Insert the option either (1) after the last *FLAGS variable, or
12566 # (2) before a word containing "conftest.", or (3) at the end.
12567 # Note that $ac_compile itself does not contain backslashes and begins
12568 # with a dollar sign (not a hyphen), so the echo should work correctly.
12569 # The option is referenced via a variable to avoid confusing sed.
12570 lt_compile
=`echo "$ac_compile" | $SED \
12571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12573 -e 's:$: $lt_compiler_flag:'`
12574 (eval echo "\"\$as_me:12574: $lt_compile\"" >&5)
12575 (eval "$lt_compile" 2>conftest.err
)
12577 cat conftest.err
>&5
12578 echo "$as_me:12578: \$? = $ac_status" >&5
12579 if (exit $ac_status) && test -s "$ac_outfile"; then
12580 # The compiler can only warn and ignore the option if not recognized
12581 # So say no if there are warnings other than the usual output.
12582 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12583 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12584 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12585 lt_prog_compiler_pic_works_CXX
=yes
12591 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12592 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12594 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12595 case $lt_prog_compiler_pic_CXX in
12597 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12600 lt_prog_compiler_pic_CXX
=
12601 lt_prog_compiler_can_build_shared_CXX
=no
12606 # For platforms which do not support PIC, -DPIC is meaningless:
12608 lt_prog_compiler_pic_CXX
=
12611 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12616 # Check to make sure the static flag actually works.
12618 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12619 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12620 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12621 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 lt_prog_compiler_static_works_CXX
=no
12625 save_LDFLAGS
="$LDFLAGS"
12626 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12627 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
12628 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12629 # The linker can only warn and ignore the option if not recognized
12630 # So say no if there are warnings
12631 if test -s conftest.err
; then
12632 # Append any errors to the config.log.
12633 cat conftest.err
1>&5
12634 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12635 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12636 if diff conftest.exp conftest.er2
>/dev
/null
; then
12637 lt_prog_compiler_static_works_CXX
=yes
12640 lt_prog_compiler_static_works_CXX
=yes
12644 LDFLAGS
="$save_LDFLAGS"
12647 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12648 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12650 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12653 lt_prog_compiler_static_CXX
=
12657 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12658 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12659 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12662 lt_cv_prog_compiler_c_o_CXX
=no
12663 $rm -r conftest
2>/dev
/null
12667 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12669 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12670 # Insert the option either (1) after the last *FLAGS variable, or
12671 # (2) before a word containing "conftest.", or (3) at the end.
12672 # Note that $ac_compile itself does not contain backslashes and begins
12673 # with a dollar sign (not a hyphen), so the echo should work correctly.
12674 lt_compile
=`echo "$ac_compile" | $SED \
12675 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12676 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12677 -e 's:$: $lt_compiler_flag:'`
12678 (eval echo "\"\$as_me:12678: $lt_compile\"" >&5)
12679 (eval "$lt_compile" 2>out
/conftest.err
)
12681 cat out
/conftest.err
>&5
12682 echo "$as_me:12682: \$? = $ac_status" >&5
12683 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12685 # The compiler can only warn and ignore the option if not recognized
12686 # So say no if there are warnings
12687 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12688 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12689 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12690 lt_cv_prog_compiler_c_o_CXX
=yes
12695 # SGI C++ compiler will create directory out/ii_files/ for
12696 # template instantiation
12697 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12698 $rm out
/* && rmdir out
12704 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12705 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12708 hard_links
="nottested"
12709 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12710 # do not overwrite the value of need_locks provided by the user
12711 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12712 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12715 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12717 ln conftest.a conftest.b
2>&5 || hard_links
=no
12718 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12719 { echo "$as_me:$LINENO: result: $hard_links" >&5
12720 echo "${ECHO_T}$hard_links" >&6; }
12721 if test "$hard_links" = no
; then
12722 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12723 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12730 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12731 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12733 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12736 # If we're using GNU nm, then we don't want the "-C" option.
12737 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12738 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12739 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12741 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12745 export_symbols_cmds_CXX
="$ltdll_cmds"
12748 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12751 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12755 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12756 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12757 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12760 # Do we need to explicitly link libc?
12762 case "x$archive_cmds_need_lc_CXX" in
12764 # Assume -lc should be added
12765 archive_cmds_need_lc_CXX
=yes
12767 if test "$enable_shared" = yes && test "$GCC" = yes; then
12768 case $archive_cmds_CXX in
12770 # FIXME: we may have to deal with multi-command sequences.
12773 # Test whether the compiler implicitly links with -lc since on some
12774 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12775 # to ld, don't add -lc before -lgcc.
12776 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12777 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12779 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12782 (eval $ac_compile) 2>&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); } 2>conftest.err
; then
12788 libobjs
=conftest.
$ac_objext
12790 wl
=$lt_prog_compiler_wl_CXX
12791 pic_flag
=$lt_prog_compiler_pic_CXX
12797 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12798 allow_undefined_flag_CXX
=
12799 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12800 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); }
12805 archive_cmds_need_lc_CXX
=no
12807 archive_cmds_need_lc_CXX
=yes
12809 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12811 cat conftest.err
1>&5
12814 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12815 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12822 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12823 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12824 library_names_spec
=
12825 libname_spec
='lib$name'
12829 postuninstall_cmds
=
12833 shlibpath_overrides_runpath
=unknown
12835 dynamic_linker
="$host_os ld.so"
12836 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12837 if test "$GCC" = yes; then
12838 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12839 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12840 # if the path contains ";" then we assume it to be the separator
12841 # otherwise default to the standard path separator (i.e. ":") - it is
12842 # assumed that no part of a normal pathname contains ";" but that should
12843 # okay in the real world where ";" in dirpaths is itself problematic.
12844 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12846 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12849 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12851 need_lib_prefix
=unknown
12852 hardcode_into_libs
=no
12854 # when you set need_version to no, make sure it does not cause -set_version
12855 # flags to be left without arguments
12856 need_version
=unknown
12861 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12862 shlibpath_var
=LIBPATH
12864 # AIX 3 has no versioning support, so we append a major version to the name.
12865 soname_spec
='${libname}${release}${shared_ext}$major'
12872 hardcode_into_libs
=yes
12873 if test "$host_cpu" = ia64
; then
12874 # AIX 5 supports IA64
12875 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12876 shlibpath_var
=LD_LIBRARY_PATH
12878 # With GCC up to 2.95.x, collect2 would create an import file
12879 # for dependence libraries. The import file would start with
12880 # the line `#! .'. This would cause the generated library to
12881 # depend on `.', always an invalid library. This was fixed in
12882 # development snapshots of GCC prior to 3.0.
12884 aix4 | aix4.
[01] | aix4.
[01].
*)
12885 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12887 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
12890 can_build_shared
=no
12894 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12895 # soname into executable. Probably we can add versioning support to
12896 # collect2, so additional links can be useful in future.
12897 if test "$aix_use_runtimelinking" = yes; then
12898 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12899 # instead of lib<name>.a to let people know that these are not
12900 # typical AIX shared libraries.
12901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12903 # We preserve .a as extension for shared libraries through AIX4.2
12904 # and later when we are not doing run time linking.
12905 library_names_spec
='${libname}${release}.a $libname.a'
12906 soname_spec
='${libname}${release}${shared_ext}$major'
12908 shlibpath_var
=LIBPATH
12913 library_names_spec
='$libname.ixlibrary $libname.a'
12914 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12915 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'
12919 library_names_spec
='${libname}${shared_ext}'
12920 dynamic_linker
="$host_os ld.so"
12921 shlibpath_var
=LIBRARY_PATH
12927 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12928 soname_spec
='${libname}${release}${shared_ext}$major'
12929 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12930 shlibpath_var
=LD_LIBRARY_PATH
12931 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12932 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12933 # the default ld.so.conf also contains /usr/contrib/lib and
12934 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12935 # libtool to hard-code these into programs
12938 cygwin
* | mingw
* | pw32
*)
12939 version_type
=windows
12944 case $GCC,$host_os in
12945 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
12946 library_names_spec
='$libname.dll.a'
12947 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12948 postinstall_cmds
='base_file=`basename \${file}`~
12949 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12950 dldir=$destdir/`dirname \$dlpath`~
12951 test -d \$dldir || mkdir -p \$dldir~
12952 $install_prog $dir/$dlname \$dldir/$dlname~
12953 chmod a+x \$dldir/$dlname'
12954 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12955 dlpath=$dir/\$dldll~
12957 shlibpath_overrides_runpath
=yes
12961 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12962 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12963 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
12966 # MinGW DLLs use traditional 'lib' prefix
12967 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12968 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12969 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
12970 # It is most probably a Windows format PATH printed by
12971 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12972 # path with ; separators, and with drive letters. We can handle the
12973 # drive letters (cygwin fileutils understands them), so leave them,
12974 # especially as we might pass files found there to a mingw objdump,
12975 # which wouldn't understand a cygwinified path. Ahh.
12976 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12978 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12982 # pw32 DLLs use 'pw' prefix rather than 'lib'
12983 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12989 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12992 dynamic_linker
='Win32 ld.exe'
12993 # FIXME: first we should search . and the directory the executable is in
12997 darwin
* | rhapsody
*)
12998 dynamic_linker
="$host_os dyld"
12999 version_type
=darwin
13002 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13003 soname_spec
='${libname}${release}${major}$shared_ext'
13004 shlibpath_overrides_runpath
=yes
13005 shlibpath_var
=DYLD_LIBRARY_PATH
13006 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13007 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13008 if test "$GCC" = yes; then
13009 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13011 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13013 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13021 soname_spec
='${libname}${release}${shared_ext}$major'
13022 shlibpath_var
=LD_LIBRARY_PATH
13033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13034 soname_spec
='${libname}${release}${shared_ext}$major'
13035 shlibpath_var
=LD_LIBRARY_PATH
13036 shlibpath_overrides_runpath
=no
13037 hardcode_into_libs
=yes
13038 dynamic_linker
='GNU ld.so'
13041 freebsd
* | dragonfly
*)
13042 # DragonFly does not have aout. When/if they implement a new
13043 # versioning mechanism, adjust this.
13044 if test -x /usr
/bin
/objformat
; then
13045 objformat
=`/usr/bin/objformat`
13048 freebsd
[123]*) objformat
=aout
;;
13049 *) objformat
=elf
;;
13052 version_type
=freebsd-
$objformat
13053 case $version_type in
13055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13060 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13064 shlibpath_var
=LD_LIBRARY_PATH
13067 shlibpath_overrides_runpath
=yes
13069 freebsd3.
[01]* | freebsdelf3.
[01]*)
13070 shlibpath_overrides_runpath
=yes
13071 hardcode_into_libs
=yes
13073 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13074 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13075 shlibpath_overrides_runpath
=no
13076 hardcode_into_libs
=yes
13078 freebsd
*) # from 4.6 on
13079 shlibpath_overrides_runpath
=yes
13080 hardcode_into_libs
=yes
13089 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13090 soname_spec
='${libname}${release}${shared_ext}$major'
13091 shlibpath_var
=LD_LIBRARY_PATH
13092 hardcode_into_libs
=yes
13095 hpux9
* | hpux10
* | hpux11
*)
13096 # Give a soname corresponding to the major version so that dld.sl refuses to
13097 # link against other versions.
13104 hardcode_into_libs
=yes
13105 dynamic_linker
="$host_os dld.so"
13106 shlibpath_var
=LD_LIBRARY_PATH
13107 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13109 soname_spec
='${libname}${release}${shared_ext}$major'
13110 if test "X$HPUX_IA64_MODE" = X32
; then
13111 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13113 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13115 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13119 hardcode_into_libs
=yes
13120 dynamic_linker
="$host_os dld.sl"
13121 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13122 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13124 soname_spec
='${libname}${release}${shared_ext}$major'
13125 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13126 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13130 dynamic_linker
="$host_os dld.sl"
13131 shlibpath_var
=SHLIB_PATH
13132 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13134 soname_spec
='${libname}${release}${shared_ext}$major'
13137 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13138 postinstall_cmds
='chmod 555 $lib'
13145 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13146 soname_spec
='${libname}${release}${shared_ext}$major'
13147 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13148 shlibpath_var
=LD_LIBRARY_PATH
13149 shlibpath_overrides_runpath
=no
13150 hardcode_into_libs
=yes
13153 irix5
* | irix6
* | nonstopux
*)
13155 nonstopux
*) version_type
=nonstopux
;;
13157 if test "$lt_cv_prog_gnu_ld" = yes; then
13165 soname_spec
='${libname}${release}${shared_ext}$major'
13166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13168 irix5
* | nonstopux
*)
13169 libsuff
= shlibsuff
=
13172 case $LD in # libtool.m4 will add one of these switches to LD
13173 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13174 libsuff
= shlibsuff
= libmagic
=32-bit;;
13175 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13176 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13177 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13178 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13179 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13183 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13184 shlibpath_overrides_runpath
=no
13185 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13186 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13187 hardcode_into_libs
=yes
13190 # No shared lib support for Linux oldld, aout, or coff.
13191 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13195 # This must be Linux ELF.
13200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13201 soname_spec
='${libname}${release}${shared_ext}$major'
13202 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13203 shlibpath_var
=LD_LIBRARY_PATH
13204 shlibpath_overrides_runpath
=no
13205 # This implies no fast_install, which is unacceptable.
13206 # Some rework will be needed to allow for fast_install
13207 # before this can be enabled.
13208 hardcode_into_libs
=yes
13210 # find out which ABI we are using
13212 case "$host_cpu" in
13213 x86_64
*|s390x
*|powerpc64
*)
13214 echo '#line 13214 "configure"' > conftest.
$ac_ext
13215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13216 (eval $ac_compile) 2>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); }; then
13220 case `/usr/bin/file conftest.$ac_objext` in
13223 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13231 # Append ld.so.conf contents to the search path
13232 if test -f /etc
/ld.so.conf
; then
13233 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13234 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13237 # We used to test for /lib/ld.so.1 and disable shared libraries on
13238 # powerpc, because MkLinux only supported shared libraries with the
13239 # GNU dynamic linker. Since this was broken with cross compilers,
13240 # most powerpc-linux boxes support dynamic linking these days and
13241 # people can always --disable-shared, the test was removed, and we
13242 # assume the GNU/Linux dynamic linker is in use.
13243 dynamic_linker
='GNU/Linux ld.so'
13250 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13251 soname_spec
='${libname}${release}${shared_ext}$major'
13252 shlibpath_var
=LD_LIBRARY_PATH
13253 shlibpath_overrides_runpath
=no
13254 hardcode_into_libs
=yes
13255 dynamic_linker
='GNU ld.so'
13262 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13264 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13265 dynamic_linker
='NetBSD (a.out) ld.so'
13267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13268 soname_spec
='${libname}${release}${shared_ext}$major'
13269 dynamic_linker
='NetBSD ld.elf_so'
13271 shlibpath_var
=LD_LIBRARY_PATH
13272 shlibpath_overrides_runpath
=yes
13273 hardcode_into_libs
=yes
13278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13279 shlibpath_var
=LD_LIBRARY_PATH
13280 shlibpath_overrides_runpath
=yes
13287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 soname_spec
='${libname}${release}${shared_ext}$major'
13289 shlibpath_var
=LD_LIBRARY_PATH
13290 shlibpath_overrides_runpath
=yes
13295 sys_lib_dlsearch_path_spec
="/usr/lib"
13297 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13299 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13300 *) need_version
=no
;;
13302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13303 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13304 shlibpath_var
=LD_LIBRARY_PATH
13305 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13307 openbsd2.
[89] | openbsd2.
[89].
*)
13308 shlibpath_overrides_runpath
=no
13311 shlibpath_overrides_runpath
=yes
13315 shlibpath_overrides_runpath
=yes
13320 libname_spec
='$name'
13323 library_names_spec
='$libname${shared_ext} $libname.a'
13324 dynamic_linker
='OS/2 ld.exe'
13325 shlibpath_var
=LIBPATH
13328 osf3
* | osf4
* | osf5
*)
13332 soname_spec
='${libname}${release}${shared_ext}$major'
13333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13334 shlibpath_var
=LD_LIBRARY_PATH
13335 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13336 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13344 soname_spec
='${libname}${release}${shared_ext}$major'
13345 shlibpath_var
=LD_LIBRARY_PATH
13346 shlibpath_overrides_runpath
=yes
13347 hardcode_into_libs
=yes
13348 # ldd complains unless libraries are executable
13349 postinstall_cmds
='chmod +x $lib'
13354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13355 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13356 shlibpath_var
=LD_LIBRARY_PATH
13357 shlibpath_overrides_runpath
=yes
13358 if test "$with_gnu_ld" = yes; then
13366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13367 soname_spec
='${libname}${release}${shared_ext}$major'
13368 shlibpath_var
=LD_LIBRARY_PATH
13369 case $host_vendor in
13371 shlibpath_overrides_runpath
=no
13373 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13374 runpath_var
=LD_RUN_PATH
13382 shlibpath_overrides_runpath
=no
13383 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13389 if test -d /usr
/nec
;then
13391 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13392 soname_spec
='$libname${shared_ext}.$major'
13393 shlibpath_var
=LD_LIBRARY_PATH
13397 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13398 version_type
=freebsd-elf
13401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13402 soname_spec
='${libname}${release}${shared_ext}$major'
13403 shlibpath_var
=LD_LIBRARY_PATH
13404 hardcode_into_libs
=yes
13405 if test "$with_gnu_ld" = yes; then
13406 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13407 shlibpath_overrides_runpath
=no
13409 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13410 shlibpath_overrides_runpath
=yes
13413 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13417 sys_lib_dlsearch_path_spec
='/usr/lib'
13422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13423 soname_spec
='${libname}${release}${shared_ext}$major'
13424 shlibpath_var
=LD_LIBRARY_PATH
13431 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13432 echo "${ECHO_T}$dynamic_linker" >&6; }
13433 test "$dynamic_linker" = no
&& can_build_shared
=no
13435 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13436 if test "$GCC" = yes; then
13437 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13440 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13441 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13442 hardcode_action_CXX
=
13443 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13444 test -n "$runpath_var_CXX" || \
13445 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13447 # We can hardcode non-existant directories.
13448 if test "$hardcode_direct_CXX" != no
&&
13449 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13450 # have to relink, otherwise we might link with an installed library
13451 # when we should be linking with a yet-to-be-installed one
13452 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13453 test "$hardcode_minus_L_CXX" != no
; then
13454 # Linking always hardcodes the temporary library directory.
13455 hardcode_action_CXX
=relink
13457 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13458 hardcode_action_CXX
=immediate
13461 # We cannot hardcode anything, or else we can only hardcode existing
13463 hardcode_action_CXX
=unsupported
13465 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13466 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13468 if test "$hardcode_action_CXX" = relink
; then
13469 # Fast installation is not supported
13470 enable_fast_install
=no
13471 elif test "$shlibpath_overrides_runpath" = yes ||
13472 test "$enable_shared" = no
; then
13473 # Fast installation is not necessary
13474 enable_fast_install
=needless
13478 # The else clause should only fire when bootstrapping the
13479 # libtool distribution, otherwise you forgot to ship ltmain.sh
13480 # with your package, and you will get complaints that there are
13481 # no rules to generate ltmain.sh.
13482 if test -f "$ltmain"; then
13483 # See if we are running on zsh, and set the options which allow our commands through
13484 # without removal of \ escapes.
13485 if test -n "${ZSH_VERSION+set}" ; then
13486 setopt NO_GLOB_SUBST
13488 # Now quote all the things that may contain metacharacters while being
13489 # careful not to overquote the AC_SUBSTed values. We take copies of the
13490 # variables and quote the copies for generation of the libtool script.
13491 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13493 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13494 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13495 deplibs_check_method reload_flag reload_cmds need_locks \
13496 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13497 lt_cv_sys_global_symbol_to_c_name_address \
13498 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13499 old_postinstall_cmds old_postuninstall_cmds \
13503 lt_prog_compiler_wl_CXX \
13504 lt_prog_compiler_pic_CXX \
13505 lt_prog_compiler_static_CXX \
13506 lt_prog_compiler_no_builtin_flag_CXX \
13507 export_dynamic_flag_spec_CXX \
13508 thread_safe_flag_spec_CXX \
13509 whole_archive_flag_spec_CXX \
13510 enable_shared_with_static_runtimes_CXX \
13511 old_archive_cmds_CXX \
13512 old_archive_from_new_cmds_CXX \
13513 predep_objects_CXX \
13514 postdep_objects_CXX \
13517 compiler_lib_search_path_CXX \
13519 archive_expsym_cmds_CXX \
13520 postinstall_cmds_CXX \
13521 postuninstall_cmds_CXX \
13522 old_archive_from_expsyms_cmds_CXX \
13523 allow_undefined_flag_CXX \
13524 no_undefined_flag_CXX \
13525 export_symbols_cmds_CXX \
13526 hardcode_libdir_flag_spec_CXX \
13527 hardcode_libdir_flag_spec_ld_CXX \
13528 hardcode_libdir_separator_CXX \
13529 hardcode_automatic_CXX \
13531 module_expsym_cmds_CXX \
13532 lt_cv_prog_compiler_c_o_CXX \
13533 exclude_expsyms_CXX \
13534 include_expsyms_CXX
; do
13537 old_archive_cmds_CXX | \
13538 old_archive_from_new_cmds_CXX | \
13539 archive_cmds_CXX | \
13540 archive_expsym_cmds_CXX | \
13541 module_cmds_CXX | \
13542 module_expsym_cmds_CXX | \
13543 old_archive_from_expsyms_cmds_CXX | \
13544 export_symbols_cmds_CXX | \
13545 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13546 postinstall_cmds | postuninstall_cmds | \
13547 old_postinstall_cmds | old_postuninstall_cmds | \
13548 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13549 # Double-quote double-evaled strings.
13550 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13553 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13559 *'\$0 --fallback-echo"')
13560 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13566 cat <<__EOF__ >> "$cfgfile"
13567 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13569 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13571 # Shell to use when invoking shell scripts.
13574 # Whether or not to build shared libraries.
13575 build_libtool_libs=$enable_shared
13577 # Whether or not to build static libraries.
13578 build_old_libs=$enable_static
13580 # Whether or not to add -lc for building shared libraries.
13581 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13583 # Whether or not to disallow shared libs when runtime libs are static
13584 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13586 # Whether or not to optimize for fast installation.
13587 fast_install=$enable_fast_install
13590 host_alias=$host_alias
13594 # The build system.
13595 build_alias=$build_alias
13599 # An echo program that does not interpret backslashes.
13604 AR_FLAGS=$lt_AR_FLAGS
13609 # LTCC compiler flags.
13610 LTCFLAGS=$lt_LTCFLAGS
13612 # A language-specific compiler.
13613 CC=$lt_compiler_CXX
13615 # Is the compiler the GNU C compiler?
13621 # The linker used to build libraries.
13624 # Whether we need hard or soft links.
13627 # A BSD-compatible nm program.
13630 # A symbol stripping program
13633 # Used to examine libraries when file_magic_cmd begins "file"
13634 MAGIC_CMD=$MAGIC_CMD
13636 # Used on cygwin: DLL creation program.
13639 # Used on cygwin: object dumper.
13642 # Used on cygwin: assembler.
13645 # The name of the directory that contains temporary libtool files.
13648 # How to create reloadable object files.
13649 reload_flag=$lt_reload_flag
13650 reload_cmds=$lt_reload_cmds
13652 # How to pass a linker flag through the compiler.
13653 wl=$lt_lt_prog_compiler_wl_CXX
13655 # Object file suffix (normally "o").
13656 objext="$ac_objext"
13658 # Old archive suffix (normally "a").
13661 # Shared library suffix (normally ".so").
13662 shrext_cmds='$shrext_cmds'
13664 # Executable file suffix (normally "").
13667 # Additional compiler flags for building library objects.
13668 pic_flag=$lt_lt_prog_compiler_pic_CXX
13671 # What is the maximum length of a command?
13672 max_cmd_len=$lt_cv_sys_max_cmd_len
13674 # Does compiler simultaneously support -c and -o options?
13675 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13677 # Must we lock files when doing compilation?
13678 need_locks=$lt_need_locks
13680 # Do we need the lib prefix for modules?
13681 need_lib_prefix=$need_lib_prefix
13683 # Do we need a version for libraries?
13684 need_version=$need_version
13686 # Whether dlopen is supported.
13687 dlopen_support=$enable_dlopen
13689 # Whether dlopen of programs is supported.
13690 dlopen_self=$enable_dlopen_self
13692 # Whether dlopen of statically linked programs is supported.
13693 dlopen_self_static=$enable_dlopen_self_static
13695 # Compiler flag to prevent dynamic linking.
13696 link_static_flag=$lt_lt_prog_compiler_static_CXX
13698 # Compiler flag to turn off builtin functions.
13699 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13701 # Compiler flag to allow reflexive dlopens.
13702 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13704 # Compiler flag to generate shared objects directly from archives.
13705 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13707 # Compiler flag to generate thread-safe objects.
13708 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13710 # Library versioning type.
13711 version_type=$version_type
13713 # Format of library name prefix.
13714 libname_spec=$lt_libname_spec
13716 # List of archive names. First name is the real one, the rest are links.
13717 # The last name is the one that the linker finds with -lNAME.
13718 library_names_spec=$lt_library_names_spec
13720 # The coded name of the library, if different from the real name.
13721 soname_spec=$lt_soname_spec
13723 # Commands used to build and install an old-style archive.
13725 old_archive_cmds=$lt_old_archive_cmds_CXX
13726 old_postinstall_cmds=$lt_old_postinstall_cmds
13727 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13729 # Create an old-style archive from a shared archive.
13730 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13732 # Create a temporary old-style archive to link instead of a shared archive.
13733 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13735 # Commands used to build and install a shared archive.
13736 archive_cmds=$lt_archive_cmds_CXX
13737 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13738 postinstall_cmds=$lt_postinstall_cmds
13739 postuninstall_cmds=$lt_postuninstall_cmds
13741 # Commands used to build a loadable module (assumed same as above if empty)
13742 module_cmds=$lt_module_cmds_CXX
13743 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13745 # Commands to strip libraries.
13746 old_striplib=$lt_old_striplib
13747 striplib=$lt_striplib
13749 # Dependencies to place before the objects being linked to create a
13751 predep_objects=$lt_predep_objects_CXX
13753 # Dependencies to place after the objects being linked to create a
13755 postdep_objects=$lt_postdep_objects_CXX
13757 # Dependencies to place before the objects being linked to create a
13759 predeps=$lt_predeps_CXX
13761 # Dependencies to place after the objects being linked to create a
13763 postdeps=$lt_postdeps_CXX
13765 # The library search path used internally by the compiler when linking
13766 # a shared library.
13767 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13769 # Method to check whether dependent libraries are shared objects.
13770 deplibs_check_method=$lt_deplibs_check_method
13772 # Command to use when deplibs_check_method == file_magic.
13773 file_magic_cmd=$lt_file_magic_cmd
13775 # Flag that allows shared libraries with undefined symbols to be built.
13776 allow_undefined_flag=$lt_allow_undefined_flag_CXX
13778 # Flag that forces no undefined symbols.
13779 no_undefined_flag=$lt_no_undefined_flag_CXX
13781 # Commands used to finish a libtool library installation in a directory.
13782 finish_cmds=$lt_finish_cmds
13784 # Same as above, but a single script fragment to be evaled but not shown.
13785 finish_eval=$lt_finish_eval
13787 # Take the output of nm and produce a listing of raw symbols and C names.
13788 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13790 # Transform the output of nm in a proper C declaration
13791 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13793 # Transform the output of nm in a C name address pair
13794 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13796 # This is the shared library runtime path variable.
13797 runpath_var=$runpath_var
13799 # This is the shared library path variable.
13800 shlibpath_var=$shlibpath_var
13802 # Is shlibpath searched before the hard-coded library search path?
13803 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13805 # How to hardcode a shared library path into an executable.
13806 hardcode_action=$hardcode_action_CXX
13808 # Whether we should hardcode library paths into libraries.
13809 hardcode_into_libs=$hardcode_into_libs
13811 # Flag to hardcode \$libdir into a binary during linking.
13812 # This must work even if \$libdir does not exist.
13813 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13815 # If ld is used when linking, flag to hardcode \$libdir into
13816 # a binary during linking. This must work even if \$libdir does
13818 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13820 # Whether we need a single -rpath flag with a separated argument.
13821 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13823 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13824 # resulting binary.
13825 hardcode_direct=$hardcode_direct_CXX
13827 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13828 # resulting binary.
13829 hardcode_minus_L=$hardcode_minus_L_CXX
13831 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13832 # the resulting binary.
13833 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13835 # Set to yes if building a shared library automatically hardcodes DIR into the library
13836 # and all subsequent libraries and executables linked against it.
13837 hardcode_automatic=$hardcode_automatic_CXX
13839 # Variables whose values should be saved in libtool wrapper scripts and
13840 # restored at relink time.
13841 variables_saved_for_relink="$variables_saved_for_relink"
13843 # Whether libtool must link a program against all its dependency libraries.
13844 link_all_deplibs=$link_all_deplibs_CXX
13846 # Compile-time system search path for libraries
13847 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13849 # Run-time system search path for libraries
13850 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13852 # Fix the shell variable \$srcfile for the compiler.
13853 fix_srcfile_path="$fix_srcfile_path_CXX"
13855 # Set to yes if exported symbols are required.
13856 always_export_symbols=$always_export_symbols_CXX
13858 # The commands to list exported symbols.
13859 export_symbols_cmds=$lt_export_symbols_cmds_CXX
13861 # The commands to extract the exported symbol list from a shared archive.
13862 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13864 # Symbols that should not be listed in the preloaded symbols.
13865 exclude_expsyms=$lt_exclude_expsyms_CXX
13867 # Symbols that must always be exported.
13868 include_expsyms=$lt_include_expsyms_CXX
13870 # ### END LIBTOOL TAG CONFIG: $tagname
13876 # If there is no Makefile yet, we rely on a make rule to execute
13877 # `config.status --recheck' to rerun these tests and create the
13878 # libtool script then.
13879 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13880 if test -f "$ltmain_in"; then
13881 test -f Makefile
&& make "$ltmain"
13887 ac_cpp
='$CPP $CPPFLAGS'
13888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13896 with_gnu_ldcxx
=$with_gnu_ld
13897 with_gnu_ld
=$lt_save_with_gnu_ld
13898 lt_cv_path_LDCXX
=$lt_cv_path_LD
13899 lt_cv_path_LD
=$lt_save_path_LD
13900 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
13901 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
13909 if test -n "$F77" && test "X$F77" != "Xno"; then
13912 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13913 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13914 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
13917 archive_cmds_need_lc_F77
=no
13918 allow_undefined_flag_F77
=
13919 always_export_symbols_F77
=no
13920 archive_expsym_cmds_F77
=
13921 export_dynamic_flag_spec_F77
=
13922 hardcode_direct_F77
=no
13923 hardcode_libdir_flag_spec_F77
=
13924 hardcode_libdir_flag_spec_ld_F77
=
13925 hardcode_libdir_separator_F77
=
13926 hardcode_minus_L_F77
=no
13927 hardcode_automatic_F77
=no
13929 module_expsym_cmds_F77
=
13930 link_all_deplibs_F77
=unknown
13931 old_archive_cmds_F77
=$old_archive_cmds
13932 no_undefined_flag_F77
=
13933 whole_archive_flag_spec_F77
=
13934 enable_shared_with_static_runtimes_F77
=no
13936 # Source file extension for f77 test sources.
13939 # Object file extension for compiled f77 test sources.
13943 # Code to be used in simple compile tests
13944 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
13946 # Code to be used in simple link tests
13947 lt_simple_link_test_code
=" program t\n end\n"
13949 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13951 # If no C compiler was specified, use CC.
13954 # If no C compiler flags were specified, use CFLAGS.
13955 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13957 # Allow CC to be a program name with arguments.
13961 # save warnings/boilerplate of simple test code
13962 ac_outfile
=conftest.
$ac_objext
13963 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
13964 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13965 _lt_compiler_boilerplate
=`cat conftest.err`
13968 ac_outfile
=conftest.
$ac_objext
13969 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
13970 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13971 _lt_linker_boilerplate
=`cat conftest.err`
13975 # Allow CC to be a program name with arguments.
13980 for cc_temp
in $compiler""; do
13982 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13983 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13988 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13991 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13992 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13993 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
13994 echo "${ECHO_T}$can_build_shared" >&6; }
13996 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13997 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13998 test "$can_build_shared" = "no" && enable_shared
=no
14000 # On AIX, shared libraries and static libraries use the same namespace, and
14001 # are all built from PIC.
14004 test "$enable_shared" = yes && enable_static
=no
14005 if test -n "$RANLIB"; then
14006 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14007 postinstall_cmds
='$RANLIB $lib'
14011 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14012 test "$enable_shared" = yes && enable_static
=no
14016 { echo "$as_me:$LINENO: result: $enable_shared" >&5
14017 echo "${ECHO_T}$enable_shared" >&6; }
14019 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14020 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14021 # Make sure either enable_shared or enable_static is yes.
14022 test "$enable_shared" = yes || enable_static
=yes
14023 { echo "$as_me:$LINENO: result: $enable_static" >&5
14024 echo "${ECHO_T}$enable_static" >&6; }
14029 lt_prog_compiler_wl_F77
=
14030 lt_prog_compiler_pic_F77
=
14031 lt_prog_compiler_static_F77
=
14033 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14034 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14036 if test "$GCC" = yes; then
14037 lt_prog_compiler_wl_F77
='-Wl,'
14038 lt_prog_compiler_static_F77
='-static'
14042 # All AIX code is PIC.
14043 if test "$host_cpu" = ia64
; then
14044 # AIX 5 now supports IA64 processor
14045 lt_prog_compiler_static_F77
='-Bstatic'
14050 # FIXME: we need at least 68020 code to build shared libraries, but
14051 # adding the `-m68020' flag to GCC prevents building anything better,
14053 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14056 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14057 # PIC is the default for these OSes.
14060 mingw
* | pw32
* | os2
*)
14061 # This hack is so that the source file can tell whether it is being
14062 # built for inclusion in a dll (and should export symbols for example).
14063 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14066 darwin
* | rhapsody
*)
14067 # PIC is the default on this platform
14068 # Common symbols not allowed in MH_DYLIB files
14069 lt_prog_compiler_pic_F77
='-fno-common'
14073 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14074 # Instead, we relocate shared libraries at runtime.
14078 # Just because we use GCC doesn't mean we suddenly get shared libraries
14079 # on systems that don't support them.
14080 lt_prog_compiler_can_build_shared_F77
=no
14085 if test -d /usr
/nec
; then
14086 lt_prog_compiler_pic_F77
=-Kconform_pic
14091 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14092 # not for PA HP-UX.
14098 lt_prog_compiler_pic_F77
='-fPIC'
14104 lt_prog_compiler_pic_F77
='-fPIC'
14108 # PORTME Check for flag to pass linker flags through the system compiler.
14111 lt_prog_compiler_wl_F77
='-Wl,'
14112 if test "$host_cpu" = ia64
; then
14113 # AIX 5 now supports IA64 processor
14114 lt_prog_compiler_static_F77
='-Bstatic'
14116 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14120 # PIC is the default on this platform
14121 # Common symbols not allowed in MH_DYLIB files
14122 case $cc_basename in
14124 lt_prog_compiler_pic_F77
='-qnocommon'
14125 lt_prog_compiler_wl_F77
='-Wl,'
14130 mingw
* | pw32
* | os2
*)
14131 # This hack is so that the source file can tell whether it is being
14132 # built for inclusion in a dll (and should export symbols for example).
14133 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14136 hpux9
* | hpux10
* | hpux11
*)
14137 lt_prog_compiler_wl_F77
='-Wl,'
14138 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14139 # not for PA HP-UX.
14145 lt_prog_compiler_pic_F77
='+Z'
14148 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14149 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14152 irix5
* | irix6
* | nonstopux
*)
14153 lt_prog_compiler_wl_F77
='-Wl,'
14154 # PIC (with -KPIC) is the default.
14155 lt_prog_compiler_static_F77
='-non_shared'
14159 lt_prog_compiler_pic_F77
='-KPIC'
14160 lt_prog_compiler_static_F77
='-Bstatic'
14164 case $cc_basename in
14166 lt_prog_compiler_wl_F77
='-Wl,'
14167 lt_prog_compiler_pic_F77
='-KPIC'
14168 lt_prog_compiler_static_F77
='-static'
14170 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14171 # Portland Group compilers (*not* the Pentium gcc compiler,
14172 # which looks to be a dead project)
14173 lt_prog_compiler_wl_F77
='-Wl,'
14174 lt_prog_compiler_pic_F77
='-fpic'
14175 lt_prog_compiler_static_F77
='-Bstatic'
14178 lt_prog_compiler_wl_F77
='-Wl,'
14179 # All Alpha code is PIC.
14180 lt_prog_compiler_static_F77
='-non_shared'
14185 osf3
* | osf4
* | osf5
*)
14186 lt_prog_compiler_wl_F77
='-Wl,'
14187 # All OSF/1 code is PIC.
14188 lt_prog_compiler_static_F77
='-non_shared'
14192 lt_prog_compiler_pic_F77
='-KPIC'
14193 lt_prog_compiler_static_F77
='-Bstatic'
14194 case $cc_basename in
14195 f77
* | f90
* | f95
*)
14196 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14198 lt_prog_compiler_wl_F77
='-Wl,';;
14203 lt_prog_compiler_wl_F77
='-Qoption ld '
14204 lt_prog_compiler_pic_F77
='-PIC'
14205 lt_prog_compiler_static_F77
='-Bstatic'
14208 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14209 lt_prog_compiler_wl_F77
='-Wl,'
14210 lt_prog_compiler_pic_F77
='-KPIC'
14211 lt_prog_compiler_static_F77
='-Bstatic'
14215 if test -d /usr
/nec
;then
14216 lt_prog_compiler_pic_F77
='-Kconform_pic'
14217 lt_prog_compiler_static_F77
='-Bstatic'
14221 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14222 lt_prog_compiler_wl_F77
='-Wl,'
14223 lt_prog_compiler_pic_F77
='-KPIC'
14224 lt_prog_compiler_static_F77
='-Bstatic'
14228 lt_prog_compiler_wl_F77
='-Wl,'
14229 lt_prog_compiler_can_build_shared_F77
=no
14233 lt_prog_compiler_pic_F77
='-pic'
14234 lt_prog_compiler_static_F77
='-Bstatic'
14238 lt_prog_compiler_can_build_shared_F77
=no
14243 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14244 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14247 # Check to make sure the PIC flag actually works.
14249 if test -n "$lt_prog_compiler_pic_F77"; then
14251 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14252 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14253 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14254 echo $ECHO_N "(cached) $ECHO_C" >&6
14256 lt_prog_compiler_pic_works_F77
=no
14257 ac_outfile
=conftest.
$ac_objext
14258 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14259 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14260 # Insert the option either (1) after the last *FLAGS variable, or
14261 # (2) before a word containing "conftest.", or (3) at the end.
14262 # Note that $ac_compile itself does not contain backslashes and begins
14263 # with a dollar sign (not a hyphen), so the echo should work correctly.
14264 # The option is referenced via a variable to avoid confusing sed.
14265 lt_compile
=`echo "$ac_compile" | $SED \
14266 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14267 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14268 -e 's:$: $lt_compiler_flag:'`
14269 (eval echo "\"\$as_me:14269: $lt_compile\"" >&5)
14270 (eval "$lt_compile" 2>conftest.err
)
14272 cat conftest.err
>&5
14273 echo "$as_me:14273: \$? = $ac_status" >&5
14274 if (exit $ac_status) && test -s "$ac_outfile"; then
14275 # The compiler can only warn and ignore the option if not recognized
14276 # So say no if there are warnings other than the usual output.
14277 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14278 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14279 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14280 lt_prog_compiler_pic_works_F77
=yes
14286 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14287 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14289 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14290 case $lt_prog_compiler_pic_F77 in
14292 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14295 lt_prog_compiler_pic_F77
=
14296 lt_prog_compiler_can_build_shared_F77
=no
14301 # For platforms which do not support PIC, -DPIC is meaningless:
14303 lt_prog_compiler_pic_F77
=
14306 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14311 # Check to make sure the static flag actually works.
14313 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14314 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14315 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14316 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14317 echo $ECHO_N "(cached) $ECHO_C" >&6
14319 lt_prog_compiler_static_works_F77
=no
14320 save_LDFLAGS
="$LDFLAGS"
14321 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14322 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
14323 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14324 # The linker can only warn and ignore the option if not recognized
14325 # So say no if there are warnings
14326 if test -s conftest.err
; then
14327 # Append any errors to the config.log.
14328 cat conftest.err
1>&5
14329 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14330 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14331 if diff conftest.exp conftest.er2
>/dev
/null
; then
14332 lt_prog_compiler_static_works_F77
=yes
14335 lt_prog_compiler_static_works_F77
=yes
14339 LDFLAGS
="$save_LDFLAGS"
14342 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14343 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14345 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14348 lt_prog_compiler_static_F77
=
14352 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14353 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14354 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 lt_cv_prog_compiler_c_o_F77
=no
14358 $rm -r conftest
2>/dev
/null
14362 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
14364 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14365 # Insert the option either (1) after the last *FLAGS variable, or
14366 # (2) before a word containing "conftest.", or (3) at the end.
14367 # Note that $ac_compile itself does not contain backslashes and begins
14368 # with a dollar sign (not a hyphen), so the echo should work correctly.
14369 lt_compile
=`echo "$ac_compile" | $SED \
14370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14372 -e 's:$: $lt_compiler_flag:'`
14373 (eval echo "\"\$as_me:14373: $lt_compile\"" >&5)
14374 (eval "$lt_compile" 2>out
/conftest.err
)
14376 cat out
/conftest.err
>&5
14377 echo "$as_me:14377: \$? = $ac_status" >&5
14378 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14380 # The compiler can only warn and ignore the option if not recognized
14381 # So say no if there are warnings
14382 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14383 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14384 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14385 lt_cv_prog_compiler_c_o_F77
=yes
14390 # SGI C++ compiler will create directory out/ii_files/ for
14391 # template instantiation
14392 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14393 $rm out
/* && rmdir out
14399 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14400 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14403 hard_links
="nottested"
14404 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14405 # do not overwrite the value of need_locks provided by the user
14406 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14407 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14410 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14412 ln conftest.a conftest.b
2>&5 || hard_links
=no
14413 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14414 { echo "$as_me:$LINENO: result: $hard_links" >&5
14415 echo "${ECHO_T}$hard_links" >&6; }
14416 if test "$hard_links" = no
; then
14417 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14418 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14425 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14426 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14429 allow_undefined_flag_F77
=
14430 enable_shared_with_static_runtimes_F77
=no
14432 archive_expsym_cmds_F77
=
14433 old_archive_From_new_cmds_F77
=
14434 old_archive_from_expsyms_cmds_F77
=
14435 export_dynamic_flag_spec_F77
=
14436 whole_archive_flag_spec_F77
=
14437 thread_safe_flag_spec_F77
=
14438 hardcode_libdir_flag_spec_F77
=
14439 hardcode_libdir_flag_spec_ld_F77
=
14440 hardcode_libdir_separator_F77
=
14441 hardcode_direct_F77
=no
14442 hardcode_minus_L_F77
=no
14443 hardcode_shlibpath_var_F77
=unsupported
14444 link_all_deplibs_F77
=unknown
14445 hardcode_automatic_F77
=no
14447 module_expsym_cmds_F77
=
14448 always_export_symbols_F77
=no
14449 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14450 # include_expsyms should be a list of space-separated symbols to be *always*
14451 # included in the symbol list
14452 include_expsyms_F77
=
14453 # exclude_expsyms can be an extended regexp of symbols to exclude
14454 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14455 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14456 # as well as any symbol that contains `d'.
14457 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14458 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14459 # platforms (ab)use it in PIC code, but their linkers get confused if
14460 # the symbol is explicitly referenced. Since portable code cannot
14461 # rely on this symbol name, it's probably fine to never include it in
14462 # preloaded symbol tables.
14463 extract_expsyms_cmds
=
14464 # Just being paranoid about ensuring that cc_basename is set.
14465 for cc_temp
in $compiler""; do
14467 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14468 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14473 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14476 cygwin
* | mingw
* | pw32
*)
14477 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14478 # When not using gcc, we currently assume that we are using
14479 # Microsoft Visual C++.
14480 if test "$GCC" != yes; then
14485 # we just hope/assume this is gcc and not c89 (= MSVC++)
14494 if test "$with_gnu_ld" = yes; then
14495 # If archive_cmds runs LD, not CC, wlarc should be empty
14498 # Set some defaults for GNU ld with shared library support. These
14499 # are reset later if shared libraries are not supported. Putting them
14500 # here allows them to be overridden if necessary.
14501 runpath_var
=LD_RUN_PATH
14502 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14503 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14504 # ancient GNU ld didn't support --whole-archive et. al.
14505 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14506 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14508 whole_archive_flag_spec_F77
=
14510 supports_anon_versioning
=no
14511 case `$LD -v 2>/dev/null` in
14512 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14513 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14514 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14515 *\
2.11.
*) ;; # other 2.11 versions
14516 *) supports_anon_versioning
=yes ;;
14519 # See if GNU ld supports shared libraries.
14521 aix3
* | aix4
* | aix5
*)
14522 # On AIX/PPC, the GNU linker is very broken
14523 if test "$host_cpu" != ia64
; then
14527 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14528 *** to be unable to reliably create shared libraries on AIX.
14529 *** Therefore, libtool is disabling shared libraries support. If you
14530 *** really care for shared libraries, you may want to modify your PATH
14531 *** so that a non-GNU linker is found, and then restart.
14538 archive_cmds_F77
='$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)'
14539 hardcode_libdir_flag_spec_F77
='-L$libdir'
14540 hardcode_minus_L_F77
=yes
14542 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14543 # that the semantics of dynamic libraries on AmigaOS, at least up
14544 # to version 4, is to share data among multiple programs linked
14545 # with the same dynamic library. Since this doesn't match the
14546 # behavior of shared libraries on other platforms, we can't use
14552 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14553 allow_undefined_flag_F77
=unsupported
14554 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14555 # support --undefined. This deserves some investigation. FIXME
14556 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14562 cygwin
* | mingw
* | pw32
*)
14563 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14564 # as there is no search path for DLLs.
14565 hardcode_libdir_flag_spec_F77
='-L$libdir'
14566 allow_undefined_flag_F77
=unsupported
14567 always_export_symbols_F77
=no
14568 enable_shared_with_static_runtimes_F77
=yes
14569 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14571 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14572 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14573 # If the export-symbols file already is a .def file (1st line
14574 # is EXPORTS), use it as is; otherwise, prepend...
14575 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14576 cp $export_symbols $output_objdir/$soname.def;
14578 echo EXPORTS > $output_objdir/$soname.def;
14579 cat $export_symbols >> $output_objdir/$soname.def;
14581 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14588 hardcode_direct_F77
=no
14589 hardcode_shlibpath_var_F77
=no
14590 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14591 export_dynamic_flag_spec_F77
='${wl}-E'
14592 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14593 # Instead, shared libraries are loaded at an image base (0x10000000 by
14594 # default) and relocated if they conflict, which is a slow very memory
14595 # consuming and fragmenting process. To avoid this, we pick a random,
14596 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14597 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14598 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14599 archive_expsym_cmds_F77
='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'
14603 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14605 case $cc_basename,$host_cpu in
14606 pgcc
*) # Portland Group C compiler
14607 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14608 tmp_addflag
=' $pic_flag'
14610 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14611 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14612 tmp_addflag
=' $pic_flag -Mnomain' ;;
14613 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14614 tmp_addflag
=' -i_dynamic' ;;
14615 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14616 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14617 ifc
* | ifort
*) # Intel Fortran compiler
14618 tmp_addflag
=' -nofor_main' ;;
14620 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14622 if test $supports_anon_versioning = yes; then
14623 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14624 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14625 $echo "local: *; };" >> $output_objdir/$libname.ver~
14626 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14634 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14635 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14638 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14639 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14644 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14648 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14649 *** create shared libraries on Solaris systems. Therefore, libtool
14650 *** is disabling shared libraries support. We urge you to upgrade GNU
14651 *** binutils to release 2.9.1 or newer. Another option is to modify
14652 *** your PATH or compiler configuration so that the native linker is
14653 *** used, and then restart.
14656 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14657 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14658 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14664 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14665 case `$LD -v 2>&1` in
14666 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14670 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14671 *** reliably create shared libraries on SCO systems. Therefore, libtool
14672 *** is disabling shared libraries support. We urge you to upgrade GNU
14673 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14674 *** your PATH or compiler configuration so that the native linker is
14675 *** used, and then restart.
14680 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14681 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14682 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14683 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14692 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14694 hardcode_direct_F77
=yes
14695 hardcode_shlibpath_var_F77
=no
14699 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14700 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14701 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14708 if test "$ld_shlibs_F77" = no
; then
14710 hardcode_libdir_flag_spec_F77
=
14711 export_dynamic_flag_spec_F77
=
14712 whole_archive_flag_spec_F77
=
14715 # PORTME fill in a description of your system's linker (not GNU ld)
14718 allow_undefined_flag_F77
=unsupported
14719 always_export_symbols_F77
=yes
14720 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14721 # Note: this linker hardcodes the directories in LIBPATH if there
14722 # are no directories specified by -L.
14723 hardcode_minus_L_F77
=yes
14724 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14725 # Neither direct hardcoding nor static linking is supported with a
14727 hardcode_direct_F77
=unsupported
14732 if test "$host_cpu" = ia64
; then
14733 # On IA64, the linker does run time linking by default, so we don't
14734 # have to do anything special.
14735 aix_use_runtimelinking
=no
14736 exp_sym_flag
='-Bexport'
14739 # If we're using GNU nm, then we don't want the "-C" option.
14740 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14741 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
14742 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14744 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14746 aix_use_runtimelinking
=no
14748 # Test if we are trying to use run time linking or normal
14749 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14750 # need to do runtime linking.
14751 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
14752 for ld_flag
in $LDFLAGS; do
14753 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14754 aix_use_runtimelinking
=yes
14761 exp_sym_flag
='-bexport'
14762 no_entry_flag
='-bnoentry'
14765 # When large executables or shared objects are built, AIX ld can
14766 # have problems creating the table of contents. If linking a library
14767 # or program results in "error TOC overflow" add -mminimal-toc to
14768 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14769 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14771 archive_cmds_F77
=''
14772 hardcode_direct_F77
=yes
14773 hardcode_libdir_separator_F77
=':'
14774 link_all_deplibs_F77
=yes
14776 if test "$GCC" = yes; then
14777 case $host_os in aix4.
[012]|aix4.
[012].
*)
14778 # We only want to do this on AIX 4.2 and lower, the check
14779 # below for broken collect2 doesn't work under 4.3+
14780 collect2name
=`${CC} -print-prog-name=collect2`
14781 if test -f "$collect2name" && \
14782 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
14784 # We have reworked collect2
14785 hardcode_direct_F77
=yes
14787 # We have old collect2
14788 hardcode_direct_F77
=unsupported
14789 # It fails to find uninstalled libraries when the uninstalled
14790 # path is not listed in the libpath. Setting hardcode_minus_L
14791 # to unsupported forces relinking
14792 hardcode_minus_L_F77
=yes
14793 hardcode_libdir_flag_spec_F77
='-L$libdir'
14794 hardcode_libdir_separator_F77
=
14798 shared_flag
='-shared'
14799 if test "$aix_use_runtimelinking" = yes; then
14800 shared_flag
="$shared_flag "'${wl}-G'
14804 if test "$host_cpu" = ia64
; then
14805 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14806 # chokes on -Wl,-G. The following line is correct:
14809 if test "$aix_use_runtimelinking" = yes; then
14810 shared_flag
='${wl}-G'
14812 shared_flag
='${wl}-bM:SRE'
14817 # It seems that -bexpall does not export symbols beginning with
14818 # underscore (_), so it is better to generate a list of symbols to export.
14819 always_export_symbols_F77
=yes
14820 if test "$aix_use_runtimelinking" = yes; then
14821 # Warning - without using the other runtime loading flags (-brtl),
14822 # -berok will link without error, but may produce a broken library.
14823 allow_undefined_flag_F77
='-berok'
14824 # Determine the default libpath from the value encoded in an empty executable.
14825 cat >conftest.
$ac_ext <<_ACEOF
14830 rm -f conftest.
$ac_objext conftest
$ac_exeext
14831 if { (ac_try
="$ac_link"
14832 case "(($ac_try" in
14833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14834 *) ac_try_echo=$ac_try;;
14836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14837 (eval "$ac_link") 2>conftest.er1
14839 grep -v '^ *+' conftest.er1 >conftest.err
14841 cat conftest.err >&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); } && {
14844 test -z "$ac_f77_werror_flag" ||
14845 test ! -s conftest.err
14846 } && test -s conftest$ac_exeext &&
14847 $as_test_x conftest$ac_exeext; then
14849 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14851 # Check for a 64-bit object if we didn't find anything.
14852 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14855 echo "$as_me: failed program was:" >&5
14856 sed 's/^/| /' conftest.$ac_ext >&5
14861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14862 conftest$ac_exeext conftest.$ac_ext
14863 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14865 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14866 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14868 if test "$host_cpu" = ia64; then
14869 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14870 allow_undefined_flag_F77="-z nodefs"
14871 archive_expsym_cmds_F77="\$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"
14873 # Determine the default libpath from the value encoded in an empty executable.
14874 cat >conftest.$ac_ext <<_ACEOF
14879 rm -f conftest.$ac_objext conftest$ac_exeext
14880 if { (ac_try="$ac_link"
14881 case "(($ac_try" in
14882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14883 *) ac_try_echo
=$ac_try;;
14885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14886 (eval "$ac_link") 2>conftest.er1
14888 grep -v '^ *+' conftest.er1
>conftest.err
14890 cat conftest.err
>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); } && {
14893 test -z "$ac_f77_werror_flag" ||
14894 test ! -s conftest.err
14895 } && test -s conftest
$ac_exeext &&
14896 $as_test_x conftest
$ac_exeext; then
14898 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14900 # Check for a 64-bit object if we didn't find anything.
14901 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14904 echo "$as_me: failed program was:" >&5
14905 sed 's/^/| /' conftest.
$ac_ext >&5
14910 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14911 conftest
$ac_exeext conftest.
$ac_ext
14912 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14914 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
14915 # Warning - without using the other run time loading flags,
14916 # -berok will link without error, but may produce a broken library.
14917 no_undefined_flag_F77
=' ${wl}-bernotok'
14918 allow_undefined_flag_F77
=' ${wl}-berok'
14919 # Exported symbols can be pulled into shared objects from archives
14920 whole_archive_flag_spec_F77
='$convenience'
14921 archive_cmds_need_lc_F77
=yes
14922 # This is similar to how AIX traditionally builds its shared libraries.
14923 archive_expsym_cmds_F77
="\$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'
14929 archive_cmds_F77
='$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)'
14930 hardcode_libdir_flag_spec_F77
='-L$libdir'
14931 hardcode_minus_L_F77
=yes
14932 # see comment about different semantics on the GNU ld section
14937 export_dynamic_flag_spec_F77
=-rdynamic
14940 cygwin
* | mingw
* | pw32
*)
14941 # When not using gcc, we currently assume that we are using
14942 # Microsoft Visual C++.
14943 # hardcode_libdir_flag_spec is actually meaningless, as there is
14944 # no search path for DLLs.
14945 hardcode_libdir_flag_spec_F77
=' '
14946 allow_undefined_flag_F77
=unsupported
14947 # Tell ltmain to make .lib files, not .a files.
14949 # Tell ltmain to make .dll files, not .so files.
14951 # FIXME: Setting linknames here is a bad hack.
14952 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14953 # The linker will automatically build a .lib file if we build a DLL.
14954 old_archive_From_new_cmds_F77
='true'
14955 # FIXME: Should let the user specify the lib program.
14956 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
14957 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
14958 enable_shared_with_static_runtimes_F77
=yes
14961 darwin
* | rhapsody
*)
14963 rhapsody
* | darwin1.
[012])
14964 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
14967 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14968 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14970 case ${MACOSX_DEPLOYMENT_TARGET} in
14972 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14975 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
14981 archive_cmds_need_lc_F77
=no
14982 hardcode_direct_F77
=no
14983 hardcode_automatic_F77
=yes
14984 hardcode_shlibpath_var_F77
=unsupported
14985 whole_archive_flag_spec_F77
=''
14986 link_all_deplibs_F77
=yes
14987 if test "$GCC" = yes ; then
14988 output_verbose_link_cmd
='echo'
14989 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14990 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14991 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14992 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14993 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14995 case $cc_basename in
14997 output_verbose_link_cmd
='echo'
14998 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14999 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15000 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15001 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15002 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15012 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15013 hardcode_libdir_flag_spec_F77
='-L$libdir'
15014 hardcode_shlibpath_var_F77
=no
15021 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15022 # support. Future versions do this automatically, but an explicit c++rt0.o
15023 # does not break anything, and helps significantly (at the cost of a little
15026 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15027 hardcode_libdir_flag_spec_F77
='-R$libdir'
15028 hardcode_direct_F77
=yes
15029 hardcode_shlibpath_var_F77
=no
15032 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15034 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15035 hardcode_direct_F77
=yes
15036 hardcode_minus_L_F77
=yes
15037 hardcode_shlibpath_var_F77
=no
15040 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15041 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15042 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15043 hardcode_libdir_flag_spec_F77
='-R$libdir'
15044 hardcode_direct_F77
=yes
15045 hardcode_shlibpath_var_F77
=no
15049 if test "$GCC" = yes; then
15050 archive_cmds_F77
='$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'
15052 archive_cmds_F77
='$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'
15054 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15055 hardcode_libdir_separator_F77
=:
15056 hardcode_direct_F77
=yes
15058 # hardcode_minus_L: Not really in the search PATH,
15059 # but as the default location of the library.
15060 hardcode_minus_L_F77
=yes
15061 export_dynamic_flag_spec_F77
='${wl}-E'
15065 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15066 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15068 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15070 if test "$with_gnu_ld" = no
; then
15071 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15072 hardcode_libdir_separator_F77
=:
15074 hardcode_direct_F77
=yes
15075 export_dynamic_flag_spec_F77
='${wl}-E'
15077 # hardcode_minus_L: Not really in the search PATH,
15078 # but as the default location of the library.
15079 hardcode_minus_L_F77
=yes
15084 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15087 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15090 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15093 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15099 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15102 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15105 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15109 if test "$with_gnu_ld" = no
; then
15110 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15111 hardcode_libdir_separator_F77
=:
15115 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15116 hardcode_direct_F77
=no
15117 hardcode_shlibpath_var_F77
=no
15120 hardcode_direct_F77
=yes
15121 export_dynamic_flag_spec_F77
='${wl}-E'
15123 # hardcode_minus_L: Not really in the search PATH,
15124 # but as the default location of the library.
15125 hardcode_minus_L_F77
=yes
15131 irix5
* | irix6
* | nonstopux
*)
15132 if test "$GCC" = yes; then
15133 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15135 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15136 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15138 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15139 hardcode_libdir_separator_F77
=:
15140 link_all_deplibs_F77
=yes
15144 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15145 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15147 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15149 hardcode_libdir_flag_spec_F77
='-R$libdir'
15150 hardcode_direct_F77
=yes
15151 hardcode_shlibpath_var_F77
=no
15155 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15156 hardcode_direct_F77
=yes
15157 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15158 hardcode_libdir_separator_F77
=:
15159 hardcode_shlibpath_var_F77
=no
15163 hardcode_direct_F77
=yes
15164 hardcode_shlibpath_var_F77
=no
15165 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15166 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15167 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15168 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15169 export_dynamic_flag_spec_F77
='${wl}-E'
15172 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15173 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15174 hardcode_libdir_flag_spec_F77
='-R$libdir'
15177 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15178 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15185 hardcode_libdir_flag_spec_F77
='-L$libdir'
15186 hardcode_minus_L_F77
=yes
15187 allow_undefined_flag_F77
=unsupported
15188 archive_cmds_F77
='$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'
15189 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15193 if test "$GCC" = yes; then
15194 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15195 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15197 allow_undefined_flag_F77
=' -expect_unresolved \*'
15198 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15200 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15201 hardcode_libdir_separator_F77
=:
15204 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15205 if test "$GCC" = yes; then
15206 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15207 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15208 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15210 allow_undefined_flag_F77
=' -expect_unresolved \*'
15211 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15212 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15213 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15215 # Both c and cxx compiler support -rpath directly
15216 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15218 hardcode_libdir_separator_F77
=:
15222 no_undefined_flag_F77
=' -z text'
15223 if test "$GCC" = yes; then
15225 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15226 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15227 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15230 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15231 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15232 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15234 hardcode_libdir_flag_spec_F77
='-R$libdir'
15235 hardcode_shlibpath_var_F77
=no
15237 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15239 # The compiler driver will combine linker options so we
15240 # cannot just pass the convience library names through
15241 # without $wl, iff we do not link with $LD.
15242 # Luckily, gcc supports the same syntax we need for Sun Studio.
15243 # Supported since Solaris 2.6 (maybe 2.5.1?)
15246 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract' ;;
15248 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15251 link_all_deplibs_F77
=yes
15255 if test "x$host_vendor" = xsequent
; then
15256 # Use $CC to link under sequent, because it throws in some extra .o
15257 # files that make .init and .fini sections work.
15258 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15260 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15262 hardcode_libdir_flag_spec_F77
='-L$libdir'
15263 hardcode_direct_F77
=yes
15264 hardcode_minus_L_F77
=yes
15265 hardcode_shlibpath_var_F77
=no
15269 case $host_vendor in
15271 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15272 hardcode_direct_F77
=yes # is this really true???
15275 ## LD is ld it makes a PLAMLIB
15276 ## CC just makes a GrossModule.
15277 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15278 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15279 hardcode_direct_F77
=no
15282 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15283 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15286 runpath_var
='LD_RUN_PATH'
15287 hardcode_shlibpath_var_F77
=no
15291 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15292 hardcode_shlibpath_var_F77
=no
15293 export_dynamic_flag_spec_F77
='-Bexport'
15297 if test -d /usr
/nec
; then
15298 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15299 hardcode_shlibpath_var_F77
=no
15300 runpath_var
=LD_RUN_PATH
15301 hardcode_runpath_var
=yes
15306 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
15307 no_undefined_flag_F77
='${wl}-z,text'
15308 archive_cmds_need_lc_F77
=no
15309 hardcode_shlibpath_var_F77
=no
15310 runpath_var
='LD_RUN_PATH'
15312 if test "$GCC" = yes; then
15313 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15314 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15316 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15317 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15321 sysv5
* | sco3.2v5
* | sco5v6
*)
15322 # Note: We can NOT use -z defs as we might desire, because we do not
15323 # link with -lc, and that would cause any symbols used from libc to
15324 # always be unresolved, which means just about no library would
15325 # ever link correctly. If we're not using GNU ld we use -z text
15326 # though, which does catch some bad symbols but isn't as heavy-handed
15328 no_undefined_flag_F77
='${wl}-z,text'
15329 allow_undefined_flag_F77
='${wl}-z,nodefs'
15330 archive_cmds_need_lc_F77
=no
15331 hardcode_shlibpath_var_F77
=no
15332 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15333 hardcode_libdir_separator_F77
=':'
15334 link_all_deplibs_F77
=yes
15335 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15336 runpath_var
='LD_RUN_PATH'
15338 if test "$GCC" = yes; then
15339 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15340 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15342 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15343 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15348 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15349 hardcode_libdir_flag_spec_F77
='-L$libdir'
15350 hardcode_shlibpath_var_F77
=no
15359 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15360 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15361 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15364 # Do we need to explicitly link libc?
15366 case "x$archive_cmds_need_lc_F77" in
15368 # Assume -lc should be added
15369 archive_cmds_need_lc_F77
=yes
15371 if test "$enable_shared" = yes && test "$GCC" = yes; then
15372 case $archive_cmds_F77 in
15374 # FIXME: we may have to deal with multi-command sequences.
15377 # Test whether the compiler implicitly links with -lc since on some
15378 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15379 # to ld, don't add -lc before -lgcc.
15380 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15381 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15383 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); } 2>conftest.err
; then
15392 libobjs
=conftest.
$ac_objext
15394 wl
=$lt_prog_compiler_wl_F77
15395 pic_flag
=$lt_prog_compiler_pic_F77
15401 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15402 allow_undefined_flag_F77
=
15403 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15404 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }
15409 archive_cmds_need_lc_F77
=no
15411 archive_cmds_need_lc_F77
=yes
15413 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15415 cat conftest.err
1>&5
15418 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15419 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15426 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15427 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15428 library_names_spec
=
15429 libname_spec
='lib$name'
15433 postuninstall_cmds
=
15437 shlibpath_overrides_runpath
=unknown
15439 dynamic_linker
="$host_os ld.so"
15440 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15441 if test "$GCC" = yes; then
15442 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15443 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
15444 # if the path contains ";" then we assume it to be the separator
15445 # otherwise default to the standard path separator (i.e. ":") - it is
15446 # assumed that no part of a normal pathname contains ";" but that should
15447 # okay in the real world where ";" in dirpaths is itself problematic.
15448 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15450 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15453 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
15455 need_lib_prefix
=unknown
15456 hardcode_into_libs
=no
15458 # when you set need_version to no, make sure it does not cause -set_version
15459 # flags to be left without arguments
15460 need_version
=unknown
15465 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15466 shlibpath_var
=LIBPATH
15468 # AIX 3 has no versioning support, so we append a major version to the name.
15469 soname_spec
='${libname}${release}${shared_ext}$major'
15476 hardcode_into_libs
=yes
15477 if test "$host_cpu" = ia64
; then
15478 # AIX 5 supports IA64
15479 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15480 shlibpath_var
=LD_LIBRARY_PATH
15482 # With GCC up to 2.95.x, collect2 would create an import file
15483 # for dependence libraries. The import file would start with
15484 # the line `#! .'. This would cause the generated library to
15485 # depend on `.', always an invalid library. This was fixed in
15486 # development snapshots of GCC prior to 3.0.
15488 aix4 | aix4.
[01] | aix4.
[01].
*)
15489 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15491 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15494 can_build_shared
=no
15498 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15499 # soname into executable. Probably we can add versioning support to
15500 # collect2, so additional links can be useful in future.
15501 if test "$aix_use_runtimelinking" = yes; then
15502 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15503 # instead of lib<name>.a to let people know that these are not
15504 # typical AIX shared libraries.
15505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15507 # We preserve .a as extension for shared libraries through AIX4.2
15508 # and later when we are not doing run time linking.
15509 library_names_spec
='${libname}${release}.a $libname.a'
15510 soname_spec
='${libname}${release}${shared_ext}$major'
15512 shlibpath_var
=LIBPATH
15517 library_names_spec
='$libname.ixlibrary $libname.a'
15518 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15519 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'
15523 library_names_spec
='${libname}${shared_ext}'
15524 dynamic_linker
="$host_os ld.so"
15525 shlibpath_var
=LIBRARY_PATH
15531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15532 soname_spec
='${libname}${release}${shared_ext}$major'
15533 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15534 shlibpath_var
=LD_LIBRARY_PATH
15535 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15536 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15537 # the default ld.so.conf also contains /usr/contrib/lib and
15538 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15539 # libtool to hard-code these into programs
15542 cygwin
* | mingw
* | pw32
*)
15543 version_type
=windows
15548 case $GCC,$host_os in
15549 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15550 library_names_spec
='$libname.dll.a'
15551 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15552 postinstall_cmds
='base_file=`basename \${file}`~
15553 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15554 dldir=$destdir/`dirname \$dlpath`~
15555 test -d \$dldir || mkdir -p \$dldir~
15556 $install_prog $dir/$dlname \$dldir/$dlname~
15557 chmod a+x \$dldir/$dlname'
15558 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15559 dlpath=$dir/\$dldll~
15561 shlibpath_overrides_runpath
=yes
15565 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15566 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15567 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15570 # MinGW DLLs use traditional 'lib' prefix
15571 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15572 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15573 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15574 # It is most probably a Windows format PATH printed by
15575 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15576 # path with ; separators, and with drive letters. We can handle the
15577 # drive letters (cygwin fileutils understands them), so leave them,
15578 # especially as we might pass files found there to a mingw objdump,
15579 # which wouldn't understand a cygwinified path. Ahh.
15580 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15582 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15586 # pw32 DLLs use 'pw' prefix rather than 'lib'
15587 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15593 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15596 dynamic_linker
='Win32 ld.exe'
15597 # FIXME: first we should search . and the directory the executable is in
15601 darwin
* | rhapsody
*)
15602 dynamic_linker
="$host_os dyld"
15603 version_type
=darwin
15606 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15607 soname_spec
='${libname}${release}${major}$shared_ext'
15608 shlibpath_overrides_runpath
=yes
15609 shlibpath_var
=DYLD_LIBRARY_PATH
15610 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15611 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15612 if test "$GCC" = yes; then
15613 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15615 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
15617 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15625 soname_spec
='${libname}${release}${shared_ext}$major'
15626 shlibpath_var
=LD_LIBRARY_PATH
15637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15638 soname_spec
='${libname}${release}${shared_ext}$major'
15639 shlibpath_var
=LD_LIBRARY_PATH
15640 shlibpath_overrides_runpath
=no
15641 hardcode_into_libs
=yes
15642 dynamic_linker
='GNU ld.so'
15645 freebsd
* | dragonfly
*)
15646 # DragonFly does not have aout. When/if they implement a new
15647 # versioning mechanism, adjust this.
15648 if test -x /usr
/bin
/objformat
; then
15649 objformat
=`/usr/bin/objformat`
15652 freebsd
[123]*) objformat
=aout
;;
15653 *) objformat
=elf
;;
15656 version_type
=freebsd-
$objformat
15657 case $version_type in
15659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15664 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15668 shlibpath_var
=LD_LIBRARY_PATH
15671 shlibpath_overrides_runpath
=yes
15673 freebsd3.
[01]* | freebsdelf3.
[01]*)
15674 shlibpath_overrides_runpath
=yes
15675 hardcode_into_libs
=yes
15677 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15678 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15679 shlibpath_overrides_runpath
=no
15680 hardcode_into_libs
=yes
15682 freebsd
*) # from 4.6 on
15683 shlibpath_overrides_runpath
=yes
15684 hardcode_into_libs
=yes
15693 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15694 soname_spec
='${libname}${release}${shared_ext}$major'
15695 shlibpath_var
=LD_LIBRARY_PATH
15696 hardcode_into_libs
=yes
15699 hpux9
* | hpux10
* | hpux11
*)
15700 # Give a soname corresponding to the major version so that dld.sl refuses to
15701 # link against other versions.
15708 hardcode_into_libs
=yes
15709 dynamic_linker
="$host_os dld.so"
15710 shlibpath_var
=LD_LIBRARY_PATH
15711 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15713 soname_spec
='${libname}${release}${shared_ext}$major'
15714 if test "X$HPUX_IA64_MODE" = X32
; then
15715 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15717 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15719 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15723 hardcode_into_libs
=yes
15724 dynamic_linker
="$host_os dld.sl"
15725 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15726 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15728 soname_spec
='${libname}${release}${shared_ext}$major'
15729 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15730 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15734 dynamic_linker
="$host_os dld.sl"
15735 shlibpath_var
=SHLIB_PATH
15736 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15738 soname_spec
='${libname}${release}${shared_ext}$major'
15741 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15742 postinstall_cmds
='chmod 555 $lib'
15749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15750 soname_spec
='${libname}${release}${shared_ext}$major'
15751 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15752 shlibpath_var
=LD_LIBRARY_PATH
15753 shlibpath_overrides_runpath
=no
15754 hardcode_into_libs
=yes
15757 irix5
* | irix6
* | nonstopux
*)
15759 nonstopux
*) version_type
=nonstopux
;;
15761 if test "$lt_cv_prog_gnu_ld" = yes; then
15769 soname_spec
='${libname}${release}${shared_ext}$major'
15770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15772 irix5
* | nonstopux
*)
15773 libsuff
= shlibsuff
=
15776 case $LD in # libtool.m4 will add one of these switches to LD
15777 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15778 libsuff
= shlibsuff
= libmagic
=32-bit;;
15779 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15780 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15781 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15782 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15783 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15787 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15788 shlibpath_overrides_runpath
=no
15789 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15790 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15791 hardcode_into_libs
=yes
15794 # No shared lib support for Linux oldld, aout, or coff.
15795 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15799 # This must be Linux ELF.
15804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15805 soname_spec
='${libname}${release}${shared_ext}$major'
15806 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15807 shlibpath_var
=LD_LIBRARY_PATH
15808 shlibpath_overrides_runpath
=no
15809 # This implies no fast_install, which is unacceptable.
15810 # Some rework will be needed to allow for fast_install
15811 # before this can be enabled.
15812 hardcode_into_libs
=yes
15814 # find out which ABI we are using
15816 case "$host_cpu" in
15817 x86_64
*|s390x
*|powerpc64
*)
15818 echo '#line 15818 "configure"' > conftest.
$ac_ext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15820 (eval $ac_compile) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; then
15824 case `/usr/bin/file conftest.$ac_objext` in
15827 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15835 # Append ld.so.conf contents to the search path
15836 if test -f /etc
/ld.so.conf
; then
15837 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15838 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15841 # We used to test for /lib/ld.so.1 and disable shared libraries on
15842 # powerpc, because MkLinux only supported shared libraries with the
15843 # GNU dynamic linker. Since this was broken with cross compilers,
15844 # most powerpc-linux boxes support dynamic linking these days and
15845 # people can always --disable-shared, the test was removed, and we
15846 # assume the GNU/Linux dynamic linker is in use.
15847 dynamic_linker
='GNU/Linux ld.so'
15854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15855 soname_spec
='${libname}${release}${shared_ext}$major'
15856 shlibpath_var
=LD_LIBRARY_PATH
15857 shlibpath_overrides_runpath
=no
15858 hardcode_into_libs
=yes
15859 dynamic_linker
='GNU ld.so'
15866 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15867 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15868 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15869 dynamic_linker
='NetBSD (a.out) ld.so'
15871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15872 soname_spec
='${libname}${release}${shared_ext}$major'
15873 dynamic_linker
='NetBSD ld.elf_so'
15875 shlibpath_var
=LD_LIBRARY_PATH
15876 shlibpath_overrides_runpath
=yes
15877 hardcode_into_libs
=yes
15882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15883 shlibpath_var
=LD_LIBRARY_PATH
15884 shlibpath_overrides_runpath
=yes
15891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15892 soname_spec
='${libname}${release}${shared_ext}$major'
15893 shlibpath_var
=LD_LIBRARY_PATH
15894 shlibpath_overrides_runpath
=yes
15899 sys_lib_dlsearch_path_spec
="/usr/lib"
15901 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15903 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15904 *) need_version
=no
;;
15906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15907 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15908 shlibpath_var
=LD_LIBRARY_PATH
15909 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15911 openbsd2.
[89] | openbsd2.
[89].
*)
15912 shlibpath_overrides_runpath
=no
15915 shlibpath_overrides_runpath
=yes
15919 shlibpath_overrides_runpath
=yes
15924 libname_spec
='$name'
15927 library_names_spec
='$libname${shared_ext} $libname.a'
15928 dynamic_linker
='OS/2 ld.exe'
15929 shlibpath_var
=LIBPATH
15932 osf3
* | osf4
* | osf5
*)
15936 soname_spec
='${libname}${release}${shared_ext}$major'
15937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15938 shlibpath_var
=LD_LIBRARY_PATH
15939 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15940 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15948 soname_spec
='${libname}${release}${shared_ext}$major'
15949 shlibpath_var
=LD_LIBRARY_PATH
15950 shlibpath_overrides_runpath
=yes
15951 hardcode_into_libs
=yes
15952 # ldd complains unless libraries are executable
15953 postinstall_cmds
='chmod +x $lib'
15958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15959 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15960 shlibpath_var
=LD_LIBRARY_PATH
15961 shlibpath_overrides_runpath
=yes
15962 if test "$with_gnu_ld" = yes; then
15970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15971 soname_spec
='${libname}${release}${shared_ext}$major'
15972 shlibpath_var
=LD_LIBRARY_PATH
15973 case $host_vendor in
15975 shlibpath_overrides_runpath
=no
15977 export_dynamic_flag_spec
='${wl}-Blargedynsym'
15978 runpath_var
=LD_RUN_PATH
15986 shlibpath_overrides_runpath
=no
15987 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15993 if test -d /usr
/nec
;then
15995 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15996 soname_spec
='$libname${shared_ext}.$major'
15997 shlibpath_var
=LD_LIBRARY_PATH
16001 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16002 version_type
=freebsd-elf
16005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16006 soname_spec
='${libname}${release}${shared_ext}$major'
16007 shlibpath_var
=LD_LIBRARY_PATH
16008 hardcode_into_libs
=yes
16009 if test "$with_gnu_ld" = yes; then
16010 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16011 shlibpath_overrides_runpath
=no
16013 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16014 shlibpath_overrides_runpath
=yes
16017 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16021 sys_lib_dlsearch_path_spec
='/usr/lib'
16026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16027 soname_spec
='${libname}${release}${shared_ext}$major'
16028 shlibpath_var
=LD_LIBRARY_PATH
16035 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16036 echo "${ECHO_T}$dynamic_linker" >&6; }
16037 test "$dynamic_linker" = no
&& can_build_shared
=no
16039 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16040 if test "$GCC" = yes; then
16041 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16044 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16045 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16046 hardcode_action_F77
=
16047 if test -n "$hardcode_libdir_flag_spec_F77" || \
16048 test -n "$runpath_var_F77" || \
16049 test "X$hardcode_automatic_F77" = "Xyes" ; then
16051 # We can hardcode non-existant directories.
16052 if test "$hardcode_direct_F77" != no
&&
16053 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16054 # have to relink, otherwise we might link with an installed library
16055 # when we should be linking with a yet-to-be-installed one
16056 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16057 test "$hardcode_minus_L_F77" != no
; then
16058 # Linking always hardcodes the temporary library directory.
16059 hardcode_action_F77
=relink
16061 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16062 hardcode_action_F77
=immediate
16065 # We cannot hardcode anything, or else we can only hardcode existing
16067 hardcode_action_F77
=unsupported
16069 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16070 echo "${ECHO_T}$hardcode_action_F77" >&6; }
16072 if test "$hardcode_action_F77" = relink
; then
16073 # Fast installation is not supported
16074 enable_fast_install
=no
16075 elif test "$shlibpath_overrides_runpath" = yes ||
16076 test "$enable_shared" = no
; then
16077 # Fast installation is not necessary
16078 enable_fast_install
=needless
16082 # The else clause should only fire when bootstrapping the
16083 # libtool distribution, otherwise you forgot to ship ltmain.sh
16084 # with your package, and you will get complaints that there are
16085 # no rules to generate ltmain.sh.
16086 if test -f "$ltmain"; then
16087 # See if we are running on zsh, and set the options which allow our commands through
16088 # without removal of \ escapes.
16089 if test -n "${ZSH_VERSION+set}" ; then
16090 setopt NO_GLOB_SUBST
16092 # Now quote all the things that may contain metacharacters while being
16093 # careful not to overquote the AC_SUBSTed values. We take copies of the
16094 # variables and quote the copies for generation of the libtool script.
16095 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16097 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16098 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16099 deplibs_check_method reload_flag reload_cmds need_locks \
16100 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16101 lt_cv_sys_global_symbol_to_c_name_address \
16102 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16103 old_postinstall_cmds old_postuninstall_cmds \
16107 lt_prog_compiler_wl_F77 \
16108 lt_prog_compiler_pic_F77 \
16109 lt_prog_compiler_static_F77 \
16110 lt_prog_compiler_no_builtin_flag_F77 \
16111 export_dynamic_flag_spec_F77 \
16112 thread_safe_flag_spec_F77 \
16113 whole_archive_flag_spec_F77 \
16114 enable_shared_with_static_runtimes_F77 \
16115 old_archive_cmds_F77 \
16116 old_archive_from_new_cmds_F77 \
16117 predep_objects_F77 \
16118 postdep_objects_F77 \
16121 compiler_lib_search_path_F77 \
16123 archive_expsym_cmds_F77 \
16124 postinstall_cmds_F77 \
16125 postuninstall_cmds_F77 \
16126 old_archive_from_expsyms_cmds_F77 \
16127 allow_undefined_flag_F77 \
16128 no_undefined_flag_F77 \
16129 export_symbols_cmds_F77 \
16130 hardcode_libdir_flag_spec_F77 \
16131 hardcode_libdir_flag_spec_ld_F77 \
16132 hardcode_libdir_separator_F77 \
16133 hardcode_automatic_F77 \
16135 module_expsym_cmds_F77 \
16136 lt_cv_prog_compiler_c_o_F77 \
16137 exclude_expsyms_F77 \
16138 include_expsyms_F77
; do
16141 old_archive_cmds_F77 | \
16142 old_archive_from_new_cmds_F77 | \
16143 archive_cmds_F77 | \
16144 archive_expsym_cmds_F77 | \
16145 module_cmds_F77 | \
16146 module_expsym_cmds_F77 | \
16147 old_archive_from_expsyms_cmds_F77 | \
16148 export_symbols_cmds_F77 | \
16149 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16150 postinstall_cmds | postuninstall_cmds | \
16151 old_postinstall_cmds | old_postuninstall_cmds | \
16152 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16153 # Double-quote double-evaled strings.
16154 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16157 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16163 *'\$0 --fallback-echo"')
16164 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16170 cat <<__EOF__ >> "$cfgfile"
16171 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16173 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16175 # Shell to use when invoking shell scripts.
16178 # Whether or not to build shared libraries.
16179 build_libtool_libs=$enable_shared
16181 # Whether or not to build static libraries.
16182 build_old_libs=$enable_static
16184 # Whether or not to add -lc for building shared libraries.
16185 build_libtool_need_lc=$archive_cmds_need_lc_F77
16187 # Whether or not to disallow shared libs when runtime libs are static
16188 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16190 # Whether or not to optimize for fast installation.
16191 fast_install=$enable_fast_install
16194 host_alias=$host_alias
16198 # The build system.
16199 build_alias=$build_alias
16203 # An echo program that does not interpret backslashes.
16208 AR_FLAGS=$lt_AR_FLAGS
16213 # LTCC compiler flags.
16214 LTCFLAGS=$lt_LTCFLAGS
16216 # A language-specific compiler.
16217 CC=$lt_compiler_F77
16219 # Is the compiler the GNU C compiler?
16225 # The linker used to build libraries.
16228 # Whether we need hard or soft links.
16231 # A BSD-compatible nm program.
16234 # A symbol stripping program
16237 # Used to examine libraries when file_magic_cmd begins "file"
16238 MAGIC_CMD=$MAGIC_CMD
16240 # Used on cygwin: DLL creation program.
16243 # Used on cygwin: object dumper.
16246 # Used on cygwin: assembler.
16249 # The name of the directory that contains temporary libtool files.
16252 # How to create reloadable object files.
16253 reload_flag=$lt_reload_flag
16254 reload_cmds=$lt_reload_cmds
16256 # How to pass a linker flag through the compiler.
16257 wl=$lt_lt_prog_compiler_wl_F77
16259 # Object file suffix (normally "o").
16260 objext="$ac_objext"
16262 # Old archive suffix (normally "a").
16265 # Shared library suffix (normally ".so").
16266 shrext_cmds='$shrext_cmds'
16268 # Executable file suffix (normally "").
16271 # Additional compiler flags for building library objects.
16272 pic_flag=$lt_lt_prog_compiler_pic_F77
16275 # What is the maximum length of a command?
16276 max_cmd_len=$lt_cv_sys_max_cmd_len
16278 # Does compiler simultaneously support -c and -o options?
16279 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16281 # Must we lock files when doing compilation?
16282 need_locks=$lt_need_locks
16284 # Do we need the lib prefix for modules?
16285 need_lib_prefix=$need_lib_prefix
16287 # Do we need a version for libraries?
16288 need_version=$need_version
16290 # Whether dlopen is supported.
16291 dlopen_support=$enable_dlopen
16293 # Whether dlopen of programs is supported.
16294 dlopen_self=$enable_dlopen_self
16296 # Whether dlopen of statically linked programs is supported.
16297 dlopen_self_static=$enable_dlopen_self_static
16299 # Compiler flag to prevent dynamic linking.
16300 link_static_flag=$lt_lt_prog_compiler_static_F77
16302 # Compiler flag to turn off builtin functions.
16303 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16305 # Compiler flag to allow reflexive dlopens.
16306 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16308 # Compiler flag to generate shared objects directly from archives.
16309 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16311 # Compiler flag to generate thread-safe objects.
16312 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16314 # Library versioning type.
16315 version_type=$version_type
16317 # Format of library name prefix.
16318 libname_spec=$lt_libname_spec
16320 # List of archive names. First name is the real one, the rest are links.
16321 # The last name is the one that the linker finds with -lNAME.
16322 library_names_spec=$lt_library_names_spec
16324 # The coded name of the library, if different from the real name.
16325 soname_spec=$lt_soname_spec
16327 # Commands used to build and install an old-style archive.
16329 old_archive_cmds=$lt_old_archive_cmds_F77
16330 old_postinstall_cmds=$lt_old_postinstall_cmds
16331 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16333 # Create an old-style archive from a shared archive.
16334 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16336 # Create a temporary old-style archive to link instead of a shared archive.
16337 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16339 # Commands used to build and install a shared archive.
16340 archive_cmds=$lt_archive_cmds_F77
16341 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16342 postinstall_cmds=$lt_postinstall_cmds
16343 postuninstall_cmds=$lt_postuninstall_cmds
16345 # Commands used to build a loadable module (assumed same as above if empty)
16346 module_cmds=$lt_module_cmds_F77
16347 module_expsym_cmds=$lt_module_expsym_cmds_F77
16349 # Commands to strip libraries.
16350 old_striplib=$lt_old_striplib
16351 striplib=$lt_striplib
16353 # Dependencies to place before the objects being linked to create a
16355 predep_objects=$lt_predep_objects_F77
16357 # Dependencies to place after the objects being linked to create a
16359 postdep_objects=$lt_postdep_objects_F77
16361 # Dependencies to place before the objects being linked to create a
16363 predeps=$lt_predeps_F77
16365 # Dependencies to place after the objects being linked to create a
16367 postdeps=$lt_postdeps_F77
16369 # The library search path used internally by the compiler when linking
16370 # a shared library.
16371 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16373 # Method to check whether dependent libraries are shared objects.
16374 deplibs_check_method=$lt_deplibs_check_method
16376 # Command to use when deplibs_check_method == file_magic.
16377 file_magic_cmd=$lt_file_magic_cmd
16379 # Flag that allows shared libraries with undefined symbols to be built.
16380 allow_undefined_flag=$lt_allow_undefined_flag_F77
16382 # Flag that forces no undefined symbols.
16383 no_undefined_flag=$lt_no_undefined_flag_F77
16385 # Commands used to finish a libtool library installation in a directory.
16386 finish_cmds=$lt_finish_cmds
16388 # Same as above, but a single script fragment to be evaled but not shown.
16389 finish_eval=$lt_finish_eval
16391 # Take the output of nm and produce a listing of raw symbols and C names.
16392 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16394 # Transform the output of nm in a proper C declaration
16395 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16397 # Transform the output of nm in a C name address pair
16398 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16400 # This is the shared library runtime path variable.
16401 runpath_var=$runpath_var
16403 # This is the shared library path variable.
16404 shlibpath_var=$shlibpath_var
16406 # Is shlibpath searched before the hard-coded library search path?
16407 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16409 # How to hardcode a shared library path into an executable.
16410 hardcode_action=$hardcode_action_F77
16412 # Whether we should hardcode library paths into libraries.
16413 hardcode_into_libs=$hardcode_into_libs
16415 # Flag to hardcode \$libdir into a binary during linking.
16416 # This must work even if \$libdir does not exist.
16417 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16419 # If ld is used when linking, flag to hardcode \$libdir into
16420 # a binary during linking. This must work even if \$libdir does
16422 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16424 # Whether we need a single -rpath flag with a separated argument.
16425 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16427 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16428 # resulting binary.
16429 hardcode_direct=$hardcode_direct_F77
16431 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16432 # resulting binary.
16433 hardcode_minus_L=$hardcode_minus_L_F77
16435 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16436 # the resulting binary.
16437 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16439 # Set to yes if building a shared library automatically hardcodes DIR into the library
16440 # and all subsequent libraries and executables linked against it.
16441 hardcode_automatic=$hardcode_automatic_F77
16443 # Variables whose values should be saved in libtool wrapper scripts and
16444 # restored at relink time.
16445 variables_saved_for_relink="$variables_saved_for_relink"
16447 # Whether libtool must link a program against all its dependency libraries.
16448 link_all_deplibs=$link_all_deplibs_F77
16450 # Compile-time system search path for libraries
16451 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16453 # Run-time system search path for libraries
16454 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16456 # Fix the shell variable \$srcfile for the compiler.
16457 fix_srcfile_path="$fix_srcfile_path_F77"
16459 # Set to yes if exported symbols are required.
16460 always_export_symbols=$always_export_symbols_F77
16462 # The commands to list exported symbols.
16463 export_symbols_cmds=$lt_export_symbols_cmds_F77
16465 # The commands to extract the exported symbol list from a shared archive.
16466 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16468 # Symbols that should not be listed in the preloaded symbols.
16469 exclude_expsyms=$lt_exclude_expsyms_F77
16471 # Symbols that must always be exported.
16472 include_expsyms=$lt_include_expsyms_F77
16474 # ### END LIBTOOL TAG CONFIG: $tagname
16480 # If there is no Makefile yet, we rely on a make rule to execute
16481 # `config.status --recheck' to rerun these tests and create the
16482 # libtool script then.
16483 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16484 if test -f "$ltmain_in"; then
16485 test -f Makefile
&& make "$ltmain"
16491 ac_cpp
='$CPP $CPPFLAGS'
16492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16504 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16507 # Source file extension for Java test sources.
16510 # Object file extension for compiled Java test sources.
16514 # Code to be used in simple compile tests
16515 lt_simple_compile_test_code
="class foo {}\n"
16517 # Code to be used in simple link tests
16518 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
16520 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16522 # If no C compiler was specified, use CC.
16525 # If no C compiler flags were specified, use CFLAGS.
16526 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16528 # Allow CC to be a program name with arguments.
16532 # save warnings/boilerplate of simple test code
16533 ac_outfile
=conftest.
$ac_objext
16534 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
16535 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16536 _lt_compiler_boilerplate
=`cat conftest.err`
16539 ac_outfile
=conftest.
$ac_objext
16540 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
16541 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16542 _lt_linker_boilerplate
=`cat conftest.err`
16546 # Allow CC to be a program name with arguments.
16551 for cc_temp
in $compiler""; do
16553 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16554 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16559 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16562 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16563 archive_cmds_need_lc_GCJ
=no
16565 old_archive_cmds_GCJ
=$old_archive_cmds
16568 lt_prog_compiler_no_builtin_flag_GCJ
=
16570 if test "$GCC" = yes; then
16571 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16574 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16575 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16576 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16577 echo $ECHO_N "(cached) $ECHO_C" >&6
16579 lt_cv_prog_compiler_rtti_exceptions
=no
16580 ac_outfile
=conftest.
$ac_objext
16581 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16582 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16583 # Insert the option either (1) after the last *FLAGS variable, or
16584 # (2) before a word containing "conftest.", or (3) at the end.
16585 # Note that $ac_compile itself does not contain backslashes and begins
16586 # with a dollar sign (not a hyphen), so the echo should work correctly.
16587 # The option is referenced via a variable to avoid confusing sed.
16588 lt_compile
=`echo "$ac_compile" | $SED \
16589 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16590 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16591 -e 's:$: $lt_compiler_flag:'`
16592 (eval echo "\"\$as_me:16592: $lt_compile\"" >&5)
16593 (eval "$lt_compile" 2>conftest.err
)
16595 cat conftest.err
>&5
16596 echo "$as_me:16596: \$? = $ac_status" >&5
16597 if (exit $ac_status) && test -s "$ac_outfile"; then
16598 # The compiler can only warn and ignore the option if not recognized
16599 # So say no if there are warnings other than the usual output.
16600 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16601 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16602 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16603 lt_cv_prog_compiler_rtti_exceptions
=yes
16609 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16610 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16612 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16613 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16620 lt_prog_compiler_wl_GCJ
=
16621 lt_prog_compiler_pic_GCJ
=
16622 lt_prog_compiler_static_GCJ
=
16624 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16625 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16627 if test "$GCC" = yes; then
16628 lt_prog_compiler_wl_GCJ
='-Wl,'
16629 lt_prog_compiler_static_GCJ
='-static'
16633 # All AIX code is PIC.
16634 if test "$host_cpu" = ia64
; then
16635 # AIX 5 now supports IA64 processor
16636 lt_prog_compiler_static_GCJ
='-Bstatic'
16641 # FIXME: we need at least 68020 code to build shared libraries, but
16642 # adding the `-m68020' flag to GCC prevents building anything better,
16644 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16647 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16648 # PIC is the default for these OSes.
16651 mingw
* | pw32
* | os2
*)
16652 # This hack is so that the source file can tell whether it is being
16653 # built for inclusion in a dll (and should export symbols for example).
16654 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16657 darwin
* | rhapsody
*)
16658 # PIC is the default on this platform
16659 # Common symbols not allowed in MH_DYLIB files
16660 lt_prog_compiler_pic_GCJ
='-fno-common'
16664 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16665 # Instead, we relocate shared libraries at runtime.
16669 # Just because we use GCC doesn't mean we suddenly get shared libraries
16670 # on systems that don't support them.
16671 lt_prog_compiler_can_build_shared_GCJ
=no
16676 if test -d /usr
/nec
; then
16677 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16682 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16683 # not for PA HP-UX.
16689 lt_prog_compiler_pic_GCJ
='-fPIC'
16695 lt_prog_compiler_pic_GCJ
='-fPIC'
16699 # PORTME Check for flag to pass linker flags through the system compiler.
16702 lt_prog_compiler_wl_GCJ
='-Wl,'
16703 if test "$host_cpu" = ia64
; then
16704 # AIX 5 now supports IA64 processor
16705 lt_prog_compiler_static_GCJ
='-Bstatic'
16707 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16711 # PIC is the default on this platform
16712 # Common symbols not allowed in MH_DYLIB files
16713 case $cc_basename in
16715 lt_prog_compiler_pic_GCJ
='-qnocommon'
16716 lt_prog_compiler_wl_GCJ
='-Wl,'
16721 mingw
* | pw32
* | os2
*)
16722 # This hack is so that the source file can tell whether it is being
16723 # built for inclusion in a dll (and should export symbols for example).
16724 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16727 hpux9
* | hpux10
* | hpux11
*)
16728 lt_prog_compiler_wl_GCJ
='-Wl,'
16729 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16730 # not for PA HP-UX.
16736 lt_prog_compiler_pic_GCJ
='+Z'
16739 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16740 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16743 irix5
* | irix6
* | nonstopux
*)
16744 lt_prog_compiler_wl_GCJ
='-Wl,'
16745 # PIC (with -KPIC) is the default.
16746 lt_prog_compiler_static_GCJ
='-non_shared'
16750 lt_prog_compiler_pic_GCJ
='-KPIC'
16751 lt_prog_compiler_static_GCJ
='-Bstatic'
16755 case $cc_basename in
16757 lt_prog_compiler_wl_GCJ
='-Wl,'
16758 lt_prog_compiler_pic_GCJ
='-KPIC'
16759 lt_prog_compiler_static_GCJ
='-static'
16761 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16762 # Portland Group compilers (*not* the Pentium gcc compiler,
16763 # which looks to be a dead project)
16764 lt_prog_compiler_wl_GCJ
='-Wl,'
16765 lt_prog_compiler_pic_GCJ
='-fpic'
16766 lt_prog_compiler_static_GCJ
='-Bstatic'
16769 lt_prog_compiler_wl_GCJ
='-Wl,'
16770 # All Alpha code is PIC.
16771 lt_prog_compiler_static_GCJ
='-non_shared'
16776 osf3
* | osf4
* | osf5
*)
16777 lt_prog_compiler_wl_GCJ
='-Wl,'
16778 # All OSF/1 code is PIC.
16779 lt_prog_compiler_static_GCJ
='-non_shared'
16783 lt_prog_compiler_pic_GCJ
='-KPIC'
16784 lt_prog_compiler_static_GCJ
='-Bstatic'
16785 case $cc_basename in
16786 f77
* | f90
* | f95
*)
16787 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16789 lt_prog_compiler_wl_GCJ
='-Wl,';;
16794 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16795 lt_prog_compiler_pic_GCJ
='-PIC'
16796 lt_prog_compiler_static_GCJ
='-Bstatic'
16799 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16800 lt_prog_compiler_wl_GCJ
='-Wl,'
16801 lt_prog_compiler_pic_GCJ
='-KPIC'
16802 lt_prog_compiler_static_GCJ
='-Bstatic'
16806 if test -d /usr
/nec
;then
16807 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16808 lt_prog_compiler_static_GCJ
='-Bstatic'
16812 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16813 lt_prog_compiler_wl_GCJ
='-Wl,'
16814 lt_prog_compiler_pic_GCJ
='-KPIC'
16815 lt_prog_compiler_static_GCJ
='-Bstatic'
16819 lt_prog_compiler_wl_GCJ
='-Wl,'
16820 lt_prog_compiler_can_build_shared_GCJ
=no
16824 lt_prog_compiler_pic_GCJ
='-pic'
16825 lt_prog_compiler_static_GCJ
='-Bstatic'
16829 lt_prog_compiler_can_build_shared_GCJ
=no
16834 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16835 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16838 # Check to make sure the PIC flag actually works.
16840 if test -n "$lt_prog_compiler_pic_GCJ"; then
16842 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16843 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16844 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16847 lt_prog_compiler_pic_works_GCJ
=no
16848 ac_outfile
=conftest.
$ac_objext
16849 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16850 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16851 # Insert the option either (1) after the last *FLAGS variable, or
16852 # (2) before a word containing "conftest.", or (3) at the end.
16853 # Note that $ac_compile itself does not contain backslashes and begins
16854 # with a dollar sign (not a hyphen), so the echo should work correctly.
16855 # The option is referenced via a variable to avoid confusing sed.
16856 lt_compile
=`echo "$ac_compile" | $SED \
16857 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16858 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16859 -e 's:$: $lt_compiler_flag:'`
16860 (eval echo "\"\$as_me:16860: $lt_compile\"" >&5)
16861 (eval "$lt_compile" 2>conftest.err
)
16863 cat conftest.err
>&5
16864 echo "$as_me:16864: \$? = $ac_status" >&5
16865 if (exit $ac_status) && test -s "$ac_outfile"; then
16866 # The compiler can only warn and ignore the option if not recognized
16867 # So say no if there are warnings other than the usual output.
16868 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16869 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16870 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16871 lt_prog_compiler_pic_works_GCJ
=yes
16877 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16878 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16880 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16881 case $lt_prog_compiler_pic_GCJ in
16883 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16886 lt_prog_compiler_pic_GCJ
=
16887 lt_prog_compiler_can_build_shared_GCJ
=no
16892 # For platforms which do not support PIC, -DPIC is meaningless:
16894 lt_prog_compiler_pic_GCJ
=
16897 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16902 # Check to make sure the static flag actually works.
16904 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16905 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16906 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16907 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16910 lt_prog_compiler_static_works_GCJ
=no
16911 save_LDFLAGS
="$LDFLAGS"
16912 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16913 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
16914 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16915 # The linker can only warn and ignore the option if not recognized
16916 # So say no if there are warnings
16917 if test -s conftest.err
; then
16918 # Append any errors to the config.log.
16919 cat conftest.err
1>&5
16920 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16921 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16922 if diff conftest.exp conftest.er2
>/dev
/null
; then
16923 lt_prog_compiler_static_works_GCJ
=yes
16926 lt_prog_compiler_static_works_GCJ
=yes
16930 LDFLAGS
="$save_LDFLAGS"
16933 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16934 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16936 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16939 lt_prog_compiler_static_GCJ
=
16943 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16944 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16945 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 lt_cv_prog_compiler_c_o_GCJ
=no
16949 $rm -r conftest
2>/dev
/null
16953 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16955 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16956 # Insert the option either (1) after the last *FLAGS variable, or
16957 # (2) before a word containing "conftest.", or (3) at the end.
16958 # Note that $ac_compile itself does not contain backslashes and begins
16959 # with a dollar sign (not a hyphen), so the echo should work correctly.
16960 lt_compile
=`echo "$ac_compile" | $SED \
16961 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16962 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16963 -e 's:$: $lt_compiler_flag:'`
16964 (eval echo "\"\$as_me:16964: $lt_compile\"" >&5)
16965 (eval "$lt_compile" 2>out
/conftest.err
)
16967 cat out
/conftest.err
>&5
16968 echo "$as_me:16968: \$? = $ac_status" >&5
16969 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16971 # The compiler can only warn and ignore the option if not recognized
16972 # So say no if there are warnings
16973 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16974 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16975 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16976 lt_cv_prog_compiler_c_o_GCJ
=yes
16981 # SGI C++ compiler will create directory out/ii_files/ for
16982 # template instantiation
16983 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
16984 $rm out
/* && rmdir out
16990 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16991 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16994 hard_links
="nottested"
16995 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16996 # do not overwrite the value of need_locks provided by the user
16997 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16998 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17001 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17003 ln conftest.a conftest.b
2>&5 || hard_links
=no
17004 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17005 { echo "$as_me:$LINENO: result: $hard_links" >&5
17006 echo "${ECHO_T}$hard_links" >&6; }
17007 if test "$hard_links" = no
; then
17008 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17009 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17016 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17017 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17020 allow_undefined_flag_GCJ
=
17021 enable_shared_with_static_runtimes_GCJ
=no
17023 archive_expsym_cmds_GCJ
=
17024 old_archive_From_new_cmds_GCJ
=
17025 old_archive_from_expsyms_cmds_GCJ
=
17026 export_dynamic_flag_spec_GCJ
=
17027 whole_archive_flag_spec_GCJ
=
17028 thread_safe_flag_spec_GCJ
=
17029 hardcode_libdir_flag_spec_GCJ
=
17030 hardcode_libdir_flag_spec_ld_GCJ
=
17031 hardcode_libdir_separator_GCJ
=
17032 hardcode_direct_GCJ
=no
17033 hardcode_minus_L_GCJ
=no
17034 hardcode_shlibpath_var_GCJ
=unsupported
17035 link_all_deplibs_GCJ
=unknown
17036 hardcode_automatic_GCJ
=no
17038 module_expsym_cmds_GCJ
=
17039 always_export_symbols_GCJ
=no
17040 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17041 # include_expsyms should be a list of space-separated symbols to be *always*
17042 # included in the symbol list
17043 include_expsyms_GCJ
=
17044 # exclude_expsyms can be an extended regexp of symbols to exclude
17045 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17046 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17047 # as well as any symbol that contains `d'.
17048 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17049 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17050 # platforms (ab)use it in PIC code, but their linkers get confused if
17051 # the symbol is explicitly referenced. Since portable code cannot
17052 # rely on this symbol name, it's probably fine to never include it in
17053 # preloaded symbol tables.
17054 extract_expsyms_cmds
=
17055 # Just being paranoid about ensuring that cc_basename is set.
17056 for cc_temp
in $compiler""; do
17058 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17059 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17064 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17067 cygwin
* | mingw
* | pw32
*)
17068 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17069 # When not using gcc, we currently assume that we are using
17070 # Microsoft Visual C++.
17071 if test "$GCC" != yes; then
17076 # we just hope/assume this is gcc and not c89 (= MSVC++)
17085 if test "$with_gnu_ld" = yes; then
17086 # If archive_cmds runs LD, not CC, wlarc should be empty
17089 # Set some defaults for GNU ld with shared library support. These
17090 # are reset later if shared libraries are not supported. Putting them
17091 # here allows them to be overridden if necessary.
17092 runpath_var
=LD_RUN_PATH
17093 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17094 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17095 # ancient GNU ld didn't support --whole-archive et. al.
17096 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17097 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17099 whole_archive_flag_spec_GCJ
=
17101 supports_anon_versioning
=no
17102 case `$LD -v 2>/dev/null` in
17103 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17104 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17105 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17106 *\
2.11.
*) ;; # other 2.11 versions
17107 *) supports_anon_versioning
=yes ;;
17110 # See if GNU ld supports shared libraries.
17112 aix3
* | aix4
* | aix5
*)
17113 # On AIX/PPC, the GNU linker is very broken
17114 if test "$host_cpu" != ia64
; then
17118 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17119 *** to be unable to reliably create shared libraries on AIX.
17120 *** Therefore, libtool is disabling shared libraries support. If you
17121 *** really care for shared libraries, you may want to modify your PATH
17122 *** so that a non-GNU linker is found, and then restart.
17129 archive_cmds_GCJ
='$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)'
17130 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17131 hardcode_minus_L_GCJ
=yes
17133 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17134 # that the semantics of dynamic libraries on AmigaOS, at least up
17135 # to version 4, is to share data among multiple programs linked
17136 # with the same dynamic library. Since this doesn't match the
17137 # behavior of shared libraries on other platforms, we can't use
17143 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17144 allow_undefined_flag_GCJ
=unsupported
17145 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17146 # support --undefined. This deserves some investigation. FIXME
17147 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17153 cygwin
* | mingw
* | pw32
*)
17154 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17155 # as there is no search path for DLLs.
17156 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17157 allow_undefined_flag_GCJ
=unsupported
17158 always_export_symbols_GCJ
=no
17159 enable_shared_with_static_runtimes_GCJ
=yes
17160 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17162 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17163 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17164 # If the export-symbols file already is a .def file (1st line
17165 # is EXPORTS), use it as is; otherwise, prepend...
17166 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17167 cp $export_symbols $output_objdir/$soname.def;
17169 echo EXPORTS > $output_objdir/$soname.def;
17170 cat $export_symbols >> $output_objdir/$soname.def;
17172 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17179 hardcode_direct_GCJ
=no
17180 hardcode_shlibpath_var_GCJ
=no
17181 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17182 export_dynamic_flag_spec_GCJ
='${wl}-E'
17183 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17184 # Instead, shared libraries are loaded at an image base (0x10000000 by
17185 # default) and relocated if they conflict, which is a slow very memory
17186 # consuming and fragmenting process. To avoid this, we pick a random,
17187 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17188 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17189 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17190 archive_expsym_cmds_GCJ
='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'
17194 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17196 case $cc_basename,$host_cpu in
17197 pgcc
*) # Portland Group C compiler
17198 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17199 tmp_addflag
=' $pic_flag'
17201 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17202 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17203 tmp_addflag
=' $pic_flag -Mnomain' ;;
17204 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17205 tmp_addflag
=' -i_dynamic' ;;
17206 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17207 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17208 ifc
* | ifort
*) # Intel Fortran compiler
17209 tmp_addflag
=' -nofor_main' ;;
17211 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17213 if test $supports_anon_versioning = yes; then
17214 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17215 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17216 $echo "local: *; };" >> $output_objdir/$libname.ver~
17217 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17225 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17226 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17229 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17230 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17235 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17239 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17240 *** create shared libraries on Solaris systems. Therefore, libtool
17241 *** is disabling shared libraries support. We urge you to upgrade GNU
17242 *** binutils to release 2.9.1 or newer. Another option is to modify
17243 *** your PATH or compiler configuration so that the native linker is
17244 *** used, and then restart.
17247 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17248 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17249 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17255 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17256 case `$LD -v 2>&1` in
17257 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17261 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17262 *** reliably create shared libraries on SCO systems. Therefore, libtool
17263 *** is disabling shared libraries support. We urge you to upgrade GNU
17264 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17265 *** your PATH or compiler configuration so that the native linker is
17266 *** used, and then restart.
17271 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17272 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17273 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17274 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17283 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17285 hardcode_direct_GCJ
=yes
17286 hardcode_shlibpath_var_GCJ
=no
17290 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17291 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17292 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17299 if test "$ld_shlibs_GCJ" = no
; then
17301 hardcode_libdir_flag_spec_GCJ
=
17302 export_dynamic_flag_spec_GCJ
=
17303 whole_archive_flag_spec_GCJ
=
17306 # PORTME fill in a description of your system's linker (not GNU ld)
17309 allow_undefined_flag_GCJ
=unsupported
17310 always_export_symbols_GCJ
=yes
17311 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17312 # Note: this linker hardcodes the directories in LIBPATH if there
17313 # are no directories specified by -L.
17314 hardcode_minus_L_GCJ
=yes
17315 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17316 # Neither direct hardcoding nor static linking is supported with a
17318 hardcode_direct_GCJ
=unsupported
17323 if test "$host_cpu" = ia64
; then
17324 # On IA64, the linker does run time linking by default, so we don't
17325 # have to do anything special.
17326 aix_use_runtimelinking
=no
17327 exp_sym_flag
='-Bexport'
17330 # If we're using GNU nm, then we don't want the "-C" option.
17331 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17332 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17333 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17335 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17337 aix_use_runtimelinking
=no
17339 # Test if we are trying to use run time linking or normal
17340 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17341 # need to do runtime linking.
17342 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17343 for ld_flag
in $LDFLAGS; do
17344 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17345 aix_use_runtimelinking
=yes
17352 exp_sym_flag
='-bexport'
17353 no_entry_flag
='-bnoentry'
17356 # When large executables or shared objects are built, AIX ld can
17357 # have problems creating the table of contents. If linking a library
17358 # or program results in "error TOC overflow" add -mminimal-toc to
17359 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17360 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17362 archive_cmds_GCJ
=''
17363 hardcode_direct_GCJ
=yes
17364 hardcode_libdir_separator_GCJ
=':'
17365 link_all_deplibs_GCJ
=yes
17367 if test "$GCC" = yes; then
17368 case $host_os in aix4.
[012]|aix4.
[012].
*)
17369 # We only want to do this on AIX 4.2 and lower, the check
17370 # below for broken collect2 doesn't work under 4.3+
17371 collect2name
=`${CC} -print-prog-name=collect2`
17372 if test -f "$collect2name" && \
17373 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17375 # We have reworked collect2
17376 hardcode_direct_GCJ
=yes
17378 # We have old collect2
17379 hardcode_direct_GCJ
=unsupported
17380 # It fails to find uninstalled libraries when the uninstalled
17381 # path is not listed in the libpath. Setting hardcode_minus_L
17382 # to unsupported forces relinking
17383 hardcode_minus_L_GCJ
=yes
17384 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17385 hardcode_libdir_separator_GCJ
=
17389 shared_flag
='-shared'
17390 if test "$aix_use_runtimelinking" = yes; then
17391 shared_flag
="$shared_flag "'${wl}-G'
17395 if test "$host_cpu" = ia64
; then
17396 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17397 # chokes on -Wl,-G. The following line is correct:
17400 if test "$aix_use_runtimelinking" = yes; then
17401 shared_flag
='${wl}-G'
17403 shared_flag
='${wl}-bM:SRE'
17408 # It seems that -bexpall does not export symbols beginning with
17409 # underscore (_), so it is better to generate a list of symbols to export.
17410 always_export_symbols_GCJ
=yes
17411 if test "$aix_use_runtimelinking" = yes; then
17412 # Warning - without using the other runtime loading flags (-brtl),
17413 # -berok will link without error, but may produce a broken library.
17414 allow_undefined_flag_GCJ
='-berok'
17415 # Determine the default libpath from the value encoded in an empty executable.
17416 cat >conftest.
$ac_ext <<_ACEOF
17419 cat confdefs.h
>>conftest.
$ac_ext
17420 cat >>conftest.
$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17431 rm -f conftest.
$ac_objext conftest
$ac_exeext
17432 if { (ac_try
="$ac_link"
17433 case "(($ac_try" in
17434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17435 *) ac_try_echo=$ac_try;;
17437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17438 (eval "$ac_link") 2>conftest.er1
17440 grep -v '^ *+' conftest.er1 >conftest.err
17442 cat conftest.err >&5
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); } && {
17445 test -z "$ac_c_werror_flag" ||
17446 test ! -s conftest.err
17447 } && test -s conftest$ac_exeext &&
17448 $as_test_x conftest$ac_exeext; then
17450 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17452 # Check for a 64-bit object if we didn't find anything.
17453 if test -z "$aix_libpath"; then aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17463 conftest$ac_exeext conftest.$ac_ext
17464 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17466 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17467 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17469 if test "$host_cpu" = ia64; then
17470 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17471 allow_undefined_flag_GCJ="-z nodefs"
17472 archive_expsym_cmds_GCJ="\$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"
17474 # Determine the default libpath from the value encoded in an empty executable.
17475 cat >conftest.$ac_ext <<_ACEOF
17478 cat confdefs.h >>conftest.$ac_ext
17479 cat >>conftest.$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17490 rm -f conftest.$ac_objext conftest$ac_exeext
17491 if { (ac_try="$ac_link"
17492 case "(($ac_try" in
17493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17494 *) ac_try_echo
=$ac_try;;
17496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17497 (eval "$ac_link") 2>conftest.er1
17499 grep -v '^ *+' conftest.er1
>conftest.err
17501 cat conftest.err
>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } && {
17504 test -z "$ac_c_werror_flag" ||
17505 test ! -s conftest.err
17506 } && test -s conftest
$ac_exeext &&
17507 $as_test_x conftest
$ac_exeext; then
17509 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17511 # Check for a 64-bit object if we didn't find anything.
17512 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.
$ac_ext >&5
17521 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17522 conftest
$ac_exeext conftest.
$ac_ext
17523 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17525 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17526 # Warning - without using the other run time loading flags,
17527 # -berok will link without error, but may produce a broken library.
17528 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17529 allow_undefined_flag_GCJ
=' ${wl}-berok'
17530 # Exported symbols can be pulled into shared objects from archives
17531 whole_archive_flag_spec_GCJ
='$convenience'
17532 archive_cmds_need_lc_GCJ
=yes
17533 # This is similar to how AIX traditionally builds its shared libraries.
17534 archive_expsym_cmds_GCJ
="\$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'
17540 archive_cmds_GCJ
='$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)'
17541 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17542 hardcode_minus_L_GCJ
=yes
17543 # see comment about different semantics on the GNU ld section
17548 export_dynamic_flag_spec_GCJ
=-rdynamic
17551 cygwin
* | mingw
* | pw32
*)
17552 # When not using gcc, we currently assume that we are using
17553 # Microsoft Visual C++.
17554 # hardcode_libdir_flag_spec is actually meaningless, as there is
17555 # no search path for DLLs.
17556 hardcode_libdir_flag_spec_GCJ
=' '
17557 allow_undefined_flag_GCJ
=unsupported
17558 # Tell ltmain to make .lib files, not .a files.
17560 # Tell ltmain to make .dll files, not .so files.
17562 # FIXME: Setting linknames here is a bad hack.
17563 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17564 # The linker will automatically build a .lib file if we build a DLL.
17565 old_archive_From_new_cmds_GCJ
='true'
17566 # FIXME: Should let the user specify the lib program.
17567 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
17568 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17569 enable_shared_with_static_runtimes_GCJ
=yes
17572 darwin
* | rhapsody
*)
17574 rhapsody
* | darwin1.
[012])
17575 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17578 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17579 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17581 case ${MACOSX_DEPLOYMENT_TARGET} in
17583 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17586 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17592 archive_cmds_need_lc_GCJ
=no
17593 hardcode_direct_GCJ
=no
17594 hardcode_automatic_GCJ
=yes
17595 hardcode_shlibpath_var_GCJ
=unsupported
17596 whole_archive_flag_spec_GCJ
=''
17597 link_all_deplibs_GCJ
=yes
17598 if test "$GCC" = yes ; then
17599 output_verbose_link_cmd
='echo'
17600 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17601 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17602 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17603 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17604 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17606 case $cc_basename in
17608 output_verbose_link_cmd
='echo'
17609 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17610 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17611 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17612 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17613 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17623 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17624 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17625 hardcode_shlibpath_var_GCJ
=no
17632 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17633 # support. Future versions do this automatically, but an explicit c++rt0.o
17634 # does not break anything, and helps significantly (at the cost of a little
17637 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17638 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17639 hardcode_direct_GCJ
=yes
17640 hardcode_shlibpath_var_GCJ
=no
17643 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17645 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17646 hardcode_direct_GCJ
=yes
17647 hardcode_minus_L_GCJ
=yes
17648 hardcode_shlibpath_var_GCJ
=no
17651 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17652 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
17653 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17654 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17655 hardcode_direct_GCJ
=yes
17656 hardcode_shlibpath_var_GCJ
=no
17660 if test "$GCC" = yes; then
17661 archive_cmds_GCJ
='$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'
17663 archive_cmds_GCJ
='$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'
17665 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17666 hardcode_libdir_separator_GCJ
=:
17667 hardcode_direct_GCJ
=yes
17669 # hardcode_minus_L: Not really in the search PATH,
17670 # but as the default location of the library.
17671 hardcode_minus_L_GCJ
=yes
17672 export_dynamic_flag_spec_GCJ
='${wl}-E'
17676 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17677 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17679 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17681 if test "$with_gnu_ld" = no
; then
17682 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17683 hardcode_libdir_separator_GCJ
=:
17685 hardcode_direct_GCJ
=yes
17686 export_dynamic_flag_spec_GCJ
='${wl}-E'
17688 # hardcode_minus_L: Not really in the search PATH,
17689 # but as the default location of the library.
17690 hardcode_minus_L_GCJ
=yes
17695 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17698 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17701 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17704 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17710 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17713 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17716 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17720 if test "$with_gnu_ld" = no
; then
17721 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17722 hardcode_libdir_separator_GCJ
=:
17726 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17727 hardcode_direct_GCJ
=no
17728 hardcode_shlibpath_var_GCJ
=no
17731 hardcode_direct_GCJ
=yes
17732 export_dynamic_flag_spec_GCJ
='${wl}-E'
17734 # hardcode_minus_L: Not really in the search PATH,
17735 # but as the default location of the library.
17736 hardcode_minus_L_GCJ
=yes
17742 irix5
* | irix6
* | nonstopux
*)
17743 if test "$GCC" = yes; then
17744 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17746 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17747 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17749 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17750 hardcode_libdir_separator_GCJ
=:
17751 link_all_deplibs_GCJ
=yes
17755 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17756 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17758 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17760 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17761 hardcode_direct_GCJ
=yes
17762 hardcode_shlibpath_var_GCJ
=no
17766 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17767 hardcode_direct_GCJ
=yes
17768 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17769 hardcode_libdir_separator_GCJ
=:
17770 hardcode_shlibpath_var_GCJ
=no
17774 hardcode_direct_GCJ
=yes
17775 hardcode_shlibpath_var_GCJ
=no
17776 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17777 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17778 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17779 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17780 export_dynamic_flag_spec_GCJ
='${wl}-E'
17783 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17784 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17785 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17788 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17789 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17796 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17797 hardcode_minus_L_GCJ
=yes
17798 allow_undefined_flag_GCJ
=unsupported
17799 archive_cmds_GCJ
='$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'
17800 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17804 if test "$GCC" = yes; then
17805 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17806 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17808 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17809 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17811 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17812 hardcode_libdir_separator_GCJ
=:
17815 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17816 if test "$GCC" = yes; then
17817 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17818 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17819 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17821 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17822 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17823 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17824 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17826 # Both c and cxx compiler support -rpath directly
17827 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17829 hardcode_libdir_separator_GCJ
=:
17833 no_undefined_flag_GCJ
=' -z text'
17834 if test "$GCC" = yes; then
17836 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17837 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17838 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17841 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17842 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17843 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17845 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17846 hardcode_shlibpath_var_GCJ
=no
17848 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17850 # The compiler driver will combine linker options so we
17851 # cannot just pass the convience library names through
17852 # without $wl, iff we do not link with $LD.
17853 # Luckily, gcc supports the same syntax we need for Sun Studio.
17854 # Supported since Solaris 2.6 (maybe 2.5.1?)
17857 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract' ;;
17859 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17862 link_all_deplibs_GCJ
=yes
17866 if test "x$host_vendor" = xsequent
; then
17867 # Use $CC to link under sequent, because it throws in some extra .o
17868 # files that make .init and .fini sections work.
17869 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17871 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17873 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17874 hardcode_direct_GCJ
=yes
17875 hardcode_minus_L_GCJ
=yes
17876 hardcode_shlibpath_var_GCJ
=no
17880 case $host_vendor in
17882 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17883 hardcode_direct_GCJ
=yes # is this really true???
17886 ## LD is ld it makes a PLAMLIB
17887 ## CC just makes a GrossModule.
17888 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17889 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17890 hardcode_direct_GCJ
=no
17893 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17894 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17897 runpath_var
='LD_RUN_PATH'
17898 hardcode_shlibpath_var_GCJ
=no
17902 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17903 hardcode_shlibpath_var_GCJ
=no
17904 export_dynamic_flag_spec_GCJ
='-Bexport'
17908 if test -d /usr
/nec
; then
17909 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17910 hardcode_shlibpath_var_GCJ
=no
17911 runpath_var
=LD_RUN_PATH
17912 hardcode_runpath_var
=yes
17917 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
*)
17918 no_undefined_flag_GCJ
='${wl}-z,text'
17919 archive_cmds_need_lc_GCJ
=no
17920 hardcode_shlibpath_var_GCJ
=no
17921 runpath_var
='LD_RUN_PATH'
17923 if test "$GCC" = yes; then
17924 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17925 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17927 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17928 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17932 sysv5
* | sco3.2v5
* | sco5v6
*)
17933 # Note: We can NOT use -z defs as we might desire, because we do not
17934 # link with -lc, and that would cause any symbols used from libc to
17935 # always be unresolved, which means just about no library would
17936 # ever link correctly. If we're not using GNU ld we use -z text
17937 # though, which does catch some bad symbols but isn't as heavy-handed
17939 no_undefined_flag_GCJ
='${wl}-z,text'
17940 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17941 archive_cmds_need_lc_GCJ
=no
17942 hardcode_shlibpath_var_GCJ
=no
17943 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17944 hardcode_libdir_separator_GCJ
=':'
17945 link_all_deplibs_GCJ
=yes
17946 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17947 runpath_var
='LD_RUN_PATH'
17949 if test "$GCC" = yes; then
17950 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17951 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17953 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17954 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17959 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17960 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17961 hardcode_shlibpath_var_GCJ
=no
17970 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17971 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17972 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17975 # Do we need to explicitly link libc?
17977 case "x$archive_cmds_need_lc_GCJ" in
17979 # Assume -lc should be added
17980 archive_cmds_need_lc_GCJ
=yes
17982 if test "$enable_shared" = yes && test "$GCC" = yes; then
17983 case $archive_cmds_GCJ in
17985 # FIXME: we may have to deal with multi-command sequences.
17988 # Test whether the compiler implicitly links with -lc since on some
17989 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17990 # to ld, don't add -lc before -lgcc.
17991 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17992 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17994 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17997 (eval $ac_compile) 2>&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } 2>conftest.err
; then
18003 libobjs
=conftest.
$ac_objext
18005 wl
=$lt_prog_compiler_wl_GCJ
18006 pic_flag
=$lt_prog_compiler_pic_GCJ
18012 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18013 allow_undefined_flag_GCJ
=
18014 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18015 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }
18020 archive_cmds_need_lc_GCJ
=no
18022 archive_cmds_need_lc_GCJ
=yes
18024 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18026 cat conftest.err
1>&5
18029 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18030 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18037 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18038 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18039 library_names_spec
=
18040 libname_spec
='lib$name'
18044 postuninstall_cmds
=
18048 shlibpath_overrides_runpath
=unknown
18050 dynamic_linker
="$host_os ld.so"
18051 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18052 if test "$GCC" = yes; then
18053 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18054 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18055 # if the path contains ";" then we assume it to be the separator
18056 # otherwise default to the standard path separator (i.e. ":") - it is
18057 # assumed that no part of a normal pathname contains ";" but that should
18058 # okay in the real world where ";" in dirpaths is itself problematic.
18059 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18061 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18064 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18066 need_lib_prefix
=unknown
18067 hardcode_into_libs
=no
18069 # when you set need_version to no, make sure it does not cause -set_version
18070 # flags to be left without arguments
18071 need_version
=unknown
18076 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18077 shlibpath_var
=LIBPATH
18079 # AIX 3 has no versioning support, so we append a major version to the name.
18080 soname_spec
='${libname}${release}${shared_ext}$major'
18087 hardcode_into_libs
=yes
18088 if test "$host_cpu" = ia64
; then
18089 # AIX 5 supports IA64
18090 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18091 shlibpath_var
=LD_LIBRARY_PATH
18093 # With GCC up to 2.95.x, collect2 would create an import file
18094 # for dependence libraries. The import file would start with
18095 # the line `#! .'. This would cause the generated library to
18096 # depend on `.', always an invalid library. This was fixed in
18097 # development snapshots of GCC prior to 3.0.
18099 aix4 | aix4.
[01] | aix4.
[01].
*)
18100 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18102 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18105 can_build_shared
=no
18109 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18110 # soname into executable. Probably we can add versioning support to
18111 # collect2, so additional links can be useful in future.
18112 if test "$aix_use_runtimelinking" = yes; then
18113 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18114 # instead of lib<name>.a to let people know that these are not
18115 # typical AIX shared libraries.
18116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18118 # We preserve .a as extension for shared libraries through AIX4.2
18119 # and later when we are not doing run time linking.
18120 library_names_spec
='${libname}${release}.a $libname.a'
18121 soname_spec
='${libname}${release}${shared_ext}$major'
18123 shlibpath_var
=LIBPATH
18128 library_names_spec
='$libname.ixlibrary $libname.a'
18129 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18130 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'
18134 library_names_spec
='${libname}${shared_ext}'
18135 dynamic_linker
="$host_os ld.so"
18136 shlibpath_var
=LIBRARY_PATH
18142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18143 soname_spec
='${libname}${release}${shared_ext}$major'
18144 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18145 shlibpath_var
=LD_LIBRARY_PATH
18146 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18147 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18148 # the default ld.so.conf also contains /usr/contrib/lib and
18149 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18150 # libtool to hard-code these into programs
18153 cygwin
* | mingw
* | pw32
*)
18154 version_type
=windows
18159 case $GCC,$host_os in
18160 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18161 library_names_spec
='$libname.dll.a'
18162 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18163 postinstall_cmds
='base_file=`basename \${file}`~
18164 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18165 dldir=$destdir/`dirname \$dlpath`~
18166 test -d \$dldir || mkdir -p \$dldir~
18167 $install_prog $dir/$dlname \$dldir/$dlname~
18168 chmod a+x \$dldir/$dlname'
18169 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18170 dlpath=$dir/\$dldll~
18172 shlibpath_overrides_runpath
=yes
18176 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18177 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18178 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18181 # MinGW DLLs use traditional 'lib' prefix
18182 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18183 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18184 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18185 # It is most probably a Windows format PATH printed by
18186 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18187 # path with ; separators, and with drive letters. We can handle the
18188 # drive letters (cygwin fileutils understands them), so leave them,
18189 # especially as we might pass files found there to a mingw objdump,
18190 # which wouldn't understand a cygwinified path. Ahh.
18191 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18193 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18197 # pw32 DLLs use 'pw' prefix rather than 'lib'
18198 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18204 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18207 dynamic_linker
='Win32 ld.exe'
18208 # FIXME: first we should search . and the directory the executable is in
18212 darwin
* | rhapsody
*)
18213 dynamic_linker
="$host_os dyld"
18214 version_type
=darwin
18217 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18218 soname_spec
='${libname}${release}${major}$shared_ext'
18219 shlibpath_overrides_runpath
=yes
18220 shlibpath_var
=DYLD_LIBRARY_PATH
18221 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18222 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18223 if test "$GCC" = yes; then
18224 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18226 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18228 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18236 soname_spec
='${libname}${release}${shared_ext}$major'
18237 shlibpath_var
=LD_LIBRARY_PATH
18248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18249 soname_spec
='${libname}${release}${shared_ext}$major'
18250 shlibpath_var
=LD_LIBRARY_PATH
18251 shlibpath_overrides_runpath
=no
18252 hardcode_into_libs
=yes
18253 dynamic_linker
='GNU ld.so'
18256 freebsd
* | dragonfly
*)
18257 # DragonFly does not have aout. When/if they implement a new
18258 # versioning mechanism, adjust this.
18259 if test -x /usr
/bin
/objformat
; then
18260 objformat
=`/usr/bin/objformat`
18263 freebsd
[123]*) objformat
=aout
;;
18264 *) objformat
=elf
;;
18267 version_type
=freebsd-
$objformat
18268 case $version_type in
18270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18275 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18279 shlibpath_var
=LD_LIBRARY_PATH
18282 shlibpath_overrides_runpath
=yes
18284 freebsd3.
[01]* | freebsdelf3.
[01]*)
18285 shlibpath_overrides_runpath
=yes
18286 hardcode_into_libs
=yes
18288 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18289 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18290 shlibpath_overrides_runpath
=no
18291 hardcode_into_libs
=yes
18293 freebsd
*) # from 4.6 on
18294 shlibpath_overrides_runpath
=yes
18295 hardcode_into_libs
=yes
18304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18305 soname_spec
='${libname}${release}${shared_ext}$major'
18306 shlibpath_var
=LD_LIBRARY_PATH
18307 hardcode_into_libs
=yes
18310 hpux9
* | hpux10
* | hpux11
*)
18311 # Give a soname corresponding to the major version so that dld.sl refuses to
18312 # link against other versions.
18319 hardcode_into_libs
=yes
18320 dynamic_linker
="$host_os dld.so"
18321 shlibpath_var
=LD_LIBRARY_PATH
18322 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18324 soname_spec
='${libname}${release}${shared_ext}$major'
18325 if test "X$HPUX_IA64_MODE" = X32
; then
18326 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18328 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18330 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18334 hardcode_into_libs
=yes
18335 dynamic_linker
="$host_os dld.sl"
18336 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18337 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18338 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18339 soname_spec
='${libname}${release}${shared_ext}$major'
18340 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18341 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18345 dynamic_linker
="$host_os dld.sl"
18346 shlibpath_var
=SHLIB_PATH
18347 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18349 soname_spec
='${libname}${release}${shared_ext}$major'
18352 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18353 postinstall_cmds
='chmod 555 $lib'
18360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18361 soname_spec
='${libname}${release}${shared_ext}$major'
18362 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18363 shlibpath_var
=LD_LIBRARY_PATH
18364 shlibpath_overrides_runpath
=no
18365 hardcode_into_libs
=yes
18368 irix5
* | irix6
* | nonstopux
*)
18370 nonstopux
*) version_type
=nonstopux
;;
18372 if test "$lt_cv_prog_gnu_ld" = yes; then
18380 soname_spec
='${libname}${release}${shared_ext}$major'
18381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18383 irix5
* | nonstopux
*)
18384 libsuff
= shlibsuff
=
18387 case $LD in # libtool.m4 will add one of these switches to LD
18388 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18389 libsuff
= shlibsuff
= libmagic
=32-bit;;
18390 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18391 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18392 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18393 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18394 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18398 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18399 shlibpath_overrides_runpath
=no
18400 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18401 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18402 hardcode_into_libs
=yes
18405 # No shared lib support for Linux oldld, aout, or coff.
18406 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18410 # This must be Linux ELF.
18415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18416 soname_spec
='${libname}${release}${shared_ext}$major'
18417 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18418 shlibpath_var
=LD_LIBRARY_PATH
18419 shlibpath_overrides_runpath
=no
18420 # This implies no fast_install, which is unacceptable.
18421 # Some rework will be needed to allow for fast_install
18422 # before this can be enabled.
18423 hardcode_into_libs
=yes
18425 # find out which ABI we are using
18427 case "$host_cpu" in
18428 x86_64
*|s390x
*|powerpc64
*)
18429 echo '#line 18429 "configure"' > conftest.
$ac_ext
18430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18431 (eval $ac_compile) 2>&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); }; then
18435 case `/usr/bin/file conftest.$ac_objext` in
18438 sys_lib_search_path_spec
="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18446 # Append ld.so.conf contents to the search path
18447 if test -f /etc
/ld.so.conf
; then
18448 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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18449 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18452 # We used to test for /lib/ld.so.1 and disable shared libraries on
18453 # powerpc, because MkLinux only supported shared libraries with the
18454 # GNU dynamic linker. Since this was broken with cross compilers,
18455 # most powerpc-linux boxes support dynamic linking these days and
18456 # people can always --disable-shared, the test was removed, and we
18457 # assume the GNU/Linux dynamic linker is in use.
18458 dynamic_linker
='GNU/Linux ld.so'
18465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18466 soname_spec
='${libname}${release}${shared_ext}$major'
18467 shlibpath_var
=LD_LIBRARY_PATH
18468 shlibpath_overrides_runpath
=no
18469 hardcode_into_libs
=yes
18470 dynamic_linker
='GNU ld.so'
18477 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18479 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18480 dynamic_linker
='NetBSD (a.out) ld.so'
18482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18483 soname_spec
='${libname}${release}${shared_ext}$major'
18484 dynamic_linker
='NetBSD ld.elf_so'
18486 shlibpath_var
=LD_LIBRARY_PATH
18487 shlibpath_overrides_runpath
=yes
18488 hardcode_into_libs
=yes
18493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18494 shlibpath_var
=LD_LIBRARY_PATH
18495 shlibpath_overrides_runpath
=yes
18502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18503 soname_spec
='${libname}${release}${shared_ext}$major'
18504 shlibpath_var
=LD_LIBRARY_PATH
18505 shlibpath_overrides_runpath
=yes
18510 sys_lib_dlsearch_path_spec
="/usr/lib"
18512 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18514 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18515 *) need_version
=no
;;
18517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18518 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18519 shlibpath_var
=LD_LIBRARY_PATH
18520 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18522 openbsd2.
[89] | openbsd2.
[89].
*)
18523 shlibpath_overrides_runpath
=no
18526 shlibpath_overrides_runpath
=yes
18530 shlibpath_overrides_runpath
=yes
18535 libname_spec
='$name'
18538 library_names_spec
='$libname${shared_ext} $libname.a'
18539 dynamic_linker
='OS/2 ld.exe'
18540 shlibpath_var
=LIBPATH
18543 osf3
* | osf4
* | osf5
*)
18547 soname_spec
='${libname}${release}${shared_ext}$major'
18548 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18549 shlibpath_var
=LD_LIBRARY_PATH
18550 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18551 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18559 soname_spec
='${libname}${release}${shared_ext}$major'
18560 shlibpath_var
=LD_LIBRARY_PATH
18561 shlibpath_overrides_runpath
=yes
18562 hardcode_into_libs
=yes
18563 # ldd complains unless libraries are executable
18564 postinstall_cmds
='chmod +x $lib'
18569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18570 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18571 shlibpath_var
=LD_LIBRARY_PATH
18572 shlibpath_overrides_runpath
=yes
18573 if test "$with_gnu_ld" = yes; then
18581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18582 soname_spec
='${libname}${release}${shared_ext}$major'
18583 shlibpath_var
=LD_LIBRARY_PATH
18584 case $host_vendor in
18586 shlibpath_overrides_runpath
=no
18588 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18589 runpath_var
=LD_RUN_PATH
18597 shlibpath_overrides_runpath
=no
18598 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18604 if test -d /usr
/nec
;then
18606 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18607 soname_spec
='$libname${shared_ext}.$major'
18608 shlibpath_var
=LD_LIBRARY_PATH
18612 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18613 version_type
=freebsd-elf
18616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18617 soname_spec
='${libname}${release}${shared_ext}$major'
18618 shlibpath_var
=LD_LIBRARY_PATH
18619 hardcode_into_libs
=yes
18620 if test "$with_gnu_ld" = yes; then
18621 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18622 shlibpath_overrides_runpath
=no
18624 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18625 shlibpath_overrides_runpath
=yes
18628 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18632 sys_lib_dlsearch_path_spec
='/usr/lib'
18637 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18638 soname_spec
='${libname}${release}${shared_ext}$major'
18639 shlibpath_var
=LD_LIBRARY_PATH
18646 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18647 echo "${ECHO_T}$dynamic_linker" >&6; }
18648 test "$dynamic_linker" = no
&& can_build_shared
=no
18650 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18651 if test "$GCC" = yes; then
18652 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18655 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18656 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18657 hardcode_action_GCJ
=
18658 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18659 test -n "$runpath_var_GCJ" || \
18660 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18662 # We can hardcode non-existant directories.
18663 if test "$hardcode_direct_GCJ" != no
&&
18664 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18665 # have to relink, otherwise we might link with an installed library
18666 # when we should be linking with a yet-to-be-installed one
18667 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18668 test "$hardcode_minus_L_GCJ" != no
; then
18669 # Linking always hardcodes the temporary library directory.
18670 hardcode_action_GCJ
=relink
18672 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18673 hardcode_action_GCJ
=immediate
18676 # We cannot hardcode anything, or else we can only hardcode existing
18678 hardcode_action_GCJ
=unsupported
18680 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18681 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18683 if test "$hardcode_action_GCJ" = relink
; then
18684 # Fast installation is not supported
18685 enable_fast_install
=no
18686 elif test "$shlibpath_overrides_runpath" = yes ||
18687 test "$enable_shared" = no
; then
18688 # Fast installation is not necessary
18689 enable_fast_install
=needless
18693 # The else clause should only fire when bootstrapping the
18694 # libtool distribution, otherwise you forgot to ship ltmain.sh
18695 # with your package, and you will get complaints that there are
18696 # no rules to generate ltmain.sh.
18697 if test -f "$ltmain"; then
18698 # See if we are running on zsh, and set the options which allow our commands through
18699 # without removal of \ escapes.
18700 if test -n "${ZSH_VERSION+set}" ; then
18701 setopt NO_GLOB_SUBST
18703 # Now quote all the things that may contain metacharacters while being
18704 # careful not to overquote the AC_SUBSTed values. We take copies of the
18705 # variables and quote the copies for generation of the libtool script.
18706 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18708 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18709 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18710 deplibs_check_method reload_flag reload_cmds need_locks \
18711 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18712 lt_cv_sys_global_symbol_to_c_name_address \
18713 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18714 old_postinstall_cmds old_postuninstall_cmds \
18718 lt_prog_compiler_wl_GCJ \
18719 lt_prog_compiler_pic_GCJ \
18720 lt_prog_compiler_static_GCJ \
18721 lt_prog_compiler_no_builtin_flag_GCJ \
18722 export_dynamic_flag_spec_GCJ \
18723 thread_safe_flag_spec_GCJ \
18724 whole_archive_flag_spec_GCJ \
18725 enable_shared_with_static_runtimes_GCJ \
18726 old_archive_cmds_GCJ \
18727 old_archive_from_new_cmds_GCJ \
18728 predep_objects_GCJ \
18729 postdep_objects_GCJ \
18732 compiler_lib_search_path_GCJ \
18734 archive_expsym_cmds_GCJ \
18735 postinstall_cmds_GCJ \
18736 postuninstall_cmds_GCJ \
18737 old_archive_from_expsyms_cmds_GCJ \
18738 allow_undefined_flag_GCJ \
18739 no_undefined_flag_GCJ \
18740 export_symbols_cmds_GCJ \
18741 hardcode_libdir_flag_spec_GCJ \
18742 hardcode_libdir_flag_spec_ld_GCJ \
18743 hardcode_libdir_separator_GCJ \
18744 hardcode_automatic_GCJ \
18746 module_expsym_cmds_GCJ \
18747 lt_cv_prog_compiler_c_o_GCJ \
18748 exclude_expsyms_GCJ \
18749 include_expsyms_GCJ
; do
18752 old_archive_cmds_GCJ | \
18753 old_archive_from_new_cmds_GCJ | \
18754 archive_cmds_GCJ | \
18755 archive_expsym_cmds_GCJ | \
18756 module_cmds_GCJ | \
18757 module_expsym_cmds_GCJ | \
18758 old_archive_from_expsyms_cmds_GCJ | \
18759 export_symbols_cmds_GCJ | \
18760 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18761 postinstall_cmds | postuninstall_cmds | \
18762 old_postinstall_cmds | old_postuninstall_cmds | \
18763 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18764 # Double-quote double-evaled strings.
18765 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18768 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18774 *'\$0 --fallback-echo"')
18775 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18781 cat <<__EOF__ >> "$cfgfile"
18782 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18784 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18786 # Shell to use when invoking shell scripts.
18789 # Whether or not to build shared libraries.
18790 build_libtool_libs=$enable_shared
18792 # Whether or not to build static libraries.
18793 build_old_libs=$enable_static
18795 # Whether or not to add -lc for building shared libraries.
18796 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18798 # Whether or not to disallow shared libs when runtime libs are static
18799 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18801 # Whether or not to optimize for fast installation.
18802 fast_install=$enable_fast_install
18805 host_alias=$host_alias
18809 # The build system.
18810 build_alias=$build_alias
18814 # An echo program that does not interpret backslashes.
18819 AR_FLAGS=$lt_AR_FLAGS
18824 # LTCC compiler flags.
18825 LTCFLAGS=$lt_LTCFLAGS
18827 # A language-specific compiler.
18828 CC=$lt_compiler_GCJ
18830 # Is the compiler the GNU C compiler?
18836 # The linker used to build libraries.
18839 # Whether we need hard or soft links.
18842 # A BSD-compatible nm program.
18845 # A symbol stripping program
18848 # Used to examine libraries when file_magic_cmd begins "file"
18849 MAGIC_CMD=$MAGIC_CMD
18851 # Used on cygwin: DLL creation program.
18854 # Used on cygwin: object dumper.
18857 # Used on cygwin: assembler.
18860 # The name of the directory that contains temporary libtool files.
18863 # How to create reloadable object files.
18864 reload_flag=$lt_reload_flag
18865 reload_cmds=$lt_reload_cmds
18867 # How to pass a linker flag through the compiler.
18868 wl=$lt_lt_prog_compiler_wl_GCJ
18870 # Object file suffix (normally "o").
18871 objext="$ac_objext"
18873 # Old archive suffix (normally "a").
18876 # Shared library suffix (normally ".so").
18877 shrext_cmds='$shrext_cmds'
18879 # Executable file suffix (normally "").
18882 # Additional compiler flags for building library objects.
18883 pic_flag=$lt_lt_prog_compiler_pic_GCJ
18886 # What is the maximum length of a command?
18887 max_cmd_len=$lt_cv_sys_max_cmd_len
18889 # Does compiler simultaneously support -c and -o options?
18890 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18892 # Must we lock files when doing compilation?
18893 need_locks=$lt_need_locks
18895 # Do we need the lib prefix for modules?
18896 need_lib_prefix=$need_lib_prefix
18898 # Do we need a version for libraries?
18899 need_version=$need_version
18901 # Whether dlopen is supported.
18902 dlopen_support=$enable_dlopen
18904 # Whether dlopen of programs is supported.
18905 dlopen_self=$enable_dlopen_self
18907 # Whether dlopen of statically linked programs is supported.
18908 dlopen_self_static=$enable_dlopen_self_static
18910 # Compiler flag to prevent dynamic linking.
18911 link_static_flag=$lt_lt_prog_compiler_static_GCJ
18913 # Compiler flag to turn off builtin functions.
18914 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18916 # Compiler flag to allow reflexive dlopens.
18917 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18919 # Compiler flag to generate shared objects directly from archives.
18920 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18922 # Compiler flag to generate thread-safe objects.
18923 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18925 # Library versioning type.
18926 version_type=$version_type
18928 # Format of library name prefix.
18929 libname_spec=$lt_libname_spec
18931 # List of archive names. First name is the real one, the rest are links.
18932 # The last name is the one that the linker finds with -lNAME.
18933 library_names_spec=$lt_library_names_spec
18935 # The coded name of the library, if different from the real name.
18936 soname_spec=$lt_soname_spec
18938 # Commands used to build and install an old-style archive.
18940 old_archive_cmds=$lt_old_archive_cmds_GCJ
18941 old_postinstall_cmds=$lt_old_postinstall_cmds
18942 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18944 # Create an old-style archive from a shared archive.
18945 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18947 # Create a temporary old-style archive to link instead of a shared archive.
18948 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18950 # Commands used to build and install a shared archive.
18951 archive_cmds=$lt_archive_cmds_GCJ
18952 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18953 postinstall_cmds=$lt_postinstall_cmds
18954 postuninstall_cmds=$lt_postuninstall_cmds
18956 # Commands used to build a loadable module (assumed same as above if empty)
18957 module_cmds=$lt_module_cmds_GCJ
18958 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18960 # Commands to strip libraries.
18961 old_striplib=$lt_old_striplib
18962 striplib=$lt_striplib
18964 # Dependencies to place before the objects being linked to create a
18966 predep_objects=$lt_predep_objects_GCJ
18968 # Dependencies to place after the objects being linked to create a
18970 postdep_objects=$lt_postdep_objects_GCJ
18972 # Dependencies to place before the objects being linked to create a
18974 predeps=$lt_predeps_GCJ
18976 # Dependencies to place after the objects being linked to create a
18978 postdeps=$lt_postdeps_GCJ
18980 # The library search path used internally by the compiler when linking
18981 # a shared library.
18982 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18984 # Method to check whether dependent libraries are shared objects.
18985 deplibs_check_method=$lt_deplibs_check_method
18987 # Command to use when deplibs_check_method == file_magic.
18988 file_magic_cmd=$lt_file_magic_cmd
18990 # Flag that allows shared libraries with undefined symbols to be built.
18991 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18993 # Flag that forces no undefined symbols.
18994 no_undefined_flag=$lt_no_undefined_flag_GCJ
18996 # Commands used to finish a libtool library installation in a directory.
18997 finish_cmds=$lt_finish_cmds
18999 # Same as above, but a single script fragment to be evaled but not shown.
19000 finish_eval=$lt_finish_eval
19002 # Take the output of nm and produce a listing of raw symbols and C names.
19003 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19005 # Transform the output of nm in a proper C declaration
19006 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19008 # Transform the output of nm in a C name address pair
19009 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19011 # This is the shared library runtime path variable.
19012 runpath_var=$runpath_var
19014 # This is the shared library path variable.
19015 shlibpath_var=$shlibpath_var
19017 # Is shlibpath searched before the hard-coded library search path?
19018 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19020 # How to hardcode a shared library path into an executable.
19021 hardcode_action=$hardcode_action_GCJ
19023 # Whether we should hardcode library paths into libraries.
19024 hardcode_into_libs=$hardcode_into_libs
19026 # Flag to hardcode \$libdir into a binary during linking.
19027 # This must work even if \$libdir does not exist.
19028 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19030 # If ld is used when linking, flag to hardcode \$libdir into
19031 # a binary during linking. This must work even if \$libdir does
19033 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19035 # Whether we need a single -rpath flag with a separated argument.
19036 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19038 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19039 # resulting binary.
19040 hardcode_direct=$hardcode_direct_GCJ
19042 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19043 # resulting binary.
19044 hardcode_minus_L=$hardcode_minus_L_GCJ
19046 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19047 # the resulting binary.
19048 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19050 # Set to yes if building a shared library automatically hardcodes DIR into the library
19051 # and all subsequent libraries and executables linked against it.
19052 hardcode_automatic=$hardcode_automatic_GCJ
19054 # Variables whose values should be saved in libtool wrapper scripts and
19055 # restored at relink time.
19056 variables_saved_for_relink="$variables_saved_for_relink"
19058 # Whether libtool must link a program against all its dependency libraries.
19059 link_all_deplibs=$link_all_deplibs_GCJ
19061 # Compile-time system search path for libraries
19062 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19064 # Run-time system search path for libraries
19065 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19067 # Fix the shell variable \$srcfile for the compiler.
19068 fix_srcfile_path="$fix_srcfile_path_GCJ"
19070 # Set to yes if exported symbols are required.
19071 always_export_symbols=$always_export_symbols_GCJ
19073 # The commands to list exported symbols.
19074 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19076 # The commands to extract the exported symbol list from a shared archive.
19077 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19079 # Symbols that should not be listed in the preloaded symbols.
19080 exclude_expsyms=$lt_exclude_expsyms_GCJ
19082 # Symbols that must always be exported.
19083 include_expsyms=$lt_include_expsyms_GCJ
19085 # ### END LIBTOOL TAG CONFIG: $tagname
19091 # If there is no Makefile yet, we rely on a make rule to execute
19092 # `config.status --recheck' to rerun these tests and create the
19093 # libtool script then.
19094 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19095 if test -f "$ltmain_in"; then
19096 test -f Makefile
&& make "$ltmain"
19102 ac_cpp
='$CPP $CPPFLAGS'
19103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19117 # Source file extension for RC test sources.
19120 # Object file extension for compiled RC test sources.
19124 # Code to be used in simple compile tests
19125 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19127 # Code to be used in simple link tests
19128 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19130 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19132 # If no C compiler was specified, use CC.
19135 # If no C compiler flags were specified, use CFLAGS.
19136 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19138 # Allow CC to be a program name with arguments.
19142 # save warnings/boilerplate of simple test code
19143 ac_outfile
=conftest.
$ac_objext
19144 printf "$lt_simple_compile_test_code" >conftest.
$ac_ext
19145 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19146 _lt_compiler_boilerplate
=`cat conftest.err`
19149 ac_outfile
=conftest.
$ac_objext
19150 printf "$lt_simple_link_test_code" >conftest.
$ac_ext
19151 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19152 _lt_linker_boilerplate
=`cat conftest.err`
19156 # Allow CC to be a program name with arguments.
19161 for cc_temp
in $compiler""; do
19163 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19164 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19169 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19171 lt_cv_prog_compiler_c_o_RC
=yes
19173 # The else clause should only fire when bootstrapping the
19174 # libtool distribution, otherwise you forgot to ship ltmain.sh
19175 # with your package, and you will get complaints that there are
19176 # no rules to generate ltmain.sh.
19177 if test -f "$ltmain"; then
19178 # See if we are running on zsh, and set the options which allow our commands through
19179 # without removal of \ escapes.
19180 if test -n "${ZSH_VERSION+set}" ; then
19181 setopt NO_GLOB_SUBST
19183 # Now quote all the things that may contain metacharacters while being
19184 # careful not to overquote the AC_SUBSTed values. We take copies of the
19185 # variables and quote the copies for generation of the libtool script.
19186 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19188 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19189 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19190 deplibs_check_method reload_flag reload_cmds need_locks \
19191 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19192 lt_cv_sys_global_symbol_to_c_name_address \
19193 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19194 old_postinstall_cmds old_postuninstall_cmds \
19198 lt_prog_compiler_wl_RC \
19199 lt_prog_compiler_pic_RC \
19200 lt_prog_compiler_static_RC \
19201 lt_prog_compiler_no_builtin_flag_RC \
19202 export_dynamic_flag_spec_RC \
19203 thread_safe_flag_spec_RC \
19204 whole_archive_flag_spec_RC \
19205 enable_shared_with_static_runtimes_RC \
19206 old_archive_cmds_RC \
19207 old_archive_from_new_cmds_RC \
19208 predep_objects_RC \
19209 postdep_objects_RC \
19212 compiler_lib_search_path_RC \
19214 archive_expsym_cmds_RC \
19215 postinstall_cmds_RC \
19216 postuninstall_cmds_RC \
19217 old_archive_from_expsyms_cmds_RC \
19218 allow_undefined_flag_RC \
19219 no_undefined_flag_RC \
19220 export_symbols_cmds_RC \
19221 hardcode_libdir_flag_spec_RC \
19222 hardcode_libdir_flag_spec_ld_RC \
19223 hardcode_libdir_separator_RC \
19224 hardcode_automatic_RC \
19226 module_expsym_cmds_RC \
19227 lt_cv_prog_compiler_c_o_RC \
19228 exclude_expsyms_RC \
19229 include_expsyms_RC
; do
19232 old_archive_cmds_RC | \
19233 old_archive_from_new_cmds_RC | \
19234 archive_cmds_RC | \
19235 archive_expsym_cmds_RC | \
19237 module_expsym_cmds_RC | \
19238 old_archive_from_expsyms_cmds_RC | \
19239 export_symbols_cmds_RC | \
19240 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19241 postinstall_cmds | postuninstall_cmds | \
19242 old_postinstall_cmds | old_postuninstall_cmds | \
19243 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19244 # Double-quote double-evaled strings.
19245 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19248 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19254 *'\$0 --fallback-echo"')
19255 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19261 cat <<__EOF__ >> "$cfgfile"
19262 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19264 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19266 # Shell to use when invoking shell scripts.
19269 # Whether or not to build shared libraries.
19270 build_libtool_libs=$enable_shared
19272 # Whether or not to build static libraries.
19273 build_old_libs=$enable_static
19275 # Whether or not to add -lc for building shared libraries.
19276 build_libtool_need_lc=$archive_cmds_need_lc_RC
19278 # Whether or not to disallow shared libs when runtime libs are static
19279 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19281 # Whether or not to optimize for fast installation.
19282 fast_install=$enable_fast_install
19285 host_alias=$host_alias
19289 # The build system.
19290 build_alias=$build_alias
19294 # An echo program that does not interpret backslashes.
19299 AR_FLAGS=$lt_AR_FLAGS
19304 # LTCC compiler flags.
19305 LTCFLAGS=$lt_LTCFLAGS
19307 # A language-specific compiler.
19310 # Is the compiler the GNU C compiler?
19316 # The linker used to build libraries.
19319 # Whether we need hard or soft links.
19322 # A BSD-compatible nm program.
19325 # A symbol stripping program
19328 # Used to examine libraries when file_magic_cmd begins "file"
19329 MAGIC_CMD=$MAGIC_CMD
19331 # Used on cygwin: DLL creation program.
19334 # Used on cygwin: object dumper.
19337 # Used on cygwin: assembler.
19340 # The name of the directory that contains temporary libtool files.
19343 # How to create reloadable object files.
19344 reload_flag=$lt_reload_flag
19345 reload_cmds=$lt_reload_cmds
19347 # How to pass a linker flag through the compiler.
19348 wl=$lt_lt_prog_compiler_wl_RC
19350 # Object file suffix (normally "o").
19351 objext="$ac_objext"
19353 # Old archive suffix (normally "a").
19356 # Shared library suffix (normally ".so").
19357 shrext_cmds='$shrext_cmds'
19359 # Executable file suffix (normally "").
19362 # Additional compiler flags for building library objects.
19363 pic_flag=$lt_lt_prog_compiler_pic_RC
19366 # What is the maximum length of a command?
19367 max_cmd_len=$lt_cv_sys_max_cmd_len
19369 # Does compiler simultaneously support -c and -o options?
19370 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19372 # Must we lock files when doing compilation?
19373 need_locks=$lt_need_locks
19375 # Do we need the lib prefix for modules?
19376 need_lib_prefix=$need_lib_prefix
19378 # Do we need a version for libraries?
19379 need_version=$need_version
19381 # Whether dlopen is supported.
19382 dlopen_support=$enable_dlopen
19384 # Whether dlopen of programs is supported.
19385 dlopen_self=$enable_dlopen_self
19387 # Whether dlopen of statically linked programs is supported.
19388 dlopen_self_static=$enable_dlopen_self_static
19390 # Compiler flag to prevent dynamic linking.
19391 link_static_flag=$lt_lt_prog_compiler_static_RC
19393 # Compiler flag to turn off builtin functions.
19394 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19396 # Compiler flag to allow reflexive dlopens.
19397 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19399 # Compiler flag to generate shared objects directly from archives.
19400 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19402 # Compiler flag to generate thread-safe objects.
19403 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19405 # Library versioning type.
19406 version_type=$version_type
19408 # Format of library name prefix.
19409 libname_spec=$lt_libname_spec
19411 # List of archive names. First name is the real one, the rest are links.
19412 # The last name is the one that the linker finds with -lNAME.
19413 library_names_spec=$lt_library_names_spec
19415 # The coded name of the library, if different from the real name.
19416 soname_spec=$lt_soname_spec
19418 # Commands used to build and install an old-style archive.
19420 old_archive_cmds=$lt_old_archive_cmds_RC
19421 old_postinstall_cmds=$lt_old_postinstall_cmds
19422 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19424 # Create an old-style archive from a shared archive.
19425 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19427 # Create a temporary old-style archive to link instead of a shared archive.
19428 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19430 # Commands used to build and install a shared archive.
19431 archive_cmds=$lt_archive_cmds_RC
19432 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19433 postinstall_cmds=$lt_postinstall_cmds
19434 postuninstall_cmds=$lt_postuninstall_cmds
19436 # Commands used to build a loadable module (assumed same as above if empty)
19437 module_cmds=$lt_module_cmds_RC
19438 module_expsym_cmds=$lt_module_expsym_cmds_RC
19440 # Commands to strip libraries.
19441 old_striplib=$lt_old_striplib
19442 striplib=$lt_striplib
19444 # Dependencies to place before the objects being linked to create a
19446 predep_objects=$lt_predep_objects_RC
19448 # Dependencies to place after the objects being linked to create a
19450 postdep_objects=$lt_postdep_objects_RC
19452 # Dependencies to place before the objects being linked to create a
19454 predeps=$lt_predeps_RC
19456 # Dependencies to place after the objects being linked to create a
19458 postdeps=$lt_postdeps_RC
19460 # The library search path used internally by the compiler when linking
19461 # a shared library.
19462 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19464 # Method to check whether dependent libraries are shared objects.
19465 deplibs_check_method=$lt_deplibs_check_method
19467 # Command to use when deplibs_check_method == file_magic.
19468 file_magic_cmd=$lt_file_magic_cmd
19470 # Flag that allows shared libraries with undefined symbols to be built.
19471 allow_undefined_flag=$lt_allow_undefined_flag_RC
19473 # Flag that forces no undefined symbols.
19474 no_undefined_flag=$lt_no_undefined_flag_RC
19476 # Commands used to finish a libtool library installation in a directory.
19477 finish_cmds=$lt_finish_cmds
19479 # Same as above, but a single script fragment to be evaled but not shown.
19480 finish_eval=$lt_finish_eval
19482 # Take the output of nm and produce a listing of raw symbols and C names.
19483 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19485 # Transform the output of nm in a proper C declaration
19486 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19488 # Transform the output of nm in a C name address pair
19489 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19491 # This is the shared library runtime path variable.
19492 runpath_var=$runpath_var
19494 # This is the shared library path variable.
19495 shlibpath_var=$shlibpath_var
19497 # Is shlibpath searched before the hard-coded library search path?
19498 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19500 # How to hardcode a shared library path into an executable.
19501 hardcode_action=$hardcode_action_RC
19503 # Whether we should hardcode library paths into libraries.
19504 hardcode_into_libs=$hardcode_into_libs
19506 # Flag to hardcode \$libdir into a binary during linking.
19507 # This must work even if \$libdir does not exist.
19508 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19510 # If ld is used when linking, flag to hardcode \$libdir into
19511 # a binary during linking. This must work even if \$libdir does
19513 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19515 # Whether we need a single -rpath flag with a separated argument.
19516 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19518 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19519 # resulting binary.
19520 hardcode_direct=$hardcode_direct_RC
19522 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19523 # resulting binary.
19524 hardcode_minus_L=$hardcode_minus_L_RC
19526 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19527 # the resulting binary.
19528 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19530 # Set to yes if building a shared library automatically hardcodes DIR into the library
19531 # and all subsequent libraries and executables linked against it.
19532 hardcode_automatic=$hardcode_automatic_RC
19534 # Variables whose values should be saved in libtool wrapper scripts and
19535 # restored at relink time.
19536 variables_saved_for_relink="$variables_saved_for_relink"
19538 # Whether libtool must link a program against all its dependency libraries.
19539 link_all_deplibs=$link_all_deplibs_RC
19541 # Compile-time system search path for libraries
19542 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19544 # Run-time system search path for libraries
19545 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19547 # Fix the shell variable \$srcfile for the compiler.
19548 fix_srcfile_path="$fix_srcfile_path_RC"
19550 # Set to yes if exported symbols are required.
19551 always_export_symbols=$always_export_symbols_RC
19553 # The commands to list exported symbols.
19554 export_symbols_cmds=$lt_export_symbols_cmds_RC
19556 # The commands to extract the exported symbol list from a shared archive.
19557 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19559 # Symbols that should not be listed in the preloaded symbols.
19560 exclude_expsyms=$lt_exclude_expsyms_RC
19562 # Symbols that must always be exported.
19563 include_expsyms=$lt_include_expsyms_RC
19565 # ### END LIBTOOL TAG CONFIG: $tagname
19571 # If there is no Makefile yet, we rely on a make rule to execute
19572 # `config.status --recheck' to rerun these tests and create the
19573 # libtool script then.
19574 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19575 if test -f "$ltmain_in"; then
19576 test -f Makefile
&& make "$ltmain"
19582 ac_cpp
='$CPP $CPPFLAGS'
19583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19592 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19593 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19594 { (exit 1); exit 1; }; }
19598 # Append the new tag name to the list of available tags.
19599 if test -n "$tagname" ; then
19600 available_tags
="$available_tags $tagname"
19606 # Now substitute the updated list of available tags.
19607 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19608 mv "${ofile}T" "$ofile"
19612 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19613 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19614 { (exit 1); exit 1; }; }
19620 # This can be used to rebuild libtool when needed
19621 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19623 # Always use our own libtool.
19624 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19626 # Prevent multiple expansion
19649 for ac_prog
in perl5 perl
19651 # Extract the first word of "$ac_prog", so it can be a program name with args.
19652 set dummy
$ac_prog; ac_word
=$2
19653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19655 if test "${ac_cv_path_PERL+set}" = set; then
19656 echo $ECHO_N "(cached) $ECHO_C" >&6
19660 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
19663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19664 for as_dir
in $LPATH
19667 test -z "$as_dir" && as_dir
=.
19668 for ac_exec_ext
in '' $ac_executable_extensions; do
19669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19670 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
19671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19681 PERL
=$ac_cv_path_PERL
19682 if test -n "$PERL"; then
19683 { echo "$as_me:$LINENO: result: $PERL" >&5
19684 echo "${ECHO_T}$PERL" >&6; }
19686 { echo "$as_me:$LINENO: result: no" >&5
19687 echo "${ECHO_T}no" >&6; }
19691 test -n "$PERL" && break
19693 test -n "$PERL" || PERL
="perl"
19695 for ac_prog
in courier-config
19697 # Extract the first word of "$ac_prog", so it can be a program name with args.
19698 set dummy
$ac_prog; ac_word
=$2
19699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19701 if test "${ac_cv_path_COURIERCONFIG+set}" = set; then
19702 echo $ECHO_N "(cached) $ECHO_C" >&6
19704 case $COURIERCONFIG in
19706 ac_cv_path_COURIERCONFIG
="$COURIERCONFIG" # Let the user override the test with a path.
19709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19710 for as_dir
in $LPATH
19713 test -z "$as_dir" && as_dir
=.
19714 for ac_exec_ext
in '' $ac_executable_extensions; do
19715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19716 ac_cv_path_COURIERCONFIG
="$as_dir/$ac_word$ac_exec_ext"
19717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19727 COURIERCONFIG
=$ac_cv_path_COURIERCONFIG
19728 if test -n "$COURIERCONFIG"; then
19729 { echo "$as_me:$LINENO: result: $COURIERCONFIG" >&5
19730 echo "${ECHO_T}$COURIERCONFIG" >&6; }
19732 { echo "$as_me:$LINENO: result: no" >&5
19733 echo "${ECHO_T}no" >&6; }
19737 test -n "$COURIERCONFIG" && break
19739 test -n "$COURIERCONFIG" || COURIERCONFIG
="courier-config"
19742 if test "$PERL" = "perl"
19744 { { echo "$as_me:$LINENO: error: Perl is required" >&5
19745 echo "$as_me: error: Perl is required" >&2;}
19746 { (exit 1); exit 1; }; }
19749 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19750 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19751 eval "prefix=$prefix"
19752 eval "exec_prefix=$exec_prefix"
19753 eval "sysconfdir=$sysconfdir"
19754 eval "bindir=$bindir"
19755 eval "sbindir=$sbindir"
19756 eval "localstatedir=$localstatedir"
19757 eval "libexecdir=$libexecdir"
19760 # Check whether --with-redhat was given.
19761 if test "${with_redhat+set}" = set; then
19762 withval
=$with_redhat; redhat
=$withval
19768 if test "$srcdir" = "."
19770 case `./config.guess` in
19772 if test "$redhat" = "no"
19775 { echo "$as_me:$LINENO: WARNING: === I think you are trying to run this configure script" >&5
19776 echo "$as_me: WARNING: === I think you are trying to run this configure script" >&2;}
19777 { echo "$as_me:$LINENO: WARNING: === on Red Hat/Fedora. You're doing too much work!" >&5
19778 echo "$as_me: WARNING: === on Red Hat/Fedora. You're doing too much work!" >&2;}
19779 { echo "$as_me:$LINENO: WARNING: === It's much faster to create installable binary RPMs" >&5
19780 echo "$as_me: WARNING: === It's much faster to create installable binary RPMs" >&2;}
19781 { echo "$as_me:$LINENO: WARNING: === like this: http://www.courier-mta.org/FAQ.html${hash}rpm" >&5
19782 echo "$as_me: WARNING: === like this: http://www.courier-mta.org/FAQ.html${hash}rpm" >&2;}
19783 { echo "$as_me:$LINENO: WARNING: === When you do this you may find that RPM will tell you" >&5
19784 echo "$as_me: WARNING: === When you do this you may find that RPM will tell you" >&2;}
19785 { echo "$as_me:$LINENO: WARNING: === to install some other software first, before trying to" >&5
19786 echo "$as_me: WARNING: === to install some other software first, before trying to" >&2;}
19787 { echo "$as_me:$LINENO: WARNING: === build this one, and even tell you the name of RPMs you" >&5
19788 echo "$as_me: WARNING: === build this one, and even tell you the name of RPMs you" >&2;}
19789 { echo "$as_me:$LINENO: WARNING: === need to install from the distribution CD. That's much" >&5
19790 echo "$as_me: WARNING: === need to install from the distribution CD. That's much" >&2;}
19791 { echo "$as_me:$LINENO: WARNING: === easier than trying to figure out the same from some" >&5
19792 echo "$as_me: WARNING: === easier than trying to figure out the same from some" >&2;}
19793 { echo "$as_me:$LINENO: WARNING: === cryptic error message." >&5
19794 echo "$as_me: WARNING: === cryptic error message." >&2;}
19795 { echo "$as_me:$LINENO: WARNING: " >&5
19796 echo "$as_me: WARNING: " >&2;}
19797 { echo "$as_me:$LINENO: WARNING: === Even if you don't intend to use everything you need to" >&5
19798 echo "$as_me: WARNING: === Even if you don't intend to use everything you need to" >&2;}
19799 { echo "$as_me:$LINENO: WARNING: === have in order to build via RPM, you should still do as" >&5
19800 echo "$as_me: WARNING: === have in order to build via RPM, you should still do as" >&2;}
19801 { echo "$as_me:$LINENO: WARNING: === you're told. All the extra stuff (LDAP, SQL, etc...)" >&5
19802 echo "$as_me: WARNING: === you're told. All the extra stuff (LDAP, SQL, etc...)" >&2;}
19803 { echo "$as_me:$LINENO: WARNING: === goes into RPM sub-packages, which do not need to be" >&5
19804 echo "$as_me: WARNING: === goes into RPM sub-packages, which do not need to be" >&2;}
19805 { echo "$as_me:$LINENO: WARNING: === installed." >&5
19806 echo "$as_me: WARNING: === installed." >&2;}
19807 { echo "$as_me:$LINENO: WARNING: === But, if you insist, you can simply add '--with-redhat'" >&5
19808 echo "$as_me: WARNING: === But, if you insist, you can simply add '--with-redhat'" >&2;}
19809 { echo "$as_me:$LINENO: WARNING: === parameter to this configure script and not see this" >&5
19810 echo "$as_me: WARNING: === parameter to this configure script and not see this" >&2;}
19811 { echo "$as_me:$LINENO: WARNING: === error message. You should also do this when upgrading" >&5
19812 echo "$as_me: WARNING: === error message. You should also do this when upgrading" >&2;}
19813 { echo "$as_me:$LINENO: WARNING: === and you didn't use RPM with the older version." >&5
19814 echo "$as_me: WARNING: === and you didn't use RPM with the older version." >&2;}
19815 { { echo "$as_me:$LINENO: error: ... in either case you better know what you're doing!" >&5
19816 echo "$as_me: error: ... in either case you better know what you're doing!" >&2;}
19817 { (exit 1); exit 1; }; }
19824 for ac_prog
in expect
19826 # Extract the first word of "$ac_prog", so it can be a program name with args.
19827 set dummy
$ac_prog; ac_word
=$2
19828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19830 if test "${ac_cv_path_EXPECT+set}" = set; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19835 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
19838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19839 for as_dir
in $LPATH
19842 test -z "$as_dir" && as_dir
=.
19843 for ac_exec_ext
in '' $ac_executable_extensions; do
19844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19845 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
19846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19856 EXPECT
=$ac_cv_path_EXPECT
19857 if test -n "$EXPECT"; then
19858 { echo "$as_me:$LINENO: result: $EXPECT" >&5
19859 echo "${ECHO_T}$EXPECT" >&6; }
19861 { echo "$as_me:$LINENO: result: no" >&5
19862 echo "${ECHO_T}no" >&6; }
19866 test -n "$EXPECT" && break
19868 test -n "$EXPECT" || EXPECT
="expect"
19871 if test "$EXPECT" = "expect"
19873 { echo "$as_me:$LINENO: WARNING: -----------------------------------------------------" >&5
19874 echo "$as_me: WARNING: -----------------------------------------------------" >&2;}
19875 { echo "$as_me:$LINENO: WARNING: expect not found - will not be able to change passwds" >&5
19876 echo "$as_me: WARNING: expect not found - will not be able to change passwds" >&2;}
19877 { echo "$as_me:$LINENO: WARNING: in webmail" >&5
19878 echo "$as_me: WARNING: in webmail" >&2;}
19879 { echo "$as_me:$LINENO: WARNING: -----------------------------------------------------" >&5
19880 echo "$as_me: WARNING: -----------------------------------------------------" >&2;}
19884 cat >>confdefs.h
<<_ACEOF
19885 #define HAVE_EXPECT 1
19890 for ac_prog
in passwd
19892 # Extract the first word of "$ac_prog", so it can be a program name with args.
19893 set dummy
$ac_prog; ac_word
=$2
19894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19896 if test "${ac_cv_path_PASSWD+set}" = set; then
19897 echo $ECHO_N "(cached) $ECHO_C" >&6
19901 ac_cv_path_PASSWD
="$PASSWD" # Let the user override the test with a path.
19904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19905 for as_dir
in $LPATH
19908 test -z "$as_dir" && as_dir
=.
19909 for ac_exec_ext
in '' $ac_executable_extensions; do
19910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19911 ac_cv_path_PASSWD
="$as_dir/$ac_word$ac_exec_ext"
19912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19922 PASSWD
=$ac_cv_path_PASSWD
19923 if test -n "$PASSWD"; then
19924 { echo "$as_me:$LINENO: result: $PASSWD" >&5
19925 echo "${ECHO_T}$PASSWD" >&6; }
19927 { echo "$as_me:$LINENO: result: no" >&5
19928 echo "${ECHO_T}no" >&6; }
19932 test -n "$PASSWD" && break
19934 test -n "$PASSWD" || PASSWD
="passwd"
19938 if test "$GCC" = "yes"
19940 CFLAGS
="$CFLAGS -Wall"
19943 CFLAGS
="$CFLAGS -I.. -I${srcdir}/.."
19945 { echo "$as_me:$LINENO: checking whether -lm is needed for floor" >&5
19946 echo $ECHO_N "checking whether -lm is needed for floor... $ECHO_C" >&6; }
19947 cat >conftest.
$ac_ext <<_ACEOF
19950 cat confdefs.h
>>conftest.
$ac_ext
19951 cat >>conftest.
$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19954 /* Override any GCC internal prototype to avoid an error.
19955 Use char because int might match the return type of a GCC
19956 builtin and then its argument prototype would still apply. */
19969 rm -f conftest.
$ac_objext conftest
$ac_exeext
19970 if { (ac_try
="$ac_link"
19971 case "(($ac_try" in
19972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19973 *) ac_try_echo=$ac_try;;
19975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19976 (eval "$ac_link") 2>conftest.er1
19978 grep -v '^ *+' conftest.er1 >conftest.err
19980 cat conftest.err >&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } && {
19983 test -z "$ac_c_werror_flag" ||
19984 test ! -s conftest.err
19985 } && test -s conftest$ac_exeext &&
19986 $as_test_x conftest$ac_exeext; then
19987 { echo "$as_me:$LINENO: result: no" >&5
19988 echo "${ECHO_T}no" >&6; }
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19994 { echo "$as_me:$LINENO: result: yes" >&5
19995 echo "${ECHO_T}yes" >&6; }
19998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19999 conftest$ac_exeext conftest.$ac_ext
20002 # Check whether --with-pkgconfdir was given.
20003 if test "${with_pkgconfdir+set}" = set; then
20004 withval=$with_pkgconfdir; pkgconfdir="$withval"
20006 pkgconfdir="$sysconfdir/authlib"
20010 SASL_LIST="SASL(\"PLAIN\", authsasl_plain, authsaslclient_plain) SASL(\"LOGIN\", authsasl_login, authsaslclient_login)"
20016 if test -d ${srcdir}/md5
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_MD5LIB 1
20024 MD5LIB=md5/libmd5.la
20025 if test -d ${srcdir}/md5
20027 SASL_LIST="SASL(\"CRAM-MD5\", authsasl_cram, authsaslclient_crammd5) $SASL_LIST"
20034 if test "$MD5" = 1; then
20047 if test -d ${srcdir}/sha1
20051 cat >>confdefs.h <<_ACEOF
20052 #define HAVE_SHA1LIB 1
20055 SHA1LIB=sha1/libsha1.la
20056 if test -d ${srcdir}/sha1
20058 SASL_LIST="SASL(\"CRAM-SHA1\", authsasl_cram, authsaslclient_cramsha1) $SASL_LIST"
20059 SASL_LIST="SASL(\"CRAM-SHA256\", authsasl_cram, authsaslclient_cramsha256) $SASL_LIST"
20066 if test "$SHA1" = 1; then
20068 HAVE_SHA1_FALSE='#'
20080 if test -d ${srcdir}/libhmac
20084 cat >>confdefs.h <<_ACEOF
20085 #define HAVE_HMACLIB 1
20088 HMACLIB=libhmac/libhmac.la
20094 if test "$HMAC" = 1; then
20096 HAVE_HMACLIB_FALSE='#'
20098 HAVE_HMACLIB_TRUE='#'
20099 HAVE_HMACLIB_FALSE=
20107 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
20108 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
20109 if test "${ac_cv_lib_socket_socket+set}" = set; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 ac_check_lib_save_LIBS=$LIBS
20113 LIBS="-lsocket $LIBS"
20114 cat >conftest.$ac_ext <<_ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20121 /* Override any GCC internal prototype to avoid an error.
20122 Use char because int might match the return type of a GCC
20123 builtin and then its argument prototype would still apply. */
20136 rm -f conftest.$ac_objext conftest$ac_exeext
20137 if { (ac_try="$ac_link"
20138 case "(($ac_try" in
20139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20140 *) ac_try_echo
=$ac_try;;
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_link") 2>conftest.er1
20145 grep -v '^ *+' conftest.er1
>conftest.err
20147 cat conftest.err
>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_c_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest
$ac_exeext &&
20153 $as_test_x conftest
$ac_exeext; then
20154 ac_cv_lib_socket_socket
=yes
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.
$ac_ext >&5
20159 ac_cv_lib_socket_socket
=no
20162 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20163 conftest
$ac_exeext conftest.
$ac_ext
20164 LIBS
=$ac_check_lib_save_LIBS
20166 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
20167 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
20168 if test $ac_cv_lib_socket_socket = yes; then
20174 if test $result = yes; then
20177 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
20178 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
20179 if test "${ac_cv_lib_socket_socket+set}" = set; then
20180 echo $ECHO_N "(cached) $ECHO_C" >&6
20182 ac_check_lib_save_LIBS
=$LIBS
20183 LIBS
="-lsocket -lnsl $LIBS"
20184 cat >conftest.
$ac_ext <<_ACEOF
20187 cat confdefs.h
>>conftest.
$ac_ext
20188 cat >>conftest.
$ac_ext <<_ACEOF
20189 /* end confdefs.h. */
20191 /* Override any GCC internal prototype to avoid an error.
20192 Use char because int might match the return type of a GCC
20193 builtin and then its argument prototype would still apply. */
20206 rm -f conftest.
$ac_objext conftest
$ac_exeext
20207 if { (ac_try
="$ac_link"
20208 case "(($ac_try" in
20209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20210 *) ac_try_echo=$ac_try;;
20212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20213 (eval "$ac_link") 2>conftest.er1
20215 grep -v '^ *+' conftest.er1 >conftest.err
20217 cat conftest.err >&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); } && {
20220 test -z "$ac_c_werror_flag" ||
20221 test ! -s conftest.err
20222 } && test -s conftest$ac_exeext &&
20223 $as_test_x conftest$ac_exeext; then
20224 ac_cv_lib_socket_socket=yes
20226 echo "$as_me: failed program was:" >&5
20227 sed 's/^/| /' conftest.$ac_ext >&5
20229 ac_cv_lib_socket_socket=no
20232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20233 conftest$ac_exeext conftest.$ac_ext
20234 LIBS=$ac_check_lib_save_LIBS
20236 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
20237 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
20238 if test $ac_cv_lib_socket_socket = yes; then
20244 if test $result = yes; then
20245 NETLIBS = "-lsocket -lnsl"
20248 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20249 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
20250 if test "${ac_cv_lib_socket_connect+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20253 ac_check_lib_save_LIBS=$LIBS
20254 LIBS="-lsocket $LIBS"
20255 cat >conftest.$ac_ext <<_ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20262 /* Override any GCC internal prototype to avoid an error.
20263 Use char because int might match the return type of a GCC
20264 builtin and then its argument prototype would still apply. */
20277 rm -f conftest.$ac_objext conftest$ac_exeext
20278 if { (ac_try="$ac_link"
20279 case "(($ac_try" in
20280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20281 *) ac_try_echo
=$ac_try;;
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_link") 2>conftest.er1
20286 grep -v '^ *+' conftest.er1
>conftest.err
20288 cat conftest.err
>&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest
$ac_exeext &&
20294 $as_test_x conftest
$ac_exeext; then
20295 ac_cv_lib_socket_connect
=yes
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.
$ac_ext >&5
20300 ac_cv_lib_socket_connect
=no
20303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20304 conftest
$ac_exeext conftest.
$ac_ext
20305 LIBS
=$ac_check_lib_save_LIBS
20307 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20308 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
20309 if test $ac_cv_lib_socket_connect = yes; then
20315 if test $result = yes; then
20318 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20319 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
20320 if test "${ac_cv_lib_socket_connect+set}" = set; then
20321 echo $ECHO_N "(cached) $ECHO_C" >&6
20323 ac_check_lib_save_LIBS
=$LIBS
20324 LIBS
="-lsocket -lnsl $LIBS"
20325 cat >conftest.
$ac_ext <<_ACEOF
20328 cat confdefs.h
>>conftest.
$ac_ext
20329 cat >>conftest.
$ac_ext <<_ACEOF
20330 /* end confdefs.h. */
20332 /* Override any GCC internal prototype to avoid an error.
20333 Use char because int might match the return type of a GCC
20334 builtin and then its argument prototype would still apply. */
20347 rm -f conftest.
$ac_objext conftest
$ac_exeext
20348 if { (ac_try
="$ac_link"
20349 case "(($ac_try" in
20350 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20351 *) ac_try_echo=$ac_try;;
20353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20354 (eval "$ac_link") 2>conftest.er1
20356 grep -v '^ *+' conftest.er1 >conftest.err
20358 cat conftest.err >&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } && {
20361 test -z "$ac_c_werror_flag" ||
20362 test ! -s conftest.err
20363 } && test -s conftest$ac_exeext &&
20364 $as_test_x conftest$ac_exeext; then
20365 ac_cv_lib_socket_connect=yes
20367 echo "$as_me: failed program was:" >&5
20368 sed 's/^/| /' conftest.$ac_ext >&5
20370 ac_cv_lib_socket_connect=no
20373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20374 conftest$ac_exeext conftest.$ac_ext
20375 LIBS=$ac_check_lib_save_LIBS
20377 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20378 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
20379 if test $ac_cv_lib_socket_connect = yes; then
20385 if test $result = yes; then
20386 NETLIBS="-lsocket -lnsl"
20393 if test $USENSL != yes; then
20394 LIBS="$LIBS $NETLIBS"
20395 cat >conftest.$ac_ext <<_ACEOF
20398 cat confdefs.h >>conftest.$ac_ext
20399 cat >>conftest.$ac_ext <<_ACEOF
20400 /* end confdefs.h. */
20402 /* Override any GCC internal prototype to avoid an error.
20403 Use char because int might match the return type of a GCC
20404 builtin and then its argument prototype would still apply. */
20412 return inet_addr ();
20417 rm -f conftest.$ac_objext conftest$ac_exeext
20418 if { (ac_try="$ac_link"
20419 case "(($ac_try" in
20420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20421 *) ac_try_echo
=$ac_try;;
20423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20424 (eval "$ac_link") 2>conftest.er1
20426 grep -v '^ *+' conftest.er1
>conftest.err
20428 cat conftest.err
>&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); } && {
20431 test -z "$ac_c_werror_flag" ||
20432 test ! -s conftest.err
20433 } && test -s conftest
$ac_exeext &&
20434 $as_test_x conftest
$ac_exeext; then
20437 echo "$as_me: failed program was:" >&5
20438 sed 's/^/| /' conftest.
$ac_ext >&5
20441 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
20442 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
20443 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
20444 echo $ECHO_N "(cached) $ECHO_C" >&6
20446 ac_check_lib_save_LIBS
=$LIBS
20448 cat >conftest.
$ac_ext <<_ACEOF
20451 cat confdefs.h
>>conftest.
$ac_ext
20452 cat >>conftest.
$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20455 /* Override any GCC internal prototype to avoid an error.
20456 Use char because int might match the return type of a GCC
20457 builtin and then its argument prototype would still apply. */
20465 return inet_addr ();
20470 rm -f conftest.
$ac_objext conftest
$ac_exeext
20471 if { (ac_try
="$ac_link"
20472 case "(($ac_try" in
20473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_link") 2>conftest.er1
20479 grep -v '^ *+' conftest.er1 >conftest.err
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } && {
20484 test -z "$ac_c_werror_flag" ||
20485 test ! -s conftest.err
20486 } && test -s conftest$ac_exeext &&
20487 $as_test_x conftest$ac_exeext; then
20488 ac_cv_lib_nsl_inet_addr=yes
20490 echo "$as_me: failed program was:" >&5
20491 sed 's/^/| /' conftest.$ac_ext >&5
20493 ac_cv_lib_nsl_inet_addr=no
20496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20497 conftest$ac_exeext conftest.$ac_ext
20498 LIBS=$ac_check_lib_save_LIBS
20500 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
20501 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
20502 if test $ac_cv_lib_nsl_inet_addr = yes; then
20508 if test $result = yes; then
20509 NETLIBS="$NETLIBS -lnsl"
20514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20515 conftest$ac_exeext conftest.$ac_ext
20526 # Check whether --with-db was given.
20527 if test "${with_db+set}" = set; then
20528 withval=$with_db; db="$withval"
20542 { { echo "$as_me:$LINENO: error: Invalid --with-db option." >&5
20543 echo "$as_me: error: Invalid --with-db option." >&2;}
20544 { (exit 1); exit 1; }; }
20550 if test "$db" != "db"
20552 { echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
20553 echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6; }
20554 if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then
20555 echo $ECHO_N "(cached) $ECHO_C" >&6
20557 ac_check_lib_save_LIBS=$LIBS
20558 LIBS="-lgdbm $LIBS"
20559 cat >conftest.$ac_ext <<_ACEOF
20562 cat confdefs.h >>conftest.$ac_ext
20563 cat >>conftest.$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20566 /* Override any GCC internal prototype to avoid an error.
20567 Use char because int might match the return type of a GCC
20568 builtin and then its argument prototype would still apply. */
20576 return gdbm_open ();
20581 rm -f conftest.$ac_objext conftest$ac_exeext
20582 if { (ac_try="$ac_link"
20583 case "(($ac_try" in
20584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20585 *) ac_try_echo
=$ac_try;;
20587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20588 (eval "$ac_link") 2>conftest.er1
20590 grep -v '^ *+' conftest.er1
>conftest.err
20592 cat conftest.err
>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); } && {
20595 test -z "$ac_c_werror_flag" ||
20596 test ! -s conftest.err
20597 } && test -s conftest
$ac_exeext &&
20598 $as_test_x conftest
$ac_exeext; then
20599 ac_cv_lib_gdbm_gdbm_open
=yes
20601 echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.
$ac_ext >&5
20604 ac_cv_lib_gdbm_gdbm_open
=no
20607 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20608 conftest
$ac_exeext conftest.
$ac_ext
20609 LIBS
=$ac_check_lib_save_LIBS
20611 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
20612 echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6; }
20613 if test $ac_cv_lib_gdbm_gdbm_open = yes; then
20614 LIBGDBM
=-lgdbm ; LIBS
="-lgdbm $LIBS"
20617 { echo "$as_me:$LINENO: checking for gdbm_open" >&5
20618 echo $ECHO_N "checking for gdbm_open... $ECHO_C" >&6; }
20619 if test "${ac_cv_func_gdbm_open+set}" = set; then
20620 echo $ECHO_N "(cached) $ECHO_C" >&6
20622 cat >conftest.
$ac_ext <<_ACEOF
20625 cat confdefs.h
>>conftest.
$ac_ext
20626 cat >>conftest.
$ac_ext <<_ACEOF
20627 /* end confdefs.h. */
20628 /* Define gdbm_open to an innocuous variant, in case <limits.h> declares gdbm_open.
20629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20630 #define gdbm_open innocuous_gdbm_open
20632 /* System header to define __stub macros and hopefully few prototypes,
20633 which can conflict with char gdbm_open (); below.
20634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20635 <limits.h> exists even on freestanding compilers. */
20638 # include <limits.h>
20640 # include <assert.h>
20645 /* Override any GCC internal prototype to avoid an error.
20646 Use char because int might match the return type of a GCC
20647 builtin and then its argument prototype would still apply. */
20652 /* The GNU C library defines this for functions which it implements
20653 to always fail with ENOSYS. Some functions are actually named
20654 something starting with __ and the normal name is an alias. */
20655 #if defined __stub_gdbm_open || defined __stub___gdbm_open
20662 return gdbm_open ();
20667 rm -f conftest.
$ac_objext conftest
$ac_exeext
20668 if { (ac_try
="$ac_link"
20669 case "(($ac_try" in
20670 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20671 *) ac_try_echo=$ac_try;;
20673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20674 (eval "$ac_link") 2>conftest.er1
20676 grep -v '^ *+' conftest.er1 >conftest.err
20678 cat conftest.err >&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); } && {
20681 test -z "$ac_c_werror_flag" ||
20682 test ! -s conftest.err
20683 } && test -s conftest$ac_exeext &&
20684 $as_test_x conftest$ac_exeext; then
20685 ac_cv_func_gdbm_open=yes
20687 echo "$as_me: failed program was:" >&5
20688 sed 's/^/| /' conftest.$ac_ext >&5
20690 ac_cv_func_gdbm_open=no
20693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20694 conftest$ac_exeext conftest.$ac_ext
20696 { echo "$as_me:$LINENO: result: $ac_cv_func_gdbm_open" >&5
20697 echo "${ECHO_T}$ac_cv_func_gdbm_open" >&6; }
20698 if test $ac_cv_func_gdbm_open = yes; then
20706 if test "$db" != "gdbm"
20708 { echo "$as_me:$LINENO: checking for dbopen in -ldb" >&5
20709 echo $ECHO_N "checking for dbopen in -ldb... $ECHO_C" >&6; }
20710 if test "${ac_cv_lib_db_dbopen+set}" = set; then
20711 echo $ECHO_N "(cached) $ECHO_C" >&6
20713 ac_check_lib_save_LIBS=$LIBS
20715 cat >conftest.$ac_ext <<_ACEOF
20718 cat confdefs.h >>conftest.$ac_ext
20719 cat >>conftest.$ac_ext <<_ACEOF
20720 /* end confdefs.h. */
20722 /* Override any GCC internal prototype to avoid an error.
20723 Use char because int might match the return type of a GCC
20724 builtin and then its argument prototype would still apply. */
20737 rm -f conftest.$ac_objext conftest$ac_exeext
20738 if { (ac_try="$ac_link"
20739 case "(($ac_try" in
20740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20741 *) ac_try_echo
=$ac_try;;
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_link") 2>conftest.er1
20746 grep -v '^ *+' conftest.er1
>conftest.err
20748 cat conftest.err
>&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest
$ac_exeext &&
20754 $as_test_x conftest
$ac_exeext; then
20755 ac_cv_lib_db_dbopen
=yes
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.
$ac_ext >&5
20760 ac_cv_lib_db_dbopen
=no
20763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20764 conftest
$ac_exeext conftest.
$ac_ext
20765 LIBS
=$ac_check_lib_save_LIBS
20767 { echo "$as_me:$LINENO: result: $ac_cv_lib_db_dbopen" >&5
20768 echo "${ECHO_T}$ac_cv_lib_db_dbopen" >&6; }
20769 if test $ac_cv_lib_db_dbopen = yes; then
20770 LIBDB
=-ldb ; LIBS
="-ldb $LIBS"
20772 { echo "$as_me:$LINENO: checking for db_open in -ldb" >&5
20773 echo $ECHO_N "checking for db_open in -ldb... $ECHO_C" >&6; }
20774 if test "${ac_cv_lib_db_db_open+set}" = set; then
20775 echo $ECHO_N "(cached) $ECHO_C" >&6
20777 ac_check_lib_save_LIBS
=$LIBS
20779 cat >conftest.
$ac_ext <<_ACEOF
20782 cat confdefs.h
>>conftest.
$ac_ext
20783 cat >>conftest.
$ac_ext <<_ACEOF
20784 /* end confdefs.h. */
20786 /* Override any GCC internal prototype to avoid an error.
20787 Use char because int might match the return type of a GCC
20788 builtin and then its argument prototype would still apply. */
20801 rm -f conftest.
$ac_objext conftest
$ac_exeext
20802 if { (ac_try
="$ac_link"
20803 case "(($ac_try" in
20804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20805 *) ac_try_echo=$ac_try;;
20807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20808 (eval "$ac_link") 2>conftest.er1
20810 grep -v '^ *+' conftest.er1 >conftest.err
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } && {
20815 test -z "$ac_c_werror_flag" ||
20816 test ! -s conftest.err
20817 } && test -s conftest$ac_exeext &&
20818 $as_test_x conftest$ac_exeext; then
20819 ac_cv_lib_db_db_open=yes
20821 echo "$as_me: failed program was:" >&5
20822 sed 's/^/| /' conftest.$ac_ext >&5
20824 ac_cv_lib_db_db_open=no
20827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20828 conftest$ac_exeext conftest.$ac_ext
20829 LIBS=$ac_check_lib_save_LIBS
20831 { echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_open" >&5
20832 echo "${ECHO_T}$ac_cv_lib_db_db_open" >&6; }
20833 if test $ac_cv_lib_db_db_open = yes; then
20834 LIBDB=-ldb ; LIBS="-ldb $LIBS"
20836 { echo "$as_me:$LINENO: checking for db_env_create in -ldb" >&5
20837 echo $ECHO_N "checking for db_env_create in -ldb... $ECHO_C" >&6; }
20838 if test "${ac_cv_lib_db_db_env_create+set}" = set; then
20839 echo $ECHO_N "(cached) $ECHO_C" >&6
20841 ac_check_lib_save_LIBS=$LIBS
20843 cat >conftest.$ac_ext <<_ACEOF
20846 cat confdefs.h >>conftest.$ac_ext
20847 cat >>conftest.$ac_ext <<_ACEOF
20848 /* end confdefs.h. */
20850 /* Override any GCC internal prototype to avoid an error.
20851 Use char because int might match the return type of a GCC
20852 builtin and then its argument prototype would still apply. */
20856 char db_env_create ();
20860 return db_env_create ();
20865 rm -f conftest.$ac_objext conftest$ac_exeext
20866 if { (ac_try="$ac_link"
20867 case "(($ac_try" in
20868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20869 *) ac_try_echo
=$ac_try;;
20871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20872 (eval "$ac_link") 2>conftest.er1
20874 grep -v '^ *+' conftest.er1
>conftest.err
20876 cat conftest.err
>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && {
20879 test -z "$ac_c_werror_flag" ||
20880 test ! -s conftest.err
20881 } && test -s conftest
$ac_exeext &&
20882 $as_test_x conftest
$ac_exeext; then
20883 ac_cv_lib_db_db_env_create
=yes
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.
$ac_ext >&5
20888 ac_cv_lib_db_db_env_create
=no
20891 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20892 conftest
$ac_exeext conftest.
$ac_ext
20893 LIBS
=$ac_check_lib_save_LIBS
20895 { echo "$as_me:$LINENO: result: $ac_cv_lib_db_db_env_create" >&5
20896 echo "${ECHO_T}$ac_cv_lib_db_db_env_create" >&6; }
20897 if test $ac_cv_lib_db_db_env_create = yes; then
20898 LIBDB
=-ldb; LIBS
="-ldb $LIBS"
20907 { echo "$as_me:$LINENO: checking for dbopen" >&5
20908 echo $ECHO_N "checking for dbopen... $ECHO_C" >&6; }
20909 if test "${ac_cv_func_dbopen+set}" = set; then
20910 echo $ECHO_N "(cached) $ECHO_C" >&6
20912 cat >conftest.
$ac_ext <<_ACEOF
20915 cat confdefs.h
>>conftest.
$ac_ext
20916 cat >>conftest.
$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 /* Define dbopen to an innocuous variant, in case <limits.h> declares dbopen.
20919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20920 #define dbopen innocuous_dbopen
20922 /* System header to define __stub macros and hopefully few prototypes,
20923 which can conflict with char dbopen (); below.
20924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20925 <limits.h> exists even on freestanding compilers. */
20928 # include <limits.h>
20930 # include <assert.h>
20935 /* Override any GCC internal prototype to avoid an error.
20936 Use char because int might match the return type of a GCC
20937 builtin and then its argument prototype would still apply. */
20942 /* The GNU C library defines this for functions which it implements
20943 to always fail with ENOSYS. Some functions are actually named
20944 something starting with __ and the normal name is an alias. */
20945 #if defined __stub_dbopen || defined __stub___dbopen
20957 rm -f conftest.
$ac_objext conftest
$ac_exeext
20958 if { (ac_try
="$ac_link"
20959 case "(($ac_try" in
20960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20961 *) ac_try_echo=$ac_try;;
20963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20964 (eval "$ac_link") 2>conftest.er1
20966 grep -v '^ *+' conftest.er1 >conftest.err
20968 cat conftest.err >&5
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); } && {
20971 test -z "$ac_c_werror_flag" ||
20972 test ! -s conftest.err
20973 } && test -s conftest$ac_exeext &&
20974 $as_test_x conftest$ac_exeext; then
20975 ac_cv_func_dbopen=yes
20977 echo "$as_me: failed program was:" >&5
20978 sed 's/^/| /' conftest.$ac_ext >&5
20980 ac_cv_func_dbopen=no
20983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20984 conftest$ac_exeext conftest.$ac_ext
20986 { echo "$as_me:$LINENO: result: $ac_cv_func_dbopen" >&5
20987 echo "${ECHO_T}$ac_cv_func_dbopen" >&6; }
20988 if test $ac_cv_func_dbopen = yes; then
20992 { echo "$as_me:$LINENO: checking for db_open" >&5
20993 echo $ECHO_N "checking for db_open... $ECHO_C" >&6; }
20994 if test "${ac_cv_func_db_open+set}" = set; then
20995 echo $ECHO_N "(cached) $ECHO_C" >&6
20997 cat >conftest.$ac_ext <<_ACEOF
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 /* Define db_open to an innocuous variant, in case <limits.h> declares db_open.
21004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21005 #define db_open innocuous_db_open
21007 /* System header to define __stub macros and hopefully few prototypes,
21008 which can conflict with char db_open (); below.
21009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21010 <limits.h> exists even on freestanding compilers. */
21013 # include <limits.h>
21015 # include <assert.h>
21020 /* Override any GCC internal prototype to avoid an error.
21021 Use char because int might match the return type of a GCC
21022 builtin and then its argument prototype would still apply. */
21027 /* The GNU C library defines this for functions which it implements
21028 to always fail with ENOSYS. Some functions are actually named
21029 something starting with __ and the normal name is an alias. */
21030 #if defined __stub_db_open || defined __stub___db_open
21042 rm -f conftest.$ac_objext conftest$ac_exeext
21043 if { (ac_try="$ac_link"
21044 case "(($ac_try" in
21045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21046 *) ac_try_echo
=$ac_try;;
21048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21049 (eval "$ac_link") 2>conftest.er1
21051 grep -v '^ *+' conftest.er1
>conftest.err
21053 cat conftest.err
>&5
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); } && {
21056 test -z "$ac_c_werror_flag" ||
21057 test ! -s conftest.err
21058 } && test -s conftest
$ac_exeext &&
21059 $as_test_x conftest
$ac_exeext; then
21060 ac_cv_func_db_open
=yes
21062 echo "$as_me: failed program was:" >&5
21063 sed 's/^/| /' conftest.
$ac_ext >&5
21065 ac_cv_func_db_open
=no
21068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21069 conftest
$ac_exeext conftest.
$ac_ext
21071 { echo "$as_me:$LINENO: result: $ac_cv_func_db_open" >&5
21072 echo "${ECHO_T}$ac_cv_func_db_open" >&6; }
21073 if test $ac_cv_func_db_open = yes; then
21077 { echo "$as_me:$LINENO: checking for db_env_create" >&5
21078 echo $ECHO_N "checking for db_env_create... $ECHO_C" >&6; }
21079 if test "${ac_cv_func_db_env_create+set}" = set; then
21080 echo $ECHO_N "(cached) $ECHO_C" >&6
21082 cat >conftest.
$ac_ext <<_ACEOF
21085 cat confdefs.h
>>conftest.
$ac_ext
21086 cat >>conftest.
$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21088 /* Define db_env_create to an innocuous variant, in case <limits.h> declares db_env_create.
21089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21090 #define db_env_create innocuous_db_env_create
21092 /* System header to define __stub macros and hopefully few prototypes,
21093 which can conflict with char db_env_create (); below.
21094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21095 <limits.h> exists even on freestanding compilers. */
21098 # include <limits.h>
21100 # include <assert.h>
21103 #undef db_env_create
21105 /* Override any GCC internal prototype to avoid an error.
21106 Use char because int might match the return type of a GCC
21107 builtin and then its argument prototype would still apply. */
21111 char db_env_create ();
21112 /* The GNU C library defines this for functions which it implements
21113 to always fail with ENOSYS. Some functions are actually named
21114 something starting with __ and the normal name is an alias. */
21115 #if defined __stub_db_env_create || defined __stub___db_env_create
21122 return db_env_create ();
21127 rm -f conftest.
$ac_objext conftest
$ac_exeext
21128 if { (ac_try
="$ac_link"
21129 case "(($ac_try" in
21130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21131 *) ac_try_echo=$ac_try;;
21133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21134 (eval "$ac_link") 2>conftest.er1
21136 grep -v '^ *+' conftest.er1 >conftest.err
21138 cat conftest.err >&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } && {
21141 test -z "$ac_c_werror_flag" ||
21142 test ! -s conftest.err
21143 } && test -s conftest$ac_exeext &&
21144 $as_test_x conftest$ac_exeext; then
21145 ac_cv_func_db_env_create=yes
21147 echo "$as_me: failed program was:" >&5
21148 sed 's/^/| /' conftest.$ac_ext >&5
21150 ac_cv_func_db_env_create=no
21153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21154 conftest$ac_exeext conftest.$ac_ext
21156 { echo "$as_me:$LINENO: result: $ac_cv_func_db_env_create" >&5
21157 echo "${ECHO_T}$ac_cv_func_db_env_create" >&6; }
21158 if test $ac_cv_func_db_env_create = yes; then
21166 if test "$HAVE_GDBM$HAVE_BDB" = ""
21168 { { echo "$as_me:$LINENO: error: Cannot find either the gdbm or the db library." >&5
21169 echo "$as_me: error: Cannot find either the gdbm or the db library." >&2;}
21170 { (exit 1); exit 1; }; }
21176 if test "$HAVE_GDBM" = "y"
21181 if test "$needs_withdb" = 1
21183 ac_configure_args="$ac_configure_args --with-db=gdbm"
21185 dblibrary=gdbmobj/libgdbmobj.la
21190 if test "$needs_withdb" = 1
21192 ac_configure_args="$ac_configure_args --with-db=db"
21194 dblibrary=bdbobj/libbdbobj.la
21204 # Check whether --with-authuserdb was given.
21205 if test "${with_authuserdb+set}" = set; then
21206 withval=$with_authuserdb; doauthuserdb="$withval"
21209 if test -d ${srcdir}/userdb
21216 if test "$doauthuserdb" = "no"
21220 AUTHUSERDB="authuserdb"
21221 LIBAUTHUSERDB="libauthuserdb.la"
21226 # Check whether --with-makedatprog was given.
21227 if test "${with_makedatprog+set}" = set; then
21228 withval=$with_makedatprog; :
21231 ac_configure_args="$ac_configure_args --with-makedatprog=$libexecdir/courier-authlib/makedatprog"
21236 cat >dbobj.config <<EOF
21239 dblibrary=$dblibrary
21250 userdb="$pkgconfdir/userdb"
21252 # Check whether --with-userdb was given.
21253 if test "${with_userdb+set}" = set; then
21254 withval=$with_userdb; userdb="$withval"
21256 ac_configure_args="$ac_configure_args '--with-userdb=$userdb'"
21261 cat >>confdefs.h <<_ACEOF
21262 #define USERDB "$userdb"
21268 for ac_header in stdio.h
21270 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
21271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21272 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21274 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21275 echo $ECHO_N "(cached) $ECHO_C" >&6
21277 ac_res=`eval echo '${'$as_ac_Header'}'`
21278 { echo "$as_me:$LINENO: result: $ac_res" >&5
21279 echo "${ECHO_T}$ac_res" >&6; }
21281 # Is the header compilable?
21282 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21283 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21284 cat >conftest.$ac_ext <<_ACEOF
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 $ac_includes_default
21291 #include <$ac_header>
21293 rm -f conftest.$ac_objext
21294 if { (ac_try="$ac_compile"
21295 case "(($ac_try" in
21296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21297 *) ac_try_echo
=$ac_try;;
21299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21300 (eval "$ac_compile") 2>conftest.er1
21302 grep -v '^ *+' conftest.er1
>conftest.err
21304 cat conftest.err
>&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); } && {
21307 test -z "$ac_c_werror_flag" ||
21308 test ! -s conftest.err
21309 } && test -s conftest.
$ac_objext; then
21310 ac_header_compiler
=yes
21312 echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.
$ac_ext >&5
21315 ac_header_compiler
=no
21318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21319 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21320 echo "${ECHO_T}$ac_header_compiler" >&6; }
21322 # Is the header present?
21323 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21324 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21325 cat >conftest.
$ac_ext <<_ACEOF
21328 cat confdefs.h
>>conftest.
$ac_ext
21329 cat >>conftest.
$ac_ext <<_ACEOF
21330 /* end confdefs.h. */
21331 #include <$ac_header>
21333 if { (ac_try
="$ac_cpp conftest.$ac_ext"
21334 case "(($ac_try" in
21335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21336 *) ac_try_echo=$ac_try;;
21338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21339 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21341 grep -v '^ *+' conftest.er1 >conftest.err
21343 cat conftest.err >&5
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); } >/dev/null && {
21346 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21347 test ! -s conftest.err
21349 ac_header_preproc=yes
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.$ac_ext >&5
21354 ac_header_preproc=no
21357 rm -f conftest.err conftest.$ac_ext
21358 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21359 echo "${ECHO_T}$ac_header_preproc" >&6; }
21361 # So? What about this header?
21362 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21364 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21365 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21367 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21368 ac_header_preproc=yes
21371 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21372 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21373 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21374 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21375 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21376 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21377 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21378 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21381 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21382 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21384 ## -------------------------------------------------- ##
21385 ## Report this to courier-users@lists.sourceforge.net ##
21386 ## -------------------------------------------------- ##
21388 ) | sed "s/^/$as_me: WARNING: /" >&2
21391 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 eval "$as_ac_Header=\$ac_header_preproc"
21398 ac_res=`eval echo '${'$as_ac_Header'}'`
21399 { echo "$as_me:$LINENO: result: $ac_res" >&5
21400 echo "${ECHO_T}$ac_res" >&6; }
21403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21404 cat >>confdefs.h <<_ACEOF
21405 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
21417 # Check whether --with-authpam was given.
21418 if test "${with_authpam+set}" = set; then
21419 withval=$with_authpam; doauthpam="$withval"
21425 for ac_header in security/pam_appl.h Pam/pam_appl.h
21427 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
21428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21429 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21431 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21432 echo $ECHO_N "(cached) $ECHO_C" >&6
21434 ac_res=`eval echo '${'$as_ac_Header'}'`
21435 { echo "$as_me:$LINENO: result: $ac_res" >&5
21436 echo "${ECHO_T}$ac_res" >&6; }
21438 # Is the header compilable?
21439 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21441 cat >conftest.$ac_ext <<_ACEOF
21444 cat confdefs.h >>conftest.$ac_ext
21445 cat >>conftest.$ac_ext <<_ACEOF
21446 /* end confdefs.h. */
21447 $ac_includes_default
21448 #include <$ac_header>
21450 rm -f conftest.$ac_objext
21451 if { (ac_try="$ac_compile"
21452 case "(($ac_try" in
21453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21454 *) ac_try_echo
=$ac_try;;
21456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21457 (eval "$ac_compile") 2>conftest.er1
21459 grep -v '^ *+' conftest.er1
>conftest.err
21461 cat conftest.err
>&5
21462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21463 (exit $ac_status); } && {
21464 test -z "$ac_c_werror_flag" ||
21465 test ! -s conftest.err
21466 } && test -s conftest.
$ac_objext; then
21467 ac_header_compiler
=yes
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.
$ac_ext >&5
21472 ac_header_compiler
=no
21475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21476 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21477 echo "${ECHO_T}$ac_header_compiler" >&6; }
21479 # Is the header present?
21480 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21482 cat >conftest.
$ac_ext <<_ACEOF
21485 cat confdefs.h
>>conftest.
$ac_ext
21486 cat >>conftest.
$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 #include <$ac_header>
21490 if { (ac_try
="$ac_cpp conftest.$ac_ext"
21491 case "(($ac_try" in
21492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21493 *) ac_try_echo=$ac_try;;
21495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21498 grep -v '^ *+' conftest.er1 >conftest.err
21500 cat conftest.err >&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); } >/dev/null && {
21503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21504 test ! -s conftest.err
21506 ac_header_preproc=yes
21508 echo "$as_me: failed program was:" >&5
21509 sed 's/^/| /' conftest.$ac_ext >&5
21511 ac_header_preproc=no
21514 rm -f conftest.err conftest.$ac_ext
21515 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21516 echo "${ECHO_T}$ac_header_preproc" >&6; }
21518 # So? What about this header?
21519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21525 ac_header_preproc=yes
21528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21541 ## -------------------------------------------------- ##
21542 ## Report this to courier-users@lists.sourceforge.net ##
21543 ## -------------------------------------------------- ##
21545 ) | sed "s/^/$as_me: WARNING: /" >&2
21548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21551 echo $ECHO_N "(cached) $ECHO_C" >&6
21553 eval "$as_ac_Header=\$ac_header_preproc"
21555 ac_res=`eval echo '${'$as_ac_Header'}'`
21556 { echo "$as_me:$LINENO: result: $ac_res" >&5
21557 echo "${ECHO_T}$ac_res" >&6; }
21560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21561 cat >>confdefs.h <<_ACEOF
21562 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
21569 if test "$doauthpam" = "no"
21575 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
21576 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
21577 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
21578 echo $ECHO_N "(cached) $ECHO_C" >&6
21580 ac_check_lib_save_LIBS=$LIBS
21582 cat >conftest.$ac_ext <<_ACEOF
21585 cat confdefs.h >>conftest.$ac_ext
21586 cat >>conftest.$ac_ext <<_ACEOF
21587 /* end confdefs.h. */
21589 /* Override any GCC internal prototype to avoid an error.
21590 Use char because int might match the return type of a GCC
21591 builtin and then its argument prototype would still apply. */
21604 rm -f conftest.$ac_objext conftest$ac_exeext
21605 if { (ac_try="$ac_link"
21606 case "(($ac_try" in
21607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21608 *) ac_try_echo
=$ac_try;;
21610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21611 (eval "$ac_link") 2>conftest.er1
21613 grep -v '^ *+' conftest.er1
>conftest.err
21615 cat conftest.err
>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); } && {
21618 test -z "$ac_c_werror_flag" ||
21619 test ! -s conftest.err
21620 } && test -s conftest
$ac_exeext &&
21621 $as_test_x conftest
$ac_exeext; then
21622 ac_cv_lib_dl_dlopen
=yes
21624 echo "$as_me: failed program was:" >&5
21625 sed 's/^/| /' conftest.
$ac_ext >&5
21627 ac_cv_lib_dl_dlopen
=no
21630 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21631 conftest
$ac_exeext conftest.
$ac_ext
21632 LIBS
=$ac_check_lib_save_LIBS
21634 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
21635 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
21636 if test $ac_cv_lib_dl_dlopen = yes; then
21642 { echo "$as_me:$LINENO: checking for pam_start in -lpam" >&5
21643 echo $ECHO_N "checking for pam_start in -lpam... $ECHO_C" >&6; }
21644 if test "${ac_cv_lib_pam_pam_start+set}" = set; then
21645 echo $ECHO_N "(cached) $ECHO_C" >&6
21647 ac_check_lib_save_LIBS
=$LIBS
21648 LIBS
="-lpam $LIBDL $LIBS"
21649 cat >conftest.
$ac_ext <<_ACEOF
21652 cat confdefs.h
>>conftest.
$ac_ext
21653 cat >>conftest.
$ac_ext <<_ACEOF
21654 /* end confdefs.h. */
21656 /* Override any GCC internal prototype to avoid an error.
21657 Use char because int might match the return type of a GCC
21658 builtin and then its argument prototype would still apply. */
21666 return pam_start ();
21671 rm -f conftest.
$ac_objext conftest
$ac_exeext
21672 if { (ac_try
="$ac_link"
21673 case "(($ac_try" in
21674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21675 *) ac_try_echo=$ac_try;;
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_link") 2>conftest.er1
21680 grep -v '^ *+' conftest.er1 >conftest.err
21682 cat conftest.err >&5
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); } && {
21685 test -z "$ac_c_werror_flag" ||
21686 test ! -s conftest.err
21687 } && test -s conftest$ac_exeext &&
21688 $as_test_x conftest$ac_exeext; then
21689 ac_cv_lib_pam_pam_start=yes
21691 echo "$as_me: failed program was:" >&5
21692 sed 's/^/| /' conftest.$ac_ext >&5
21694 ac_cv_lib_pam_pam_start=no
21697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21698 conftest$ac_exeext conftest.$ac_ext
21699 LIBS=$ac_check_lib_save_LIBS
21701 { echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_start" >&5
21702 echo "${ECHO_T}$ac_cv_lib_pam_pam_start" >&6; }
21703 if test $ac_cv_lib_pam_pam_start = yes; then
21705 LIBS="-lpam $LIBDL $LIBS"
21707 for ac_func in pam_setcred
21709 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
21710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
21711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21713 echo $ECHO_N "(cached) $ECHO_C" >&6
21715 cat >conftest.$ac_ext <<_ACEOF
21718 cat confdefs.h >>conftest.$ac_ext
21719 cat >>conftest.$ac_ext <<_ACEOF
21720 /* end confdefs.h. */
21721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21723 #define $ac_func innocuous_$ac_func
21725 /* System header to define __stub macros and hopefully few prototypes,
21726 which can conflict with char $ac_func (); below.
21727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21728 <limits.h> exists even on freestanding compilers. */
21731 # include <limits.h>
21733 # include <assert.h>
21738 /* Override any GCC internal prototype to avoid an error.
21739 Use char because int might match the return type of a GCC
21740 builtin and then its argument prototype would still apply. */
21745 /* The GNU C library defines this for functions which it implements
21746 to always fail with ENOSYS. Some functions are actually named
21747 something starting with __ and the normal name is an alias. */
21748 #if defined __stub_$ac_func || defined __stub___$ac_func
21755 return $ac_func ();
21760 rm -f conftest.$ac_objext conftest$ac_exeext
21761 if { (ac_try="$ac_link"
21762 case "(($ac_try" in
21763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21764 *) ac_try_echo
=$ac_try;;
21766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21767 (eval "$ac_link") 2>conftest.er1
21769 grep -v '^ *+' conftest.er1
>conftest.err
21771 cat conftest.err
>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } && {
21774 test -z "$ac_c_werror_flag" ||
21775 test ! -s conftest.err
21776 } && test -s conftest
$ac_exeext &&
21777 $as_test_x conftest
$ac_exeext; then
21778 eval "$as_ac_var=yes"
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.
$ac_ext >&5
21783 eval "$as_ac_var=no"
21786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21787 conftest
$ac_exeext conftest.
$ac_ext
21789 ac_res
=`eval echo '${'$as_ac_var'}'`
21790 { echo "$as_me:$LINENO: result: $ac_res" >&5
21791 echo "${ECHO_T}$ac_res" >&6; }
21792 if test `eval echo '${'$as_ac_var'}'` = yes; then
21793 cat >>confdefs.h
<<_ACEOF
21794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21809 if test "$HAVE_PAM" = 1
21811 LIBAUTHPAM
=libauthpam.la
21815 # Check whether --with-authpam-libraries was given.
21816 if test "${with_authpam_libraries+set}" = set; then
21817 withval
=$with_authpam_libraries; authpamcrypt
="$withval"
21821 AUTHPAMCRYPT
="$authpamcrypt"
21829 # Check whether --with-authldap was given.
21830 if test "${with_authldap+set}" = set; then
21831 withval
=$with_authldap; doauthldap
="$withval"
21838 for ac_header
in lber.h
21840 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21841 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21842 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21844 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21845 echo $ECHO_N "(cached) $ECHO_C" >&6
21847 ac_res
=`eval echo '${'$as_ac_Header'}'`
21848 { echo "$as_me:$LINENO: result: $ac_res" >&5
21849 echo "${ECHO_T}$ac_res" >&6; }
21851 # Is the header compilable?
21852 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21854 cat >conftest.
$ac_ext <<_ACEOF
21857 cat confdefs.h
>>conftest.
$ac_ext
21858 cat >>conftest.
$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21860 $ac_includes_default
21861 #include <$ac_header>
21863 rm -f conftest.
$ac_objext
21864 if { (ac_try
="$ac_compile"
21865 case "(($ac_try" in
21866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21867 *) ac_try_echo=$ac_try;;
21869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21870 (eval "$ac_compile") 2>conftest.er1
21872 grep -v '^ *+' conftest.er1 >conftest.err
21874 cat conftest.err >&5
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); } && {
21877 test -z "$ac_c_werror_flag" ||
21878 test ! -s conftest.err
21879 } && test -s conftest.$ac_objext; then
21880 ac_header_compiler=yes
21882 echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.$ac_ext >&5
21885 ac_header_compiler=no
21888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21889 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21890 echo "${ECHO_T}$ac_header_compiler" >&6; }
21892 # Is the header present?
21893 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
21894 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21895 cat >conftest.$ac_ext <<_ACEOF
21898 cat confdefs.h >>conftest.$ac_ext
21899 cat >>conftest.$ac_ext <<_ACEOF
21900 /* end confdefs.h. */
21901 #include <$ac_header>
21903 if { (ac_try="$ac_cpp conftest.$ac_ext"
21904 case "(($ac_try" in
21905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21906 *) ac_try_echo
=$ac_try;;
21908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21911 grep -v '^ *+' conftest.er1
>conftest.err
21913 cat conftest.err
>&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } >/dev
/null
&& {
21916 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21917 test ! -s conftest.err
21919 ac_header_preproc
=yes
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.
$ac_ext >&5
21924 ac_header_preproc
=no
21927 rm -f conftest.err conftest.
$ac_ext
21928 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21929 echo "${ECHO_T}$ac_header_preproc" >&6; }
21931 # So? What about this header?
21932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21938 ac_header_preproc
=yes
21941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21945 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21947 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21954 ## -------------------------------------------------- ##
21955 ## Report this to courier-users@lists.sourceforge.net ##
21956 ## -------------------------------------------------- ##
21958 ) |
sed "s/^/$as_me: WARNING: /" >&2
21961 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21963 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21964 echo $ECHO_N "(cached) $ECHO_C" >&6
21966 eval "$as_ac_Header=\$ac_header_preproc"
21968 ac_res
=`eval echo '${'$as_ac_Header'}'`
21969 { echo "$as_me:$LINENO: result: $ac_res" >&5
21970 echo "${ECHO_T}$ac_res" >&6; }
21973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21974 cat >>confdefs.h
<<_ACEOF
21975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21983 for ac_header
in ldap.h
21985 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21986 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21987 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21989 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21990 echo $ECHO_N "(cached) $ECHO_C" >&6
21992 ac_res
=`eval echo '${'$as_ac_Header'}'`
21993 { echo "$as_me:$LINENO: result: $ac_res" >&5
21994 echo "${ECHO_T}$ac_res" >&6; }
21996 # Is the header compilable?
21997 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
21998 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21999 cat >conftest.
$ac_ext <<_ACEOF
22002 cat confdefs.h
>>conftest.
$ac_ext
22003 cat >>conftest.
$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22005 $ac_includes_default
22006 #include <$ac_header>
22008 rm -f conftest.
$ac_objext
22009 if { (ac_try
="$ac_compile"
22010 case "(($ac_try" in
22011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22012 *) ac_try_echo=$ac_try;;
22014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22015 (eval "$ac_compile") 2>conftest.er1
22017 grep -v '^ *+' conftest.er1 >conftest.err
22019 cat conftest.err >&5
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); } && {
22022 test -z "$ac_c_werror_flag" ||
22023 test ! -s conftest.err
22024 } && test -s conftest.$ac_objext; then
22025 ac_header_compiler=yes
22027 echo "$as_me: failed program was:" >&5
22028 sed 's/^/| /' conftest.$ac_ext >&5
22030 ac_header_compiler=no
22033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22034 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22035 echo "${ECHO_T}$ac_header_compiler" >&6; }
22037 # Is the header present?
22038 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22040 cat >conftest.$ac_ext <<_ACEOF
22043 cat confdefs.h >>conftest.$ac_ext
22044 cat >>conftest.$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 #include <$ac_header>
22048 if { (ac_try="$ac_cpp conftest.$ac_ext"
22049 case "(($ac_try" in
22050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22051 *) ac_try_echo
=$ac_try;;
22053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22054 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22056 grep -v '^ *+' conftest.er1
>conftest.err
22058 cat conftest.err
>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); } >/dev
/null
&& {
22061 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22062 test ! -s conftest.err
22064 ac_header_preproc
=yes
22066 echo "$as_me: failed program was:" >&5
22067 sed 's/^/| /' conftest.
$ac_ext >&5
22069 ac_header_preproc
=no
22072 rm -f conftest.err conftest.
$ac_ext
22073 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22074 echo "${ECHO_T}$ac_header_preproc" >&6; }
22076 # So? What about this header?
22077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22079 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22080 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22082 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22083 ac_header_preproc
=yes
22086 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22087 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22088 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22089 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22090 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22091 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22092 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22093 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22096 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22097 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22099 ## -------------------------------------------------- ##
22100 ## Report this to courier-users@lists.sourceforge.net ##
22101 ## -------------------------------------------------- ##
22103 ) |
sed "s/^/$as_me: WARNING: /" >&2
22106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22108 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22109 echo $ECHO_N "(cached) $ECHO_C" >&6
22111 eval "$as_ac_Header=\$ac_header_preproc"
22113 ac_res
=`eval echo '${'$as_ac_Header'}'`
22114 { echo "$as_me:$LINENO: result: $ac_res" >&5
22115 echo "${ECHO_T}$ac_res" >&6; }
22118 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22119 cat >>confdefs.h
<<_ACEOF
22120 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22128 for ac_header
in netinet
/in.h
22130 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22131 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22132 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22134 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22135 echo $ECHO_N "(cached) $ECHO_C" >&6
22137 ac_res
=`eval echo '${'$as_ac_Header'}'`
22138 { echo "$as_me:$LINENO: result: $ac_res" >&5
22139 echo "${ECHO_T}$ac_res" >&6; }
22141 # Is the header compilable?
22142 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
22143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
22144 cat >conftest.
$ac_ext <<_ACEOF
22147 cat confdefs.h
>>conftest.
$ac_ext
22148 cat >>conftest.
$ac_ext <<_ACEOF
22149 /* end confdefs.h. */
22150 $ac_includes_default
22151 #include <$ac_header>
22153 rm -f conftest.
$ac_objext
22154 if { (ac_try
="$ac_compile"
22155 case "(($ac_try" in
22156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22157 *) ac_try_echo=$ac_try;;
22159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22160 (eval "$ac_compile") 2>conftest.er1
22162 grep -v '^ *+' conftest.er1 >conftest.err
22164 cat conftest.err >&5
22165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22166 (exit $ac_status); } && {
22167 test -z "$ac_c_werror_flag" ||
22168 test ! -s conftest.err
22169 } && test -s conftest.$ac_objext; then
22170 ac_header_compiler=yes
22172 echo "$as_me: failed program was:" >&5
22173 sed 's/^/| /' conftest.$ac_ext >&5
22175 ac_header_compiler=no
22178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22179 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22180 echo "${ECHO_T}$ac_header_compiler" >&6; }
22182 # Is the header present?
22183 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
22184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
22185 cat >conftest.$ac_ext <<_ACEOF
22188 cat confdefs.h >>conftest.$ac_ext
22189 cat >>conftest.$ac_ext <<_ACEOF
22190 /* end confdefs.h. */
22191 #include <$ac_header>
22193 if { (ac_try="$ac_cpp conftest.$ac_ext"
22194 case "(($ac_try" in
22195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22196 *) ac_try_echo
=$ac_try;;
22198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22201 grep -v '^ *+' conftest.er1
>conftest.err
22203 cat conftest.err
>&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); } >/dev
/null
&& {
22206 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22207 test ! -s conftest.err
22209 ac_header_preproc
=yes
22211 echo "$as_me: failed program was:" >&5
22212 sed 's/^/| /' conftest.
$ac_ext >&5
22214 ac_header_preproc
=no
22217 rm -f conftest.err conftest.
$ac_ext
22218 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22219 echo "${ECHO_T}$ac_header_preproc" >&6; }
22221 # So? What about this header?
22222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22228 ac_header_preproc
=yes
22231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22244 ## -------------------------------------------------- ##
22245 ## Report this to courier-users@lists.sourceforge.net ##
22246 ## -------------------------------------------------- ##
22248 ) |
sed "s/^/$as_me: WARNING: /" >&2
22251 { echo "$as_me:$LINENO: checking for $ac_header" >&5
22252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
22253 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22254 echo $ECHO_N "(cached) $ECHO_C" >&6
22256 eval "$as_ac_Header=\$ac_header_preproc"
22258 ac_res
=`eval echo '${'$as_ac_Header'}'`
22259 { echo "$as_me:$LINENO: result: $ac_res" >&5
22260 echo "${ECHO_T}$ac_res" >&6; }
22263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22264 cat >>confdefs.h
<<_ACEOF
22265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22273 if test "$doauthldap" = "no"
22278 LIBS
="$NETLIBS $LIBS"
22281 { echo "$as_me:$LINENO: checking whether -lresolv is needed for res_query" >&5
22282 echo $ECHO_N "checking whether -lresolv is needed for res_query... $ECHO_C" >&6; }
22283 cat >conftest.
$ac_ext <<_ACEOF
22286 cat confdefs.h
>>conftest.
$ac_ext
22287 cat >>conftest.
$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22290 #include <sys/types.h>
22291 #if HAVE_NETINET_IN_H
22292 #include <netinet/in.h>
22294 #include <resolv.h>
22296 void (*func)()= (void (*)())res_query;
22306 rm -f conftest.
$ac_objext conftest
$ac_exeext
22307 if { (ac_try
="$ac_link"
22308 case "(($ac_try" in
22309 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22310 *) ac_try_echo=$ac_try;;
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22313 (eval "$ac_link") 2>conftest.er1
22315 grep -v '^ *+' conftest.er1 >conftest.err
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } && {
22320 test -z "$ac_c_werror_flag" ||
22321 test ! -s conftest.err
22322 } && test -s conftest$ac_exeext &&
22323 $as_test_x conftest$ac_exeext; then
22324 { echo "$as_me:$LINENO: result: no" >&5
22325 echo "${ECHO_T}no" >&6; }
22327 echo "$as_me: failed program was:" >&5
22328 sed 's/^/| /' conftest.$ac_ext >&5
22331 LIBS="-lresolv $LIBS"
22333 cat >conftest.$ac_ext <<_ACEOF
22336 cat confdefs.h >>conftest.$ac_ext
22337 cat >>conftest.$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22340 #include <sys/types.h>
22341 #if HAVE_NETINET_IN_H
22342 #include <netinet/in.h>
22344 #include <resolv.h>
22346 void (*func)()= (void (*)())res_query;
22356 rm -f conftest.$ac_objext conftest$ac_exeext
22357 if { (ac_try="$ac_link"
22358 case "(($ac_try" in
22359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22360 *) ac_try_echo
=$ac_try;;
22362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22363 (eval "$ac_link") 2>conftest.er1
22365 grep -v '^ *+' conftest.er1
>conftest.err
22367 cat conftest.err
>&5
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); } && {
22370 test -z "$ac_c_werror_flag" ||
22371 test ! -s conftest.err
22372 } && test -s conftest
$ac_exeext &&
22373 $as_test_x conftest
$ac_exeext; then
22375 LDAPLIBS
="-lresolv $LDAPLIBS"
22377 { echo "$as_me:$LINENO: result: yes" >&5
22378 echo "${ECHO_T}yes" >&6; }
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.
$ac_ext >&5
22384 { { echo "$as_me:$LINENO: error: Cannot find function res_query" >&5
22385 echo "$as_me: error: Cannot find function res_query" >&2;}
22386 { (exit 1); exit 1; }; }
22389 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22390 conftest
$ac_exeext conftest.
$ac_ext
22394 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22395 conftest
$ac_exeext conftest.
$ac_ext
22397 { echo "$as_me:$LINENO: checking for ber_scanf in -llber" >&5
22398 echo $ECHO_N "checking for ber_scanf in -llber... $ECHO_C" >&6; }
22399 if test "${ac_cv_lib_lber_ber_scanf+set}" = set; then
22400 echo $ECHO_N "(cached) $ECHO_C" >&6
22402 ac_check_lib_save_LIBS
=$LIBS
22403 LIBS
="-llber $LIBS"
22404 cat >conftest.
$ac_ext <<_ACEOF
22407 cat confdefs.h
>>conftest.
$ac_ext
22408 cat >>conftest.
$ac_ext <<_ACEOF
22409 /* end confdefs.h. */
22411 /* Override any GCC internal prototype to avoid an error.
22412 Use char because int might match the return type of a GCC
22413 builtin and then its argument prototype would still apply. */
22421 return ber_scanf ();
22426 rm -f conftest.
$ac_objext conftest
$ac_exeext
22427 if { (ac_try
="$ac_link"
22428 case "(($ac_try" in
22429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22430 *) ac_try_echo=$ac_try;;
22432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22433 (eval "$ac_link") 2>conftest.er1
22435 grep -v '^ *+' conftest.er1 >conftest.err
22437 cat conftest.err >&5
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); } && {
22440 test -z "$ac_c_werror_flag" ||
22441 test ! -s conftest.err
22442 } && test -s conftest$ac_exeext &&
22443 $as_test_x conftest$ac_exeext; then
22444 ac_cv_lib_lber_ber_scanf=yes
22446 echo "$as_me: failed program was:" >&5
22447 sed 's/^/| /' conftest.$ac_ext >&5
22449 ac_cv_lib_lber_ber_scanf=no
22452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22453 conftest$ac_exeext conftest.$ac_ext
22454 LIBS=$ac_check_lib_save_LIBS
22456 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_scanf" >&5
22457 echo "${ECHO_T}$ac_cv_lib_lber_ber_scanf" >&6; }
22458 if test $ac_cv_lib_lber_ber_scanf = yes; then
22459 LDAPLIBS="-llber $LDAPLIBS" LIBS="-llber $LIBS"
22462 { echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
22463 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6; }
22464 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
22465 echo $ECHO_N "(cached) $ECHO_C" >&6
22467 ac_check_lib_save_LIBS=$LIBS
22468 LIBS="-lldap $LIBS"
22469 cat >conftest.$ac_ext <<_ACEOF
22472 cat confdefs.h >>conftest.$ac_ext
22473 cat >>conftest.$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22476 /* Override any GCC internal prototype to avoid an error.
22477 Use char because int might match the return type of a GCC
22478 builtin and then its argument prototype would still apply. */
22486 return ldap_open ();
22491 rm -f conftest.$ac_objext conftest$ac_exeext
22492 if { (ac_try="$ac_link"
22493 case "(($ac_try" in
22494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22495 *) ac_try_echo
=$ac_try;;
22497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22498 (eval "$ac_link") 2>conftest.er1
22500 grep -v '^ *+' conftest.er1
>conftest.err
22502 cat conftest.err
>&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); } && {
22505 test -z "$ac_c_werror_flag" ||
22506 test ! -s conftest.err
22507 } && test -s conftest
$ac_exeext &&
22508 $as_test_x conftest
$ac_exeext; then
22509 ac_cv_lib_ldap_ldap_open
=yes
22511 echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.
$ac_ext >&5
22514 ac_cv_lib_ldap_ldap_open
=no
22517 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22518 conftest
$ac_exeext conftest.
$ac_ext
22519 LIBS
=$ac_check_lib_save_LIBS
22521 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
22522 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6; }
22523 if test $ac_cv_lib_ldap_ldap_open = yes; then
22524 LDAPLIBS
="-lldap $LDAPLIBS" ; LIBS
="-lldap $LIBS"
22527 { echo "$as_me:$LINENO: checking for ldap_search_st" >&5
22528 echo $ECHO_N "checking for ldap_search_st... $ECHO_C" >&6; }
22529 if test "${ac_cv_func_ldap_search_st+set}" = set; then
22530 echo $ECHO_N "(cached) $ECHO_C" >&6
22532 cat >conftest.
$ac_ext <<_ACEOF
22535 cat confdefs.h
>>conftest.
$ac_ext
22536 cat >>conftest.
$ac_ext <<_ACEOF
22537 /* end confdefs.h. */
22538 /* Define ldap_search_st to an innocuous variant, in case <limits.h> declares ldap_search_st.
22539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22540 #define ldap_search_st innocuous_ldap_search_st
22542 /* System header to define __stub macros and hopefully few prototypes,
22543 which can conflict with char ldap_search_st (); below.
22544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22545 <limits.h> exists even on freestanding compilers. */
22548 # include <limits.h>
22550 # include <assert.h>
22553 #undef ldap_search_st
22555 /* Override any GCC internal prototype to avoid an error.
22556 Use char because int might match the return type of a GCC
22557 builtin and then its argument prototype would still apply. */
22561 char ldap_search_st ();
22562 /* The GNU C library defines this for functions which it implements
22563 to always fail with ENOSYS. Some functions are actually named
22564 something starting with __ and the normal name is an alias. */
22565 #if defined __stub_ldap_search_st || defined __stub___ldap_search_st
22572 return ldap_search_st ();
22577 rm -f conftest.
$ac_objext conftest
$ac_exeext
22578 if { (ac_try
="$ac_link"
22579 case "(($ac_try" in
22580 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22581 *) ac_try_echo=$ac_try;;
22583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22584 (eval "$ac_link") 2>conftest.er1
22586 grep -v '^ *+' conftest.er1 >conftest.err
22588 cat conftest.err >&5
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); } && {
22591 test -z "$ac_c_werror_flag" ||
22592 test ! -s conftest.err
22593 } && test -s conftest$ac_exeext &&
22594 $as_test_x conftest$ac_exeext; then
22595 ac_cv_func_ldap_search_st=yes
22597 echo "$as_me: failed program was:" >&5
22598 sed 's/^/| /' conftest.$ac_ext >&5
22600 ac_cv_func_ldap_search_st=no
22603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22604 conftest$ac_exeext conftest.$ac_ext
22606 { echo "$as_me:$LINENO: result: $ac_cv_func_ldap_search_st" >&5
22607 echo "${ECHO_T}$ac_cv_func_ldap_search_st" >&6; }
22608 if test $ac_cv_func_ldap_search_st = yes; then
22614 { echo "$as_me:$LINENO: checking for ldap_start_tls_s" >&5
22615 echo $ECHO_N "checking for ldap_start_tls_s... $ECHO_C" >&6; }
22616 if test "${ac_cv_func_ldap_start_tls_s+set}" = set; then
22617 echo $ECHO_N "(cached) $ECHO_C" >&6
22619 cat >conftest.$ac_ext <<_ACEOF
22622 cat confdefs.h >>conftest.$ac_ext
22623 cat >>conftest.$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22625 /* Define ldap_start_tls_s to an innocuous variant, in case <limits.h> declares ldap_start_tls_s.
22626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22627 #define ldap_start_tls_s innocuous_ldap_start_tls_s
22629 /* System header to define __stub macros and hopefully few prototypes,
22630 which can conflict with char ldap_start_tls_s (); below.
22631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22632 <limits.h> exists even on freestanding compilers. */
22635 # include <limits.h>
22637 # include <assert.h>
22640 #undef ldap_start_tls_s
22642 /* Override any GCC internal prototype to avoid an error.
22643 Use char because int might match the return type of a GCC
22644 builtin and then its argument prototype would still apply. */
22648 char ldap_start_tls_s ();
22649 /* The GNU C library defines this for functions which it implements
22650 to always fail with ENOSYS. Some functions are actually named
22651 something starting with __ and the normal name is an alias. */
22652 #if defined __stub_ldap_start_tls_s || defined __stub___ldap_start_tls_s
22659 return ldap_start_tls_s ();
22664 rm -f conftest.$ac_objext conftest$ac_exeext
22665 if { (ac_try="$ac_link"
22666 case "(($ac_try" in
22667 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22668 *) ac_try_echo
=$ac_try;;
22670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_link") 2>conftest.er1
22673 grep -v '^ *+' conftest.er1
>conftest.err
22675 cat conftest.err
>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } && {
22678 test -z "$ac_c_werror_flag" ||
22679 test ! -s conftest.err
22680 } && test -s conftest
$ac_exeext &&
22681 $as_test_x conftest
$ac_exeext; then
22682 ac_cv_func_ldap_start_tls_s
=yes
22684 echo "$as_me: failed program was:" >&5
22685 sed 's/^/| /' conftest.
$ac_ext >&5
22687 ac_cv_func_ldap_start_tls_s
=no
22690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22691 conftest
$ac_exeext conftest.
$ac_ext
22693 { echo "$as_me:$LINENO: result: $ac_cv_func_ldap_start_tls_s" >&5
22694 echo "${ECHO_T}$ac_cv_func_ldap_start_tls_s" >&6; }
22695 if test $ac_cv_func_ldap_start_tls_s = yes; then
22701 { echo "$as_me:$LINENO: checking for ldap_result2error" >&5
22702 echo $ECHO_N "checking for ldap_result2error... $ECHO_C" >&6; }
22703 if test "${ac_cv_func_ldap_result2error+set}" = set; then
22704 echo $ECHO_N "(cached) $ECHO_C" >&6
22706 cat >conftest.
$ac_ext <<_ACEOF
22709 cat confdefs.h
>>conftest.
$ac_ext
22710 cat >>conftest.
$ac_ext <<_ACEOF
22711 /* end confdefs.h. */
22712 /* Define ldap_result2error to an innocuous variant, in case <limits.h> declares ldap_result2error.
22713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22714 #define ldap_result2error innocuous_ldap_result2error
22716 /* System header to define __stub macros and hopefully few prototypes,
22717 which can conflict with char ldap_result2error (); below.
22718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22719 <limits.h> exists even on freestanding compilers. */
22722 # include <limits.h>
22724 # include <assert.h>
22727 #undef ldap_result2error
22729 /* Override any GCC internal prototype to avoid an error.
22730 Use char because int might match the return type of a GCC
22731 builtin and then its argument prototype would still apply. */
22735 char ldap_result2error ();
22736 /* The GNU C library defines this for functions which it implements
22737 to always fail with ENOSYS. Some functions are actually named
22738 something starting with __ and the normal name is an alias. */
22739 #if defined __stub_ldap_result2error || defined __stub___ldap_result2error
22746 return ldap_result2error ();
22751 rm -f conftest.
$ac_objext conftest
$ac_exeext
22752 if { (ac_try
="$ac_link"
22753 case "(($ac_try" in
22754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22755 *) ac_try_echo=$ac_try;;
22757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22758 (eval "$ac_link") 2>conftest.er1
22760 grep -v '^ *+' conftest.er1 >conftest.err
22762 cat conftest.err >&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } && {
22765 test -z "$ac_c_werror_flag" ||
22766 test ! -s conftest.err
22767 } && test -s conftest$ac_exeext &&
22768 $as_test_x conftest$ac_exeext; then
22769 ac_cv_func_ldap_result2error=yes
22771 echo "$as_me: failed program was:" >&5
22772 sed 's/^/| /' conftest.$ac_ext >&5
22774 ac_cv_func_ldap_result2error=no
22777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22778 conftest$ac_exeext conftest.$ac_ext
22780 { echo "$as_me:$LINENO: result: $ac_cv_func_ldap_result2error" >&5
22781 echo "${ECHO_T}$ac_cv_func_ldap_result2error" >&6; }
22782 if test $ac_cv_func_ldap_result2error = yes; then
22783 HAVE_LDAP_RESULT2ERROR=1
22785 HAVE_LDAP_RESULT2ERROR=0
22788 { echo "$as_me:$LINENO: checking for ldap_parse_result" >&5
22789 echo $ECHO_N "checking for ldap_parse_result... $ECHO_C" >&6; }
22790 if test "${ac_cv_func_ldap_parse_result+set}" = set; then
22791 echo $ECHO_N "(cached) $ECHO_C" >&6
22793 cat >conftest.$ac_ext <<_ACEOF
22796 cat confdefs.h >>conftest.$ac_ext
22797 cat >>conftest.$ac_ext <<_ACEOF
22798 /* end confdefs.h. */
22799 /* Define ldap_parse_result to an innocuous variant, in case <limits.h> declares ldap_parse_result.
22800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22801 #define ldap_parse_result innocuous_ldap_parse_result
22803 /* System header to define __stub macros and hopefully few prototypes,
22804 which can conflict with char ldap_parse_result (); below.
22805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22806 <limits.h> exists even on freestanding compilers. */
22809 # include <limits.h>
22811 # include <assert.h>
22814 #undef ldap_parse_result
22816 /* Override any GCC internal prototype to avoid an error.
22817 Use char because int might match the return type of a GCC
22818 builtin and then its argument prototype would still apply. */
22822 char ldap_parse_result ();
22823 /* The GNU C library defines this for functions which it implements
22824 to always fail with ENOSYS. Some functions are actually named
22825 something starting with __ and the normal name is an alias. */
22826 #if defined __stub_ldap_parse_result || defined __stub___ldap_parse_result
22833 return ldap_parse_result ();
22838 rm -f conftest.$ac_objext conftest$ac_exeext
22839 if { (ac_try="$ac_link"
22840 case "(($ac_try" in
22841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22842 *) ac_try_echo
=$ac_try;;
22844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22845 (eval "$ac_link") 2>conftest.er1
22847 grep -v '^ *+' conftest.er1
>conftest.err
22849 cat conftest.err
>&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); } && {
22852 test -z "$ac_c_werror_flag" ||
22853 test ! -s conftest.err
22854 } && test -s conftest
$ac_exeext &&
22855 $as_test_x conftest
$ac_exeext; then
22856 ac_cv_func_ldap_parse_result
=yes
22858 echo "$as_me: failed program was:" >&5
22859 sed 's/^/| /' conftest.
$ac_ext >&5
22861 ac_cv_func_ldap_parse_result
=no
22864 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22865 conftest
$ac_exeext conftest.
$ac_ext
22867 { echo "$as_me:$LINENO: result: $ac_cv_func_ldap_parse_result" >&5
22868 echo "${ECHO_T}$ac_cv_func_ldap_parse_result" >&6; }
22869 if test $ac_cv_func_ldap_parse_result = yes; then
22870 HAVE_LDAP_PARSE_RESULT
=1
22872 HAVE_LDAP_PARSE_RESULT
=0
22879 # Check whether --with-authldaprc was given.
22880 if test "${with_authldaprc+set}" = set; then
22881 withval
=$with_authldaprc; authldaprc
="$withval"
22883 authldaprc
="$pkgconfdir/authldaprc"
22889 if test "$HAVE_LDAP" = 1
22891 LIBAUTHLDAP
="libauthldap.la"
22898 if test "$HAVE_LDAP" = 1; then
22900 HAVE_LDAP_FALSE
='#'
22907 cat >>confdefs.h
<<_ACEOF
22908 #define HAVE_LDAP_TLS $HAVE_LDAP_TLS
22912 cat >>confdefs.h
<<_ACEOF
22913 #define HAVE_LDAP_RESULT2ERROR $HAVE_LDAP_RESULT2ERROR
22917 cat >>confdefs.h
<<_ACEOF
22918 #define HAVE_LDAP_PARSE_RESULT $HAVE_LDAP_PARSE_RESULT
22925 # Check whether --with-authpwd was given.
22926 if test "${with_authpwd+set}" = set; then
22927 withval
=$with_authpwd; doauthpwd
="$withval"
22930 test "$HAVE_PAM" = 1 && doauthpwd
="no"
22931 test "$HAVE_LDAP" = 1 && doauthpwd
="no"
22937 if test "$doauthpwd" = "no"
22942 for ac_func
in endpwent
22944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22945 { echo "$as_me:$LINENO: checking for $ac_func" >&5
22946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22947 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22948 echo $ECHO_N "(cached) $ECHO_C" >&6
22950 cat >conftest.
$ac_ext <<_ACEOF
22953 cat confdefs.h
>>conftest.
$ac_ext
22954 cat >>conftest.
$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22958 #define $ac_func innocuous_$ac_func
22960 /* System header to define __stub macros and hopefully few prototypes,
22961 which can conflict with char $ac_func (); below.
22962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22963 <limits.h> exists even on freestanding compilers. */
22966 # include <limits.h>
22968 # include <assert.h>
22973 /* Override any GCC internal prototype to avoid an error.
22974 Use char because int might match the return type of a GCC
22975 builtin and then its argument prototype would still apply. */
22980 /* The GNU C library defines this for functions which it implements
22981 to always fail with ENOSYS. Some functions are actually named
22982 something starting with __ and the normal name is an alias. */
22983 #if defined __stub_$ac_func || defined __stub___$ac_func
22990 return $ac_func ();
22995 rm -f conftest.
$ac_objext conftest
$ac_exeext
22996 if { (ac_try
="$ac_link"
22997 case "(($ac_try" in
22998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_link") 2>conftest.er1
23004 grep -v '^ *+' conftest.er1 >conftest.err
23006 cat conftest.err >&5
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); } && {
23009 test -z "$ac_c_werror_flag" ||
23010 test ! -s conftest.err
23011 } && test -s conftest$ac_exeext &&
23012 $as_test_x conftest$ac_exeext; then
23013 eval "$as_ac_var=yes"
23015 echo "$as_me: failed program was:" >&5
23016 sed 's/^/| /' conftest.$ac_ext >&5
23018 eval "$as_ac_var=no"
23021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23022 conftest$ac_exeext conftest.$ac_ext
23024 ac_res=`eval echo '${'$as_ac_var'}'`
23025 { echo "$as_me:$LINENO: result: $ac_res" >&5
23026 echo "${ECHO_T}$ac_res" >&6; }
23027 if test `eval echo '${'$as_ac_var'}'` = yes; then
23028 cat >>confdefs.h <<_ACEOF
23029 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
23040 # Check whether --with-authshadow was given.
23041 if test "${with_authshadow+set}" = set; then
23042 withval=$with_authshadow; doauthshadow="$withval"
23045 test "$HAVE_PAM" = 1 && doauthshadow="no"
23046 test "$HAVE_LDAP" = 1 && doauthshadow="no"
23051 for ac_header in shadow.h
23053 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
23054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23055 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23057 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23058 echo $ECHO_N "(cached) $ECHO_C" >&6
23060 ac_res=`eval echo '${'$as_ac_Header'}'`
23061 { echo "$as_me:$LINENO: result: $ac_res" >&5
23062 echo "${ECHO_T}$ac_res" >&6; }
23064 # Is the header compilable?
23065 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23066 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23067 cat >conftest.$ac_ext <<_ACEOF
23070 cat confdefs.h >>conftest.$ac_ext
23071 cat >>conftest.$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23073 $ac_includes_default
23074 #include <$ac_header>
23076 rm -f conftest.$ac_objext
23077 if { (ac_try="$ac_compile"
23078 case "(($ac_try" in
23079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23080 *) ac_try_echo
=$ac_try;;
23082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23083 (eval "$ac_compile") 2>conftest.er1
23085 grep -v '^ *+' conftest.er1
>conftest.err
23087 cat conftest.err
>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } && {
23090 test -z "$ac_c_werror_flag" ||
23091 test ! -s conftest.err
23092 } && test -s conftest.
$ac_objext; then
23093 ac_header_compiler
=yes
23095 echo "$as_me: failed program was:" >&5
23096 sed 's/^/| /' conftest.
$ac_ext >&5
23098 ac_header_compiler
=no
23101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23102 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23103 echo "${ECHO_T}$ac_header_compiler" >&6; }
23105 # Is the header present?
23106 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23107 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23108 cat >conftest.
$ac_ext <<_ACEOF
23111 cat confdefs.h
>>conftest.
$ac_ext
23112 cat >>conftest.
$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23114 #include <$ac_header>
23116 if { (ac_try
="$ac_cpp conftest.$ac_ext"
23117 case "(($ac_try" in
23118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23119 *) ac_try_echo=$ac_try;;
23121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23124 grep -v '^ *+' conftest.er1 >conftest.err
23126 cat conftest.err >&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } >/dev/null && {
23129 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23130 test ! -s conftest.err
23132 ac_header_preproc=yes
23134 echo "$as_me: failed program was:" >&5
23135 sed 's/^/| /' conftest.$ac_ext >&5
23137 ac_header_preproc=no
23140 rm -f conftest.err conftest.$ac_ext
23141 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23142 echo "${ECHO_T}$ac_header_preproc" >&6; }
23144 # So? What about this header?
23145 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23147 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23148 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23150 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23151 ac_header_preproc=yes
23154 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23155 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23156 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23157 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23158 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23159 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23160 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23161 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23164 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23165 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23167 ## -------------------------------------------------- ##
23168 ## Report this to courier-users@lists.sourceforge.net ##
23169 ## -------------------------------------------------- ##
23171 ) | sed "s/^/$as_me: WARNING: /" >&2
23174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23177 echo $ECHO_N "(cached) $ECHO_C" >&6
23179 eval "$as_ac_Header=\$ac_header_preproc"
23181 ac_res=`eval echo '${'$as_ac_Header'}'`
23182 { echo "$as_me:$LINENO: result: $ac_res" >&5
23183 echo "${ECHO_T}$ac_res" >&6; }
23186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23187 cat >>confdefs.h <<_ACEOF
23188 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
23197 { echo "$as_me:$LINENO: checking for getspent in -lshadow" >&5
23198 echo $ECHO_N "checking for getspent in -lshadow... $ECHO_C" >&6; }
23199 if test "${ac_cv_lib_shadow_getspent+set}" = set; then
23200 echo $ECHO_N "(cached) $ECHO_C" >&6
23202 ac_check_lib_save_LIBS=$LIBS
23203 LIBS="-lshadow $LIBS"
23204 cat >conftest.$ac_ext <<_ACEOF
23207 cat confdefs.h >>conftest.$ac_ext
23208 cat >>conftest.$ac_ext <<_ACEOF
23209 /* end confdefs.h. */
23211 /* Override any GCC internal prototype to avoid an error.
23212 Use char because int might match the return type of a GCC
23213 builtin and then its argument prototype would still apply. */
23221 return getspent ();
23226 rm -f conftest.$ac_objext conftest$ac_exeext
23227 if { (ac_try="$ac_link"
23228 case "(($ac_try" in
23229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23230 *) ac_try_echo
=$ac_try;;
23232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23233 (eval "$ac_link") 2>conftest.er1
23235 grep -v '^ *+' conftest.er1
>conftest.err
23237 cat conftest.err
>&5
23238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23239 (exit $ac_status); } && {
23240 test -z "$ac_c_werror_flag" ||
23241 test ! -s conftest.err
23242 } && test -s conftest
$ac_exeext &&
23243 $as_test_x conftest
$ac_exeext; then
23244 ac_cv_lib_shadow_getspent
=yes
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.
$ac_ext >&5
23249 ac_cv_lib_shadow_getspent
=no
23252 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23253 conftest
$ac_exeext conftest.
$ac_ext
23254 LIBS
=$ac_check_lib_save_LIBS
23256 { echo "$as_me:$LINENO: result: $ac_cv_lib_shadow_getspent" >&5
23257 echo "${ECHO_T}$ac_cv_lib_shadow_getspent" >&6; }
23258 if test $ac_cv_lib_shadow_getspent = yes; then
23259 SHADOWLIBS
="-lshadow" ; LIBS
="-lshadow $LIBS"
23264 for ac_func
in endspent getspent
23266 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
23268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
23269 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23270 echo $ECHO_N "(cached) $ECHO_C" >&6
23272 cat >conftest.
$ac_ext <<_ACEOF
23275 cat confdefs.h
>>conftest.
$ac_ext
23276 cat >>conftest.
$ac_ext <<_ACEOF
23277 /* end confdefs.h. */
23278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23280 #define $ac_func innocuous_$ac_func
23282 /* System header to define __stub macros and hopefully few prototypes,
23283 which can conflict with char $ac_func (); below.
23284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23285 <limits.h> exists even on freestanding compilers. */
23288 # include <limits.h>
23290 # include <assert.h>
23295 /* Override any GCC internal prototype to avoid an error.
23296 Use char because int might match the return type of a GCC
23297 builtin and then its argument prototype would still apply. */
23302 /* The GNU C library defines this for functions which it implements
23303 to always fail with ENOSYS. Some functions are actually named
23304 something starting with __ and the normal name is an alias. */
23305 #if defined __stub_$ac_func || defined __stub___$ac_func
23312 return $ac_func ();
23317 rm -f conftest.
$ac_objext conftest
$ac_exeext
23318 if { (ac_try
="$ac_link"
23319 case "(($ac_try" in
23320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23321 *) ac_try_echo=$ac_try;;
23323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23324 (eval "$ac_link") 2>conftest.er1
23326 grep -v '^ *+' conftest.er1 >conftest.err
23328 cat conftest.err >&5
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); } && {
23331 test -z "$ac_c_werror_flag" ||
23332 test ! -s conftest.err
23333 } && test -s conftest$ac_exeext &&
23334 $as_test_x conftest$ac_exeext; then
23335 eval "$as_ac_var=yes"
23337 echo "$as_me: failed program was:" >&5
23338 sed 's/^/| /' conftest.$ac_ext >&5
23340 eval "$as_ac_var=no"
23343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23344 conftest$ac_exeext conftest.$ac_ext
23346 ac_res=`eval echo '${'$as_ac_var'}'`
23347 { echo "$as_me:$LINENO: result: $ac_res" >&5
23348 echo "${ECHO_T}$ac_res" >&6; }
23349 if test `eval echo '${'$as_ac_var'}'` = yes; then
23350 cat >>confdefs.h <<_ACEOF
23351 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
23359 if test "$doauthshadow" = "no"
23366 { echo "$as_me:$LINENO: checking for getspent in -lshadow" >&5
23367 echo $ECHO_N "checking for getspent in -lshadow... $ECHO_C" >&6; }
23368 if test "${ac_cv_lib_shadow_getspent+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 ac_check_lib_save_LIBS=$LIBS
23372 LIBS="-lshadow $LIBS"
23373 cat >conftest.$ac_ext <<_ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23380 /* Override any GCC internal prototype to avoid an error.
23381 Use char because int might match the return type of a GCC
23382 builtin and then its argument prototype would still apply. */
23390 return getspent ();
23395 rm -f conftest.$ac_objext conftest$ac_exeext
23396 if { (ac_try="$ac_link"
23397 case "(($ac_try" in
23398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23399 *) ac_try_echo
=$ac_try;;
23401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23402 (eval "$ac_link") 2>conftest.er1
23404 grep -v '^ *+' conftest.er1
>conftest.err
23406 cat conftest.err
>&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } && {
23409 test -z "$ac_c_werror_flag" ||
23410 test ! -s conftest.err
23411 } && test -s conftest
$ac_exeext &&
23412 $as_test_x conftest
$ac_exeext; then
23413 ac_cv_lib_shadow_getspent
=yes
23415 echo "$as_me: failed program was:" >&5
23416 sed 's/^/| /' conftest.
$ac_ext >&5
23418 ac_cv_lib_shadow_getspent
=no
23421 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23422 conftest
$ac_exeext conftest.
$ac_ext
23423 LIBS
=$ac_check_lib_save_LIBS
23425 { echo "$as_me:$LINENO: result: $ac_cv_lib_shadow_getspent" >&5
23426 echo "${ECHO_T}$ac_cv_lib_shadow_getspent" >&6; }
23427 if test $ac_cv_lib_shadow_getspent = yes; then
23428 cat >>confdefs.h
<<_ACEOF
23429 #define HAVE_LIBSHADOW 1
23432 LIBS
="-lshadow $LIBS"
23436 { echo "$as_me:$LINENO: checking for getspent" >&5
23437 echo $ECHO_N "checking for getspent... $ECHO_C" >&6; }
23438 if test "${ac_cv_func_getspent+set}" = set; then
23439 echo $ECHO_N "(cached) $ECHO_C" >&6
23441 cat >conftest.
$ac_ext <<_ACEOF
23444 cat confdefs.h
>>conftest.
$ac_ext
23445 cat >>conftest.
$ac_ext <<_ACEOF
23446 /* end confdefs.h. */
23447 /* Define getspent to an innocuous variant, in case <limits.h> declares getspent.
23448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23449 #define getspent innocuous_getspent
23451 /* System header to define __stub macros and hopefully few prototypes,
23452 which can conflict with char getspent (); below.
23453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23454 <limits.h> exists even on freestanding compilers. */
23457 # include <limits.h>
23459 # include <assert.h>
23464 /* Override any GCC internal prototype to avoid an error.
23465 Use char because int might match the return type of a GCC
23466 builtin and then its argument prototype would still apply. */
23471 /* The GNU C library defines this for functions which it implements
23472 to always fail with ENOSYS. Some functions are actually named
23473 something starting with __ and the normal name is an alias. */
23474 #if defined __stub_getspent || defined __stub___getspent
23481 return getspent ();
23486 rm -f conftest.
$ac_objext conftest
$ac_exeext
23487 if { (ac_try
="$ac_link"
23488 case "(($ac_try" in
23489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23490 *) ac_try_echo=$ac_try;;
23492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23493 (eval "$ac_link") 2>conftest.er1
23495 grep -v '^ *+' conftest.er1 >conftest.err
23497 cat conftest.err >&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } && {
23500 test -z "$ac_c_werror_flag" ||
23501 test ! -s conftest.err
23502 } && test -s conftest$ac_exeext &&
23503 $as_test_x conftest$ac_exeext; then
23504 ac_cv_func_getspent=yes
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.$ac_ext >&5
23509 ac_cv_func_getspent=no
23512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23513 conftest$ac_exeext conftest.$ac_ext
23515 { echo "$as_me:$LINENO: result: $ac_cv_func_getspent" >&5
23516 echo "${ECHO_T}$ac_cv_func_getspent" >&6; }
23517 if test $ac_cv_func_getspent = yes; then
23527 if test "$HAVE_SHADOW" = 1
23529 LIBAUTHSHADOW="libauthshadow.la"
23535 if test "$HAVE_PWD" = 1
23537 LIBAUTHPWD="libauthpwd.la"
23546 vpopmail_home=`$PERL -e '@a=getpwnam("vpopmail"); print "$a[7]";'`
23551 # Check whether --with-authvchkpw was given.
23552 if test "${with_authvchkpw+set}" = set; then
23553 withval=$with_authvchkpw; doauthvchkpw="$withval"
23556 if test "$vpopmail_home" != ""
23563 if test "$doauthvchkpw" = "no"
23572 ----------------------------------------------------
23576 All questions regarding ANY vpopmail-related problems,
23577 such as compiling/building failures, or login errors
23578 should be referred to the vpopmail mailing list.
23579 Vpopmail questions sent to the Courier mailing lists
23581 ----------------------------------------------------
23586 if test -f ${vpopmail_home}/etc/lib_deps
23588 CFLAGS="`cat ${vpopmail_home}/etc
/inc_deps
` $CFLAGS"
23589 VPOPMAILLIBS="`cat ${vpopmail_home}/etc
/lib_deps
`"
23591 { { echo "$as_me:$LINENO: error: ${vpopmail_home}/etc/lib_deps does not exist - upgrade vpopmail to the current version or fix the permissions on this file" >&5
23592 echo "$as_me: error: ${vpopmail_home}/etc/lib_deps does not exist - upgrade vpopmail to the current version or fix the permissions on this file" >&2;}
23593 { (exit 1); exit 1; }; }
23600 if test "$HAVE_VCHKPW" = 1
23602 LIBAUTHVCHKPW="libauthvchkpw.la"
23607 LIBS="$VPOPMAILLIBS $CRYPTLIBS $LIBS"
23608 { echo "$as_me:$LINENO: checking for open_smtp_relay" >&5
23609 echo $ECHO_N "checking for open_smtp_relay... $ECHO_C" >&6; }
23610 if test "${ac_cv_func_open_smtp_relay+set}" = set; then
23611 echo $ECHO_N "(cached) $ECHO_C" >&6
23613 cat >conftest.$ac_ext <<_ACEOF
23616 cat confdefs.h >>conftest.$ac_ext
23617 cat >>conftest.$ac_ext <<_ACEOF
23618 /* end confdefs.h. */
23619 /* Define open_smtp_relay to an innocuous variant, in case <limits.h> declares open_smtp_relay.
23620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23621 #define open_smtp_relay innocuous_open_smtp_relay
23623 /* System header to define __stub macros and hopefully few prototypes,
23624 which can conflict with char open_smtp_relay (); below.
23625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23626 <limits.h> exists even on freestanding compilers. */
23629 # include <limits.h>
23631 # include <assert.h>
23634 #undef open_smtp_relay
23636 /* Override any GCC internal prototype to avoid an error.
23637 Use char because int might match the return type of a GCC
23638 builtin and then its argument prototype would still apply. */
23642 char open_smtp_relay ();
23643 /* The GNU C library defines this for functions which it implements
23644 to always fail with ENOSYS. Some functions are actually named
23645 something starting with __ and the normal name is an alias. */
23646 #if defined __stub_open_smtp_relay || defined __stub___open_smtp_relay
23653 return open_smtp_relay ();
23658 rm -f conftest.$ac_objext conftest$ac_exeext
23659 if { (ac_try="$ac_link"
23660 case "(($ac_try" in
23661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23662 *) ac_try_echo
=$ac_try;;
23664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23665 (eval "$ac_link") 2>conftest.er1
23667 grep -v '^ *+' conftest.er1
>conftest.err
23669 cat conftest.err
>&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); } && {
23672 test -z "$ac_c_werror_flag" ||
23673 test ! -s conftest.err
23674 } && test -s conftest
$ac_exeext &&
23675 $as_test_x conftest
$ac_exeext; then
23676 ac_cv_func_open_smtp_relay
=yes
23678 echo "$as_me: failed program was:" >&5
23679 sed 's/^/| /' conftest.
$ac_ext >&5
23681 ac_cv_func_open_smtp_relay
=no
23684 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23685 conftest
$ac_exeext conftest.
$ac_ext
23687 { echo "$as_me:$LINENO: result: $ac_cv_func_open_smtp_relay" >&5
23688 echo "${ECHO_T}$ac_cv_func_open_smtp_relay" >&6; }
23689 if test $ac_cv_func_open_smtp_relay = yes; then
23691 cat >>confdefs.h
<<\_ACEOF
23692 #define HAVE_OPEN_SMTP_RELAY 1
23697 { echo "$as_me:$LINENO: checking for vset_lastauth" >&5
23698 echo $ECHO_N "checking for vset_lastauth... $ECHO_C" >&6; }
23699 if test "${ac_cv_func_vset_lastauth+set}" = set; then
23700 echo $ECHO_N "(cached) $ECHO_C" >&6
23702 cat >conftest.
$ac_ext <<_ACEOF
23705 cat confdefs.h
>>conftest.
$ac_ext
23706 cat >>conftest.
$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23708 /* Define vset_lastauth to an innocuous variant, in case <limits.h> declares vset_lastauth.
23709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23710 #define vset_lastauth innocuous_vset_lastauth
23712 /* System header to define __stub macros and hopefully few prototypes,
23713 which can conflict with char vset_lastauth (); below.
23714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23715 <limits.h> exists even on freestanding compilers. */
23718 # include <limits.h>
23720 # include <assert.h>
23723 #undef vset_lastauth
23725 /* Override any GCC internal prototype to avoid an error.
23726 Use char because int might match the return type of a GCC
23727 builtin and then its argument prototype would still apply. */
23731 char vset_lastauth ();
23732 /* The GNU C library defines this for functions which it implements
23733 to always fail with ENOSYS. Some functions are actually named
23734 something starting with __ and the normal name is an alias. */
23735 #if defined __stub_vset_lastauth || defined __stub___vset_lastauth
23742 return vset_lastauth ();
23747 rm -f conftest.
$ac_objext conftest
$ac_exeext
23748 if { (ac_try
="$ac_link"
23749 case "(($ac_try" in
23750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23751 *) ac_try_echo=$ac_try;;
23753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23754 (eval "$ac_link") 2>conftest.er1
23756 grep -v '^ *+' conftest.er1 >conftest.err
23758 cat conftest.err >&5
23759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23760 (exit $ac_status); } && {
23761 test -z "$ac_c_werror_flag" ||
23762 test ! -s conftest.err
23763 } && test -s conftest$ac_exeext &&
23764 $as_test_x conftest$ac_exeext; then
23765 ac_cv_func_vset_lastauth=yes
23767 echo "$as_me: failed program was:" >&5
23768 sed 's/^/| /' conftest.$ac_ext >&5
23770 ac_cv_func_vset_lastauth=no
23773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23774 conftest$ac_exeext conftest.$ac_ext
23776 { echo "$as_me:$LINENO: result: $ac_cv_func_vset_lastauth" >&5
23777 echo "${ECHO_T}$ac_cv_func_vset_lastauth" >&6; }
23778 if test $ac_cv_func_vset_lastauth = yes; then
23780 cat >>confdefs.h <<\_ACEOF
23781 #define HAVE_VSET_LASTAUTH 1
23795 # Check whether --with-authpgsqlrc was given.
23796 if test "${with_authpgsqlrc+set}" = set; then
23797 withval=$with_authpgsqlrc; authpgsqlrc="$withval"
23799 authpgsqlrc="$pkgconfdir/authpgsqlrc"
23805 # Check whether --with-authpgsql was given.
23806 if test "${with_authpgsql+set}" = set; then
23807 withval=$with_authpgsql; doauthpgsql="$withval"
23811 for ac_prog in pg_config
23813 # Extract the first word of "$ac_prog", so it can be a program name with args.
23814 set dummy $ac_prog; ac_word=$2
23815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
23816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23817 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
23818 echo $ECHO_N "(cached) $ECHO_C" >&6
23822 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
23825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23826 for as_dir in $LPATH
23829 test -z "$as_dir" && as_dir=.
23830 for ac_exec_ext in '' $ac_executable_extensions; do
23831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23832 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23843 PG_CONFIG=$ac_cv_path_PG_CONFIG
23844 if test -n "$PG_CONFIG"; then
23845 { echo "$as_me:$LINENO: result: $PG_CONFIG" >&5
23846 echo "${ECHO_T}$PG_CONFIG" >&6; }
23848 { echo "$as_me:$LINENO: result: no" >&5
23849 echo "${ECHO_T}no" >&6; }
23853 test -n "$PG_CONFIG" && break
23855 test -n "$PG_CONFIG" || PG_CONFIG="pg_config"
23860 # Check whether --with-pgsql-libs was given.
23861 if test "${with_pgsql_libs+set}" = set; then
23862 withval=$with_pgsql_libs; PGSQL_LIBS="-L$withval $PGSQL_LIBS"
23864 if test -x $PG_CONFIG
23866 PGSQL_LIBS="-L`$PG_CONFIG --libdir` $PGSQL_LIBS"
23872 # Check whether --with-pgsql-includes was given.
23873 if test "${with_pgsql_includes+set}" = set; then
23874 withval=$with_pgsql_includes; PGSQL_CFLAGS="-I$withval"
23876 if test -x $PG_CONFIG
23878 PGSQL_CFLAGS="-I`$PG_CONFIG --includedir`"
23884 if test "$doauthpgsql" = ""
23886 LIBS="$PGSQL_LIBS $LIBS"
23887 { echo "$as_me:$LINENO: checking for PQsetdbLogin" >&5
23888 echo $ECHO_N "checking for PQsetdbLogin... $ECHO_C" >&6; }
23889 if test "${ac_cv_func_PQsetdbLogin+set}" = set; then
23890 echo $ECHO_N "(cached) $ECHO_C" >&6
23892 cat >conftest.$ac_ext <<_ACEOF
23895 cat confdefs.h >>conftest.$ac_ext
23896 cat >>conftest.$ac_ext <<_ACEOF
23897 /* end confdefs.h. */
23898 /* Define PQsetdbLogin to an innocuous variant, in case <limits.h> declares PQsetdbLogin.
23899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23900 #define PQsetdbLogin innocuous_PQsetdbLogin
23902 /* System header to define __stub macros and hopefully few prototypes,
23903 which can conflict with char PQsetdbLogin (); below.
23904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23905 <limits.h> exists even on freestanding compilers. */
23908 # include <limits.h>
23910 # include <assert.h>
23913 #undef PQsetdbLogin
23915 /* Override any GCC internal prototype to avoid an error.
23916 Use char because int might match the return type of a GCC
23917 builtin and then its argument prototype would still apply. */
23921 char PQsetdbLogin ();
23922 /* The GNU C library defines this for functions which it implements
23923 to always fail with ENOSYS. Some functions are actually named
23924 something starting with __ and the normal name is an alias. */
23925 #if defined __stub_PQsetdbLogin || defined __stub___PQsetdbLogin
23932 return PQsetdbLogin ();
23937 rm -f conftest.$ac_objext conftest$ac_exeext
23938 if { (ac_try="$ac_link"
23939 case "(($ac_try" in
23940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23941 *) ac_try_echo
=$ac_try;;
23943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23944 (eval "$ac_link") 2>conftest.er1
23946 grep -v '^ *+' conftest.er1
>conftest.err
23948 cat conftest.err
>&5
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); } && {
23951 test -z "$ac_c_werror_flag" ||
23952 test ! -s conftest.err
23953 } && test -s conftest
$ac_exeext &&
23954 $as_test_x conftest
$ac_exeext; then
23955 ac_cv_func_PQsetdbLogin
=yes
23957 echo "$as_me: failed program was:" >&5
23958 sed 's/^/| /' conftest.
$ac_ext >&5
23960 ac_cv_func_PQsetdbLogin
=no
23963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23964 conftest
$ac_exeext conftest.
$ac_ext
23966 { echo "$as_me:$LINENO: result: $ac_cv_func_PQsetdbLogin" >&5
23967 echo "${ECHO_T}$ac_cv_func_PQsetdbLogin" >&6; }
23968 if test $ac_cv_func_PQsetdbLogin = yes; then
23976 if test "$doauthpgsql" != "yes"
23982 LIBS
="$PGSQL_LIBS $LIBS"
23983 { echo "$as_me:$LINENO: checking for PQsetdbLogin" >&5
23984 echo $ECHO_N "checking for PQsetdbLogin... $ECHO_C" >&6; }
23985 if test "${ac_cv_func_PQsetdbLogin+set}" = set; then
23986 echo $ECHO_N "(cached) $ECHO_C" >&6
23988 cat >conftest.
$ac_ext <<_ACEOF
23991 cat confdefs.h
>>conftest.
$ac_ext
23992 cat >>conftest.
$ac_ext <<_ACEOF
23993 /* end confdefs.h. */
23994 /* Define PQsetdbLogin to an innocuous variant, in case <limits.h> declares PQsetdbLogin.
23995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23996 #define PQsetdbLogin innocuous_PQsetdbLogin
23998 /* System header to define __stub macros and hopefully few prototypes,
23999 which can conflict with char PQsetdbLogin (); below.
24000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24001 <limits.h> exists even on freestanding compilers. */
24004 # include <limits.h>
24006 # include <assert.h>
24009 #undef PQsetdbLogin
24011 /* Override any GCC internal prototype to avoid an error.
24012 Use char because int might match the return type of a GCC
24013 builtin and then its argument prototype would still apply. */
24017 char PQsetdbLogin ();
24018 /* The GNU C library defines this for functions which it implements
24019 to always fail with ENOSYS. Some functions are actually named
24020 something starting with __ and the normal name is an alias. */
24021 #if defined __stub_PQsetdbLogin || defined __stub___PQsetdbLogin
24028 return PQsetdbLogin ();
24033 rm -f conftest.
$ac_objext conftest
$ac_exeext
24034 if { (ac_try
="$ac_link"
24035 case "(($ac_try" in
24036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24037 *) ac_try_echo=$ac_try;;
24039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24040 (eval "$ac_link") 2>conftest.er1
24042 grep -v '^ *+' conftest.er1 >conftest.err
24044 cat conftest.err >&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); } && {
24047 test -z "$ac_c_werror_flag" ||
24048 test ! -s conftest.err
24049 } && test -s conftest$ac_exeext &&
24050 $as_test_x conftest$ac_exeext; then
24051 ac_cv_func_PQsetdbLogin=yes
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.$ac_ext >&5
24056 ac_cv_func_PQsetdbLogin=no
24059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24060 conftest$ac_exeext conftest.$ac_ext
24062 { echo "$as_me:$LINENO: result: $ac_cv_func_PQsetdbLogin" >&5
24063 echo "${ECHO_T}$ac_cv_func_PQsetdbLogin" >&6; }
24064 if test $ac_cv_func_PQsetdbLogin = yes; then
24065 AUTHPGSQL="authpgsql"
24068 { { echo "$as_me:$LINENO: error: --with-authpgsql specified but no libpq.so" >&5
24069 echo "$as_me: error: --with-authpgsql specified but no libpq.so" >&2;}
24070 { (exit 1); exit 1; }; }
24075 CFLAGS="$PGSQL_CFLAGS $CFLAGS"
24076 LIBAUTHPGSQL="libauthpgsql.la"
24081 if test "$HAVE_AUTHPGSQL" = 1; then
24082 HAVE_AUTHPGSQL_TRUE=
24083 HAVE_AUTHPGSQL_FALSE='#'
24085 HAVE_AUTHPGSQL_TRUE='#'
24086 HAVE_AUTHPGSQL_FALSE=
24094 # Check whether --with-authmysqlrc was given.
24095 if test "${with_authmysqlrc+set}" = set; then
24096 withval=$with_authmysqlrc; authmysqlrc="$withval"
24098 authmysqlrc="$pkgconfdir/authmysqlrc"
24104 # Check whether --with-authmysql was given.
24105 if test "${with_authmysql+set}" = set; then
24106 withval=$with_authmysql; doauthmysql="$withval"
24110 # Check whether --with-mysql-libs was given.
24111 if test "${with_mysql_libs+set}" = set; then
24112 withval=$with_mysql_libs; MYSQL_LIBS="-L$withval -lmysqlclient"
24117 # Check whether --with-mysql-includes was given.
24118 if test "${with_mysql_includes+set}" = set; then
24119 withval=$with_mysql_includes; MYSQL_CFLAGS="-I$withval"
24124 for ac_prog in mysql_config
24126 # Extract the first word of "$ac_prog", so it can be a program name with args.
24127 set dummy $ac_prog; ac_word=$2
24128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24130 if test "${ac_cv_path_MYSQL_CONFIG+set}" = set; then
24131 echo $ECHO_N "(cached) $ECHO_C" >&6
24133 case $MYSQL_CONFIG in
24135 ac_cv_path_MYSQL_CONFIG="$MYSQL_CONFIG" # Let the user override the test with a path.
24138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24139 for as_dir in $LPATH
24142 test -z "$as_dir" && as_dir=.
24143 for ac_exec_ext in '' $ac_executable_extensions; do
24144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24145 ac_cv_path_MYSQL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24156 MYSQL_CONFIG=$ac_cv_path_MYSQL_CONFIG
24157 if test -n "$MYSQL_CONFIG"; then
24158 { echo "$as_me:$LINENO: result: $MYSQL_CONFIG" >&5
24159 echo "${ECHO_T}$MYSQL_CONFIG" >&6; }
24161 { echo "$as_me:$LINENO: result: no" >&5
24162 echo "${ECHO_T}no" >&6; }
24166 test -n "$MYSQL_CONFIG" && break
24168 test -n "$MYSQL_CONFIG" || MYSQL_CONFIG="mysql_config"
24171 if test -x "$MYSQL_CONFIG"
24173 MYSQL_CFLAGS="`$MYSQL_CONFIG --cflags`"
24174 MYSQL_LIBS="`$MYSQL_CONFIG --libs`"
24176 eval "MYSQL_CFLAGS=\"\`echo $MYSQL_CFLAGS\
`\""
24177 eval "MYSQL_LIBS=\"\`echo $MYSQL_LIBS\
`\""
24180 if test "$doauthmysql" = ""
24182 LIBS="$MYSQL_LIBS $LIBS"
24183 { echo "$as_me:$LINENO: checking for mysql_connect" >&5
24184 echo $ECHO_N "checking for mysql_connect... $ECHO_C" >&6; }
24185 if test "${ac_cv_func_mysql_connect+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 cat >conftest.$ac_ext <<_ACEOF
24191 cat confdefs.h >>conftest.$ac_ext
24192 cat >>conftest.$ac_ext <<_ACEOF
24193 /* end confdefs.h. */
24194 /* Define mysql_connect to an innocuous variant, in case <limits.h> declares mysql_connect.
24195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24196 #define mysql_connect innocuous_mysql_connect
24198 /* System header to define __stub macros and hopefully few prototypes,
24199 which can conflict with char mysql_connect (); below.
24200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24201 <limits.h> exists even on freestanding compilers. */
24204 # include <limits.h>
24206 # include <assert.h>
24209 #undef mysql_connect
24211 /* Override any GCC internal prototype to avoid an error.
24212 Use char because int might match the return type of a GCC
24213 builtin and then its argument prototype would still apply. */
24217 char mysql_connect ();
24218 /* The GNU C library defines this for functions which it implements
24219 to always fail with ENOSYS. Some functions are actually named
24220 something starting with __ and the normal name is an alias. */
24221 #if defined __stub_mysql_connect || defined __stub___mysql_connect
24228 return mysql_connect ();
24233 rm -f conftest.$ac_objext conftest$ac_exeext
24234 if { (ac_try="$ac_link"
24235 case "(($ac_try" in
24236 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24237 *) ac_try_echo
=$ac_try;;
24239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24240 (eval "$ac_link") 2>conftest.er1
24242 grep -v '^ *+' conftest.er1
>conftest.err
24244 cat conftest.err
>&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } && {
24247 test -z "$ac_c_werror_flag" ||
24248 test ! -s conftest.err
24249 } && test -s conftest
$ac_exeext &&
24250 $as_test_x conftest
$ac_exeext; then
24251 ac_cv_func_mysql_connect
=yes
24253 echo "$as_me: failed program was:" >&5
24254 sed 's/^/| /' conftest.
$ac_ext >&5
24256 ac_cv_func_mysql_connect
=no
24259 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24260 conftest
$ac_exeext conftest.
$ac_ext
24262 { echo "$as_me:$LINENO: result: $ac_cv_func_mysql_connect" >&5
24263 echo "${ECHO_T}$ac_cv_func_mysql_connect" >&6; }
24264 if test $ac_cv_func_mysql_connect = yes; then
24269 { echo "$as_me:$LINENO: checking for mysql_real_connect" >&5
24270 echo $ECHO_N "checking for mysql_real_connect... $ECHO_C" >&6; }
24271 if test "${ac_cv_func_mysql_real_connect+set}" = set; then
24272 echo $ECHO_N "(cached) $ECHO_C" >&6
24274 cat >conftest.
$ac_ext <<_ACEOF
24277 cat confdefs.h
>>conftest.
$ac_ext
24278 cat >>conftest.
$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 /* Define mysql_real_connect to an innocuous variant, in case <limits.h> declares mysql_real_connect.
24281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24282 #define mysql_real_connect innocuous_mysql_real_connect
24284 /* System header to define __stub macros and hopefully few prototypes,
24285 which can conflict with char mysql_real_connect (); below.
24286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24287 <limits.h> exists even on freestanding compilers. */
24290 # include <limits.h>
24292 # include <assert.h>
24295 #undef mysql_real_connect
24297 /* Override any GCC internal prototype to avoid an error.
24298 Use char because int might match the return type of a GCC
24299 builtin and then its argument prototype would still apply. */
24303 char mysql_real_connect ();
24304 /* The GNU C library defines this for functions which it implements
24305 to always fail with ENOSYS. Some functions are actually named
24306 something starting with __ and the normal name is an alias. */
24307 #if defined __stub_mysql_real_connect || defined __stub___mysql_real_connect
24314 return mysql_real_connect ();
24319 rm -f conftest.
$ac_objext conftest
$ac_exeext
24320 if { (ac_try
="$ac_link"
24321 case "(($ac_try" in
24322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24323 *) ac_try_echo=$ac_try;;
24325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24326 (eval "$ac_link") 2>conftest.er1
24328 grep -v '^ *+' conftest.er1 >conftest.err
24330 cat conftest.err >&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } && {
24333 test -z "$ac_c_werror_flag" ||
24334 test ! -s conftest.err
24335 } && test -s conftest$ac_exeext &&
24336 $as_test_x conftest$ac_exeext; then
24337 ac_cv_func_mysql_real_connect=yes
24339 echo "$as_me: failed program was:" >&5
24340 sed 's/^/| /' conftest.$ac_ext >&5
24342 ac_cv_func_mysql_real_connect=no
24345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24346 conftest$ac_exeext conftest.$ac_ext
24348 { echo "$as_me:$LINENO: result: $ac_cv_func_mysql_real_connect" >&5
24349 echo "${ECHO_T}$ac_cv_func_mysql_real_connect" >&6; }
24350 if test $ac_cv_func_mysql_real_connect = yes; then
24358 if test "$doauthmysql" != "yes"
24364 LIBS="$MYSQL_LIBS $LIBS"
24365 { echo "$as_me:$LINENO: checking for mysql_connect" >&5
24366 echo $ECHO_N "checking for mysql_connect... $ECHO_C" >&6; }
24367 if test "${ac_cv_func_mysql_connect+set}" = set; then
24368 echo $ECHO_N "(cached) $ECHO_C" >&6
24370 cat >conftest.$ac_ext <<_ACEOF
24373 cat confdefs.h >>conftest.$ac_ext
24374 cat >>conftest.$ac_ext <<_ACEOF
24375 /* end confdefs.h. */
24376 /* Define mysql_connect to an innocuous variant, in case <limits.h> declares mysql_connect.
24377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24378 #define mysql_connect innocuous_mysql_connect
24380 /* System header to define __stub macros and hopefully few prototypes,
24381 which can conflict with char mysql_connect (); below.
24382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24383 <limits.h> exists even on freestanding compilers. */
24386 # include <limits.h>
24388 # include <assert.h>
24391 #undef mysql_connect
24393 /* Override any GCC internal prototype to avoid an error.
24394 Use char because int might match the return type of a GCC
24395 builtin and then its argument prototype would still apply. */
24399 char mysql_connect ();
24400 /* The GNU C library defines this for functions which it implements
24401 to always fail with ENOSYS. Some functions are actually named
24402 something starting with __ and the normal name is an alias. */
24403 #if defined __stub_mysql_connect || defined __stub___mysql_connect
24410 return mysql_connect ();
24415 rm -f conftest.$ac_objext conftest$ac_exeext
24416 if { (ac_try="$ac_link"
24417 case "(($ac_try" in
24418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24419 *) ac_try_echo
=$ac_try;;
24421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24422 (eval "$ac_link") 2>conftest.er1
24424 grep -v '^ *+' conftest.er1
>conftest.err
24426 cat conftest.err
>&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } && {
24429 test -z "$ac_c_werror_flag" ||
24430 test ! -s conftest.err
24431 } && test -s conftest
$ac_exeext &&
24432 $as_test_x conftest
$ac_exeext; then
24433 ac_cv_func_mysql_connect
=yes
24435 echo "$as_me: failed program was:" >&5
24436 sed 's/^/| /' conftest.
$ac_ext >&5
24438 ac_cv_func_mysql_connect
=no
24441 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
24442 conftest
$ac_exeext conftest.
$ac_ext
24444 { echo "$as_me:$LINENO: result: $ac_cv_func_mysql_connect" >&5
24445 echo "${ECHO_T}$ac_cv_func_mysql_connect" >&6; }
24446 if test $ac_cv_func_mysql_connect = yes; then
24447 LIBAUTHMYSQL
="libauthmysql.la"
24451 { echo "$as_me:$LINENO: checking for mysql_real_connect" >&5
24452 echo $ECHO_N "checking for mysql_real_connect... $ECHO_C" >&6; }
24453 if test "${ac_cv_func_mysql_real_connect+set}" = set; then
24454 echo $ECHO_N "(cached) $ECHO_C" >&6
24456 cat >conftest.
$ac_ext <<_ACEOF
24459 cat confdefs.h
>>conftest.
$ac_ext
24460 cat >>conftest.
$ac_ext <<_ACEOF
24461 /* end confdefs.h. */
24462 /* Define mysql_real_connect to an innocuous variant, in case <limits.h> declares mysql_real_connect.
24463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24464 #define mysql_real_connect innocuous_mysql_real_connect
24466 /* System header to define __stub macros and hopefully few prototypes,
24467 which can conflict with char mysql_real_connect (); below.
24468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24469 <limits.h> exists even on freestanding compilers. */
24472 # include <limits.h>
24474 # include <assert.h>
24477 #undef mysql_real_connect
24479 /* Override any GCC internal prototype to avoid an error.
24480 Use char because int might match the return type of a GCC
24481 builtin and then its argument prototype would still apply. */
24485 char mysql_real_connect ();
24486 /* The GNU C library defines this for functions which it implements
24487 to always fail with ENOSYS. Some functions are actually named
24488 something starting with __ and the normal name is an alias. */
24489 #if defined __stub_mysql_real_connect || defined __stub___mysql_real_connect
24496 return mysql_real_connect ();
24501 rm -f conftest.
$ac_objext conftest
$ac_exeext
24502 if { (ac_try
="$ac_link"
24503 case "(($ac_try" in
24504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24505 *) ac_try_echo=$ac_try;;
24507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24508 (eval "$ac_link") 2>conftest.er1
24510 grep -v '^ *+' conftest.er1 >conftest.err
24512 cat conftest.err >&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } && {
24515 test -z "$ac_c_werror_flag" ||
24516 test ! -s conftest.err
24517 } && test -s conftest$ac_exeext &&
24518 $as_test_x conftest$ac_exeext; then
24519 ac_cv_func_mysql_real_connect=yes
24521 echo "$as_me: failed program was:" >&5
24522 sed 's/^/| /' conftest.$ac_ext >&5
24524 ac_cv_func_mysql_real_connect=no
24527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24528 conftest$ac_exeext conftest.$ac_ext
24530 { echo "$as_me:$LINENO: result: $ac_cv_func_mysql_real_connect" >&5
24531 echo "${ECHO_T}$ac_cv_func_mysql_real_connect" >&6; }
24532 if test $ac_cv_func_mysql_real_connect = yes; then
24533 LIBAUTHMYSQL="libauthmysql.la"
24536 { { echo "$as_me:$LINENO: error: --with-authmysql specified but no mysqlclient.so" >&5
24537 echo "$as_me: error: --with-authmysql specified but no mysqlclient.so" >&2;}
24538 { (exit 1); exit 1; }; }
24548 CFLAGS="$MYSQL_CFLAGS $CFLAGS"
24552 if test "$HAVE_AUTHMYSQL" = 1; then
24553 HAVE_AUTHMYSQL_TRUE=
24554 HAVE_AUTHMYSQL_FALSE='#'
24556 HAVE_AUTHMYSQL_TRUE='#'
24557 HAVE_AUTHMYSQL_FALSE=
24567 # Check whether --with-authcustom was given.
24568 if test "${with_authcustom+set}" = set; then
24569 withval=$with_authcustom; doauthcustom="$withval"
24577 if test "$doauthcustom" = "yes"
24579 LIBAUTHCUSTOM="libauthcustom.la"
24582 if test "$AUTHCUSTOM" != ""; then
24584 HAVE_CUSTOM_FALSE='#'
24586 HAVE_CUSTOM_TRUE='#'
24598 # Check whether --with-pipeprog was given.
24599 if test "${with_pipeprog+set}" = set; then
24600 withval=$with_pipeprog; authProg="$withval"
24602 authProg="$pkgconfdir/authProg"
24608 # Check whether --with-authpipe was given.
24609 if test "${with_authpipe+set}" = set; then
24610 withval=$with_authpipe; doauthpipe="$withval"
24618 if test "$doauthpipe" = "yes"
24620 LIBAUTHPIPE="libauthpipe.la"
24623 if test "$AUTHPIPE" != ""; then
24625 HAVE_PIPE_FALSE='#'
24635 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
24636 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
24637 if test "${ac_cv_header_stdc+set}" = set; then
24638 echo $ECHO_N "(cached) $ECHO_C" >&6
24640 cat >conftest.$ac_ext <<_ACEOF
24643 cat confdefs.h >>conftest.$ac_ext
24644 cat >>conftest.$ac_ext <<_ACEOF
24645 /* end confdefs.h. */
24646 #include <stdlib.h>
24647 #include <stdarg.h>
24648 #include <string.h>
24659 rm -f conftest.$ac_objext
24660 if { (ac_try="$ac_compile"
24661 case "(($ac_try" in
24662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24663 *) ac_try_echo
=$ac_try;;
24665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24666 (eval "$ac_compile") 2>conftest.er1
24668 grep -v '^ *+' conftest.er1
>conftest.err
24670 cat conftest.err
>&5
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); } && {
24673 test -z "$ac_c_werror_flag" ||
24674 test ! -s conftest.err
24675 } && test -s conftest.
$ac_objext; then
24676 ac_cv_header_stdc
=yes
24678 echo "$as_me: failed program was:" >&5
24679 sed 's/^/| /' conftest.
$ac_ext >&5
24681 ac_cv_header_stdc
=no
24684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24686 if test $ac_cv_header_stdc = yes; then
24687 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
24688 cat >conftest.
$ac_ext <<_ACEOF
24691 cat confdefs.h
>>conftest.
$ac_ext
24692 cat >>conftest.
$ac_ext <<_ACEOF
24693 /* end confdefs.h. */
24694 #include <string.h>
24697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24698 $EGREP "memchr" >/dev
/null
2>&1; then
24701 ac_cv_header_stdc
=no
24707 if test $ac_cv_header_stdc = yes; then
24708 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
24709 cat >conftest.
$ac_ext <<_ACEOF
24712 cat confdefs.h
>>conftest.
$ac_ext
24713 cat >>conftest.
$ac_ext <<_ACEOF
24714 /* end confdefs.h. */
24715 #include <stdlib.h>
24718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24719 $EGREP "free" >/dev
/null
2>&1; then
24722 ac_cv_header_stdc
=no
24728 if test $ac_cv_header_stdc = yes; then
24729 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
24730 if test "$cross_compiling" = yes; then
24733 cat >conftest.
$ac_ext <<_ACEOF
24736 cat confdefs.h
>>conftest.
$ac_ext
24737 cat >>conftest.
$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24740 #include <stdlib.h>
24741 #if ((' ' & 0x0FF) == 0x020)
24742 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
24743 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
24745 # define ISLOWER(c) \
24746 (('a' <= (c) && (c) <= 'i') \
24747 || ('j' <= (c) && (c) <= 'r') \
24748 || ('s' <= (c) && (c) <= 'z'))
24749 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
24752 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
24757 for (i = 0; i < 256; i++)
24758 if (XOR (islower (i), ISLOWER (i))
24759 || toupper (i) != TOUPPER (i))
24764 rm -f conftest
$ac_exeext
24765 if { (ac_try
="$ac_link"
24766 case "(($ac_try" in
24767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24768 *) ac_try_echo=$ac_try;;
24770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24771 (eval "$ac_link") 2>&5
24773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24775 { (case "(($ac_try" in
24776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24777 *) ac_try_echo
=$ac_try;;
24779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24780 (eval "$ac_try") 2>&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); }; }; then
24786 echo "$as_me: program exited with status $ac_status" >&5
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.
$ac_ext >&5
24790 ( exit $ac_status )
24791 ac_cv_header_stdc
=no
24793 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24799 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
24800 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
24801 if test $ac_cv_header_stdc = yes; then
24803 cat >>confdefs.h
<<\_ACEOF
24804 #define STDC_HEADERS 1
24809 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
24810 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
24811 if test "${ac_cv_header_sys_wait_h+set}" = set; then
24812 echo $ECHO_N "(cached) $ECHO_C" >&6
24814 cat >conftest.
$ac_ext <<_ACEOF
24817 cat confdefs.h
>>conftest.
$ac_ext
24818 cat >>conftest.
$ac_ext <<_ACEOF
24819 /* end confdefs.h. */
24820 #include <sys/types.h>
24821 #include <sys/wait.h>
24822 #ifndef WEXITSTATUS
24823 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
24826 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
24834 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
24839 rm -f conftest.
$ac_objext
24840 if { (ac_try
="$ac_compile"
24841 case "(($ac_try" in
24842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24843 *) ac_try_echo=$ac_try;;
24845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24846 (eval "$ac_compile") 2>conftest.er1
24848 grep -v '^ *+' conftest.er1 >conftest.err
24850 cat conftest.err >&5
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); } && {
24853 test -z "$ac_c_werror_flag" ||
24854 test ! -s conftest.err
24855 } && test -s conftest.$ac_objext; then
24856 ac_cv_header_sys_wait_h=yes
24858 echo "$as_me: failed program was:" >&5
24859 sed 's/^/| /' conftest.$ac_ext >&5
24861 ac_cv_header_sys_wait_h=no
24864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24866 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
24867 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
24868 if test $ac_cv_header_sys_wait_h = yes; then
24870 cat >>confdefs.h <<\_ACEOF
24871 #define HAVE_SYS_WAIT_H 1
24884 for ac_header in sys/stat.h sys/time.h sys/wait.h sys/select.h unistd.h fcntl.h crypt.h termios.h
24886 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
24887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24888 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24891 echo $ECHO_N "(cached) $ECHO_C" >&6
24893 ac_res=`eval echo '${'$as_ac_Header'}'`
24894 { echo "$as_me:$LINENO: result: $ac_res" >&5
24895 echo "${ECHO_T}$ac_res" >&6; }
24897 # Is the header compilable?
24898 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
24899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24900 cat >conftest.$ac_ext <<_ACEOF
24903 cat confdefs.h >>conftest.$ac_ext
24904 cat >>conftest.$ac_ext <<_ACEOF
24905 /* end confdefs.h. */
24906 $ac_includes_default
24907 #include <$ac_header>
24909 rm -f conftest.$ac_objext
24910 if { (ac_try="$ac_compile"
24911 case "(($ac_try" in
24912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24913 *) ac_try_echo
=$ac_try;;
24915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24916 (eval "$ac_compile") 2>conftest.er1
24918 grep -v '^ *+' conftest.er1
>conftest.err
24920 cat conftest.err
>&5
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); } && {
24923 test -z "$ac_c_werror_flag" ||
24924 test ! -s conftest.err
24925 } && test -s conftest.
$ac_objext; then
24926 ac_header_compiler
=yes
24928 echo "$as_me: failed program was:" >&5
24929 sed 's/^/| /' conftest.
$ac_ext >&5
24931 ac_header_compiler
=no
24934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24936 echo "${ECHO_T}$ac_header_compiler" >&6; }
24938 # Is the header present?
24939 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
24940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24941 cat >conftest.
$ac_ext <<_ACEOF
24944 cat confdefs.h
>>conftest.
$ac_ext
24945 cat >>conftest.
$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24947 #include <$ac_header>
24949 if { (ac_try
="$ac_cpp conftest.$ac_ext"
24950 case "(($ac_try" in
24951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24952 *) ac_try_echo=$ac_try;;
24954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24957 grep -v '^ *+' conftest.er1 >conftest.err
24959 cat conftest.err >&5
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); } >/dev/null && {
24962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24963 test ! -s conftest.err
24965 ac_header_preproc=yes
24967 echo "$as_me: failed program was:" >&5
24968 sed 's/^/| /' conftest.$ac_ext >&5
24970 ac_header_preproc=no
24973 rm -f conftest.err conftest.$ac_ext
24974 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24975 echo "${ECHO_T}$ac_header_preproc" >&6; }
24977 # So? What about this header?
24978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24984 ac_header_preproc=yes
24987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25000 ## -------------------------------------------------- ##
25001 ## Report this to courier-users@lists.sourceforge.net ##
25002 ## -------------------------------------------------- ##
25004 ) | sed "s/^/$as_me: WARNING: /" >&2
25007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25010 echo $ECHO_N "(cached) $ECHO_C" >&6
25012 eval "$as_ac_Header=\$ac_header_preproc"
25014 ac_res=`eval echo '${'$as_ac_Header'}'`
25015 { echo "$as_me:$LINENO: result: $ac_res" >&5
25016 echo "${ECHO_T}$ac_res" >&6; }
25019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25020 cat >>confdefs.h <<_ACEOF
25021 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
25029 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
25030 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
25031 if test "${ac_cv_c_const+set}" = set; then
25032 echo $ECHO_N "(cached) $ECHO_C" >&6
25034 cat >conftest.$ac_ext <<_ACEOF
25037 cat confdefs.h >>conftest.$ac_ext
25038 cat >>conftest.$ac_ext <<_ACEOF
25039 /* end confdefs.h. */
25044 /* FIXME: Include the comments suggested by Paul. */
25045 #ifndef __cplusplus
25046 /* Ultrix mips cc rejects this. */
25047 typedef int charset[2];
25049 /* SunOS 4.1.1 cc rejects this. */
25050 char const *const *pcpcc;
25052 /* NEC SVR4.0.2 mips cc rejects this. */
25053 struct point {int x, y;};
25054 static struct point const zero = {0,0};
25055 /* AIX XL C 1.02.0.0 rejects this.
25056 It does not let you subtract one const X* pointer from another in
25057 an arm of an if-expression whose if-part is not a constant
25059 const char *g = "string";
25060 pcpcc = &g + (g ? g-g : 0);
25061 /* HPUX 7.0 cc rejects these. */
25063 ppc = (char**) pcpcc;
25064 pcpcc = (char const *const *) ppc;
25065 { /* SCO 3.2v4 cc rejects this. */
25067 char const *s = 0 ? (char *) 0 : (char const *) 0;
25072 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
25073 int x[] = {25, 17};
25074 const int *foo = &x[0];
25077 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
25078 typedef const int *iptr;
25082 { /* AIX XL C 1.02.0.0 rejects this saying
25083 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
25084 struct s { int j; const int *ap[3]; };
25085 struct s *b; b->j = 5;
25087 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
25088 const int foo = 10;
25089 if (!foo) return 0;
25091 return !cs[0] && !zero.x;
25098 rm -f conftest.$ac_objext
25099 if { (ac_try="$ac_compile"
25100 case "(($ac_try" in
25101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25102 *) ac_try_echo
=$ac_try;;
25104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25105 (eval "$ac_compile") 2>conftest.er1
25107 grep -v '^ *+' conftest.er1
>conftest.err
25109 cat conftest.err
>&5
25110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111 (exit $ac_status); } && {
25112 test -z "$ac_c_werror_flag" ||
25113 test ! -s conftest.err
25114 } && test -s conftest.
$ac_objext; then
25117 echo "$as_me: failed program was:" >&5
25118 sed 's/^/| /' conftest.
$ac_ext >&5
25123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25125 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
25126 echo "${ECHO_T}$ac_cv_c_const" >&6; }
25127 if test $ac_cv_c_const = no
; then
25129 cat >>confdefs.h
<<\_ACEOF
25135 { echo "$as_me:$LINENO: checking for pid_t" >&5
25136 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
25137 if test "${ac_cv_type_pid_t+set}" = set; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 cat >conftest.
$ac_ext <<_ACEOF
25143 cat confdefs.h
>>conftest.
$ac_ext
25144 cat >>conftest.
$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25146 $ac_includes_default
25147 typedef pid_t ac__type_new_;
25151 if ((ac__type_new_ *) 0)
25153 if (sizeof (ac__type_new_))
25159 rm -f conftest.
$ac_objext
25160 if { (ac_try
="$ac_compile"
25161 case "(($ac_try" in
25162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25163 *) ac_try_echo=$ac_try;;
25165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25166 (eval "$ac_compile") 2>conftest.er1
25168 grep -v '^ *+' conftest.er1 >conftest.err
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } && {
25173 test -z "$ac_c_werror_flag" ||
25174 test ! -s conftest.err
25175 } && test -s conftest.$ac_objext; then
25176 ac_cv_type_pid_t=yes
25178 echo "$as_me: failed program was:" >&5
25179 sed 's/^/| /' conftest.$ac_ext >&5
25181 ac_cv_type_pid_t=no
25184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25186 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25187 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
25188 if test $ac_cv_type_pid_t = yes; then
25192 cat >>confdefs.h <<_ACEOF
25198 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25199 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
25200 if test "${ac_cv_type_uid_t+set}" = set; then
25201 echo $ECHO_N "(cached) $ECHO_C" >&6
25203 cat >conftest.$ac_ext <<_ACEOF
25206 cat confdefs.h >>conftest.$ac_ext
25207 cat >>conftest.$ac_ext <<_ACEOF
25208 /* end confdefs.h. */
25209 #include <sys/types.h>
25212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25213 $EGREP "uid_t" >/dev/null 2>&1; then
25214 ac_cv_type_uid_t=yes
25216 ac_cv_type_uid_t=no
25221 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25222 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
25223 if test $ac_cv_type_uid_t = no; then
25225 cat >>confdefs.h <<\_ACEOF
25230 cat >>confdefs.h <<\_ACEOF
25236 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
25237 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
25238 if test "${ac_cv_type_signal+set}" = set; then
25239 echo $ECHO_N "(cached) $ECHO_C" >&6
25241 cat >conftest.$ac_ext <<_ACEOF
25244 cat confdefs.h >>conftest.$ac_ext
25245 cat >>conftest.$ac_ext <<_ACEOF
25246 /* end confdefs.h. */
25247 #include <sys/types.h>
25248 #include <signal.h>
25253 return *(signal (0, 0)) (0) == 1;
25258 rm -f conftest.$ac_objext
25259 if { (ac_try="$ac_compile"
25260 case "(($ac_try" in
25261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25262 *) ac_try_echo
=$ac_try;;
25264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25265 (eval "$ac_compile") 2>conftest.er1
25267 grep -v '^ *+' conftest.er1
>conftest.err
25269 cat conftest.err
>&5
25270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271 (exit $ac_status); } && {
25272 test -z "$ac_c_werror_flag" ||
25273 test ! -s conftest.err
25274 } && test -s conftest.
$ac_objext; then
25275 ac_cv_type_signal
=int
25277 echo "$as_me: failed program was:" >&5
25278 sed 's/^/| /' conftest.
$ac_ext >&5
25280 ac_cv_type_signal
=void
25283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25285 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
25286 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
25288 cat >>confdefs.h
<<_ACEOF
25289 #define RETSIGTYPE $ac_cv_type_signal
25296 for ac_func
in setsid setlogin
25298 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25299 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25301 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25302 echo $ECHO_N "(cached) $ECHO_C" >&6
25304 cat >conftest.
$ac_ext <<_ACEOF
25307 cat confdefs.h
>>conftest.
$ac_ext
25308 cat >>conftest.
$ac_ext <<_ACEOF
25309 /* end confdefs.h. */
25310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25312 #define $ac_func innocuous_$ac_func
25314 /* System header to define __stub macros and hopefully few prototypes,
25315 which can conflict with char $ac_func (); below.
25316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25317 <limits.h> exists even on freestanding compilers. */
25320 # include <limits.h>
25322 # include <assert.h>
25327 /* Override any GCC internal prototype to avoid an error.
25328 Use char because int might match the return type of a GCC
25329 builtin and then its argument prototype would still apply. */
25334 /* The GNU C library defines this for functions which it implements
25335 to always fail with ENOSYS. Some functions are actually named
25336 something starting with __ and the normal name is an alias. */
25337 #if defined __stub_$ac_func || defined __stub___$ac_func
25344 return $ac_func ();
25349 rm -f conftest.
$ac_objext conftest
$ac_exeext
25350 if { (ac_try
="$ac_link"
25351 case "(($ac_try" in
25352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25353 *) ac_try_echo=$ac_try;;
25355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25356 (eval "$ac_link") 2>conftest.er1
25358 grep -v '^ *+' conftest.er1 >conftest.err
25360 cat conftest.err >&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); } && {
25363 test -z "$ac_c_werror_flag" ||
25364 test ! -s conftest.err
25365 } && test -s conftest$ac_exeext &&
25366 $as_test_x conftest$ac_exeext; then
25367 eval "$as_ac_var=yes"
25369 echo "$as_me: failed program was:" >&5
25370 sed 's/^/| /' conftest.$ac_ext >&5
25372 eval "$as_ac_var=no"
25375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25376 conftest$ac_exeext conftest.$ac_ext
25378 ac_res=`eval echo '${'$as_ac_var'}'`
25379 { echo "$as_me:$LINENO: result: $ac_res" >&5
25380 echo "${ECHO_T}$ac_res" >&6; }
25381 if test `eval echo '${'$as_ac_var'}'` = yes; then
25382 cat >>confdefs.h <<_ACEOF
25383 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
25389 { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
25390 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
25391 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25394 ac_check_lib_save_LIBS=$LIBS
25395 LIBS="-lcrypt $LIBS"
25396 cat >conftest.$ac_ext <<_ACEOF
25399 cat confdefs.h >>conftest.$ac_ext
25400 cat >>conftest.$ac_ext <<_ACEOF
25401 /* end confdefs.h. */
25403 /* Override any GCC internal prototype to avoid an error.
25404 Use char because int might match the return type of a GCC
25405 builtin and then its argument prototype would still apply. */
25418 rm -f conftest.$ac_objext conftest$ac_exeext
25419 if { (ac_try="$ac_link"
25420 case "(($ac_try" in
25421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25422 *) ac_try_echo
=$ac_try;;
25424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25425 (eval "$ac_link") 2>conftest.er1
25427 grep -v '^ *+' conftest.er1
>conftest.err
25429 cat conftest.err
>&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } && {
25432 test -z "$ac_c_werror_flag" ||
25433 test ! -s conftest.err
25434 } && test -s conftest
$ac_exeext &&
25435 $as_test_x conftest
$ac_exeext; then
25436 ac_cv_lib_crypt_crypt
=yes
25438 echo "$as_me: failed program was:" >&5
25439 sed 's/^/| /' conftest.
$ac_ext >&5
25441 ac_cv_lib_crypt_crypt
=no
25444 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25445 conftest
$ac_exeext conftest.
$ac_ext
25446 LIBS
=$ac_check_lib_save_LIBS
25448 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
25449 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
25450 if test $ac_cv_lib_crypt_crypt = yes; then
25451 CRYPTLIBS
="-lcrypt"
25455 LIBS
="$CRYPTLIBS $LIBS"
25456 { echo "$as_me:$LINENO: checking for crypt" >&5
25457 echo $ECHO_N "checking for crypt... $ECHO_C" >&6; }
25458 if test "${ac_cv_func_crypt+set}" = set; then
25459 echo $ECHO_N "(cached) $ECHO_C" >&6
25461 cat >conftest.
$ac_ext <<_ACEOF
25464 cat confdefs.h
>>conftest.
$ac_ext
25465 cat >>conftest.
$ac_ext <<_ACEOF
25466 /* end confdefs.h. */
25467 /* Define crypt to an innocuous variant, in case <limits.h> declares crypt.
25468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25469 #define crypt innocuous_crypt
25471 /* System header to define __stub macros and hopefully few prototypes,
25472 which can conflict with char crypt (); below.
25473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25474 <limits.h> exists even on freestanding compilers. */
25477 # include <limits.h>
25479 # include <assert.h>
25484 /* Override any GCC internal prototype to avoid an error.
25485 Use char because int might match the return type of a GCC
25486 builtin and then its argument prototype would still apply. */
25491 /* The GNU C library defines this for functions which it implements
25492 to always fail with ENOSYS. Some functions are actually named
25493 something starting with __ and the normal name is an alias. */
25494 #if defined __stub_crypt || defined __stub___crypt
25506 rm -f conftest.
$ac_objext conftest
$ac_exeext
25507 if { (ac_try
="$ac_link"
25508 case "(($ac_try" in
25509 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25510 *) ac_try_echo=$ac_try;;
25512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25513 (eval "$ac_link") 2>conftest.er1
25515 grep -v '^ *+' conftest.er1 >conftest.err
25517 cat conftest.err >&5
25518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 (exit $ac_status); } && {
25520 test -z "$ac_c_werror_flag" ||
25521 test ! -s conftest.err
25522 } && test -s conftest$ac_exeext &&
25523 $as_test_x conftest$ac_exeext; then
25524 ac_cv_func_crypt=yes
25526 echo "$as_me: failed program was:" >&5
25527 sed 's/^/| /' conftest.$ac_ext >&5
25529 ac_cv_func_crypt=no
25532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25533 conftest$ac_exeext conftest.$ac_ext
25535 { echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5
25536 echo "${ECHO_T}$ac_cv_func_crypt" >&6; }
25537 if test $ac_cv_func_crypt = yes; then
25539 cat >>confdefs.h <<_ACEOF
25540 #define HAVE_CRYPT 1
25546 { echo "$as_me:$LINENO: checking for crypt() prototype" >&5
25547 echo $ECHO_N "checking for crypt() prototype... $ECHO_C" >&6; }
25548 if test "${userdb_cv_NEED_CRYPT_PROTOTYPE+set}" = set; then
25549 echo $ECHO_N "(cached) $ECHO_C" >&6
25551 cat >conftest.$ac_ext <<_ACEOF
25554 cat confdefs.h >>conftest.$ac_ext
25555 cat >>conftest.$ac_ext <<_ACEOF
25556 /* end confdefs.h. */
25562 #include <unistd.h>
25564 int crypt(int, int);
25575 rm -f conftest.$ac_objext
25576 if { (ac_try="$ac_compile"
25577 case "(($ac_try" in
25578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25579 *) ac_try_echo
=$ac_try;;
25581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25582 (eval "$ac_compile") 2>conftest.er1
25584 grep -v '^ *+' conftest.er1
>conftest.err
25586 cat conftest.err
>&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } && {
25589 test -z "$ac_c_werror_flag" ||
25590 test ! -s conftest.err
25591 } && test -s conftest.
$ac_objext; then
25592 userdb_cv_NEED_CRYPT_PROTOTYPE
=1
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.
$ac_ext >&5
25597 userdb_cv_NEED_CRYPT_PROTOTYPE
=0
25600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25604 { echo "$as_me:$LINENO: result: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
25605 echo "${ECHO_T}$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6; }
25608 cat >>confdefs.h
<<_ACEOF
25609 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
25618 # Check whether --with-authdaemonrc was given.
25619 if test "${with_authdaemonrc+set}" = set; then
25620 withval
=$with_authdaemonrc; authdaemonrc
="$withval"
25622 authdaemonrc
="$pkgconfdir/authdaemonrc"
25628 # Check whether --with-authdaemonvar was given.
25629 if test "${with_authdaemonvar+set}" = set; then
25630 withval
=$with_authdaemonvar; authdaemonvar
="$withval"
25632 authdaemonvar
="$localstatedir/spool/authdaemon"
25641 cat >>confdefs.h
<<_ACEOF
25642 #define SASL_LIST $SASL_LIST
25646 rm -f authdaemonrc.h authldaprc.h authmysqlrc.h authpgsqlrc.h vpopmail_config.h
25652 if test -x "$COURIERCONFIG"
25654 $COURIERCONFIG >conftest.out ||
exit 1
25655 sed -n '/^mail/p' <conftest.out
>conftest2.out ||
exit 1
25657 rm -f conftest.out conftest2.out
25659 cmailuser
="$mailuser"
25660 cmailgroup
="$mailgroup"
25661 result
=" (from courier-config)"
25664 if test -x "$bindir/courierauthconfig"
25666 $bindir/courierauthconfig
--configfiles >conftest.out ||
exit 1
25667 sed -n '/^mail/p' <conftest.out
>conftest2.out ||
exit 1
25669 rm -f conftest.out conftest2.out
25671 cmailuser
="$mailuser"
25672 cmailgroup
="$mailgroup"
25673 result
=" (from previous courierauthconfig)"
25683 { echo "$as_me:$LINENO: checking for mail userid" >&5
25684 echo $ECHO_N "checking for mail userid... $ECHO_C" >&6; }
25687 # Check whether --with-mailuser was given.
25688 if test "${with_mailuser+set}" = set; then
25689 withval
=$with_mailuser; mailuser
="$withval"
25691 if test "$cmailuser" = ""
25693 if test "$cross_compiling" = yes; then
25694 { { echo "$as_me:$LINENO: error: Must use --with-mailuser when cross compiling." >&5
25695 echo "$as_me: error: Must use --with-mailuser when cross compiling." >&2;}
25696 { (exit 1); exit 1; }; }
25698 cat >conftest.
$ac_ext <<_ACEOF
25701 cat confdefs.h
>>conftest.
$ac_ext
25702 cat >>conftest.
$ac_ext <<_ACEOF
25703 /* end confdefs.h. */
25707 #include <stdlib.h>
25709 static const char *ids $LB $RB={"courier","daemon","adm","bin","root", 0};
25717 for (i=0; ids $LB i $RB; i++)
25718 if (getpwnam(ids $LB i $RB)) break;
25720 f=fopen("conftest.out", "w");
25721 if (f && ids $LB i $RB)
25723 fprintf(f, "%s\n", ids $LB i $RB);
25733 rm -f conftest
$ac_exeext
25734 if { (ac_try
="$ac_link"
25735 case "(($ac_try" in
25736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25737 *) ac_try_echo=$ac_try;;
25739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25740 (eval "$ac_link") 2>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25744 { (case "(($ac_try" in
25745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25746 *) ac_try_echo
=$ac_try;;
25748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25749 (eval "$ac_try") 2>&5
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); }; }; then
25753 mailuser
=`cat conftest.out`
25755 echo "$as_me: program exited with status $ac_status" >&5
25756 echo "$as_me: failed program was:" >&5
25757 sed 's/^/| /' conftest.
$ac_ext >&5
25759 ( exit $ac_status )
25760 { { echo "$as_me:$LINENO: error: Cannot determine mail user" >&5
25761 echo "$as_me: error: Cannot determine mail user" >&2;}
25762 { (exit use
--with-mailuser.
); exit use
--with-mailuser.
; }; }
25764 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25769 mailuser
="$cmailuser"
25771 ac_configure_args
="$ac_configure_args --with-mailuser=$mailuser"
25775 { echo "$as_me:$LINENO: result: $mailuser $result" >&5
25776 echo "${ECHO_T}$mailuser $result" >&6; }
25778 { echo "$as_me:$LINENO: checking for mail group id" >&5
25779 echo $ECHO_N "checking for mail group id... $ECHO_C" >&6; }
25782 # Check whether --with-mailgroup was given.
25783 if test "${with_mailgroup+set}" = set; then
25784 withval
=$with_mailgroup; mailgroup
="$withval"
25786 if test "$cmailgroup" = ""
25788 if test "$cross_compiling" = yes; then
25789 { { echo "$as_me:$LINENO: error: Must use --with-mailgroup when cross compiling." >&5
25790 echo "$as_me: error: Must use --with-mailgroup when cross compiling." >&2;}
25791 { (exit 1); exit 1; }; }
25793 cat >conftest.
$ac_ext <<_ACEOF
25796 cat confdefs.h
>>conftest.
$ac_ext
25797 cat >>conftest.
$ac_ext <<_ACEOF
25798 /* end confdefs.h. */
25802 #include <stdlib.h>
25804 static const char *ids $LB $RB={"courier", "daemon","sys","adm", "root", 0};
25811 for (i=0; ids $LB i $RB; i++)
25812 if (getgrnam(ids $LB i $RB)) break;
25814 f=fopen("conftest.out", "w");
25815 if (f && ids $LB i $RB)
25817 fprintf(f, "%s\n", ids $LB i $RB);
25827 rm -f conftest
$ac_exeext
25828 if { (ac_try
="$ac_link"
25829 case "(($ac_try" in
25830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25831 *) ac_try_echo=$ac_try;;
25833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25834 (eval "$ac_link") 2>&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25838 { (case "(($ac_try" in
25839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
25840 *) ac_try_echo
=$ac_try;;
25842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25843 (eval "$ac_try") 2>&5
25845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25846 (exit $ac_status); }; }; then
25847 mailgroup
=`cat conftest.out`
25849 echo "$as_me: program exited with status $ac_status" >&5
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.
$ac_ext >&5
25853 ( exit $ac_status )
25854 { { echo "$as_me:$LINENO: error: Cannot determine mail group" >&5
25855 echo "$as_me: error: Cannot determine mail group" >&2;}
25856 { (exit use
--with-mailgroup.
); exit use
--with-mailgroup.
; }; }
25858 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25863 mailgroup
="$cmailgroup"
25865 ac_configure_args
="$ac_configure_args --with-mailgroup=$mailgroup"
25869 { echo "$as_me:$LINENO: result: $mailgroup $result" >&5
25870 echo "${ECHO_T}$mailgroup $result" >&6; }
25876 # Check whether --with-stdheaderdir was given.
25877 if test "${with_stdheaderdir+set}" = set; then
25878 withval
=$with_stdheaderdir;
25879 if test "$withval" = "no"
25882 cat >>confdefs.h
<<_ACEOF
25883 #define HAVE_NOSTDHEADERDIR 1
25891 { echo "$as_me:$LINENO: checking for socklen_t" >&5
25892 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
25893 if test "${authlib_cv_hassocklen_t+set}" = set; then
25894 echo $ECHO_N "(cached) $ECHO_C" >&6
25896 cat >conftest.
$ac_ext <<_ACEOF
25899 cat confdefs.h
>>conftest.
$ac_ext
25900 cat >>conftest.
$ac_ext <<_ACEOF
25901 /* end confdefs.h. */
25903 #include <sys/types.h>
25904 #include <sys/socket.h>
25909 rm -f conftest.
$ac_objext
25910 if { (ac_try
="$ac_compile"
25911 case "(($ac_try" in
25912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
25913 *) ac_try_echo=$ac_try;;
25915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25916 (eval "$ac_compile") 2>conftest.er1
25918 grep -v '^ *+' conftest.er1 >conftest.err
25920 cat conftest.err >&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); } && {
25923 test -z "$ac_c_werror_flag" ||
25924 test ! -s conftest.err
25925 } && test -s conftest.$ac_objext; then
25926 authlib_cv_hassocklen_t=yes
25928 echo "$as_me: failed program was:" >&5
25929 sed 's/^/| /' conftest.$ac_ext >&5
25931 authlib_cv_hassocklen_t=no
25934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25937 { echo "$as_me:$LINENO: result: $authlib_cv_hassocklen_t" >&5
25938 echo "${ECHO_T}$authlib_cv_hassocklen_t" >&6; }
25942 if test $authlib_cv_hassocklen_t = yes
25947 cat >>confdefs.h <<_ACEOF
25948 #define socklen_t int
25953 if test x"$enable_ltdl_install" = x"yes"
25955 LIBLTDL_SUBDIR=libltdl
25961 # Check whether --with-repository was given.
25962 if test "${with_repository+set}" = set; then
25963 withval=$with_repository; REPOSITORY="$withval"
25968 if test -d ${srcdir}/docbook; then
25970 HAVE_SGML_FALSE='#'
25976 subdirs="$subdirs libltdl bdbobj gdbmobj md5 sha1 libhmac numlib makedat userdb rfc822 random128 liblock liblog"
25979 ac_config_files="$ac_config_files Makefile authdaemond authdaemonrc authsystem.passwd README.authdebug.html dbobj.h authmigrate courier-authlib.spec courier-authlib.lpspec courier-authlib.sysvinit userdb-test-cram-md5.pl"
25981 cat >confcache <<\_ACEOF
25982 # This file is a shell script that caches the results of configure
25983 # tests run on this system so they can be shared between configure
25984 # scripts and configure runs, see configure's option --config-cache.
25985 # It is not useful on other systems. If it contains results you don't
25986 # want to keep, you may remove or edit it.
25988 # config.status only pays attention to the cache file if you give it
25989 # the --recheck option to rerun configure.
25991 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25992 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25993 # following values.
25997 # The following way of writing the cache mishandles newlines in values,
25998 # but we know of no workaround that is simple, portable, and efficient.
25999 # So, we kill variables containing newlines.
26000 # Ultrix sh set writes to stderr and can't be redirected directly,
26001 # and sets the high bit in the cache file unless we assign to the vars.
26003 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26004 eval ac_val
=\$
$ac_var
26008 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26009 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26012 _ | IFS | as_nl
) ;; #(
26013 *) $as_unset $ac_var ;;
26019 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26020 *${as_nl}ac_space
=\
*)
26021 # `set' does not quote correctly, so add quotes (double-quote
26022 # substitution turns \\\\ into \\, and sed turns \\ into \).
26025 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26028 # `set' quotes correctly as required by POSIX, so do not add quotes.
26029 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26038 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26040 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26042 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26043 if test -w "$cache_file"; then
26044 test "x$cache_file" != "x/dev/null" &&
26045 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26046 echo "$as_me: updating cache $cache_file" >&6;}
26047 cat confcache
>$cache_file
26049 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26050 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26055 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26056 # Let make expand exec_prefix.
26057 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26059 DEFS
=-DHAVE_CONFIG_H
26063 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26064 # 1. Remove the extension, and $U if already installed.
26065 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26066 ac_i
=`echo "$ac_i" | sed "$ac_script"`
26067 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26068 # will be set to the directory where LIBOBJS objects are built.
26069 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26070 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
26072 LIBOBJS
=$ac_libobjs
26074 LTLIBOBJS
=$ac_ltlibobjs
26077 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26078 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
26079 Usually this means the macro was only invoked conditionally." >&5
26080 echo "$as_me: error: conditional \"AMDEP\" was never defined.
26081 Usually this means the macro was only invoked conditionally." >&2;}
26082 { (exit 1); exit 1; }; }
26084 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26085 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26086 Usually this means the macro was only invoked conditionally." >&5
26087 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26088 Usually this means the macro was only invoked conditionally." >&2;}
26089 { (exit 1); exit 1; }; }
26091 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26092 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
26093 Usually this means the macro was only invoked conditionally." >&5
26094 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
26095 Usually this means the macro was only invoked conditionally." >&2;}
26096 { (exit 1); exit 1; }; }
26098 if test -z "${HAVE_MD5_TRUE}" && test -z "${HAVE_MD5_FALSE}"; then
26099 { { echo "$as_me:$LINENO: error: conditional \"HAVE_MD5\" was never defined.
26100 Usually this means the macro was only invoked conditionally." >&5
26101 echo "$as_me: error: conditional \"HAVE_MD5\" was never defined.
26102 Usually this means the macro was only invoked conditionally." >&2;}
26103 { (exit 1); exit 1; }; }
26105 if test -z "${HAVE_SHA1_TRUE}" && test -z "${HAVE_SHA1_FALSE}"; then
26106 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SHA1\" was never defined.
26107 Usually this means the macro was only invoked conditionally." >&5
26108 echo "$as_me: error: conditional \"HAVE_SHA1\" was never defined.
26109 Usually this means the macro was only invoked conditionally." >&2;}
26110 { (exit 1); exit 1; }; }
26112 if test -z "${HAVE_HMACLIB_TRUE}" && test -z "${HAVE_HMACLIB_FALSE}"; then
26113 { { echo "$as_me:$LINENO: error: conditional \"HAVE_HMACLIB\" was never defined.
26114 Usually this means the macro was only invoked conditionally." >&5
26115 echo "$as_me: error: conditional \"HAVE_HMACLIB\" was never defined.
26116 Usually this means the macro was only invoked conditionally." >&2;}
26117 { (exit 1); exit 1; }; }
26119 if test -z "${HAVE_LDAP_TRUE}" && test -z "${HAVE_LDAP_FALSE}"; then
26120 { { echo "$as_me:$LINENO: error: conditional \"HAVE_LDAP\" was never defined.
26121 Usually this means the macro was only invoked conditionally." >&5
26122 echo "$as_me: error: conditional \"HAVE_LDAP\" was never defined.
26123 Usually this means the macro was only invoked conditionally." >&2;}
26124 { (exit 1); exit 1; }; }
26126 if test -z "${HAVE_AUTHPGSQL_TRUE}" && test -z "${HAVE_AUTHPGSQL_FALSE}"; then
26127 { { echo "$as_me:$LINENO: error: conditional \"HAVE_AUTHPGSQL\" was never defined.
26128 Usually this means the macro was only invoked conditionally." >&5
26129 echo "$as_me: error: conditional \"HAVE_AUTHPGSQL\" was never defined.
26130 Usually this means the macro was only invoked conditionally." >&2;}
26131 { (exit 1); exit 1; }; }
26133 if test -z "${HAVE_AUTHMYSQL_TRUE}" && test -z "${HAVE_AUTHMYSQL_FALSE}"; then
26134 { { echo "$as_me:$LINENO: error: conditional \"HAVE_AUTHMYSQL\" was never defined.
26135 Usually this means the macro was only invoked conditionally." >&5
26136 echo "$as_me: error: conditional \"HAVE_AUTHMYSQL\" was never defined.
26137 Usually this means the macro was only invoked conditionally." >&2;}
26138 { (exit 1); exit 1; }; }
26140 if test -z "${HAVE_CUSTOM_TRUE}" && test -z "${HAVE_CUSTOM_FALSE}"; then
26141 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CUSTOM\" was never defined.
26142 Usually this means the macro was only invoked conditionally." >&5
26143 echo "$as_me: error: conditional \"HAVE_CUSTOM\" was never defined.
26144 Usually this means the macro was only invoked conditionally." >&2;}
26145 { (exit 1); exit 1; }; }
26147 if test -z "${HAVE_PIPE_TRUE}" && test -z "${HAVE_PIPE_FALSE}"; then
26148 { { echo "$as_me:$LINENO: error: conditional \"HAVE_PIPE\" was never defined.
26149 Usually this means the macro was only invoked conditionally." >&5
26150 echo "$as_me: error: conditional \"HAVE_PIPE\" was never defined.
26151 Usually this means the macro was only invoked conditionally." >&2;}
26152 { (exit 1); exit 1; }; }
26154 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
26155 { { echo "$as_me:$LINENO: error: conditional \"HAVE_SGML\" was never defined.
26156 Usually this means the macro was only invoked conditionally." >&5
26157 echo "$as_me: error: conditional \"HAVE_SGML\" was never defined.
26158 Usually this means the macro was only invoked conditionally." >&2;}
26159 { (exit 1); exit 1; }; }
26162 : ${CONFIG_STATUS=./config.status}
26163 ac_clean_files_save
=$ac_clean_files
26164 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26165 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
26166 echo "$as_me: creating $CONFIG_STATUS" >&6;}
26167 cat >$CONFIG_STATUS <<_ACEOF
26169 # Generated by $as_me.
26170 # Run this file to recreate the current configuration.
26171 # Compiler output produced by configure, useful for debugging
26172 # configure, is in config.log if it exists.
26175 ac_cs_recheck=false
26177 SHELL=\${CONFIG_SHELL-$SHELL}
26180 cat >>$CONFIG_STATUS <<\_ACEOF
26181 ## --------------------- ##
26182 ## M4sh Initialization. ##
26183 ## --------------------- ##
26185 # Be more Bourne compatible
26186 DUALCASE
=1; export DUALCASE
# for MKS sh
26187 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
26190 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26191 # is contrary to our usage. Disable this feature.
26192 alias -g '${1+"$@"}'='"$@"'
26193 setopt NO_GLOB_SUBST
26195 case `(set -o) 2>/dev/null` in
26196 *posix
*) set -o posix
;;
26205 # Avoid depending upon Character Ranges.
26206 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26207 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26208 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26209 as_cr_digits
='0123456789'
26210 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26212 # The user is always right.
26213 if test "${PATH_SEPARATOR+set}" != set; then
26214 echo "#! /bin/sh" >conf$$.sh
26215 echo "exit 0" >>conf$$.sh
26217 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
26225 # Support unset when possible.
26226 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
26234 # We need space, tab and new line, in precisely that order. Quoting is
26235 # there to prevent editors from complaining about space-tab.
26236 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26237 # splitting by setting IFS to empty value.)
26242 # Find who we are. Look in the path if we contain no directory separator.
26244 *[\\/]* ) as_myself
=$0 ;;
26245 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26246 for as_dir
in $PATH
26249 test -z "$as_dir" && as_dir
=.
26250 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
26256 # We did not find ourselves, most probably we were run as `sh COMMAND'
26257 # in which case we are not to be found in the path.
26258 if test "x$as_myself" = x
; then
26261 if test ! -f "$as_myself"; then
26262 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26263 { (exit 1); exit 1; }
26266 # Work around bugs in pre-3.0 UWIN ksh.
26267 for as_var
in ENV MAIL MAILPATH
26268 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
26276 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
26277 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
26278 LC_TELEPHONE LC_TIME
26280 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
26281 eval $as_var=C
; export $as_var
26283 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
26287 # Required to use basename.
26288 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26289 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26295 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26296 as_basename
=basename
26302 # Name of the executable.
26303 as_me
=`$as_basename -- "$0" ||
26304 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26305 X"$0" : 'X\(//\)$' \| \
26306 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26308 sed '/^.*\/\([^/][^/]*\)\/*$/{
26327 as_lineno_1
=$LINENO
26328 as_lineno_2
=$LINENO
26329 test "x$as_lineno_1" != "x$as_lineno_2" &&
26330 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
26332 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26333 # uniformly replaced by the line number. The first 'sed' inserts a
26334 # line-number line after each line using $LINENO; the second 'sed'
26335 # does the real work. The second script uses 'N' to pair each
26336 # line-number line with the line containing $LINENO, and appends
26337 # trailing '-' during substitution so that $LINENO is not a special
26338 # case at line end.
26339 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26340 # scripts with optimization help from Paolo Bonzini. Blame Lee
26341 # E. McMahon (1931-1989) for sed's syntax. :-)
26353 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26356 ' >$as_me.lineno
&&
26357 chmod +x
"$as_me.lineno" ||
26358 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26359 { (exit 1); exit 1; }; }
26361 # Don't try to exec as it changes $[0], causing all sort of problems
26362 # (the dirname of $[0] is not the place where we might find the
26363 # original and so on. Autoconf is especially sensitive to this).
26364 .
"./$as_me.lineno"
26365 # Exit status is that of the last command.
26370 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26376 ECHO_C
= ECHO_N
= ECHO_T
=
26377 case `echo -n x` in
26379 case `echo 'x\c'` in
26380 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26387 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26388 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26394 rm -f conf$$ conf$$.exe conf$$.
file
26395 if test -d conf$$.dir
; then
26396 rm -f conf$$.dir
/conf$$.
file
26402 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26404 # ... but there are two gotchas:
26405 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26406 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26407 # In both cases, we have to default to `cp -p'.
26408 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26410 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26415 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26416 rmdir conf$$.dir
2>/dev
/null
26418 if mkdir
-p .
2>/dev
/null
; then
26421 test -d .
/-p && rmdir .
/-p
26425 if test -x / >/dev
/null
2>&1; then
26426 as_test_x
='test -x'
26428 if ls -dL / >/dev
/null
2>&1; then
26435 if test -d "$1"; then
26441 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26442 ???[sx]*):;;*)false;;esac;fi
26446 as_executable_p
=$as_test_x
26448 # Sed expression to map a string onto a valid CPP name.
26449 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26451 # Sed expression to map a string onto a valid variable name.
26452 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26457 # Save the log message, to keep $[0] and so on meaningful, and to
26458 # report actual input values of CONFIG_FILES etc. instead of their
26459 # values after options handling.
26461 This file was extended by courier-authlib $as_me 0.60.1, which was
26462 generated by GNU Autoconf 2.61. Invocation command line was
26464 CONFIG_FILES = $CONFIG_FILES
26465 CONFIG_HEADERS = $CONFIG_HEADERS
26466 CONFIG_LINKS = $CONFIG_LINKS
26467 CONFIG_COMMANDS = $CONFIG_COMMANDS
26470 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26475 cat >>$CONFIG_STATUS <<_ACEOF
26476 # Files that config.status was made for.
26477 config_files="$ac_config_files"
26478 config_headers="$ac_config_headers"
26479 config_commands="$ac_config_commands"
26483 cat >>$CONFIG_STATUS <<\_ACEOF
26485 \`$as_me' instantiates files from templates according to the
26486 current configuration.
26488 Usage: $0 [OPTIONS] [FILE]...
26490 -h, --help print this help, then exit
26491 -V, --version print version number and configuration settings, then exit
26492 -q, --quiet do not print progress messages
26493 -d, --debug don't remove temporary files
26494 --recheck update $as_me by reconfiguring in the same conditions
26495 --file=FILE[:TEMPLATE]
26496 instantiate the configuration file FILE
26497 --header=FILE[:TEMPLATE]
26498 instantiate the configuration header FILE
26500 Configuration files:
26503 Configuration headers:
26506 Configuration commands:
26509 Report bugs to <bug-autoconf@gnu.org>."
26512 cat >>$CONFIG_STATUS <<_ACEOF
26514 courier-authlib config.status 0.60.1
26515 configured by $0, generated by GNU Autoconf 2.61,
26516 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26518 Copyright (C) 2006 Free Software Foundation, Inc.
26519 This config.status script is free software; the Free Software Foundation
26520 gives unlimited permission to copy, distribute and modify it."
26528 cat >>$CONFIG_STATUS <<\_ACEOF
26529 # If no file are specified by the user, then we need to provide default
26530 # value. By we need to know if files were specified by the user.
26536 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
26537 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
26548 # Handling of the options.
26549 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26551 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
26552 echo "$ac_cs_version"; exit ;;
26553 --debug |
--debu |
--deb |
--de |
--d |
-d )
26555 --file |
--fil |
--fi |
--f )
26557 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
26558 ac_need_defaults
=false
;;
26559 --header |
--heade |
--head |
--hea )
26561 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
26562 ac_need_defaults
=false
;;
26564 # Conflict between --help and --header
26565 { echo "$as_me: error: ambiguous option: $1
26566 Try \`$0 --help' for more information." >&2
26567 { (exit 1); exit 1; }; };;
26568 --help |
--hel |
-h )
26569 echo "$ac_cs_usage"; exit ;;
26570 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26571 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26574 # This is an error.
26575 -*) { echo "$as_me: error: unrecognized option: $1
26576 Try \`$0 --help' for more information." >&2
26577 { (exit 1); exit 1; }; } ;;
26579 *) ac_config_targets
="$ac_config_targets $1"
26580 ac_need_defaults
=false
;;
26586 ac_configure_extra_args
=
26588 if $ac_cs_silent; then
26590 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26594 cat >>$CONFIG_STATUS <<_ACEOF
26595 if \$ac_cs_recheck; then
26596 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
26597 CONFIG_SHELL=$SHELL
26598 export CONFIG_SHELL
26599 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26603 cat >>$CONFIG_STATUS <<\_ACEOF
26607 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26608 ## Running $as_me. ##
26614 cat >>$CONFIG_STATUS <<_ACEOF
26618 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26622 cat >>$CONFIG_STATUS <<\_ACEOF
26624 # Handling of arguments.
26625 for ac_config_target
in $ac_config_targets
26627 case $ac_config_target in
26628 "courier_auth_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS courier_auth_config.h" ;;
26629 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26630 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26631 "authdaemond") CONFIG_FILES
="$CONFIG_FILES authdaemond" ;;
26632 "authdaemonrc") CONFIG_FILES
="$CONFIG_FILES authdaemonrc" ;;
26633 "authsystem.passwd") CONFIG_FILES
="$CONFIG_FILES authsystem.passwd" ;;
26634 "README.authdebug.html") CONFIG_FILES
="$CONFIG_FILES README.authdebug.html" ;;
26635 "dbobj.h") CONFIG_FILES
="$CONFIG_FILES dbobj.h" ;;
26636 "authmigrate") CONFIG_FILES
="$CONFIG_FILES authmigrate" ;;
26637 "courier-authlib.spec") CONFIG_FILES
="$CONFIG_FILES courier-authlib.spec" ;;
26638 "courier-authlib.lpspec") CONFIG_FILES
="$CONFIG_FILES courier-authlib.lpspec" ;;
26639 "courier-authlib.sysvinit") CONFIG_FILES
="$CONFIG_FILES courier-authlib.sysvinit" ;;
26640 "userdb-test-cram-md5.pl") CONFIG_FILES
="$CONFIG_FILES userdb-test-cram-md5.pl" ;;
26642 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26643 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26644 { (exit 1); exit 1; }; };;
26649 # If the user did not use the arguments to specify the items to instantiate,
26650 # then the envvar interface is used. Set only those that are not.
26651 # We use the long form for the default assignment because of an extremely
26652 # bizarre bug on SunOS 4.1.3.
26653 if $ac_need_defaults; then
26654 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26655 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26656 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26659 # Have a temporary directory for convenience. Make it in the build tree
26660 # simply because there is no reason against having it here, and in addition,
26661 # creating and moving files from /tmp can sometimes cause problems.
26662 # Hook for its removal unless debugging.
26663 # Note that there is a small window in which the directory will not be cleaned:
26664 # after its creation but before its name has been assigned to `$tmp'.
26668 trap 'exit_status=$?
26669 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26671 trap '{ (exit 1); exit 1; }' 1 2 13 15
26673 # Create a (secure) tmp directory for tmp files.
26676 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26677 test -n "$tmp" && test -d "$tmp"
26680 tmp
=.
/conf$$
-$RANDOM
26681 (umask 077 && mkdir
"$tmp")
26684 echo "$me: cannot create a temporary directory in ." >&2
26685 { (exit 1); exit 1; }
26689 # Set up the sed scripts for CONFIG_FILES section.
26692 # No need to generate the scripts if there are no CONFIG_FILES.
26693 # This happens for instance when ./config.status config.h
26694 if test -n "$CONFIG_FILES"; then
26701 for ac_last_try
in false false false false false
:; do
26702 cat >conf$
$subs.
sed <<_ACEOF
26703 SHELL!$SHELL$ac_delim
26704 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26705 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26706 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26707 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26708 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26709 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26710 exec_prefix!$exec_prefix$ac_delim
26711 prefix!$prefix$ac_delim
26712 program_transform_name!$program_transform_name$ac_delim
26713 bindir!$bindir$ac_delim
26714 sbindir!$sbindir$ac_delim
26715 libexecdir!$libexecdir$ac_delim
26716 datarootdir!$datarootdir$ac_delim
26717 datadir!$datadir$ac_delim
26718 sysconfdir!$sysconfdir$ac_delim
26719 sharedstatedir!$sharedstatedir$ac_delim
26720 localstatedir!$localstatedir$ac_delim
26721 includedir!$includedir$ac_delim
26722 oldincludedir!$oldincludedir$ac_delim
26723 docdir!$docdir$ac_delim
26724 infodir!$infodir$ac_delim
26725 htmldir!$htmldir$ac_delim
26726 dvidir!$dvidir$ac_delim
26727 pdfdir!$pdfdir$ac_delim
26728 psdir!$psdir$ac_delim
26729 libdir!$libdir$ac_delim
26730 localedir!$localedir$ac_delim
26731 mandir!$mandir$ac_delim
26732 DEFS!$DEFS$ac_delim
26733 ECHO_C!$ECHO_C$ac_delim
26734 ECHO_N!$ECHO_N$ac_delim
26735 ECHO_T!$ECHO_T$ac_delim
26736 LIBS!$LIBS$ac_delim
26737 build_alias!$build_alias$ac_delim
26738 host_alias!$host_alias$ac_delim
26739 target_alias!$target_alias$ac_delim
26740 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26741 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26742 INSTALL_DATA!$INSTALL_DATA$ac_delim
26743 am__isrc!$am__isrc$ac_delim
26744 CYGPATH_W!$CYGPATH_W$ac_delim
26745 PACKAGE!$PACKAGE$ac_delim
26746 VERSION!$VERSION$ac_delim
26747 ACLOCAL!$ACLOCAL$ac_delim
26748 AUTOCONF!$AUTOCONF$ac_delim
26749 AUTOMAKE!$AUTOMAKE$ac_delim
26750 AUTOHEADER!$AUTOHEADER$ac_delim
26751 MAKEINFO!$MAKEINFO$ac_delim
26752 install_sh!$install_sh$ac_delim
26753 STRIP!$STRIP$ac_delim
26754 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26755 mkdir_p!$mkdir_p$ac_delim
26757 SET_MAKE!$SET_MAKE$ac_delim
26758 am__leading_dot!$am__leading_dot$ac_delim
26759 AMTAR!$AMTAR$ac_delim
26760 am__tar!$am__tar$ac_delim
26761 am__untar!$am__untar$ac_delim
26763 CFLAGS!$CFLAGS$ac_delim
26764 LDFLAGS!$LDFLAGS$ac_delim
26765 CPPFLAGS!$CPPFLAGS$ac_delim
26766 ac_ct_CC!$ac_ct_CC$ac_delim
26767 EXEEXT!$EXEEXT$ac_delim
26768 OBJEXT!$OBJEXT$ac_delim
26769 DEPDIR!$DEPDIR$ac_delim
26770 am__include!$am__include$ac_delim
26771 am__quote!$am__quote$ac_delim
26772 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26773 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26774 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26775 CCDEPMODE!$CCDEPMODE$ac_delim
26776 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26777 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26779 LN_S!$LN_S$ac_delim
26780 SYSCONFTOOL_PERL!$SYSCONFTOOL_PERL$ac_delim
26781 SYSCONFTOOL!$SYSCONFTOOL$ac_delim
26782 build!$build$ac_delim
26783 build_cpu!$build_cpu$ac_delim
26784 build_vendor!$build_vendor$ac_delim
26785 build_os!$build_os$ac_delim
26786 host!$host$ac_delim
26787 host_cpu!$host_cpu$ac_delim
26788 host_vendor!$host_vendor$ac_delim
26789 host_os!$host_os$ac_delim
26791 GREP!$GREP$ac_delim
26792 EGREP!$EGREP$ac_delim
26793 ECHO!$ECHO$ac_delim
26795 RANLIB!$RANLIB$ac_delim
26797 CXXFLAGS!$CXXFLAGS$ac_delim
26798 ac_ct_CXX!$ac_ct_CXX$ac_delim
26799 CXXDEPMODE!$CXXDEPMODE$ac_delim
26802 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26804 elif $ac_last_try; then
26805 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26806 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26807 { (exit 1); exit 1; }; }
26809 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
26813 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26814 if test -n "$ac_eof"; then
26815 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
26816 ac_eof
=`expr $ac_eof + 1`
26819 cat >>$CONFIG_STATUS <<_ACEOF
26820 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26821 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26824 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26825 s/^/s,@/; s/!/@,|#_!!_#|/
26828 s/'"$ac_delim"'$/,g/; t
26830 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26831 ' >>$CONFIG_STATUS <conf$
$subs.
sed
26832 rm -f conf$
$subs.
sed
26833 cat >>$CONFIG_STATUS <<_ACEOF
26839 for ac_last_try
in false false false false false
:; do
26840 cat >conf$
$subs.
sed <<_ACEOF
26841 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26842 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26843 CXXCPP!$CXXCPP$ac_delim
26845 FFLAGS!$FFLAGS$ac_delim
26846 ac_ct_F77!$ac_ct_F77$ac_delim
26847 LIBTOOL!$LIBTOOL$ac_delim
26848 LTDLINCL!$LTDLINCL$ac_delim
26849 LIBLTDL!$LIBLTDL$ac_delim
26850 PERL!$PERL$ac_delim
26851 COURIERCONFIG!$COURIERCONFIG$ac_delim
26852 EXPECT!$EXPECT$ac_delim
26853 PASSWD!$PASSWD$ac_delim
26854 MD5LIB!$MD5LIB$ac_delim
26855 HAVE_MD5_TRUE!$HAVE_MD5_TRUE$ac_delim
26856 HAVE_MD5_FALSE!$HAVE_MD5_FALSE$ac_delim
26857 SHA1LIB!$SHA1LIB$ac_delim
26858 HAVE_SHA1_TRUE!$HAVE_SHA1_TRUE$ac_delim
26859 HAVE_SHA1_FALSE!$HAVE_SHA1_FALSE$ac_delim
26860 HMACLIB!$HMACLIB$ac_delim
26861 HAVE_HMACLIB_TRUE!$HAVE_HMACLIB_TRUE$ac_delim
26862 HAVE_HMACLIB_FALSE!$HAVE_HMACLIB_FALSE$ac_delim
26863 NETLIBS!$NETLIBS$ac_delim
26864 DBSUBDIR!$DBSUBDIR$ac_delim
26865 USE_GDBM!$USE_GDBM$ac_delim
26866 USE_DB!$USE_DB$ac_delim
26867 LIBDB!$LIBDB$ac_delim
26868 LIBGDBM!$LIBGDBM$ac_delim
26869 dblibrary!$dblibrary$ac_delim
26870 LIBAUTHUSERDB!$LIBAUTHUSERDB$ac_delim
26871 userdb!$userdb$ac_delim
26872 LIBDL!$LIBDL$ac_delim
26873 AUTHPAMCRYPT!$AUTHPAMCRYPT$ac_delim
26874 LIBAUTHPAM!$LIBAUTHPAM$ac_delim
26875 authldaprc!$authldaprc$ac_delim
26876 LDAPLIBS!$LDAPLIBS$ac_delim
26877 LIBAUTHLDAP!$LIBAUTHLDAP$ac_delim
26878 HAVE_LDAP_TRUE!$HAVE_LDAP_TRUE$ac_delim
26879 HAVE_LDAP_FALSE!$HAVE_LDAP_FALSE$ac_delim
26880 SHADOWLIBS!$SHADOWLIBS$ac_delim
26881 LIBAUTHSHADOW!$LIBAUTHSHADOW$ac_delim
26882 LIBAUTHPWD!$LIBAUTHPWD$ac_delim
26883 vpopmail_home!$vpopmail_home$ac_delim
26884 VPOPMAILLIBS!$VPOPMAILLIBS$ac_delim
26885 LIBAUTHVCHKPW!$LIBAUTHVCHKPW$ac_delim
26886 authpgsqlrc!$authpgsqlrc$ac_delim
26887 PG_CONFIG!$PG_CONFIG$ac_delim
26888 PGSQL_LIBS!$PGSQL_LIBS$ac_delim
26889 LIBAUTHPGSQL!$LIBAUTHPGSQL$ac_delim
26890 HAVE_AUTHPGSQL_TRUE!$HAVE_AUTHPGSQL_TRUE$ac_delim
26891 HAVE_AUTHPGSQL_FALSE!$HAVE_AUTHPGSQL_FALSE$ac_delim
26892 authmysqlrc!$authmysqlrc$ac_delim
26893 MYSQL_CONFIG!$MYSQL_CONFIG$ac_delim
26894 LIBAUTHMYSQL!$LIBAUTHMYSQL$ac_delim
26895 MYSQL_LIBS!$MYSQL_LIBS$ac_delim
26896 HAVE_AUTHMYSQL_TRUE!$HAVE_AUTHMYSQL_TRUE$ac_delim
26897 HAVE_AUTHMYSQL_FALSE!$HAVE_AUTHMYSQL_FALSE$ac_delim
26898 HAVE_CUSTOM_TRUE!$HAVE_CUSTOM_TRUE$ac_delim
26899 HAVE_CUSTOM_FALSE!$HAVE_CUSTOM_FALSE$ac_delim
26900 LIBAUTHCUSTOM!$LIBAUTHCUSTOM$ac_delim
26901 authProg!$authProg$ac_delim
26902 HAVE_PIPE_TRUE!$HAVE_PIPE_TRUE$ac_delim
26903 HAVE_PIPE_FALSE!$HAVE_PIPE_FALSE$ac_delim
26904 LIBAUTHPIPE!$LIBAUTHPIPE$ac_delim
26905 CRYPTLIBS!$CRYPTLIBS$ac_delim
26906 authdaemonrc!$authdaemonrc$ac_delim
26907 authdaemonvar!$authdaemonvar$ac_delim
26908 LIBM!$LIBM$ac_delim
26909 mailuser!$mailuser$ac_delim
26910 mailgroup!$mailgroup$ac_delim
26911 LIBLTDL_SUBDIR!$LIBLTDL_SUBDIR$ac_delim
26912 REPOSITORY!$REPOSITORY$ac_delim
26913 HAVE_SGML_TRUE!$HAVE_SGML_TRUE$ac_delim
26914 HAVE_SGML_FALSE!$HAVE_SGML_FALSE$ac_delim
26915 subdirs!$subdirs$ac_delim
26916 LIBOBJS!$LIBOBJS$ac_delim
26917 LTLIBOBJS!$LTLIBOBJS$ac_delim
26920 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
26922 elif $ac_last_try; then
26923 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26924 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26925 { (exit 1); exit 1; }; }
26927 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
26931 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26932 if test -n "$ac_eof"; then
26933 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
26934 ac_eof
=`expr $ac_eof + 1`
26937 cat >>$CONFIG_STATUS <<_ACEOF
26938 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26942 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26943 s/^/s,@/; s/!/@,|#_!!_#|/
26946 s/'"$ac_delim"'$/,g/; t
26948 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26949 ' >>$CONFIG_STATUS <conf$
$subs.
sed
26950 rm -f conf$
$subs.
sed
26951 cat >>$CONFIG_STATUS <<_ACEOF
26958 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26959 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26960 # trailing colons and then remove the whole line if VPATH becomes empty
26961 # (actually we leave an empty line to preserve line numbers).
26962 if test "x$srcdir" = x.
; then
26963 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
26964 s/:*\$(srcdir):*/:/
26965 s/:*\${srcdir}:*/:/
26967 s/^\([^=]*=[ ]*\):*/\1/
26973 cat >>$CONFIG_STATUS <<\_ACEOF
26974 fi # test -n "$CONFIG_FILES"
26977 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
26980 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26982 case $ac_mode$ac_tag in
26984 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26985 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26986 { (exit 1); exit 1; }; };;
26987 :[FH
]-) ac_tag
=-:-;;
26988 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27005 -) ac_f
="$tmp/stdin";;
27006 *) # Look for the file first in the build tree, then in the source tree
27007 # (if the path is not absolute). The absolute path cannot be DOS-style,
27008 # because $ac_f cannot contain `:'.
27012 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27014 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27015 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27016 { (exit 1); exit 1; }; };;
27018 ac_file_inputs
="$ac_file_inputs $ac_f"
27021 # Let's still pretend it is `configure' which instantiates (i.e., don't
27022 # use $as_me), people would be surprised to read:
27023 # /* config.h. Generated by config.status. */
27024 configure_input
="Generated from "`IFS=:
27025 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27026 if test x
"$ac_file" != x-
; then
27027 configure_input
="$ac_file. $configure_input"
27028 { echo "$as_me:$LINENO: creating $ac_file" >&5
27029 echo "$as_me: creating $ac_file" >&6;}
27033 *:-:* |
*:-) cat >"$tmp/stdin";;
27038 ac_dir
=`$as_dirname -- "$ac_file" ||
27039 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27040 X"$ac_file" : 'X\(//\)[^/]' \| \
27041 X"$ac_file" : 'X\(//\)$' \| \
27042 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27048 /^X\(\/\/\)[^/].*/{
27063 -*) as_dir
=.
/$as_dir;;
27065 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
27069 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27070 *) as_qdir
=$as_dir;;
27072 as_dirs
="'$as_qdir' $as_dirs"
27073 as_dir
=`$as_dirname -- "$as_dir" ||
27074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27075 X"$as_dir" : 'X\(//\)[^/]' \| \
27076 X"$as_dir" : 'X\(//\)$' \| \
27077 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27083 /^X\(\/\/\)[^/].*/{
27096 test -d "$as_dir" && break
27098 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27099 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27100 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27101 { (exit 1); exit 1; }; }; }
27105 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27107 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27108 # A ".." for each directory in $ac_dir_suffix.
27109 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27110 case $ac_top_builddir_sub in
27111 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27112 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27115 ac_abs_top_builddir
=$ac_pwd
27116 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27117 # for backward compatibility:
27118 ac_top_builddir
=$ac_top_build_prefix
27121 .
) # We are building in place.
27123 ac_top_srcdir
=$ac_top_builddir_sub
27124 ac_abs_top_srcdir
=$ac_pwd ;;
27125 [\\/]* | ?
:[\\/]* ) # Absolute name.
27126 ac_srcdir
=$srcdir$ac_dir_suffix;
27127 ac_top_srcdir
=$srcdir
27128 ac_abs_top_srcdir
=$srcdir ;;
27129 *) # Relative name.
27130 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27131 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27132 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27134 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27144 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
27145 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
27147 ac_MKDIR_P
=$MKDIR_P
27149 [\\/$
]* | ?
:[\\/]* ) ;;
27150 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
27154 cat >>$CONFIG_STATUS <<\_ACEOF
27155 # If the template does not know about datarootdir, expand it.
27156 # FIXME: This hack should be removed a few years after 2.60.
27157 ac_datarootdir_hack
=; ac_datarootdir_seen
=
27159 case `sed -n '/datarootdir/ {
27168 ' $ac_file_inputs` in
27169 *datarootdir
*) ac_datarootdir_seen
=yes;;
27170 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
27171 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27172 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27174 cat >>$CONFIG_STATUS <<_ACEOF
27175 ac_datarootdir_hack='
27176 s&@datadir@&$datadir&g
27177 s&@docdir@&$docdir&g
27178 s&@infodir@&$infodir&g
27179 s&@localedir@&$localedir&g
27180 s&@mandir@&$mandir&g
27181 s&\\\${datarootdir}&$datarootdir&g' ;;
27185 # Neutralize VPATH when `$srcdir' = `.'.
27186 # Shell code in configure.ac might set extrasub.
27187 # FIXME: do we really want to maintain this feature?
27188 cat >>$CONFIG_STATUS <<_ACEOF
27192 cat >>$CONFIG_STATUS <<\_ACEOF
27194 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
27195 s
&@configure_input@
&$configure_input&;t t
27196 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
27197 s
&@srcdir@
&$ac_srcdir&;t t
27198 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
27199 s
&@top_srcdir@
&$ac_top_srcdir&;t t
27200 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
27201 s
&@builddir@
&$ac_builddir&;t t
27202 s
&@abs_builddir@
&$ac_abs_builddir&;t t
27203 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
27204 s
&@INSTALL@
&$ac_INSTALL&;t t
27205 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
27206 $ac_datarootdir_hack
27207 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
27209 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27210 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
27211 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
27212 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
27213 which seems to be undefined. Please make sure it is defined." >&5
27214 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
27215 which seems to be undefined. Please make sure it is defined." >&2;}
27219 -) cat "$tmp/out"; rm -f "$tmp/out";;
27220 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27229 # Transform confdefs.h into a sed script `conftest.defines', that
27230 # substitutes the proper values into config.h.in to produce config.h.
27231 rm -f conftest.defines conftest.
tail
27232 # First, append a space to every undef/define line, to ease matching.
27233 echo 's/$/ /' >conftest.defines
27234 # Then, protect against being on the right side of a sed subst, or in
27235 # an unquoted here document, in config.status. If some macros were
27236 # called several times there might be several #defines for the same
27237 # symbol, which is useless. But do not sort them, since the last
27238 # AC_DEFINE must be honored.
27239 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
27240 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27241 # NAME is the cpp macro being defined, VALUE is the value it is being given.
27242 # PARAMS is the parameter list in the macro definition--in most cases, it's
27243 # just an empty string.
27244 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
27245 ac_dB
='\\)[ (].*,\\1define\\2'
27253 s/^[ ]*#[ ]*define[ ][ ]*//
27258 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27259 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27260 ' >>conftest.defines
27262 # Remove the space that was appended to ease matching.
27263 # Then replace #undef with comments. This is necessary, for
27264 # example, in the case of _POSIX_SOURCE, which is predefined and required
27265 # on some systems where configure will not decide to define it.
27266 # (The regexp can be short, since the line contains either #define or #undef.)
27268 s,^[ #]*u.*,/* & */,' >>conftest.defines
27270 # Break up conftest.defines:
27271 ac_max_sed_lines
=50
27273 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27274 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27275 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27277 ac_in
='$ac_file_inputs'
27278 ac_out
='"$tmp/out1"'
27279 ac_nxt
='"$tmp/out2"'
27283 # Write a here document:
27284 cat >>$CONFIG_STATUS <<_ACEOF
27285 # First, check the format of the line:
27286 cat >"\$tmp/defines.sed" <<\\CEOF
27287 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
27288 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
27292 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
27294 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27295 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
27296 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
27297 grep . conftest.
tail >/dev
/null ||
break
27298 rm -f conftest.defines
27299 mv conftest.
tail conftest.defines
27301 rm -f conftest.defines conftest.
tail
27303 echo "ac_result=$ac_in" >>$CONFIG_STATUS
27304 cat >>$CONFIG_STATUS <<\_ACEOF
27305 if test x
"$ac_file" != x-
; then
27306 echo "/* $configure_input */" >"$tmp/config.h"
27307 cat "$ac_result" >>"$tmp/config.h"
27308 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
27309 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27310 echo "$as_me: $ac_file is unchanged" >&6;}
27313 mv "$tmp/config.h" $ac_file
27316 echo "/* $configure_input */"
27320 # Compute $ac_file's index in $config_headers.
27322 for _am_header
in $config_headers :; do
27323 case $_am_header in
27324 $ac_file |
$ac_file:* )
27327 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27330 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
27331 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27332 X$ac_file : 'X\(//\)[^/]' \| \
27333 X$ac_file : 'X\(//\)$' \| \
27334 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
27336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27340 /^X\(\/\/\)[^/].*/{
27352 s/.*/./; q'`/stamp-h
$_am_stamp_count
27355 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
27356 echo "$as_me: executing $ac_file commands" >&6;}
27361 case $ac_file$ac_mode in
27362 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
27363 # Strip MF so we end up with the name of the file.
27364 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27365 # Check whether this is an Automake generated Makefile or not.
27366 # We used to match only the files named `Makefile.in', but
27367 # some people rename them; so instead we look at the file content.
27368 # Grep'ing the first line is not enough: some people post-process
27369 # each Makefile.in and add a new line on top of each file to say so.
27370 # Grep'ing the whole file is not good either: AIX grep has a line
27371 # limit of 2048, but all sed's we know have understand at least 4000.
27372 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
27373 dirpart
=`$as_dirname -- "$mf" ||
27374 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27375 X"$mf" : 'X\(//\)[^/]' \| \
27376 X"$mf" : 'X\(//\)$' \| \
27377 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27383 /^X\(\/\/\)[^/].*/{
27399 # Extract the definition of DEPDIR, am__include, and am__quote
27400 # from the Makefile without running `make'.
27401 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27402 test -z "$DEPDIR" && continue
27403 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27404 test -z "am__include" && continue
27405 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27406 # When using ansi2knr, U may be empty or an underscore; expand it
27407 U
=`sed -n 's/^U = //p' < "$mf"`
27408 # Find all dependency output files, they are included files with
27409 # $(DEPDIR) in their names. We invoke sed twice because it is the
27410 # simplest approach to changing $(DEPDIR) to its actual value in the
27412 for file in `sed -n "
27413 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27414 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27415 # Make sure the directory exists.
27416 test -f "$dirpart/$file" && continue
27417 fdir
=`$as_dirname -- "$file" ||
27418 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27419 X"$file" : 'X\(//\)[^/]' \| \
27420 X"$file" : 'X\(//\)$' \| \
27421 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27427 /^X\(\/\/\)[^/].*/{
27440 { as_dir
=$dirpart/$fdir
27442 -*) as_dir
=.
/$as_dir;;
27444 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
27448 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27449 *) as_qdir
=$as_dir;;
27451 as_dirs
="'$as_qdir' $as_dirs"
27452 as_dir
=`$as_dirname -- "$as_dir" ||
27453 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27454 X"$as_dir" : 'X\(//\)[^/]' \| \
27455 X"$as_dir" : 'X\(//\)$' \| \
27456 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27462 /^X\(\/\/\)[^/].*/{
27475 test -d "$as_dir" && break
27477 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27478 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27479 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27480 { (exit 1); exit 1; }; }; }
27481 # echo "creating $dirpart/$file"
27482 echo '# dummy' > "$dirpart/$file"
27491 { (exit 0); exit 0; }
27493 chmod +x
$CONFIG_STATUS
27494 ac_clean_files
=$ac_clean_files_save
27497 # configure is writing to config.log, and then calls config.status.
27498 # config.status does its own redirection, appending to config.log.
27499 # Unfortunately, on DOS this fails, as config.log is still kept open
27500 # by configure, so config.status won't be able to write to it; its
27501 # output is simply discarded. So we exec the FD to /dev/null,
27502 # effectively closing config.log, so it can be properly (re)opened and
27503 # appended to by config.status. When coming back to configure, we
27504 # need to make the FD available again.
27505 if test "$no_create" != yes; then
27507 ac_config_status_args
=
27508 test "$silent" = yes &&
27509 ac_config_status_args
="$ac_config_status_args --quiet"
27511 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27513 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27514 # would make configure fail if this is the last instruction.
27515 $ac_cs_success ||
{ (exit 1); exit 1; }
27519 # CONFIG_SUBDIRS section.
27521 if test "$no_recursion" != yes; then
27523 # Remove --cache-file and --srcdir arguments so they do not pile up.
27524 ac_sub_configure_args
=
27526 eval "set x $ac_configure_args"
27530 if test -n "$ac_prev"; then
27535 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27536 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27537 ac_prev
=cache_file
;;
27538 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27539 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27542 --config-cache |
-C)
27544 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27546 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27548 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27550 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27554 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27556 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
27560 # Always prepend --prefix to ensure using the same prefix
27561 # in subdir configurations.
27562 ac_arg
="--prefix=$prefix"
27564 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27566 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
27569 if test "$silent" = yes; then
27570 ac_sub_configure_args
="--silent $ac_sub_configure_args"
27574 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27576 # Do not complain, so a configure script can configure whichever
27577 # parts of a large source tree are present.
27578 test -d "$srcdir/$ac_dir" ||
continue
27580 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
27581 echo "$as_me:$LINENO: $ac_msg" >&5
27585 -*) as_dir
=.
/$as_dir;;
27587 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
27591 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27592 *) as_qdir
=$as_dir;;
27594 as_dirs
="'$as_qdir' $as_dirs"
27595 as_dir
=`$as_dirname -- "$as_dir" ||
27596 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27597 X"$as_dir" : 'X\(//\)[^/]' \| \
27598 X"$as_dir" : 'X\(//\)$' \| \
27599 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27605 /^X\(\/\/\)[^/].*/{
27618 test -d "$as_dir" && break
27620 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27621 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27622 echo "$as_me: error: cannot create directory $as_dir" >&2;}
27623 { (exit 1); exit 1; }; }; }
27627 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27629 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27630 # A ".." for each directory in $ac_dir_suffix.
27631 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27632 case $ac_top_builddir_sub in
27633 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27634 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27637 ac_abs_top_builddir
=$ac_pwd
27638 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27639 # for backward compatibility:
27640 ac_top_builddir
=$ac_top_build_prefix
27643 .
) # We are building in place.
27645 ac_top_srcdir
=$ac_top_builddir_sub
27646 ac_abs_top_srcdir
=$ac_pwd ;;
27647 [\\/]* | ?
:[\\/]* ) # Absolute name.
27648 ac_srcdir
=$srcdir$ac_dir_suffix;
27649 ac_top_srcdir
=$srcdir
27650 ac_abs_top_srcdir
=$srcdir ;;
27651 *) # Relative name.
27652 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27653 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27654 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27656 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27661 # Check for guested configure; otherwise get Cygnus style configure.
27662 if test -f "$ac_srcdir/configure.gnu"; then
27663 ac_sub_configure
=$ac_srcdir/configure.gnu
27664 elif test -f "$ac_srcdir/configure"; then
27665 ac_sub_configure
=$ac_srcdir/configure
27666 elif test -f "$ac_srcdir/configure.in"; then
27667 # This should be Cygnus configure.
27668 ac_sub_configure
=$ac_aux_dir/configure
27670 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
27671 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
27675 # The recursion is here.
27676 if test -n "$ac_sub_configure"; then
27677 # Make the cache file name correct relative to the subdirectory.
27678 case $cache_file in
27679 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
27680 *) # Relative name.
27681 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
27684 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
27685 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
27686 # The eval makes quoting arguments work.
27687 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
27688 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
27689 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
27690 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
27691 { (exit 1); exit 1; }; }