2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for courier-authlib 0.66.1.
5 # Report bugs to <courier-users@lists.sourceforge.net>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev
/null
; then :
215 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 # Try only shells that exist, to save several forks.
229 as_shell
=$as_dir/$as_base
230 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
232 CONFIG_SHELL
=$as_shell as_have_required
=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
241 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
243 CONFIG_SHELL
=$SHELL as_have_required
=yes
248 if test "x$CONFIG_SHELL" != x
; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x
${ZSH_VERSION+set} = xset
; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: courier-users@lists.sourceforge.net about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
287 SHELL
=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE
= GREP_OPTIONS
=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir
=.
/$as_dir;;
332 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
336 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs
="'$as_qdir' $as_dirs"
340 as_dir
=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
366 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p
()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
409 as_val
=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status
=$1; test $as_status -eq 0 && as_status
=1
423 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit
$as_status
430 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
437 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
449 as_me
=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits
='0123456789'
473 as_cr_alnum
=$as_cr_Letters$as_cr_digits
476 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
477 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x
"$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec
=no
; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C
= ECHO_N
= ECHO_T
=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
524 rm -f conf$$ conf$$.exe conf$$.
file
525 if test -d conf$$.dir
; then
526 rm -f conf$$.dir
/conf$$.
file
529 mkdir conf$$.dir
2>/dev
/null
531 if (echo >conf$$.
file) 2>/dev
/null
; then
532 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
540 elif ln conf$$.
file conf$$
2>/dev
/null
; then
548 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
549 rmdir conf$$.dir
2>/dev
/null
551 if mkdir
-p .
2>/dev
/null
; then
552 as_mkdir_p
='mkdir -p "$as_dir"'
554 test -d .
/-p && rmdir .
/-p
559 as_executable_p
=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL
=${CONFIG_SHELL-/bin/sh}
569 lt_ltdl_dir
='libltdl'
571 lt_dlopen_dir
="$lt_ltdl_dir"
574 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
578 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
579 # so uname gets run too.
580 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
585 ac_default_prefix
=/usr
/local
587 ac_config_libobj_dir
=.
594 # Identity of this package.
595 PACKAGE_NAME
='courier-authlib'
596 PACKAGE_TARNAME
='courier-authlib'
597 PACKAGE_VERSION
='0.66.1'
598 PACKAGE_STRING
='courier-authlib 0.66.1'
599 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
602 ac_unique_file
="courierauth.h"
603 # Factoring default headers for most tests.
604 ac_includes_default
="\
606 #ifdef HAVE_SYS_TYPES_H
607 # include <sys/types.h>
609 #ifdef HAVE_SYS_STAT_H
610 # include <sys/stat.h>
616 # ifdef HAVE_STDLIB_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 #ifdef HAVE_STRINGS_H
627 # include <strings.h>
629 #ifdef HAVE_INTTYPES_H
630 # include <inttypes.h>
639 enable_option_checking
=no
640 ac_subst_vars
='ltdl_LTLIBOBJS
662 HAVE_AUTHSQLITE_FALSE
705 CONVENIENCE_LTDL_FALSE
706 CONVENIENCE_LTDL_TRUE
710 sys_symbol_underscore
782 INSTALL_STRIP_PROGRAM
824 program_transform_name
837 enable_option_checking
839 enable_dependency_tracking
857 with_authpam_libraries
884 ac_precious_vars
='build_alias
893 ac_subdirs_all
='libltdl
894 libs/bdbobj libs/gdbmobj libs/md5 libs/sha1 libs/libhmac libs/numlib libs/makedat userdb libs/unicode libs/rfc822 libs/random128 libs/liblock liblog'
896 # Initialize some variables set by options.
898 ac_init_version
=false
899 ac_unrecognized_opts
=
901 # The variables have the same names as the options, with
902 # dashes changed to underlines.
910 program_transform_name
=s
,x
,x
,
918 # Installation directory options.
919 # These are left unexpanded so users can "make install exec_prefix=/foo"
920 # and all the variables that are supposed to be based on exec_prefix
921 # by default will actually change.
922 # Use braces instead of parens because sh, perl, etc. also accept them.
923 # (The list follows the same order as the GNU Coding Standards.)
924 bindir
='${exec_prefix}/bin'
925 sbindir
='${exec_prefix}/sbin'
926 libexecdir
='${exec_prefix}/libexec'
927 datarootdir
='${prefix}/share'
928 datadir
='${datarootdir}'
929 sysconfdir
='${prefix}/etc'
930 sharedstatedir
='${prefix}/com'
931 localstatedir
='${prefix}/var'
932 includedir
='${prefix}/include'
933 oldincludedir
='/usr/include'
934 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
935 infodir
='${datarootdir}/info'
940 libdir
='${exec_prefix}/lib'
941 localedir
='${datarootdir}/locale'
942 mandir
='${datarootdir}/man'
948 # If the previous option needs an argument, assign it.
949 if test -n "$ac_prev"; then
950 eval $ac_prev=\
$ac_option
956 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
961 # Accept the important Cygnus configure options, so we can diagnose typos.
963 case $ac_dashdash$ac_option in
967 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
969 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
972 -build |
--build |
--buil |
--bui |
--bu)
973 ac_prev
=build_alias
;;
974 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
975 build_alias
=$ac_optarg ;;
977 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
978 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
979 ac_prev
=cache_file
;;
980 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
981 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
982 cache_file
=$ac_optarg ;;
985 cache_file
=config.cache
;;
987 -datadir |
--datadir |
--datadi |
--datad)
989 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
990 datadir
=$ac_optarg ;;
992 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
993 |
--dataroo |
--dataro |
--datar)
994 ac_prev
=datarootdir
;;
995 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
996 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
997 datarootdir
=$ac_optarg ;;
999 -disable-* |
--disable-*)
1000 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1003 as_fn_error $?
"invalid feature name: $ac_useropt"
1004 ac_useropt_orig
=$ac_useropt
1005 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1008 "enable_
$ac_useropt"
1010 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011 ac_unrecognized_sep
=', ';;
1013 eval enable_
$ac_useropt=no
;;
1015 -docdir |
--docdir |
--docdi |
--doc |
--do)
1017 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1018 docdir
=$ac_optarg ;;
1020 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1022 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1023 dvidir
=$ac_optarg ;;
1025 -enable-* |
--enable-*)
1026 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1029 as_fn_error $?
"invalid feature name: $ac_useropt"
1030 ac_useropt_orig
=$ac_useropt
1031 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_
$ac_useropt"
1036 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037 ac_unrecognized_sep
=', ';;
1039 eval enable_
$ac_useropt=\
$ac_optarg ;;
1041 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1042 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1043 |
--exec |
--exe |
--ex)
1044 ac_prev
=exec_prefix
;;
1045 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1046 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1047 |
--exec=* |
--exe=* |
--ex=*)
1048 exec_prefix
=$ac_optarg ;;
1050 -gas |
--gas |
--ga |
--g)
1051 # Obsolete; use --with-gas.
1054 -help |
--help |
--hel |
--he |
-h)
1055 ac_init_help
=long
;;
1056 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1057 ac_init_help
=recursive
;;
1058 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1059 ac_init_help
=short
;;
1061 -host |
--host |
--hos |
--ho)
1062 ac_prev
=host_alias
;;
1063 -host=* |
--host=* |
--hos=* |
--ho=*)
1064 host_alias
=$ac_optarg ;;
1066 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1068 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1070 htmldir
=$ac_optarg ;;
1072 -includedir |
--includedir |
--includedi |
--included |
--include \
1073 |
--includ |
--inclu |
--incl |
--inc)
1074 ac_prev
=includedir
;;
1075 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1076 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1077 includedir
=$ac_optarg ;;
1079 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1081 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1082 infodir
=$ac_optarg ;;
1084 -libdir |
--libdir |
--libdi |
--libd)
1086 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1087 libdir
=$ac_optarg ;;
1089 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1090 |
--libexe |
--libex |
--libe)
1091 ac_prev
=libexecdir
;;
1092 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1093 |
--libexe=* |
--libex=* |
--libe=*)
1094 libexecdir
=$ac_optarg ;;
1096 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1097 ac_prev
=localedir
;;
1098 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1099 localedir
=$ac_optarg ;;
1101 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1102 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1103 ac_prev
=localstatedir
;;
1104 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1105 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1106 localstatedir
=$ac_optarg ;;
1108 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1110 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1111 mandir
=$ac_optarg ;;
1113 -nfp |
--nfp |
--nf)
1114 # Obsolete; use --without-fp.
1117 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1118 |
--no-cr |
--no-c |
-n)
1121 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1122 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1125 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1126 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1127 |
--oldin |
--oldi |
--old |
--ol |
--o)
1128 ac_prev
=oldincludedir
;;
1129 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1130 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1131 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1132 oldincludedir
=$ac_optarg ;;
1134 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1136 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1137 prefix
=$ac_optarg ;;
1139 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1140 |
--program-pre |
--program-pr |
--program-p)
1141 ac_prev
=program_prefix
;;
1142 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1143 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1144 program_prefix
=$ac_optarg ;;
1146 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1147 |
--program-suf |
--program-su |
--program-s)
1148 ac_prev
=program_suffix
;;
1149 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1150 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1151 program_suffix
=$ac_optarg ;;
1153 -program-transform-name |
--program-transform-name \
1154 |
--program-transform-nam |
--program-transform-na \
1155 |
--program-transform-n |
--program-transform- \
1156 |
--program-transform |
--program-transfor \
1157 |
--program-transfo |
--program-transf \
1158 |
--program-trans |
--program-tran \
1159 |
--progr-tra |
--program-tr |
--program-t)
1160 ac_prev
=program_transform_name
;;
1161 -program-transform-name=* |
--program-transform-name=* \
1162 |
--program-transform-nam=* |
--program-transform-na=* \
1163 |
--program-transform-n=* |
--program-transform-=* \
1164 |
--program-transform=* |
--program-transfor=* \
1165 |
--program-transfo=* |
--program-transf=* \
1166 |
--program-trans=* |
--program-tran=* \
1167 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1168 program_transform_name
=$ac_optarg ;;
1170 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1172 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1173 pdfdir
=$ac_optarg ;;
1175 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1177 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1180 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1181 |
-silent |
--silent |
--silen |
--sile |
--sil)
1184 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1186 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1188 sbindir
=$ac_optarg ;;
1190 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1191 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1192 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1194 ac_prev
=sharedstatedir
;;
1195 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1196 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1197 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1199 sharedstatedir
=$ac_optarg ;;
1201 -site |
--site |
--sit)
1203 -site=* |
--site=* |
--sit=*)
1206 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1208 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1209 srcdir
=$ac_optarg ;;
1211 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1212 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1213 ac_prev
=sysconfdir
;;
1214 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1215 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1216 sysconfdir
=$ac_optarg ;;
1218 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1219 ac_prev
=target_alias
;;
1220 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1221 target_alias
=$ac_optarg ;;
1223 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1226 -version |
--version |
--versio |
--versi |
--vers |
-V)
1227 ac_init_version
=: ;;
1230 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1233 as_fn_error $?
"invalid package name: $ac_useropt"
1234 ac_useropt_orig
=$ac_useropt
1235 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1240 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241 ac_unrecognized_sep
=', ';;
1243 eval with_
$ac_useropt=\
$ac_optarg ;;
1245 -without-* |
--without-*)
1246 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1249 as_fn_error $?
"invalid package name: $ac_useropt"
1250 ac_useropt_orig
=$ac_useropt
1251 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1256 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 ac_unrecognized_sep
=', ';;
1259 eval with_
$ac_useropt=no
;;
1262 # Obsolete; use --with-x.
1265 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1266 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1267 ac_prev
=x_includes
;;
1268 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1269 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1270 x_includes
=$ac_optarg ;;
1272 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1273 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1274 ac_prev
=x_libraries
;;
1275 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1276 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1277 x_libraries
=$ac_optarg ;;
1279 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information"
1284 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 case $ac_envvar in #(
1287 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1288 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1290 eval $ac_envvar=\
$ac_optarg
1291 export $ac_envvar ;;
1294 # FIXME: should be removed in autoconf 3.0.
1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1304 if test -n "$ac_prev"; then
1305 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1306 as_fn_error $?
"missing argument to $ac_option"
1309 if test -n "$ac_unrecognized_opts"; then
1310 case $enable_option_checking in
1312 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1317 # Check all directory arguments for consistency.
1318 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1323 eval ac_val
=\$
$ac_var
1324 # Remove trailing slashes.
1327 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\
$ac_val;;
1330 # Be sure to have absolute directory names.
1332 [\\/$
]* | ?
:[\\/]* ) continue;;
1333 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1335 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1343 target
=$target_alias
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x
; then
1347 if test "x$build_alias" = x
; then
1348 cross_compiling
=maybe
1349 elif test "x$build_alias" != "x$host_alias"; then
1355 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1357 test "$silent" = yes && exec 6>/dev
/null
1360 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1361 ac_ls_di
=`ls -di .` &&
1362 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1363 as_fn_error $?
"working directory cannot be determined"
1364 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365 as_fn_error $?
"pwd does not report name of working directory"
1368 # Find the source files, if location was not specified.
1369 if test -z "$srcdir"; then
1370 ac_srcdir_defaulted
=yes
1371 # Try the directory containing this script, then the parent directory.
1372 ac_confdir
=`$as_dirname -- "$as_myself" ||
1373 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1374 X"$as_myself" : 'X\(//\)[^/]' \| \
1375 X"$as_myself" : 'X\(//\)$' \| \
1376 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1377 $as_echo X"$as_myself" |
1378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396 if test ! -r "$srcdir/$ac_unique_file"; then
1400 ac_srcdir_defaulted
=no
1402 if test ! -r "$srcdir/$ac_unique_file"; then
1403 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1404 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1406 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1408 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1410 # When building in place, set srcdir=.
1411 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 # Remove unnecessary trailing slashes from srcdir.
1415 # Double slashes in file names in object file debugging info
1416 # mess up M-x gdb in Emacs.
1418 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420 for ac_var
in $ac_precious_vars; do
1421 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1422 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1423 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1424 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1428 # Report the --help message.
1430 if test "$ac_init_help" = "long"; then
1431 # Omit some internal or obsolete options to make the list less imposing.
1432 # This message is too long to be a string in the A/UX 3.1 sh.
1434 \`configure' configures courier-authlib 0.66.1 to adapt to many kinds of systems.
1436 Usage: $0 [OPTION]... [VAR=VALUE]...
1438 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1439 VAR=VALUE. See below for descriptions of some of the useful variables.
1441 Defaults for the options are specified in brackets.
1444 -h, --help display this help and exit
1445 --help=short display options specific to this package
1446 --help=recursive display the short help of all the included packages
1447 -V, --version display version information and exit
1448 -q, --quiet, --silent do not print \`checking ...' messages
1449 --cache-file=FILE cache test results in FILE [disabled]
1450 -C, --config-cache alias for \`--cache-file=config.cache'
1451 -n, --no-create do not create output files
1452 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1454 Installation directories:
1455 --prefix=PREFIX install architecture-independent files in PREFIX
1456 [$ac_default_prefix]
1457 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 By default, \`make install' will install all the files in
1461 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1462 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1463 for instance \`--prefix=\$HOME'.
1465 For better control, use the options below.
1467 Fine tuning of the installation directories:
1468 --bindir=DIR user executables [EPREFIX/bin]
1469 --sbindir=DIR system admin executables [EPREFIX/sbin]
1470 --libexecdir=DIR program executables [EPREFIX/libexec]
1471 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1472 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1473 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1474 --libdir=DIR object code libraries [EPREFIX/lib]
1475 --includedir=DIR C header files [PREFIX/include]
1476 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1477 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1478 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1479 --infodir=DIR info documentation [DATAROOTDIR/info]
1480 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1481 --mandir=DIR man documentation [DATAROOTDIR/man]
1482 --docdir=DIR documentation root [DATAROOTDIR/doc/courier-authlib]
1483 --htmldir=DIR html documentation [DOCDIR]
1484 --dvidir=DIR dvi documentation [DOCDIR]
1485 --pdfdir=DIR pdf documentation [DOCDIR]
1486 --psdir=DIR ps documentation [DOCDIR]
1492 --program-prefix=PREFIX prepend PREFIX to installed program names
1493 --program-suffix=SUFFIX append SUFFIX to installed program names
1494 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1497 --build=BUILD configure
for building on BUILD
[guessed
]
1498 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1502 if test -n "$ac_init_help"; then
1503 case $ac_init_help in
1504 short | recursive
) echo "Configuration of courier-authlib 0.66.1:";;
1509 --disable-option-checking ignore unrecognized
--enable/--with options
1510 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1511 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1512 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1513 --disable-silent-rules verbose build output
(undo
: "make V=0")
1514 --enable-dependency-tracking
1515 do not reject slow dependency extractors
1516 --disable-dependency-tracking
1517 speeds up one-time build
1518 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1519 --enable-static[=PKGS
] build static libraries
[default
=yes]
1520 --enable-fast-install[=PKGS
]
1521 optimize
for fast installation
[default
=yes]
1522 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1523 --enable-ltdl-install install libltdl
1526 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1527 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1528 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1530 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1531 --with-sysroot=DIR Search
for dependent libraries within DIR
1532 (or the compiler
's sysroot if not specified).
1533 --with-included-ltdl use the GNU ltdl sources included here
1534 --with-ltdl-include=DIR use the ltdl headers installed in DIR
1535 --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1536 --with-pkgconfdir=d Install config files in directory
1537 --with-db=gdbm Use the GDBM library.
1538 --with-db=db Use the libdb.a library.
1539 --without-authuserdb Do not include the authuserdb module
1542 --without-authpam Do not include the authpam module
1543 --with-authpam-libraries="libs" Link 'libs
' with authpam, this may be
1544 required for FreeBSD 3.3
1545 --without-authldap Do not include the authldap module
1546 --with-authldaprc=filename Expect to find authldaprc here
1547 --without-authpwd Do not include the authpwd module
1548 --without-authshadow Do not include the authshadow module
1549 --with-authpgsqlrc=filename Expect to find authpgsql here
1550 --without-authpgsql Do not include the authpgsql module
1551 --with-pgsql-libs=DIR Look for pgsql libs in this dir
1552 --with-pgsql-includes=DIR Look for pgsql includes in this dir
1553 --with-authmysqlrc=filename Expect to find authmysql here
1554 --without-authmysql Do not include the authmysql module
1555 --with-mysql-libs=DIR Look for mysql libs in this dir
1556 --with-mysql-includes=DIR Look for mysql includes in this dir
1557 --with-authsqliterc=filename Expect to find authmysql here
1558 --without-authsqlite Do not include the authsqlite module
1559 --with-sqlite-libs=DIR Look for sqlite libs in this dir
1560 --with-sqlite-includes=DIR Look for sqlite includes in this dir
1561 --without-authcustom Do not include the authcustom module
1562 --with-pipeprog=filename Expect to find the pipe-prog here
1563 --without-authpipe Do not include the authpipe module
1564 --with-authdaemonrc=filename Expect to find authdaemonrc here
1565 --with-authdaemonvar=directory Directory where authdaemon.pid and
1566 the listening socket is created
1567 --with-mailuser=user Specify mail user name (defaults to
1568 courier, daemon, admin, bin, or root)
1569 --with-mailgroup=group Specify mail group name (defaults to courier,
1570 daemon, sys, adm, or root)
1571 --without-stdheaderdir Header files will be installed into a directory
1572 not in the compiler's default search path.
1574 Some influential environment variables
:
1575 CC C compiler
command
1576 CFLAGS C compiler flags
1577 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1578 nonstandard directory
<lib dir
>
1579 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1580 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1581 you have headers
in a nonstandard directory
<include dir
>
1584 Use these variables to override the choices made by
`configure' or to help
1585 it to find libraries and programs with nonstandard names/locations.
1587 Report bugs to <courier-users@lists.sourceforge.net>.
1592 if test "$ac_init_help" = "recursive"; then
1593 # If there are subdirs, report their specific --help.
1594 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1595 test -d "$ac_dir" ||
1596 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1603 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1604 # A ".." for each directory in $ac_dir_suffix.
1605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1606 case $ac_top_builddir_sub in
1607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1611 ac_abs_top_builddir=$ac_pwd
1612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1613 # for backward compatibility:
1614 ac_top_builddir=$ac_top_build_prefix
1617 .) # We are building in place.
1619 ac_top_srcdir=$ac_top_builddir_sub
1620 ac_abs_top_srcdir=$ac_pwd ;;
1621 [\\/]* | ?:[\\/]* ) # Absolute name.
1622 ac_srcdir=$srcdir$ac_dir_suffix;
1623 ac_top_srcdir=$srcdir
1624 ac_abs_top_srcdir=$srcdir ;;
1626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627 ac_top_srcdir=$ac_top_build_prefix$srcdir
1628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1632 cd "$ac_dir" || { ac_status=$?; continue; }
1633 # Check for guested configure.
1634 if test -f "$ac_srcdir/configure.gnu"; then
1636 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637 elif test -f "$ac_srcdir/configure"; then
1639 $SHELL "$ac_srcdir/configure" --help=recursive
1641 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1643 cd "$ac_pwd" || { ac_status=$?; break; }
1647 test -n "$ac_init_help" && exit $ac_status
1648 if $ac_init_version; then
1650 courier-authlib configure 0.66.1
1651 generated by GNU Autoconf 2.69
1653 Copyright (C) 2012 Free Software Foundation, Inc.
1654 This configure script is free software; the Free Software Foundation
1655 gives unlimited permission to copy, distribute and modify it.
1660 ## ------------------------ ##
1661 ## Autoconf initialization. ##
1662 ## ------------------------ ##
1664 # ac_fn_c_try_compile LINENO
1665 # --------------------------
1666 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1667 ac_fn_c_try_compile ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 rm -f conftest.$ac_objext
1671 if { { ac_try="$ac_compile"
1673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1674 *) ac_try_echo
=$ac_try;;
1676 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_compile") 2>conftest.err
1680 if test -s conftest.err
; then
1681 grep -v '^ *+' conftest.err
>conftest.er1
1682 cat conftest.er1
>&5
1683 mv -f conftest.er1 conftest.err
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } && {
1687 test -z "$ac_c_werror_flag" ||
1688 test ! -s conftest.err
1689 } && test -s conftest.
$ac_objext; then :
1692 $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.
$ac_ext >&5
1697 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 as_fn_set_status
$ac_retval
1700 } # ac_fn_c_try_compile
1702 # ac_fn_c_try_cpp LINENO
1703 # ----------------------
1704 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1707 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1708 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1717 if test -s conftest.err; then
1718 grep -v '^ *+' conftest.err >conftest.er1
1719 cat conftest.er1 >&5
1720 mv -f conftest.er1 conftest.err
1722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723 test $ac_status = 0; } > conftest.i && {
1724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1725 test ! -s conftest.err
1729 $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735 as_fn_set_status $ac_retval
1739 # ac_fn_c_try_link LINENO
1740 # -----------------------
1741 # Try to link conftest.$ac_ext, and return whether this succeeded.
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 rm -f conftest.$ac_objext conftest$ac_exeext
1746 if { { ac_try="$ac_link"
1748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1749 *) ac_try_echo
=$ac_try;;
1751 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753 (eval "$ac_link") 2>conftest.err
1755 if test -s conftest.err
; then
1756 grep -v '^ *+' conftest.err
>conftest.er1
1757 cat conftest.er1
>&5
1758 mv -f conftest.er1 conftest.err
1760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761 test $ac_status = 0; } && {
1762 test -z "$ac_c_werror_flag" ||
1763 test ! -s conftest.err
1764 } && test -s conftest
$ac_exeext && {
1765 test "$cross_compiling" = yes ||
1766 test -x conftest
$ac_exeext
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.
$ac_ext >&5
1775 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1776 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1777 # interfere with the next link command; also delete a directory that is
1778 # left behind by Apple's compiler. We do this before executing the actions.
1779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781 as_fn_set_status
$ac_retval
1783 } # ac_fn_c_try_link
1785 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1786 # -------------------------------------------------------
1787 # Tests whether HEADER exists and can be compiled using the include files in
1788 # INCLUDES, setting the cache variable VAR accordingly.
1789 ac_fn_c_check_header_compile
()
1791 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1793 $as_echo_n "checking for $2... " >&6; }
1794 if eval \
${$3+:} false
; then :
1795 $as_echo_n "(cached) " >&6
1797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1802 if ac_fn_c_try_compile
"$LINENO"; then :
1807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 } # ac_fn_c_check_header_compile
1816 # ac_fn_c_try_run LINENO
1817 # ----------------------
1818 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1819 # that executables *can* be run.
1822 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1823 if { { ac_try
="$ac_link"
1825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1826 *) ac_try_echo=$ac_try;;
1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_link") 2>&5
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1834 { { case "(($ac_try" in
1835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1836 *) ac_try_echo
=$ac_try;;
1838 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 $as_echo "$ac_try_echo"; } >&5
1840 (eval "$ac_try") 2>&5
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; }; }; then :
1846 $as_echo "$as_me: program exited with status $ac_status" >&5
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.
$ac_ext >&5
1850 ac_retval
=$ac_status
1852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 as_fn_set_status
$ac_retval
1858 # ac_fn_c_check_func LINENO FUNC VAR
1859 # ----------------------------------
1860 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1861 ac_fn_c_check_func
()
1863 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if eval \
${$3+:} false
; then :
1867 $as_echo_n "(cached) " >&6
1869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1871 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1873 #define $2 innocuous_$2
1875 /* System header to define __stub macros and hopefully few prototypes,
1876 which can conflict with char $2 (); below.
1877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1878 <limits.h> exists even on freestanding compilers. */
1881 # include <limits.h>
1883 # include <assert.h>
1888 /* Override any GCC internal prototype to avoid an error.
1889 Use char because int might match the return type of a GCC
1890 builtin and then its argument prototype would still apply. */
1895 /* The GNU C library defines this for functions which it implements
1896 to always fail with ENOSYS. Some functions are actually named
1897 something starting with __ and the normal name is an alias. */
1898 #if defined __stub_$2 || defined __stub___$2
1910 if ac_fn_c_try_link
"$LINENO"; then :
1915 rm -f core conftest.err conftest.
$ac_objext \
1916 conftest
$ac_exeext conftest.
$ac_ext
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1920 $as_echo "$ac_res" >&6; }
1921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 } # ac_fn_c_check_func
1925 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1926 # ---------------------------------------------
1927 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1929 ac_fn_c_check_decl
()
1931 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1932 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1933 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1935 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1936 if eval \
${$3+:} false
; then :
1937 $as_echo_n "(cached) " >&6
1939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1945 #ifndef $as_decl_name
1947 (void) $as_decl_use;
1949 (void) $as_decl_name;
1957 if ac_fn_c_try_compile
"$LINENO"; then :
1962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1966 $as_echo "$ac_res" >&6; }
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 } # ac_fn_c_check_decl
1971 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1972 # -------------------------------------------
1973 # Tests whether TYPE exists after having included INCLUDES, setting cache
1974 # variable VAR accordingly.
1975 ac_fn_c_check_type
()
1977 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1979 $as_echo_n "checking for $2... " >&6; }
1980 if eval \
${$3+:} false
; then :
1981 $as_echo_n "(cached) " >&6
1984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1985 /* end confdefs.h. */
1996 if ac_fn_c_try_compile
"$LINENO"; then :
1997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */
2009 if ac_fn_c_try_compile
"$LINENO"; then :
2014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020 $as_echo "$ac_res" >&6; }
2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 } # ac_fn_c_check_type
2025 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2026 # -------------------------------------------------------
2027 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2028 # the include files in INCLUDES and setting the cache variable VAR
2030 ac_fn_c_check_header_mongrel
()
2032 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2033 if eval \
${$3+:} false
; then :
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035 $as_echo_n "checking for $2... " >&6; }
2036 if eval \
${$3+:} false
; then :
2037 $as_echo_n "(cached) " >&6
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2041 $as_echo "$ac_res" >&6; }
2043 # Is the header compilable?
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2045 $as_echo_n "checking $2 usability... " >&6; }
2046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2047 /* end confdefs.h. */
2051 if ac_fn_c_try_compile
"$LINENO"; then :
2052 ac_header_compiler
=yes
2054 ac_header_compiler
=no
2056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2058 $as_echo "$ac_header_compiler" >&6; }
2060 # Is the header present?
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2062 $as_echo_n "checking $2 presence... " >&6; }
2063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2067 if ac_fn_c_try_cpp
"$LINENO"; then :
2068 ac_header_preproc
=yes
2070 ac_header_preproc
=no
2072 rm -f conftest.err conftest.i conftest.
$ac_ext
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2074 $as_echo "$ac_header_preproc" >&6; }
2076 # So? What about this header?
2077 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2080 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2082 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2086 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2088 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2090 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2092 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2095 ( $as_echo "## -------------------------------------------------- ##
2096 ## Report this to courier-users@lists.sourceforge.net ##
2097 ## -------------------------------------------------- ##"
2098 ) |
sed "s/^/$as_me: WARNING: /" >&2
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2102 $as_echo_n "checking for $2... " >&6; }
2103 if eval \
${$3+:} false
; then :
2104 $as_echo_n "(cached) " >&6
2106 eval "$3=\$ac_header_compiler"
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110 $as_echo "$ac_res" >&6; }
2112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114 } # ac_fn_c_check_header_mongrel
2115 cat >config.log
<<_ACEOF
2116 This file contains any messages produced by compilers while
2117 running configure, to aid debugging if configure makes a mistake.
2119 It was created by courier-authlib $as_me 0.66.1, which was
2120 generated by GNU Autoconf 2.69. Invocation command line was
2132 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2133 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2134 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2135 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2136 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2138 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2139 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2141 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2142 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2143 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2144 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2145 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2146 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2147 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir
=.
2156 $as_echo "PATH: $as_dir"
2172 # Keep a trace of the command line.
2173 # Strip out --no-create and --no-recursion so they do not pile up.
2174 # Strip out --silent because we don't want to record it for future runs.
2175 # Also quote any args containing shell meta-characters.
2176 # Make two passes to allow for proper duplicate-argument suppression.
2180 ac_must_keep_next
=false
2186 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2187 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2188 |
-silent |
--silent |
--silen |
--sile |
--sil)
2191 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2194 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2196 as_fn_append ac_configure_args1
" '$ac_arg'"
2197 if test $ac_must_keep_next = true
; then
2198 ac_must_keep_next
=false
# Got value, back to normal.
2201 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2202 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2203 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2204 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2205 case "$ac_configure_args0 " in
2206 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2209 -* ) ac_must_keep_next
=true
;;
2212 as_fn_append ac_configure_args
" '$ac_arg'"
2217 { ac_configure_args0
=; unset ac_configure_args0
;}
2218 { ac_configure_args1
=; unset ac_configure_args1
;}
2220 # When interrupted or exit'd, cleanup temporary files, and complete
2221 # config.log. We remove comments because anyway the quotes in there
2222 # would cause problems or look ugly.
2223 # WARNING: Use '\'' to represent an apostrophe within the trap.
2224 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2225 trap 'exit_status=$?
2226 # Save into config.log some information that might help in debugging.
2230 $as_echo "## ---------------- ##
2231 ## Cache variables. ##
2232 ## ---------------- ##"
2234 # The following way of writing the cache mishandles newlines in values,
2236 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2237 eval ac_val=\$$ac_var
2241 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2242 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2245 _ | IFS | as_nl) ;; #(
2246 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2247 *) { eval $ac_var=; unset $ac_var;} ;;
2252 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2253 *${as_nl}ac_space=\ *)
2255 "s/'\''/'\''\\\\'\'''\''/g;
2256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2266 $as_echo "## ----------------- ##
2267 ## Output variables. ##
2268 ## ----------------- ##"
2270 for ac_var in $ac_subst_vars
2272 eval ac_val=\$$ac_var
2274 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2276 $as_echo "$ac_var='\''$ac_val'\''"
2280 if test -n "$ac_subst_files"; then
2281 $as_echo "## ------------------- ##
2282 ## File substitutions. ##
2283 ## ------------------- ##"
2285 for ac_var
in $ac_subst_files
2287 eval ac_val
=\$
$ac_var
2289 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2291 $as_echo "$ac_var='\''$ac_val'\''"
2296 if test -s confdefs.h; then
2297 $as_echo "## ----------- ##
2304 test "$ac_signal" != 0 &&
2305 $as_echo "$as_me: caught signal $ac_signal"
2306 $as_echo "$as_me: exit $exit_status"
2308 rm -f core *.core core.conftest.* &&
2309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2312 for ac_signal
in 1 2 13 15; do
2313 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2318 rm -f -r conftest
* confdefs.h
2320 $as_echo "/* confdefs.h */" > confdefs.h
2322 # Predefined preprocessor variables.
2324 cat >>confdefs.h
<<_ACEOF
2325 #define PACKAGE_NAME "$PACKAGE_NAME"
2328 cat >>confdefs.h
<<_ACEOF
2329 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2332 cat >>confdefs.h
<<_ACEOF
2333 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2336 cat >>confdefs.h
<<_ACEOF
2337 #define PACKAGE_STRING "$PACKAGE_STRING"
2340 cat >>confdefs.h
<<_ACEOF
2341 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2344 cat >>confdefs.h
<<_ACEOF
2345 #define PACKAGE_URL "$PACKAGE_URL"
2349 # Let the site file select an alternate cache file if it wants to.
2350 # Prefer an explicitly selected file to automatically selected ones.
2353 if test -n "$CONFIG_SITE"; then
2354 # We do not want a PATH search for config.site.
2355 case $CONFIG_SITE in #((
2356 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2357 */*) ac_site_file1
=$CONFIG_SITE;;
2358 *) ac_site_file1
=.
/$CONFIG_SITE;;
2360 elif test "x$prefix" != xNONE
; then
2361 ac_site_file1
=$prefix/share
/config.site
2362 ac_site_file2
=$prefix/etc
/config.site
2364 ac_site_file1
=$ac_default_prefix/share
/config.site
2365 ac_site_file2
=$ac_default_prefix/etc
/config.site
2367 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2369 test "x$ac_site_file" = xNONE
&& continue
2370 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2372 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2373 sed 's/^/| /' "$ac_site_file" >&5
2375 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2377 as_fn_error $?
"failed to load site script $ac_site_file
2378 See \`config.log' for more details" "$LINENO" 5; }
2382 if test -r "$cache_file"; then
2383 # Some versions of bash will fail to source /dev/null (special files
2384 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2385 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2386 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2387 $as_echo "$as_me: loading cache $cache_file" >&6;}
2389 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2390 *) .
"./$cache_file";;
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2395 $as_echo "$as_me: creating cache $cache_file" >&6;}
2399 # Check that the precious variables saved in the cache have kept the same
2401 ac_cache_corrupted
=false
2402 for ac_var
in $ac_precious_vars; do
2403 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2404 eval ac_new_set
=\
$ac_env_${ac_var}_set
2405 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2406 eval ac_new_val
=\
$ac_env_${ac_var}_value
2407 case $ac_old_set,$ac_new_set in
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2410 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2411 ac_cache_corrupted
=: ;;
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2414 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2415 ac_cache_corrupted
=: ;;
2418 if test "x$ac_old_val" != "x$ac_new_val"; then
2419 # differences in whitespace do not lead to failure.
2420 ac_old_val_w
=`echo x $ac_old_val`
2421 ac_new_val_w
=`echo x $ac_new_val`
2422 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2424 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2425 ac_cache_corrupted
=:
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2428 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2429 eval $ac_var=\
$ac_old_val
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2432 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2434 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2437 # Pass precious variables to config.status.
2438 if test "$ac_new_set" = set; then
2440 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2441 *) ac_arg
=$ac_var=$ac_new_val ;;
2443 case " $ac_configure_args " in
2444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2445 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2449 if $ac_cache_corrupted; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2453 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2454 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2456 ## -------------------- ##
2457 ## Main body of script. ##
2458 ## -------------------- ##
2461 ac_cpp
='$CPP $CPPFLAGS'
2462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2470 am__api_version
='1.13'
2473 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2474 if test -f "$ac_dir/install-sh"; then
2476 ac_install_sh
="$ac_aux_dir/install-sh -c"
2478 elif test -f "$ac_dir/install.sh"; then
2480 ac_install_sh
="$ac_aux_dir/install.sh -c"
2482 elif test -f "$ac_dir/shtool"; then
2484 ac_install_sh
="$ac_aux_dir/shtool install -c"
2488 if test -z "$ac_aux_dir"; then
2489 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2492 # These three variables are undocumented and unsupported,
2493 # and are intended to be withdrawn in a future Autoconf release.
2494 # They can cause serious problems if a builder's source tree is in a directory
2495 # whose full name contains unusual characters.
2496 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2497 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2498 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2501 # Find a good install program. We prefer a C program (faster),
2502 # so one script is as good as another. But avoid the broken or
2503 # incompatible versions:
2504 # SysV /etc/install, /usr/sbin/install
2505 # SunOS /usr/etc/install
2506 # IRIX /sbin/install
2508 # AmigaOS /C/install, which installs bootblocks on floppy discs
2509 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2510 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2511 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2512 # OS/2's system install, which has a completely different semantic
2513 # ./install, which can be erroneously created by make from ./install.sh.
2514 # Reject install programs that cannot install multiple files.
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2516 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2517 if test -z "$INSTALL"; then
2518 if ${ac_cv_path_install+:} false
; then :
2519 $as_echo_n "(cached) " >&6
2521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir
=.
2526 # Account for people who put trailing slashes in PATH elements.
2527 case $as_dir/ in #((
2528 .
/ | .
// |
/[cC
]/* | \
2529 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2530 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2533 # OSF1 and SCO ODT 3.0 have their own names for install.
2534 # Don't use installbsd from OSF since it installs stuff as root
2536 for ac_prog
in ginstall scoinst
install; do
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2539 if test $ac_prog = install &&
2540 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2541 # AIX install. It has an incompatible calling convention.
2543 elif test $ac_prog = install &&
2544 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2545 # program-specific install script used by HP pwplus--don't use.
2548 rm -rf conftest.one conftest.two conftest.dir
2549 echo one
> conftest.one
2550 echo two
> conftest.two
2552 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2553 test -s conftest.one
&& test -s conftest.two
&&
2554 test -s conftest.dir
/conftest.one
&&
2555 test -s conftest.dir
/conftest.two
2557 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2570 rm -rf conftest.one conftest.two conftest.dir
2573 if test "${ac_cv_path_install+set}" = set; then
2574 INSTALL
=$ac_cv_path_install
2576 # As a last resort, use the slow shell script. Don't cache a
2577 # value for INSTALL within a source directory, because that will
2578 # break other packages using the cache if that directory is
2579 # removed, or if the value is a relative name.
2580 INSTALL
=$ac_install_sh
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2584 $as_echo "$INSTALL" >&6; }
2586 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2587 # It thinks the first close brace ends the variable substitution.
2588 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2590 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2592 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2595 $as_echo_n "checking whether build environment is sane... " >&6; }
2596 # Reject unsafe characters in $srcdir or the absolute working directory
2597 # name. Accept space and tab only in the latter.
2601 *[\\\"\
#\$\&\'\`$am_lf]*)
2602 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2605 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2606 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2609 # Do 'set' in a subshell so we don't clobber the current shell's
2610 # arguments. Must try -L first in case configure is actually a
2611 # symlink; some systems play weird games with the mod time of symlinks
2612 # (eg FreeBSD returns the mod time of the symlink's containing
2616 for am_try
in 1 2; do
2617 echo "timestamp, slept: $am_has_slept" > conftest.
file
2618 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2619 if test "$*" = "X"; then
2621 set X
`ls -t "$srcdir/configure" conftest.file`
2623 if test "$*" != "X $srcdir/configure conftest.file" \
2624 && test "$*" != "X conftest.file $srcdir/configure"; then
2626 # If neither matched, then we have a broken ls. This can happen
2627 # if, for instance, CONFIG_SHELL is bash and it inherits a
2628 # broken ls alias from the environment. This has actually
2629 # happened. Such a system could not be considered "sane".
2630 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2631 alias in your environment" "$LINENO" 5
2633 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2640 test "$2" = conftest.
file
2646 as_fn_error $?
"newly created file is older than distributed files!
2647 Check your system clock" "$LINENO" 5
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2650 $as_echo "yes" >&6; }
2651 # If we didn't sleep, we still need to ensure time stamps of config.status and
2652 # generated files are strictly newer.
2654 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2661 test "$program_prefix" != NONE
&&
2662 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2663 # Use a double $ so make ignores it.
2664 test "$program_suffix" != NONE
&&
2665 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2666 # Double any \ or $.
2667 # By default was `s,x,x', remove it if useless.
2668 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2669 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2671 # expand $ac_aux_dir to an absolute path
2672 am_aux_dir
=`cd $ac_aux_dir && pwd`
2674 if test x
"${MISSING+set}" != xset
; then
2677 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2679 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2682 # Use eval to expand $SHELL
2683 if eval "$MISSING --is-lightweight"; then
2684 am_missing_run
="$MISSING "
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2688 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2691 if test x
"${install_sh}" != xset
; then
2694 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2696 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2700 # Installed binaries are usually stripped using 'strip' when the user
2701 # run "make install-strip". However 'strip' might not be the right
2702 # tool to use in cross-compilation environments, therefore Automake
2703 # will honor the 'STRIP' environment variable to overrule this program.
2704 if test "$cross_compiling" != no
; then
2705 if test -n "$ac_tool_prefix"; then
2706 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2707 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 $as_echo_n "checking for $ac_word... " >&6; }
2710 if ${ac_cv_prog_STRIP+:} false
; then :
2711 $as_echo_n "(cached) " >&6
2713 if test -n "$STRIP"; then
2714 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir
=.
2721 for ac_exec_ext
in '' $ac_executable_extensions; do
2722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2723 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 STRIP
=$ac_cv_prog_STRIP
2734 if test -n "$STRIP"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2736 $as_echo "$STRIP" >&6; }
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2744 if test -z "$ac_cv_prog_STRIP"; then
2746 # Extract the first word of "strip", so it can be a program name with args.
2747 set dummy strip
; ac_word
=$2
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$ac_ct_STRIP"; then
2754 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir
=.
2761 for ac_exec_ext
in '' $ac_executable_extensions; do
2762 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2763 ac_cv_prog_ac_ct_STRIP
="strip"
2764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2774 if test -n "$ac_ct_STRIP"; then
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2776 $as_echo "$ac_ct_STRIP" >&6; }
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779 $as_echo "no" >&6; }
2782 if test "x$ac_ct_STRIP" = x
; then
2785 case $cross_compiling:$ac_tool_warned in
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2789 ac_tool_warned
=yes ;;
2794 STRIP
="$ac_cv_prog_STRIP"
2798 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2801 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2802 if test -z "$MKDIR_P"; then
2803 if ${ac_cv_path_mkdir+:} false
; then :
2804 $as_echo_n "(cached) " >&6
2806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2807 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2810 test -z "$as_dir" && as_dir
=.
2811 for ac_prog
in mkdir gmkdir
; do
2812 for ac_exec_ext
in '' $ac_executable_extensions; do
2813 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2814 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2815 'mkdir (GNU coreutils) '* | \
2816 'mkdir (coreutils) '* | \
2817 'mkdir (fileutils) '4.1*)
2818 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2828 test -d .
/--version && rmdir .
/--version
2829 if test "${ac_cv_path_mkdir+set}" = set; then
2830 MKDIR_P
="$ac_cv_path_mkdir -p"
2832 # As a last resort, use the slow shell script. Don't cache a
2833 # value for MKDIR_P within a source directory, because that will
2834 # break other packages using the cache if that directory is
2835 # removed, or if the value is a relative name.
2836 MKDIR_P
="$ac_install_sh -d"
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2840 $as_echo "$MKDIR_P" >&6; }
2842 for ac_prog
in gawk mawk nawk
awk
2844 # Extract the first word of "$ac_prog", so it can be a program name with args.
2845 set dummy
$ac_prog; ac_word
=$2
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2847 $as_echo_n "checking for $ac_word... " >&6; }
2848 if ${ac_cv_prog_AWK+:} false
; then :
2849 $as_echo_n "(cached) " >&6
2851 if test -n "$AWK"; then
2852 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2858 test -z "$as_dir" && as_dir
=.
2859 for ac_exec_ext
in '' $ac_executable_extensions; do
2860 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2861 ac_cv_prog_AWK
="$ac_prog"
2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 if test -n "$AWK"; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2874 $as_echo "$AWK" >&6; }
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877 $as_echo "no" >&6; }
2881 test -n "$AWK" && break
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2885 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2887 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2888 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2889 $as_echo_n "(cached) " >&6
2891 cat >conftest.
make <<\_ACEOF
2894 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2896 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2897 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2899 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2901 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2905 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2907 $as_echo "yes" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2912 SET_MAKE
="MAKE=${MAKE-make}"
2915 rm -rf .tst
2>/dev
/null
2916 mkdir .tst
2>/dev
/null
2917 if test -d .tst
; then
2922 rmdir .tst
2>/dev
/null
2924 # Check whether --enable-silent-rules was given.
2925 if test "${enable_silent_rules+set}" = set; then :
2926 enableval
=$enable_silent_rules;
2929 case $enable_silent_rules in # (((
2930 yes) AM_DEFAULT_VERBOSITY
=0;;
2931 no
) AM_DEFAULT_VERBOSITY
=1;;
2932 *) AM_DEFAULT_VERBOSITY
=1;;
2934 am_make
=${MAKE-make}
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2936 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2937 if ${am_cv_make_support_nested_variables+:} false
; then :
2938 $as_echo_n "(cached) " >&6
2940 if $as_echo 'TRUE=$(BAR$(V))
2946 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2947 am_cv_make_support_nested_variables
=yes
2949 am_cv_make_support_nested_variables
=no
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2953 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2954 if test $am_cv_make_support_nested_variables = yes; then
2956 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2958 AM_V
=$AM_DEFAULT_VERBOSITY
2959 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2963 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2964 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2965 # is not polluted with repeated "-I."
2966 am__isrc
=' -I$(srcdir)'
2967 # test to see if srcdir already configured
2968 if test -f $srcdir/config.status
; then
2969 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2973 # test whether we have cygpath
2974 if test -z "$CYGPATH_W"; then
2975 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2976 CYGPATH_W
='cygpath -w'
2983 # Define the identity of the package.
2984 PACKAGE
='courier-authlib'
2988 cat >>confdefs.h
<<_ACEOF
2989 #define PACKAGE "$PACKAGE"
2993 cat >>confdefs.h
<<_ACEOF
2994 #define VERSION "$VERSION"
2997 # Some tools Automake needs.
2999 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3002 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3005 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3008 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3011 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3013 # For better backward compatibility. To be removed once Automake 1.9.x
3014 # dies out for good. For more background, see:
3015 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3016 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3017 mkdir_p
='$(MKDIR_P)'
3019 # We need awk for the "check" target. The system "awk" is bad on
3021 # Always define AMTAR for backward compatibility. Yes, it's still used
3022 # in the wild :-( We should find a proper way to deprecate it ...
3026 # We'll loop over all known methods to create a tar archive until one works.
3027 _am_tools
='gnutar pax cpio none'
3029 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3036 ac_config_headers
="$ac_config_headers courier_auth_config.h"
3038 >confdefs.h
# Kill PACKAGE_ macros
3040 LPATH
="$PATH:/usr/local/bin"
3042 for ac_prog
in gawk mawk nawk
awk
3044 # Extract the first word of "$ac_prog", so it can be a program name with args.
3045 set dummy
$ac_prog; ac_word
=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if ${ac_cv_prog_AWK+:} false
; then :
3049 $as_echo_n "(cached) " >&6
3051 if test -n "$AWK"; then
3052 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir
=.
3059 for ac_exec_ext
in '' $ac_executable_extensions; do
3060 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3061 ac_cv_prog_AWK
="$ac_prog"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 if test -n "$AWK"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3074 $as_echo "$AWK" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3081 test -n "$AWK" && break
3085 ac_cpp
='$CPP $CPPFLAGS'
3086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3089 if test -n "$ac_tool_prefix"; then
3090 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3091 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3093 $as_echo_n "checking for $ac_word... " >&6; }
3094 if ${ac_cv_prog_CC+:} false
; then :
3095 $as_echo_n "(cached) " >&6
3097 if test -n "$CC"; then
3098 ac_cv_prog_CC
="$CC" # Let the user override the test.
3100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3104 test -z "$as_dir" && as_dir
=.
3105 for ac_exec_ext
in '' $ac_executable_extensions; do
3106 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3107 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3118 if test -n "$CC"; then
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3120 $as_echo "$CC" >&6; }
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3123 $as_echo "no" >&6; }
3128 if test -z "$ac_cv_prog_CC"; then
3130 # Extract the first word of "gcc", so it can be a program name with args.
3131 set dummy gcc
; ac_word
=$2
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3133 $as_echo_n "checking for $ac_word... " >&6; }
3134 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3135 $as_echo_n "(cached) " >&6
3137 if test -n "$ac_ct_CC"; then
3138 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3144 test -z "$as_dir" && as_dir
=.
3145 for ac_exec_ext
in '' $ac_executable_extensions; do
3146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3147 ac_cv_prog_ac_ct_CC
="gcc"
3148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3158 if test -n "$ac_ct_CC"; then
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3160 $as_echo "$ac_ct_CC" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3166 if test "x$ac_ct_CC" = x
; then
3169 case $cross_compiling:$ac_tool_warned in
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3173 ac_tool_warned
=yes ;;
3181 if test -z "$CC"; then
3182 if test -n "$ac_tool_prefix"; then
3183 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3184 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186 $as_echo_n "checking for $ac_word... " >&6; }
3187 if ${ac_cv_prog_CC+:} false
; then :
3188 $as_echo_n "(cached) " >&6
3190 if test -n "$CC"; then
3191 ac_cv_prog_CC
="$CC" # Let the user override the test.
3193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3197 test -z "$as_dir" && as_dir
=.
3198 for ac_exec_ext
in '' $ac_executable_extensions; do
3199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3200 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3211 if test -n "$CC"; then
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3213 $as_echo "$CC" >&6; }
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216 $as_echo "no" >&6; }
3222 if test -z "$CC"; then
3223 # Extract the first word of "cc", so it can be a program name with args.
3224 set dummy cc
; ac_word
=$2
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3226 $as_echo_n "checking for $ac_word... " >&6; }
3227 if ${ac_cv_prog_CC+:} false
; then :
3228 $as_echo_n "(cached) " >&6
3230 if test -n "$CC"; then
3231 ac_cv_prog_CC
="$CC" # Let the user override the test.
3234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3238 test -z "$as_dir" && as_dir
=.
3239 for ac_exec_ext
in '' $ac_executable_extensions; do
3240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3241 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3242 ac_prog_rejected
=yes
3246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3253 if test $ac_prog_rejected = yes; then
3254 # We found a bogon in the path, so make sure we never use it.
3255 set dummy
$ac_cv_prog_CC
3257 if test $# != 0; then
3258 # We chose a different compiler from the bogus one.
3259 # However, it has the same basename, so the bogon will be chosen
3260 # first if we set CC to just the basename; use the full file name.
3262 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3268 if test -n "$CC"; then
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3270 $as_echo "$CC" >&6; }
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273 $as_echo "no" >&6; }
3278 if test -z "$CC"; then
3279 if test -n "$ac_tool_prefix"; then
3280 for ac_prog
in cl.exe
3282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3283 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3285 $as_echo_n "checking for $ac_word... " >&6; }
3286 if ${ac_cv_prog_CC+:} false
; then :
3287 $as_echo_n "(cached) " >&6
3289 if test -n "$CC"; then
3290 ac_cv_prog_CC
="$CC" # Let the user override the test.
3292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3296 test -z "$as_dir" && as_dir
=.
3297 for ac_exec_ext
in '' $ac_executable_extensions; do
3298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3299 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 if test -n "$CC"; then
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3312 $as_echo "$CC" >&6; }
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3315 $as_echo "no" >&6; }
3319 test -n "$CC" && break
3322 if test -z "$CC"; then
3324 for ac_prog
in cl.exe
3326 # Extract the first word of "$ac_prog", so it can be a program name with args.
3327 set dummy
$ac_prog; ac_word
=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3331 $as_echo_n "(cached) " >&6
3333 if test -n "$ac_ct_CC"; then
3334 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir
=.
3341 for ac_exec_ext
in '' $ac_executable_extensions; do
3342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3343 ac_cv_prog_ac_ct_CC
="$ac_prog"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3354 if test -n "$ac_ct_CC"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3356 $as_echo "$ac_ct_CC" >&6; }
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3363 test -n "$ac_ct_CC" && break
3366 if test "x$ac_ct_CC" = x
; then
3369 case $cross_compiling:$ac_tool_warned in
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3373 ac_tool_warned
=yes ;;
3382 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384 as_fn_error $?
"no acceptable C compiler found in \$PATH
3385 See \`config.log' for more details" "$LINENO" 5; }
3387 # Provide some information about the compiler.
3388 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3391 for ac_option
in --version -v -V -qversion; do
3392 { { ac_try
="$ac_compiler $ac_option >&5"
3394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3395 *) ac_try_echo=$ac_try;;
3397 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3398 $as_echo "$ac_try_echo"; } >&5
3399 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3401 if test -s conftest.err; then
3403 ... rest of stderr output deleted ...
3404 10q' conftest.err >conftest.er1
3405 cat conftest.er1 >&5
3407 rm -f conftest.er1 conftest.err
3408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3409 test $ac_status = 0; }
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3423 ac_clean_files_save=$ac_clean_files
3424 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3425 # Try to create an executable without -o first, disregard a.out.
3426 # It will help us diagnose broken compilers, and finding out an intuition
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3429 $as_echo_n "checking whether the C compiler works... " >&6; }
3430 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3432 # The possible output files:
3433 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3436 for ac_file in $ac_files
3439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3440 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3445 if { { ac_try="$ac_link_default"
3447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3448 *) ac_try_echo
=$ac_try;;
3450 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3452 (eval "$ac_link_default") 2>&5
3454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455 test $ac_status = 0; }; then :
3456 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3457 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3458 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3459 # so that the user can short-circuit this test for compilers unknown to
3461 for ac_file
in $ac_files ''
3463 test -f "$ac_file" ||
continue
3465 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3468 # We found the default executable, but exeext='' is most
3472 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3474 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3476 # We set ac_cv_exeext here because the later test for it is not
3477 # safe: cross compilers may not add the suffix if given an `-o'
3478 # argument, so we may need to know it at that point already.
3479 # Even if this section looks crufty: it has the advantage of
3486 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3491 if test -z "$ac_file"; then :
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3494 $as_echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.
$ac_ext >&5
3497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499 as_fn_error
77 "C compiler cannot create executables
3500 See \`config.log' for more details" "$LINENO" 5; }
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3503 $as_echo "yes" >&6; }
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3506 $as_echo_n "checking for C compiler default output file name... " >&6; }
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3508 $as_echo "$ac_file" >&6; }
3509 ac_exeext
=$ac_cv_exeext
3511 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3512 ac_clean_files
=$ac_clean_files_save
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3514 $as_echo_n "checking for suffix of executables... " >&6; }
3515 if { { ac_try
="$ac_link"
3517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521 $as_echo "$ac_try_echo"; } >&5
3522 (eval "$ac_link") 2>&5
3524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525 test $ac_status = 0; }; then :
3526 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3527 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3528 # work properly (i.e., refer to `conftest.exe'), while it won't with
3530 for ac_file
in conftest.exe conftest conftest.
*; do
3531 test -f "$ac_file" ||
continue
3533 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3534 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3540 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3542 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3543 See \`config.log' for more details" "$LINENO" 5; }
3545 rm -f conftest conftest
$ac_cv_exeext
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3547 $as_echo "$ac_cv_exeext" >&6; }
3549 rm -f conftest.
$ac_ext
3550 EXEEXT
=$ac_cv_exeext
3552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3558 FILE *f = fopen ("conftest.out", "w");
3559 return ferror (f) || fclose (f) != 0;
3565 ac_clean_files
="$ac_clean_files conftest.out"
3566 # Check that the compiler produces executables we can run. If not, either
3567 # the compiler is broken, or we cross compile.
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3569 $as_echo_n "checking whether we are cross compiling... " >&6; }
3570 if test "$cross_compiling" != yes; then
3571 { { ac_try
="$ac_link"
3573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3577 $as_echo "$ac_try_echo"; } >&5
3578 (eval "$ac_link") 2>&5
3580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3581 test $ac_status = 0; }
3582 if { ac_try='./conftest$ac_cv_exeext'
3583 { { case "(($ac_try" in
3584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3585 *) ac_try_echo
=$ac_try;;
3587 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3588 $as_echo "$ac_try_echo"; } >&5
3589 (eval "$ac_try") 2>&5
3591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3592 test $ac_status = 0; }; }; then
3595 if test "$cross_compiling" = maybe
; then
3598 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3600 as_fn_error $?
"cannot run C compiled programs.
3601 If you meant to cross compile, use \`--host'.
3602 See \`config.log' for more details" "$LINENO" 5; }
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3607 $as_echo "$cross_compiling" >&6; }
3609 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3610 ac_clean_files
=$ac_clean_files_save
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3612 $as_echo_n "checking for suffix of object files... " >&6; }
3613 if ${ac_cv_objext+:} false
; then :
3614 $as_echo_n "(cached) " >&6
3616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3617 /* end confdefs.h. */
3627 rm -f conftest.o conftest.obj
3628 if { { ac_try
="$ac_compile"
3630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3634 $as_echo "$ac_try_echo"; } >&5
3635 (eval "$ac_compile") 2>&5
3637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3638 test $ac_status = 0; }; then :
3639 for ac_file in conftest.o conftest.obj conftest.*; do
3640 test -f "$ac_file" || continue;
3642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3643 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3648 $as_echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.$ac_ext >&5
3651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3653 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3654 See \
`config.log' for more details" "$LINENO" 5; }
3656 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3659 $as_echo "$ac_cv_objext" >&6; }
3660 OBJEXT=$ac_cv_objext
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3663 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3664 if ${ac_cv_c_compiler_gnu+:} false; then :
3665 $as_echo_n "(cached) " >&6
3667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668 /* end confdefs.h. */
3681 if ac_fn_c_try_compile "$LINENO"; then :
3686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3687 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3691 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3692 if test $ac_compiler_gnu = yes; then
3697 ac_test_CFLAGS=${CFLAGS+set}
3698 ac_save_CFLAGS=$CFLAGS
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3700 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3701 if ${ac_cv_prog_cc_g+:} false; then :
3702 $as_echo_n "(cached) " >&6
3704 ac_save_c_werror_flag=$ac_c_werror_flag
3705 ac_c_werror_flag=yes
3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h. */
3719 if ac_fn_c_try_compile "$LINENO"; then :
3723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724 /* end confdefs.h. */
3734 if ac_fn_c_try_compile "$LINENO"; then :
3737 ac_c_werror_flag=$ac_save_c_werror_flag
3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3750 if ac_fn_c_try_compile "$LINENO"; then :
3753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758 ac_c_werror_flag=$ac_save_c_werror_flag
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3761 $as_echo "$ac_cv_prog_cc_g" >&6; }
3762 if test "$ac_test_CFLAGS" = set; then
3763 CFLAGS=$ac_save_CFLAGS
3764 elif test $ac_cv_prog_cc_g = yes; then
3765 if test "$GCC" = yes; then
3771 if test "$GCC" = yes; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3778 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3779 if ${ac_cv_prog_cc_c89+:} false; then :
3780 $as_echo_n "(cached) " >&6
3782 ac_cv_prog_cc_c89=no
3784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785 /* end confdefs.h. */
3789 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3790 struct buf { int x; };
3791 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3792 static char *e (p, i)
3798 static char *f (char * (*g) (char **, int), char **p, ...)
3803 s = g (p, va_arg (v,int));
3808 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3809 function prototypes and stuff, but not '\xHH' hex character constants.
3810 These don't provoke an error unfortunately, instead are silently treated
3811 as 'x'. The following induces an error, until -std is added to get
3812 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3813 array size at least. It's necessary to write '\x00'==0 to get something
3814 that's true only with -std. */
3815 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3817 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3818 inside strings and character constants. */
3820 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3822 int test (int i, double x);
3823 struct s1 {int (*f) (int a);};
3824 struct s2 {int (*f) (double a);};
3825 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3831 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3836 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3837 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3839 CC="$ac_save_CC $ac_arg"
3840 if ac_fn_c_try_compile "$LINENO"; then :
3841 ac_cv_prog_cc_c89=$ac_arg
3843 rm -f core conftest.err conftest.$ac_objext
3844 test "x$ac_cv_prog_cc_c89" != "xno" && break
3846 rm -f conftest.$ac_ext
3851 case "x$ac_cv_prog_cc_c89" in
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3854 $as_echo "none needed" >&6; } ;;
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3857 $as_echo "unsupported" >&6; } ;;
3859 CC="$CC $ac_cv_prog_cc_c89"
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3861 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3863 if test "x$ac_cv_prog_cc_c89" != xno; then :
3868 ac_cpp='$CPP $CPPFLAGS'
3869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3872 DEPDIR="${am__leading_dot}deps"
3874 ac_config_commands="$ac_config_commands depfiles"
3877 am_make=${MAKE-make}
3878 cat > confinc << 'END'
3880 @echo this is the am__doit target
3883 # If we don't find an include directive, just comment out the code.
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3885 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3889 # First try GNU make style include.
3890 echo "include confinc" > confmf
3891 # Ignore all kinds of additional output from 'make'.
3892 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3893 *the\ am__doit\ target*)
3899 # Now try BSD make style include.
3900 if test "$am__include" = "#"; then
3901 echo '.include "confinc"' > confmf
3902 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3903 *the\ am__doit\ target*)
3904 am__include=.include
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3913 $as_echo "$_am_result" >&6; }
3914 rm -f confinc confmf
3916 # Check whether --enable-dependency-tracking was given.
3917 if test "${enable_dependency_tracking+set}" = set; then :
3918 enableval=$enable_dependency_tracking;
3921 if test "x$enable_dependency_tracking" != xno; then
3922 am_depcomp="$ac_aux_dir/depcomp"
3926 if test "x$enable_dependency_tracking" != xno; then
3936 depcc="$CC" am_compiler_list=
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3939 $as_echo_n "checking dependency style of $depcc... " >&6; }
3940 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3941 $as_echo_n "(cached) " >&6
3943 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3944 # We make a subdir and do the tests there. Otherwise we can end up
3945 # making bogus files that we don't know about and never remove. For
3946 # instance it was reported that on HP-UX the gcc test will end up
3947 # making a dummy file named 'D' -- because '-MD' means "put the output
3951 # Copy depcomp to subdir because otherwise we won't find it if we're
3952 # using a relative directory.
3953 cp "$am_depcomp" conftest.dir
3955 # We will build objects and dependencies in a subdirectory because
3956 # it helps to detect inapplicable dependency modes. For instance
3957 # both Tru64's cc and ICC support -MD to output dependencies as a
3958 # side effect of compilation, but ICC will put the dependencies in
3959 # the current directory while Tru64 will put them in the object
3963 am_cv_CC_dependencies_compiler_type=none
3964 if test "$am_compiler_list" = ""; then
3965 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3968 case " $depcc " in #(
3969 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3972 for depmode in $am_compiler_list; do
3973 # Setup a source with many dependencies, because some compilers
3974 # like to wrap large dependency lists on column 80 (with \), and
3975 # we should not choose a depcomp mode which is confused by this.
3977 # We need to recreate these files for each test, as the compiler may
3978 # overwrite some of them when testing with obscure command lines.
3979 # This happens at least with the AIX C compiler.
3981 for i in 1 2 3 4 5 6; do
3982 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3983 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3984 # Solaris 10 /bin/sh.
3985 echo '/* dummy */' > sub/conftst$i.h
3987 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3989 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3990 # mode. It turns out that the SunPro C++ compiler does not properly
3991 # handle '-M -o', and we need to detect this. Also, some Intel
3992 # versions had trouble with output in subdirs.
3993 am__obj=sub/conftest.${OBJEXT-o}
3994 am__minus_obj="-o $am__obj"
3997 # This depmode causes a compiler race in universal mode.
3998 test "$am__universal" = false || continue
4001 # After this tag, mechanisms are not by side-effect, so they'll
4002 # only be used when explicitly requested.
4003 if test "x$enable_dependency_tracking" = xyes; then
4009 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4010 # This compiler won't grok '-c -o', but also, the minuso test has
4011 # not run yet. These depmodes are late enough in the game, and
4012 # so weak that their functioning should not be impacted.
4013 am__obj=conftest.${OBJEXT-o}
4018 if depmode=$depmode \
4019 source=sub/conftest.c object=$am__obj \
4020 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4021 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4022 >/dev/null 2>conftest.err &&
4023 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4024 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4025 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4026 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4027 # icc doesn't choke on unknown options, it will just issue warnings
4028 # or remarks (even with -Werror). So we grep stderr for any message
4029 # that says an option was ignored or not supported.
4030 # When given -MP, icc 7.0 and 7.1 complain thusly:
4031 # icc: Command line warning: ignoring option '-M'; no argument required
4032 # The diagnosis changed in icc 8.0:
4033 # icc: Command line remark: option '-MP' not supported
4034 if (grep 'ignoring option' conftest.err ||
4035 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4036 am_cv_CC_dependencies_compiler_type=$depmode
4045 am_cv_CC_dependencies_compiler_type=none
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4050 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4051 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4054 test "x$enable_dependency_tracking" != xno \
4055 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4057 am__fastdepCC_FALSE='#'
4059 am__fastdepCC_TRUE='#'
4060 am__fastdepCC_FALSE=
4065 ac_cpp='$CPP $CPPFLAGS'
4066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4070 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4071 # On Suns, sometimes $CPP names a directory.
4072 if test -n "$CPP" && test -d "$CPP"; then
4075 if test -z "$CPP"; then
4076 if ${ac_cv_prog_CPP+:} false; then :
4077 $as_echo_n "(cached) " >&6
4079 # Double quotes because CPP needs to be expanded
4080 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4083 for ac_c_preproc_warn_flag in '' yes
4085 # Use a header file that comes with gcc, so configuring glibc
4086 # with a fresh cross-compiler works.
4087 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4088 # <limits.h> exists even on freestanding compilers.
4089 # On the NeXT, cc -E runs the code through the compiler's parser,
4090 # not just through cpp. "Syntax error" is here to catch this case.
4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4094 # include <limits.h>
4096 # include <assert.h>
4100 if ac_fn_c_try_cpp "$LINENO"; then :
4103 # Broken: fails on valid input.
4106 rm -f conftest.err conftest.i conftest.$ac_ext
4108 # OK, works on sane cases. Now check whether nonexistent headers
4109 # can be detected and how.
4110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4112 #include <ac_nonexistent.h>
4114 if ac_fn_c_try_cpp "$LINENO"; then :
4115 # Broken: success on invalid input.
4118 # Passes both tests.
4122 rm -f conftest.err conftest.i conftest.$ac_ext
4125 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4126 rm -f conftest.i conftest.err conftest.
$ac_ext
4127 if $ac_preproc_ok; then :
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4140 $as_echo "$CPP" >&6; }
4142 for ac_c_preproc_warn_flag
in '' yes
4144 # Use a header file that comes with gcc, so configuring glibc
4145 # with a fresh cross-compiler works.
4146 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4147 # <limits.h> exists even on freestanding compilers.
4148 # On the NeXT, cc -E runs the code through the compiler's parser,
4149 # not just through cpp. "Syntax error" is here to catch this case.
4150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4153 # include <limits.h>
4155 # include <assert.h>
4159 if ac_fn_c_try_cpp
"$LINENO"; then :
4162 # Broken: fails on valid input.
4165 rm -f conftest.err conftest.i conftest.
$ac_ext
4167 # OK, works on sane cases. Now check whether nonexistent headers
4168 # can be detected and how.
4169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4171 #include <ac_nonexistent.h>
4173 if ac_fn_c_try_cpp
"$LINENO"; then :
4174 # Broken: success on invalid input.
4177 # Passes both tests.
4181 rm -f conftest.err conftest.i conftest.
$ac_ext
4184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4185 rm -f conftest.i conftest.err conftest.
$ac_ext
4186 if $ac_preproc_ok; then :
4189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4191 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4192 See \`config.log' for more details" "$LINENO" 5; }
4196 ac_cpp
='$CPP $CPPFLAGS'
4197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4203 $as_echo_n "checking whether ln -s works... " >&6; }
4205 if test "$LN_S" = "ln -s"; then
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4207 $as_echo "yes" >&6; }
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4210 $as_echo "no, using $LN_S" >&6; }
4215 for ac_prog
in perl5 perl
4217 # Extract the first word of "$ac_prog", so it can be a program name with args.
4218 set dummy
$ac_prog; ac_word
=$2
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4220 $as_echo_n "checking for $ac_word... " >&6; }
4221 if ${ac_cv_path_SYSCONFTOOL_PERL+:} false
; then :
4222 $as_echo_n "(cached) " >&6
4224 case $SYSCONFTOOL_PERL in
4226 ac_cv_path_SYSCONFTOOL_PERL
="$SYSCONFTOOL_PERL" # Let the user override the test with a path.
4229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4233 test -z "$as_dir" && as_dir
=.
4234 for ac_exec_ext
in '' $ac_executable_extensions; do
4235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4236 ac_cv_path_SYSCONFTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
4237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4247 SYSCONFTOOL_PERL
=$ac_cv_path_SYSCONFTOOL_PERL
4248 if test -n "$SYSCONFTOOL_PERL"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFTOOL_PERL" >&5
4250 $as_echo "$SYSCONFTOOL_PERL" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4257 test -n "$SYSCONFTOOL_PERL" && break
4259 test -n "$SYSCONFTOOL_PERL" || SYSCONFTOOL_PERL
="perl"
4262 if test "$SYSCONFTOOL_PERL" = "perl"
4264 as_fn_error $?
"perl not found - please install perl" "$LINENO" 5
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysconftool..." >&5
4268 $as_echo_n "checking for sysconftool...... " >&6; }
4270 for sysconf_dir
in $ac_aux_dir . .. ..
/..
4272 if test -f $srcdir/$sysconf_dir/sysconftool
4274 SYSCONFTOOL
=$srcdir/$sysconf_dir/sysconftool
4279 if test "$SYSCONFTOOL" = ""
4281 as_fn_error $?
"sysconftool missing - not in the package" "$LINENO" 5
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFTOOL" >&5
4285 $as_echo "$SYSCONFTOOL" >&6; }
4286 SYSCONFTOOL
="$SYSCONFTOOL_PERL $SYSCONFTOOL"
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4293 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4298 macro_version
='2.4.2'
4299 macro_revision
='1.3337'
4313 ltmain
="$ac_aux_dir/ltmain.sh"
4315 # Make sure we can run config.sub.
4316 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4317 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4320 $as_echo_n "checking build system type... " >&6; }
4321 if ${ac_cv_build+:} false
; then :
4322 $as_echo_n "(cached) " >&6
4324 ac_build_alias
=$build_alias
4325 test "x$ac_build_alias" = x
&&
4326 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4327 test "x$ac_build_alias" = x
&&
4328 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4329 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4330 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4334 $as_echo "$ac_cv_build" >&6; }
4335 case $ac_cv_build in
4337 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4340 ac_save_IFS
=$IFS; IFS
='-'
4346 # Remember, the first character of IFS is used to create $*,
4347 # except with old shells:
4350 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4354 $as_echo_n "checking host system type... " >&6; }
4355 if ${ac_cv_host+:} false
; then :
4356 $as_echo_n "(cached) " >&6
4358 if test "x$host_alias" = x
; then
4359 ac_cv_host
=$ac_cv_build
4361 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4362 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4367 $as_echo "$ac_cv_host" >&6; }
4370 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4373 ac_save_IFS
=$IFS; IFS
='-'
4379 # Remember, the first character of IFS is used to create $*,
4380 # except with old shells:
4383 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4386 # Backslashify metacharacters that are still active within
4387 # double-quoted strings.
4388 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4390 # Same as above, but do not quote variable references.
4391 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4393 # Sed substitution to delay expansion of an escaped shell variable in a
4394 # double_quote_subst'ed string.
4395 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4397 # Sed substitution to delay expansion of an escaped single quote.
4398 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4400 # Sed substitution to avoid accidental globbing in evaled expressions
4401 no_glob_subst
='s/\*/\\\*/g'
4403 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4404 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4405 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4408 $as_echo_n "checking how to print strings... " >&6; }
4409 # Test print first, because it will be a builtin if present.
4410 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4411 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4413 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4416 # Use this function as a fallback that always works.
4417 func_fallback_echo ()
4419 eval 'cat <<_LTECHO_EOF
4423 ECHO='func_fallback_echo
'
4426 # func_echo_all arg...
4427 # Invoke $ECHO with all args, space-separated.
4434 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4435 $as_echo "printf" >&6; } ;;
4436 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4437 $as_echo "print -r" >&6; } ;;
4438 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4439 $as_echo "cat" >&6; } ;;
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4456 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4457 if ${ac_cv_path_SED+:} false; then :
4458 $as_echo_n "(cached) " >&6
4460 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4461 for ac_i in 1 2 3 4 5 6 7; do
4462 ac_script="$ac_script$as_nl$ac_script"
4464 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4465 { ac_script=; unset ac_script;}
4466 if test -z "$SED"; then
4467 ac_path_SED_found=false
4468 # Loop through the user's path and
test for each of PROGNAME-LIST
4469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4473 test -z "$as_dir" && as_dir
=.
4474 for ac_prog
in sed gsed
; do
4475 for ac_exec_ext
in '' $ac_executable_extensions; do
4476 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4477 as_fn_executable_p
"$ac_path_SED" ||
continue
4478 # Check for GNU ac_path_SED and select it if it is found.
4479 # Check for GNU $ac_path_SED
4480 case `"$ac_path_SED" --version 2>&1` in
4482 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4485 $as_echo_n 0123456789 >"conftest.in"
4488 cat "conftest.in" "conftest.in" >"conftest.tmp"
4489 mv "conftest.tmp" "conftest.in"
4490 cp "conftest.in" "conftest.nl"
4491 $as_echo '' >> "conftest.nl"
4492 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4493 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4494 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4495 if test $ac_count -gt ${ac_path_SED_max-0}; then
4496 # Best one so far, save it but keep looking for a better one
4497 ac_cv_path_SED
="$ac_path_SED"
4498 ac_path_SED_max
=$ac_count
4500 # 10*(2^10) chars as input seems more than enough
4501 test $ac_count -gt 10 && break
4503 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4506 $ac_path_SED_found && break 3
4511 if test -z "$ac_cv_path_SED"; then
4512 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4520 $as_echo "$ac_cv_path_SED" >&6; }
4521 SED
="$ac_cv_path_SED"
4524 test -z "$SED" && SED
=sed
4525 Xsed
="$SED -e 1s/^X//"
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4538 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4539 if ${ac_cv_path_GREP+:} false
; then :
4540 $as_echo_n "(cached) " >&6
4542 if test -z "$GREP"; then
4543 ac_path_GREP_found
=false
4544 # Loop through the user's path and test for each of PROGNAME-LIST
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4546 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_prog
in grep ggrep
; do
4551 for ac_exec_ext
in '' $ac_executable_extensions; do
4552 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4553 as_fn_executable_p
"$ac_path_GREP" ||
continue
4554 # Check for GNU ac_path_GREP and select it if it is found.
4555 # Check for GNU $ac_path_GREP
4556 case `"$ac_path_GREP" --version 2>&1` in
4558 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4561 $as_echo_n 0123456789 >"conftest.in"
4564 cat "conftest.in" "conftest.in" >"conftest.tmp"
4565 mv "conftest.tmp" "conftest.in"
4566 cp "conftest.in" "conftest.nl"
4567 $as_echo 'GREP' >> "conftest.nl"
4568 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4569 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4570 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4571 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4572 # Best one so far, save it but keep looking for a better one
4573 ac_cv_path_GREP
="$ac_path_GREP"
4574 ac_path_GREP_max
=$ac_count
4576 # 10*(2^10) chars as input seems more than enough
4577 test $ac_count -gt 10 && break
4579 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4582 $ac_path_GREP_found && break 3
4587 if test -z "$ac_cv_path_GREP"; then
4588 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4591 ac_cv_path_GREP
=$GREP
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4596 $as_echo "$ac_cv_path_GREP" >&6; }
4597 GREP
="$ac_cv_path_GREP"
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4601 $as_echo_n "checking for egrep... " >&6; }
4602 if ${ac_cv_path_EGREP+:} false
; then :
4603 $as_echo_n "(cached) " >&6
4605 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4606 then ac_cv_path_EGREP
="$GREP -E"
4608 if test -z "$EGREP"; then
4609 ac_path_EGREP_found
=false
4610 # Loop through the user's path and test for each of PROGNAME-LIST
4611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4612 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4615 test -z "$as_dir" && as_dir
=.
4616 for ac_prog
in egrep; do
4617 for ac_exec_ext
in '' $ac_executable_extensions; do
4618 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4619 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4620 # Check for GNU ac_path_EGREP and select it if it is found.
4621 # Check for GNU $ac_path_EGREP
4622 case `"$ac_path_EGREP" --version 2>&1` in
4624 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4627 $as_echo_n 0123456789 >"conftest.in"
4630 cat "conftest.in" "conftest.in" >"conftest.tmp"
4631 mv "conftest.tmp" "conftest.in"
4632 cp "conftest.in" "conftest.nl"
4633 $as_echo 'EGREP' >> "conftest.nl"
4634 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4635 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4636 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4637 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4638 # Best one so far, save it but keep looking for a better one
4639 ac_cv_path_EGREP
="$ac_path_EGREP"
4640 ac_path_EGREP_max
=$ac_count
4642 # 10*(2^10) chars as input seems more than enough
4643 test $ac_count -gt 10 && break
4645 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4648 $ac_path_EGREP_found && break 3
4653 if test -z "$ac_cv_path_EGREP"; then
4654 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4657 ac_cv_path_EGREP
=$EGREP
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4663 $as_echo "$ac_cv_path_EGREP" >&6; }
4664 EGREP
="$ac_cv_path_EGREP"
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4668 $as_echo_n "checking for fgrep... " >&6; }
4669 if ${ac_cv_path_FGREP+:} false
; then :
4670 $as_echo_n "(cached) " >&6
4672 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4673 then ac_cv_path_FGREP
="$GREP -F"
4675 if test -z "$FGREP"; then
4676 ac_path_FGREP_found
=false
4677 # Loop through the user's path and test for each of PROGNAME-LIST
4678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4679 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4682 test -z "$as_dir" && as_dir
=.
4683 for ac_prog
in fgrep
; do
4684 for ac_exec_ext
in '' $ac_executable_extensions; do
4685 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4686 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4687 # Check for GNU ac_path_FGREP and select it if it is found.
4688 # Check for GNU $ac_path_FGREP
4689 case `"$ac_path_FGREP" --version 2>&1` in
4691 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4694 $as_echo_n 0123456789 >"conftest.in"
4697 cat "conftest.in" "conftest.in" >"conftest.tmp"
4698 mv "conftest.tmp" "conftest.in"
4699 cp "conftest.in" "conftest.nl"
4700 $as_echo 'FGREP' >> "conftest.nl"
4701 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4702 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4703 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4704 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4705 # Best one so far, save it but keep looking for a better one
4706 ac_cv_path_FGREP
="$ac_path_FGREP"
4707 ac_path_FGREP_max
=$ac_count
4709 # 10*(2^10) chars as input seems more than enough
4710 test $ac_count -gt 10 && break
4712 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4715 $ac_path_FGREP_found && break 3
4720 if test -z "$ac_cv_path_FGREP"; then
4721 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4724 ac_cv_path_FGREP
=$FGREP
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4730 $as_echo "$ac_cv_path_FGREP" >&6; }
4731 FGREP
="$ac_cv_path_FGREP"
4734 test -z "$GREP" && GREP
=grep
4754 # Check whether --with-gnu-ld was given.
4755 if test "${with_gnu_ld+set}" = set; then :
4756 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4762 if test "$GCC" = yes; then
4763 # Check if gcc -print-prog-name=ld gives a path.
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4765 $as_echo_n "checking for ld used by $CC... " >&6; }
4768 # gcc leaves a trailing carriage return which upsets mingw
4769 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4771 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4774 # Accept absolute paths.
4776 re_direlt
='/[^/][^/]*/\.\./'
4777 # Canonicalize the pathname of ld
4778 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4779 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4780 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4782 test -z "$LD" && LD
="$ac_prog"
4785 # If it fails, then pretend we aren't using GCC.
4789 # If it is relative, then search for the first ld in PATH.
4793 elif test "$with_gnu_ld" = yes; then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4795 $as_echo_n "checking for GNU ld... " >&6; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4798 $as_echo_n "checking for non-GNU ld... " >&6; }
4800 if ${lt_cv_path_LD+:} false
; then :
4801 $as_echo_n "(cached) " >&6
4803 if test -z "$LD"; then
4804 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4805 for ac_dir
in $PATH; do
4807 test -z "$ac_dir" && ac_dir
=.
4808 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4809 lt_cv_path_LD
="$ac_dir/$ac_prog"
4810 # Check to see if the program is GNU ld. I'd rather use --version,
4811 # but apparently some variants of GNU ld only accept -v.
4812 # Break only if it was the GNU/non-GNU ld that we prefer.
4813 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4814 *GNU
* |
*'with BFD'*)
4815 test "$with_gnu_ld" != no
&& break
4818 test "$with_gnu_ld" != yes && break
4825 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4830 if test -n "$LD"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4832 $as_echo "$LD" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4837 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4839 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4840 if ${lt_cv_prog_gnu_ld+:} false
; then :
4841 $as_echo_n "(cached) " >&6
4843 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4844 case `$LD -v 2>&1 </dev/null` in
4845 *GNU
* |
*'with BFD'*)
4846 lt_cv_prog_gnu_ld
=yes
4849 lt_cv_prog_gnu_ld
=no
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4854 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4855 with_gnu_ld
=$lt_cv_prog_gnu_ld
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4866 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4867 if ${lt_cv_path_NM+:} false
; then :
4868 $as_echo_n "(cached) " >&6
4870 if test -n "$NM"; then
4871 # Let the user override the test.
4874 lt_nm_to_check
="${ac_tool_prefix}nm"
4875 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4876 lt_nm_to_check
="$lt_nm_to_check nm"
4878 for lt_tmp_nm
in $lt_nm_to_check; do
4879 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4880 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4882 test -z "$ac_dir" && ac_dir
=.
4883 tmp_nm
="$ac_dir/$lt_tmp_nm"
4884 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4885 # Check to see if the nm accepts a BSD-compat flag.
4886 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4887 # nm: unknown option "B" ignored
4888 # Tru64's nm complains that /dev/null is an invalid object file
4889 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4890 */dev
/null
* |
*'Invalid file or object type'*)
4891 lt_cv_path_NM
="$tmp_nm -B"
4895 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4897 lt_cv_path_NM
="$tmp_nm -p"
4901 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4902 continue # so that we can try to find one that supports BSD flags
4911 : ${lt_cv_path_NM=no}
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4915 $as_echo "$lt_cv_path_NM" >&6; }
4916 if test "$lt_cv_path_NM" != "no"; then
4919 # Didn't find any BSD compatible name lister, look for dumpbin.
4920 if test -n "$DUMPBIN"; then :
4921 # Let the user override the test.
4923 if test -n "$ac_tool_prefix"; then
4924 for ac_prog
in dumpbin
"link -dump"
4926 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4927 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_DUMPBIN+:} false
; then :
4931 $as_echo_n "(cached) " >&6
4933 if test -n "$DUMPBIN"; then
4934 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir
=.
4941 for ac_exec_ext
in '' $ac_executable_extensions; do
4942 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 DUMPBIN
=$ac_cv_prog_DUMPBIN
4954 if test -n "$DUMPBIN"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4956 $as_echo "$DUMPBIN" >&6; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4963 test -n "$DUMPBIN" && break
4966 if test -z "$DUMPBIN"; then
4967 ac_ct_DUMPBIN
=$DUMPBIN
4968 for ac_prog
in dumpbin
"link -dump"
4970 # Extract the first word of "$ac_prog", so it can be a program name with args.
4971 set dummy
$ac_prog; ac_word
=$2
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 $as_echo_n "checking for $ac_word... " >&6; }
4974 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
4975 $as_echo_n "(cached) " >&6
4977 if test -n "$ac_ct_DUMPBIN"; then
4978 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4984 test -z "$as_dir" && as_dir
=.
4985 for ac_exec_ext
in '' $ac_executable_extensions; do
4986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4998 if test -n "$ac_ct_DUMPBIN"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5000 $as_echo "$ac_ct_DUMPBIN" >&6; }
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5007 test -n "$ac_ct_DUMPBIN" && break
5010 if test "x$ac_ct_DUMPBIN" = x
; then
5013 case $cross_compiling:$ac_tool_warned in
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5017 ac_tool_warned
=yes ;;
5019 DUMPBIN
=$ac_ct_DUMPBIN
5023 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5025 DUMPBIN
="$DUMPBIN -symbols"
5033 if test "$DUMPBIN" != ":"; then
5037 test -z "$NM" && NM
=nm
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5045 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5046 if ${lt_cv_nm_interface+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 lt_cv_nm_interface
="BSD nm"
5050 echo "int some_variable = 0;" > conftest.
$ac_ext
5051 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5052 (eval "$ac_compile" 2>conftest.err
)
5053 cat conftest.err
>&5
5054 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5055 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5056 cat conftest.err
>&5
5057 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5058 cat conftest.out
>&5
5059 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5060 lt_cv_nm_interface
="MS dumpbin"
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5065 $as_echo "$lt_cv_nm_interface" >&6; }
5067 # find the maximum length of command line arguments
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5069 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5070 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5071 $as_echo_n "(cached) " >&6
5078 # On DJGPP, this test can blow up pretty badly due to problems in libc
5079 # (any single argument exceeding 2000 bytes causes a buffer overrun
5080 # during glob expansion). Even if it were fixed, the result of this
5081 # check would be larger than it should be.
5082 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5086 # Under GNU Hurd, this test is not required because there is
5087 # no limit to the length of command line arguments.
5088 # Libtool will interpret -1 as no limit whatsoever
5089 lt_cv_sys_max_cmd_len
=-1;
5092 cygwin
* | mingw
* | cegcc
*)
5093 # On Win9x/ME, this test blows up -- it succeeds, but takes
5094 # about 5 minutes as the teststring grows exponentially.
5095 # Worse, since 9x/ME are not pre-emptively multitasking,
5096 # you end up with a "frozen" computer, even though with patience
5097 # the test eventually succeeds (with a max line length of 256k).
5098 # Instead, let's just punt: use the minimum linelength reported by
5099 # all of the supported platforms: 8192 (on NT/2K/XP).
5100 lt_cv_sys_max_cmd_len
=8192;
5104 # On MiNT this can take a long time and run out of memory.
5105 lt_cv_sys_max_cmd_len
=8192;
5109 # On AmigaOS with pdksh, this test takes hours, literally.
5110 # So we just punt and use a minimum line length of 8192.
5111 lt_cv_sys_max_cmd_len
=8192;
5114 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5115 # This has been around since 386BSD, at least. Likely further.
5116 if test -x /sbin
/sysctl
; then
5117 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5118 elif test -x /usr
/sbin
/sysctl
; then
5119 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5121 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5123 # And add a safety zone
5124 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5125 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5129 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5130 lt_cv_sys_max_cmd_len
=196608
5134 # The test takes a long time on OS/2.
5135 lt_cv_sys_max_cmd_len
=8192
5139 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5140 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5141 # nice to cause kernel panics so lets avoid the loop below.
5142 # First set a reasonable default.
5143 lt_cv_sys_max_cmd_len
=16384
5145 if test -x /sbin
/sysconfig
; then
5146 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5147 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5152 lt_cv_sys_max_cmd_len
=102400
5154 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5155 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5156 if test -n "$kargmax"; then
5157 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5159 lt_cv_sys_max_cmd_len
=32768
5163 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5164 if test -n "$lt_cv_sys_max_cmd_len"; then
5165 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5166 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5168 # Make teststring a little bigger before we do anything with it.
5169 # a 1K string should be a reasonable start.
5170 for i
in 1 2 3 4 5 6 7 8 ; do
5171 teststring
=$teststring$teststring
5173 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5174 # If test is not a shell built-in, we'll probably end up computing a
5175 # maximum length that is only half of the actual maximum length, but
5177 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5178 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5179 test $i != 17 # 1/2 MB should be enough
5182 teststring
=$teststring$teststring
5184 # Only check the string length outside the loop.
5185 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5187 # Add a significant safety factor because C++ compilers can tack on
5188 # massive amounts of additional arguments before passing them to the
5189 # linker. It appears as though 1/2 is a usable value.
5190 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5197 if test -n $lt_cv_sys_max_cmd_len ; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5199 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5202 $as_echo "none" >&6; }
5204 max_cmd_len
=$lt_cv_sys_max_cmd_len
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5216 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5217 # Try some XSI features
5220 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5222 && eval 'test $(( 1 + 1 )) -eq 2 \
5223 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5226 $as_echo "$xsi_shell" >&6; }
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5230 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5232 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5234 && lt_shell_append=yes
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5236 $as_echo "$lt_shell_append" >&6; }
5239 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5249 # test EBCDIC or ASCII
5250 case `echo X|tr X '\101'` in
5251 A) # ASCII based system
5252 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5253 lt_SP2NL='tr \040 \012'
5254 lt_NL2SP='tr \015\012 \040\040'
5256 *) # EBCDIC based system
5257 lt_SP2NL='tr \100 \n'
5258 lt_NL2SP='tr \r\n \100\100'
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5271 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
5272 if ${lt_cv_to_host_file_cmd+:} false; then :
5273 $as_echo_n "(cached
) " >&6
5278 *-*-mingw* ) # actually msys
5279 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5282 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5284 * ) # otherwise, assume *nix
5285 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5291 *-*-mingw* ) # actually msys
5292 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5295 lt_cv_to_host_file_cmd=func_convert_file_noop
5297 * ) # otherwise, assume *nix
5298 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5302 * ) # unhandled hosts (and "normal
" native builds)
5303 lt_cv_to_host_file_cmd=func_convert_file_noop
5309 to_host_file_cmd=$lt_cv_to_host_file_cmd
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5311 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5318 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
5319 if ${lt_cv_to_tool_file_cmd+:} false; then :
5320 $as_echo_n "(cached
) " >&6
5322 #assume ordinary cross tools, or native build.
5323 lt_cv_to_tool_file_cmd=func_convert_file_noop
5327 *-*-mingw* ) # actually msys
5328 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5336 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5338 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5345 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5346 if ${lt_cv_ld_reload_flag+:} false; then :
5347 $as_echo_n "(cached
) " >&6
5349 lt_cv_ld_reload_flag='-r'
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5352 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5353 reload_flag=$lt_cv_ld_reload_flag
5354 case $reload_flag in
5356 *) reload_flag=" $reload_flag" ;;
5358 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5360 cygwin* | mingw* | pw32* | cegcc*)
5361 if test "$GCC" != yes; then
5366 if test "$GCC" = yes; then
5367 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5369 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5382 if test -n "$ac_tool_prefix"; then
5383 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5384 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5386 $as_echo_n "checking
for $ac_word...
" >&6; }
5387 if ${ac_cv_prog_OBJDUMP+:} false; then :
5388 $as_echo_n "(cached
) " >&6
5390 if test -n "$OBJDUMP"; then
5391 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5397 test -z "$as_dir" && as_dir=.
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5400 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5410 OBJDUMP=$ac_cv_prog_OBJDUMP
5411 if test -n "$OBJDUMP"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5413 $as_echo "$OBJDUMP" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5416 $as_echo "no
" >&6; }
5421 if test -z "$ac_cv_prog_OBJDUMP"; then
5422 ac_ct_OBJDUMP=$OBJDUMP
5423 # Extract the first word of "objdump
", so it can be a program name with args.
5424 set dummy objdump; ac_word=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5426 $as_echo_n "checking
for $ac_word...
" >&6; }
5427 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5428 $as_echo_n "(cached
) " >&6
5430 if test -n "$ac_ct_OBJDUMP"; then
5431 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5450 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5451 if test -n "$ac_ct_OBJDUMP"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5453 $as_echo "$ac_ct_OBJDUMP" >&6; }
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5456 $as_echo "no
" >&6; }
5459 if test "x
$ac_ct_OBJDUMP" = x; then
5462 case $cross_compiling:$ac_tool_warned in
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5465 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5466 ac_tool_warned=yes ;;
5468 OBJDUMP=$ac_ct_OBJDUMP
5471 OBJDUMP="$ac_cv_prog_OBJDUMP"
5474 test -z "$OBJDUMP" && OBJDUMP=objdump
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5485 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5486 if ${lt_cv_deplibs_check_method+:} false; then :
5487 $as_echo_n "(cached
) " >&6
5489 lt_cv_file_magic_cmd='$MAGIC_CMD'
5490 lt_cv_file_magic_test_file=
5491 lt_cv_deplibs_check_method='unknown'
5492 # Need to set the preceding variable on all platforms that support
5493 # interlibrary dependencies.
5494 # 'none' -- dependencies not supported.
5495 # `unknown' -- same as none, but documents that we really don't know.
5496 # 'pass_all' -- all dependencies passed with no checks.
5497 # 'test_compile' -- check by making test program.
5498 # 'file_magic [[regex]]' -- check by looking for files in library path
5499 # which responds to the $file_magic_cmd with a given extended regex.
5500 # If you have `file' or equivalent on your system and you're not sure
5501 # whether `pass_all' will *always* work, you probably want this one.
5505 lt_cv_deplibs_check_method=pass_all
5509 lt_cv_deplibs_check_method=pass_all
5513 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5514 lt_cv_file_magic_cmd='/usr/bin/file -L'
5515 lt_cv_file_magic_test_file=/shlib/libc.so
5519 # func_win32_libid is a shell function defined in ltmain.sh
5520 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5521 lt_cv_file_magic_cmd='func_win32_libid'
5525 # Base MSYS/MinGW do not provide the 'file' command needed by
5526 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5527 # unless we find 'file', for example because we are cross-compiling.
5528 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5529 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
5530 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5531 lt_cv_file_magic_cmd='func_win32_libid'
5533 # Keep this pattern in sync with the one in func_win32_libid.
5534 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5535 lt_cv_file_magic_cmd='$OBJDUMP -f'
5540 # use the weaker test based on 'objdump'. See mingw*.
5541 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5542 lt_cv_file_magic_cmd='$OBJDUMP -f'
5545 darwin* | rhapsody*)
5546 lt_cv_deplibs_check_method=pass_all
5549 freebsd* | dragonfly*)
5550 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5553 # Not sure whether the presence of OpenBSD here was a mistake.
5554 # Let's accept both of them until this is cleared up.
5555 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5556 lt_cv_file_magic_cmd=/usr/bin/file
5557 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5561 lt_cv_deplibs_check_method=pass_all
5566 lt_cv_deplibs_check_method=pass_all
5570 lt_cv_deplibs_check_method=pass_all
5573 hpux10.20* | hpux11*)
5574 lt_cv_file_magic_cmd=/usr/bin/file
5577 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5578 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5581 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5582 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5585 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5586 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5592 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5593 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5596 irix5* | irix6* | nonstopux*)
5598 *-32|*"-32 ") libmagic=32-bit;;
5599 *-n32|*"-n32 ") libmagic=N32;;
5600 *-64|*"-64 ") libmagic=64-bit;;
5601 *) libmagic=never-match;;
5603 lt_cv_deplibs_check_method=pass_all
5606 # This must be glibc/ELF.
5607 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5608 lt_cv_deplibs_check_method=pass_all
5612 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5613 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5615 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5620 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5621 lt_cv_file_magic_cmd=/usr/bin/file
5622 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5626 lt_cv_deplibs_check_method=pass_all
5630 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5631 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5633 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5637 osf3* | osf4* | osf5*)
5638 lt_cv_deplibs_check_method=pass_all
5642 lt_cv_deplibs_check_method=pass_all
5646 lt_cv_deplibs_check_method=pass_all
5649 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5650 lt_cv_deplibs_check_method=pass_all
5654 case $host_vendor in
5656 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]'
5657 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5660 lt_cv_deplibs_check_method=pass_all
5663 lt_cv_file_magic_cmd='/bin/file'
5664 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5667 lt_cv_file_magic_cmd='/bin/file'
5668 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5669 lt_cv_file_magic_test_file=/lib/libc.so
5672 lt_cv_deplibs_check_method=pass_all
5675 lt_cv_deplibs_check_method=pass_all
5681 lt_cv_deplibs_check_method=pass_all
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5687 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5691 if test "$build" = "$host"; then
5694 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5697 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
5703 file_magic_cmd=$lt_cv_file_magic_cmd
5704 deplibs_check_method=$lt_cv_deplibs_check_method
5705 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5728 if test -n "$ac_tool_prefix"; then
5729 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
5730 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5732 $as_echo_n "checking
for $ac_word...
" >&6; }
5733 if ${ac_cv_prog_DLLTOOL+:} false; then :
5734 $as_echo_n "(cached
) " >&6
5736 if test -n "$DLLTOOL"; then
5737 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5756 DLLTOOL=$ac_cv_prog_DLLTOOL
5757 if test -n "$DLLTOOL"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
5759 $as_echo "$DLLTOOL" >&6; }
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5762 $as_echo "no
" >&6; }
5767 if test -z "$ac_cv_prog_DLLTOOL"; then
5768 ac_ct_DLLTOOL=$DLLTOOL
5769 # Extract the first word of "dlltool
", so it can be a program name with args.
5770 set dummy dlltool; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5772 $as_echo_n "checking
for $ac_word...
" >&6; }
5773 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5774 $as_echo_n "(cached
) " >&6
5776 if test -n "$ac_ct_DLLTOOL"; then
5777 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5796 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5797 if test -n "$ac_ct_DLLTOOL"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
5799 $as_echo "$ac_ct_DLLTOOL" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5802 $as_echo "no
" >&6; }
5805 if test "x
$ac_ct_DLLTOOL" = x; then
5808 case $cross_compiling:$ac_tool_warned in
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5811 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5812 ac_tool_warned=yes ;;
5814 DLLTOOL=$ac_ct_DLLTOOL
5817 DLLTOOL="$ac_cv_prog_DLLTOOL"
5820 test -z "$DLLTOOL" && DLLTOOL=dlltool
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
5832 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
5833 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5834 $as_echo_n "(cached
) " >&6
5836 lt_cv_sharedlib_from_linklib_cmd='unknown'
5839 cygwin* | mingw* | pw32* | cegcc*)
5840 # two different shell functions defined in ltmain.sh
5841 # decide which to use based on capabilities of $DLLTOOL
5842 case `$DLLTOOL --help 2>&1` in
5843 *--identify-strict*)
5844 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5847 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5852 # fallback: assume linklib IS sharedlib
5853 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
5859 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5860 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5861 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5870 if test -n "$ac_tool_prefix"; then
5873 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5874 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5876 $as_echo_n "checking
for $ac_word...
" >&6; }
5877 if ${ac_cv_prog_AR+:} false; then :
5878 $as_echo_n "(cached
) " >&6
5880 if test -n "$AR"; then
5881 ac_cv_prog_AR="$AR" # Let the user override the test.
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5890 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5901 if test -n "$AR"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5903 $as_echo "$AR" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5906 $as_echo "no
" >&6; }
5910 test -n "$AR" && break
5913 if test -z "$AR"; then
5917 # Extract the first word of "$ac_prog", so it can be a program name with args.
5918 set dummy $ac_prog; ac_word=$2
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5920 $as_echo_n "checking
for $ac_word...
" >&6; }
5921 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5922 $as_echo_n "(cached
) " >&6
5924 if test -n "$ac_ct_AR"; then
5925 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 test -z "$as_dir" && as_dir=.
5932 for ac_exec_ext in '' $ac_executable_extensions; do
5933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_ac_ct_AR="$ac_prog"
5935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5944 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5945 if test -n "$ac_ct_AR"; then
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5947 $as_echo "$ac_ct_AR" >&6; }
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5950 $as_echo "no
" >&6; }
5954 test -n "$ac_ct_AR" && break
5957 if test "x
$ac_ct_AR" = x; then
5960 case $cross_compiling:$ac_tool_warned in
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5963 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5964 ac_tool_warned=yes ;;
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
5984 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
5985 if ${lt_cv_ar_at_file+:} false; then :
5986 $as_echo_n "(cached
) " >&6
5989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5990 /* end confdefs.h. */
6000 if ac_fn_c_try_compile "$LINENO"; then :
6001 echo conftest.$ac_objext > conftest.lst
6002 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6003 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6004 (eval $lt_ar_try) 2>&5
6006 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6007 test $ac_status = 0; }
6008 if test "$ac_status" -eq 0; then
6009 # Ensure the archiver fails upon bogus file names.
6010 rm -f conftest.$ac_objext libconftest.a
6011 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6012 (eval $lt_ar_try) 2>&5
6014 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6015 test $ac_status = 0; }
6016 if test "$ac_status" -ne 0; then
6020 rm -f conftest.* libconftest.a
6023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6027 $as_echo "$lt_cv_ar_at_file" >&6; }
6029 if test "x
$lt_cv_ar_at_file" = xno; then
6032 archiver_list_spec=$lt_cv_ar_at_file
6041 if test -n "$ac_tool_prefix"; then
6042 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6043 set dummy ${ac_tool_prefix}strip; ac_word=$2
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6045 $as_echo_n "checking
for $ac_word...
" >&6; }
6046 if ${ac_cv_prog_STRIP+:} false; then :
6047 $as_echo_n "(cached
) " >&6
6049 if test -n "$STRIP"; then
6050 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 test -z "$as_dir" && as_dir=.
6057 for ac_exec_ext in '' $ac_executable_extensions; do
6058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6059 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6069 STRIP=$ac_cv_prog_STRIP
6070 if test -n "$STRIP"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6072 $as_echo "$STRIP" >&6; }
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6075 $as_echo "no
" >&6; }
6080 if test -z "$ac_cv_prog_STRIP"; then
6082 # Extract the first word of "strip
", so it can be a program name with args.
6083 set dummy strip; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6085 $as_echo_n "checking
for $ac_word...
" >&6; }
6086 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6087 $as_echo_n "(cached
) " >&6
6089 if test -n "$ac_ct_STRIP"; then
6090 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_prog_ac_ct_STRIP="strip
"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6109 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6110 if test -n "$ac_ct_STRIP"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6112 $as_echo "$ac_ct_STRIP" >&6; }
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6115 $as_echo "no
" >&6; }
6118 if test "x
$ac_ct_STRIP" = x; then
6121 case $cross_compiling:$ac_tool_warned in
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6124 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6125 ac_tool_warned=yes ;;
6130 STRIP="$ac_cv_prog_STRIP"
6133 test -z "$STRIP" && STRIP=:
6140 if test -n "$ac_tool_prefix"; then
6141 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6142 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6144 $as_echo_n "checking
for $ac_word...
" >&6; }
6145 if ${ac_cv_prog_RANLIB+:} false; then :
6146 $as_echo_n "(cached
) " >&6
6148 if test -n "$RANLIB"; then
6149 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6168 RANLIB=$ac_cv_prog_RANLIB
6169 if test -n "$RANLIB"; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6171 $as_echo "$RANLIB" >&6; }
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6174 $as_echo "no
" >&6; }
6179 if test -z "$ac_cv_prog_RANLIB"; then
6180 ac_ct_RANLIB=$RANLIB
6181 # Extract the first word of "ranlib
", so it can be a program name with args.
6182 set dummy ranlib; ac_word=$2
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6184 $as_echo_n "checking
for $ac_word...
" >&6; }
6185 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6186 $as_echo_n "(cached
) " >&6
6188 if test -n "$ac_ct_RANLIB"; then
6189 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 test -z "$as_dir" && as_dir=.
6196 for ac_exec_ext in '' $ac_executable_extensions; do
6197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6198 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6199 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6208 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6209 if test -n "$ac_ct_RANLIB"; then
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6211 $as_echo "$ac_ct_RANLIB" >&6; }
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6214 $as_echo "no
" >&6; }
6217 if test "x
$ac_ct_RANLIB" = x; then
6220 case $cross_compiling:$ac_tool_warned in
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6223 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6224 ac_tool_warned=yes ;;
6226 RANLIB=$ac_ct_RANLIB
6229 RANLIB="$ac_cv_prog_RANLIB"
6232 test -z "$RANLIB" && RANLIB=:
6239 # Determine commands to create old-style static archives.
6240 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6241 old_postinstall_cmds='chmod 644 $oldlib'
6242 old_postuninstall_cmds=
6244 if test -n "$RANLIB"; then
6247 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6250 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6253 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6258 lock_old_archive_extraction=yes ;;
6260 lock_old_archive_extraction=no ;;
6301 # If no C compiler was specified, use CC.
6304 # If no C compiler flags were specified, use CFLAGS.
6305 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6307 # Allow CC to be a program name with arguments.
6311 # Check for command to grab the raw symbol name followed by C symbol from nm.
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6313 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6314 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6315 $as_echo_n "(cached
) " >&6
6318 # These are sane defaults that work on at least a few old systems.
6319 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6321 # Character class describing NM global symbol codes.
6322 symcode='[BCDEGRST]'
6324 # Regexp to match symbols that can be accessed directly from C.
6325 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6327 # Define system-specific variables.
6332 cygwin* | mingw* | pw32* | cegcc*)
6333 symcode='[ABCDGISTW]'
6336 if test "$host_cpu" = ia64; then
6337 symcode='[ABCDEGRST]'
6341 symcode='[BCDEGRST]'
6344 symcode='[BCDEGQRST]'
6355 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6363 # If we're using GNU nm, then use its standard symbol codes.
6364 case `$NM -V 2>&1` in
6365 *GNU* | *'with BFD'*)
6366 symcode='[ABCDGIRSTW]' ;;
6369 # Transform an extracted symbol line into a proper C declaration.
6370 # Some systems (esp. on ia64) link data and code symbols differently,
6371 # so use this general approach.
6372 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6374 # Transform an extracted symbol line into symbol name and symbol address
6375 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6376 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6378 # Handle CRLF in mingw tool chain
6382 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6386 # Try without a prefix underscore, then with it.
6387 for ac_symprfx in "" "_
"; do
6389 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6390 symxfrm="\\1 $ac_symprfx\\2 \\2"
6392 # Write the raw and C identifiers.
6393 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6394 # Fake it for dumpbin and say T for any non-static function
6395 # and D for any global variable.
6396 # Also find C++ and __fastcall symbols from MSVC++,
6397 # which start with @ or ?.
6398 lt_cv_sys_global_symbol_pipe="$AWK '"\
6399 " {last_section=section; section=\$ 3};"\
6400 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6401 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6402 " \$ 0!~/External *\|/{next};"\
6403 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6404 " {if(hide[section]) next};"\
6405 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6406 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6407 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6408 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6409 " ' prfx
=^
$ac_symprfx"
6411 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6413 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
6415 # Check to see that the pipe works correctly.
6419 cat > conftest.$ac_ext <<_LT_EOF
6424 void nm_test_func(void);
6425 void nm_test_func(void){}
6429 int main(){nm_test_var='a';nm_test_func();return(0);}
6432 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6433 (eval $ac_compile) 2>&5
6435 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6436 test $ac_status = 0; }; then
6437 # Now try to grab the symbols.
6439 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6440 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6442 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6443 test $ac_status = 0; } && test -s "$nlist"; then
6444 # Try sorting and uniquifying the output.
6445 if sort "$nlist" | uniq > "$nlist"T; then
6446 mv -f "$nlist"T "$nlist"
6451 # Make sure that we snagged all the symbols we need.
6452 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6453 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6454 cat <<_LT_EOF > conftest.$ac_ext
6455 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6456 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6457 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6458 relocations are performed -- see ld's documentation on pseudo-relocs. */
6459 # define LT_DLSYM_CONST
6460 #elif defined(__osf__)
6461 /* This system does not cope well with relocations in const data. */
6462 # define LT_DLSYM_CONST
6464 # define LT_DLSYM_CONST const
6472 # Now generate the symbol file.
6473 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6475 cat <<_LT_EOF >> conftest.$ac_ext
6477 /* The mapping between symbol names and symbols. */
6478 LT_DLSYM_CONST struct {
6482 lt__PROGRAM__LTX_preloaded_symbols[] =
6484 { "@PROGRAM@
", (void *) 0 },
6486 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6487 cat <<\_LT_EOF >> conftest.$ac_ext
6491 /* This works around a problem in FreeBSD linker */
6492 #ifdef FREEBSD_WORKAROUND
6493 static const void *lt_preloaded_setup() {
6494 return lt__PROGRAM__LTX_preloaded_symbols;
6502 # Now try linking the two files.
6503 mv conftest.$ac_objext conftstm.$ac_objext
6504 lt_globsym_save_LIBS=$LIBS
6505 lt_globsym_save_CFLAGS=$CFLAGS
6506 LIBS="conftstm.
$ac_objext"
6507 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6508 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6509 (eval $ac_link) 2>&5
6511 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6512 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6515 LIBS=$lt_globsym_save_LIBS
6516 CFLAGS=$lt_globsym_save_CFLAGS
6518 echo "cannot
find nm_test_func
in $nlist" >&5
6521 echo "cannot
find nm_test_var
in $nlist" >&5
6524 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6527 echo "$progname: failed program was
:" >&5
6528 cat conftest.$ac_ext >&5
6530 rm -rf conftest* conftst*
6532 # Do not use the global_symbol_pipe unless it works.
6533 if test "$pipe_works" = yes; then
6536 lt_cv_sys_global_symbol_pipe=
6542 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6543 lt_cv_sys_global_symbol_to_cdecl=
6545 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6547 $as_echo "failed
" >&6; }
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6550 $as_echo "ok
" >&6; }
6553 # Response file support.
6554 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6555 nm_file_list_spec='@'
6556 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6557 nm_file_list_spec='@'
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
6587 $as_echo_n "checking
for sysroot...
" >&6; }
6589 # Check whether --with-sysroot was given.
6590 if test "${with_sysroot+set}" = set; then :
6591 withval=$with_sysroot;
6598 case ${with_sysroot} in #(
6600 if test "$GCC" = yes; then
6601 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6605 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
6611 $as_echo "${with_sysroot}" >&6; }
6612 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
6617 $as_echo "${lt_sysroot:-no}" >&6; }
6623 # Check whether --enable-libtool-lock was given.
6624 if test "${enable_libtool_lock+set}" = set; then :
6625 enableval=$enable_libtool_lock;
6628 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6630 # Some flags need to be propagated to the compiler or linker for good
6634 # Find out which ABI we are using.
6635 echo 'int i;' > conftest.$ac_ext
6636 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6637 (eval $ac_compile) 2>&5
6639 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6640 test $ac_status = 0; }; then
6641 case `/usr/bin/file conftest.$ac_objext` in
6653 # Find out which ABI we are using.
6654 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
6655 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6656 (eval $ac_compile) 2>&5
6658 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6659 test $ac_status = 0; }; then
6660 if test "$lt_cv_prog_gnu_ld" = yes; then
6661 case `/usr/bin/file conftest.$ac_objext` in
6663 LD="${LD-ld} -melf32bsmip"
6666 LD="${LD-ld} -melf32bmipn32"
6669 LD="${LD-ld} -melf64bmip"
6673 case `/usr/bin/file conftest.$ac_objext` in
6689 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6690 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6691 # Find out which ABI we are using.
6692 echo 'int i;' > conftest.$ac_ext
6693 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6694 (eval $ac_compile) 2>&5
6696 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6697 test $ac_status = 0; }; then
6698 case `/usr/bin/file conftest.o` in
6701 x86_64-*kfreebsd*-gnu)
6702 LD="${LD-ld} -m elf_i386_fbsd
"
6705 LD="${LD-ld} -m elf_i386
"
6708 LD="${LD-ld} -m elf32lppclinux
"
6711 LD="${LD-ld} -m elf32ppclinux
"
6714 LD="${LD-ld} -m elf_s390
"
6717 LD="${LD-ld} -m elf32_sparc
"
6723 x86_64-*kfreebsd*-gnu)
6724 LD="${LD-ld} -m elf_x86_64_fbsd
"
6727 LD="${LD-ld} -m elf_x86_64
"
6730 LD="${LD-ld} -m elf64lppc
"
6733 LD="${LD-ld} -m elf64ppc
"
6735 s390*-*linux*|s390*-*tpf*)
6736 LD="${LD-ld} -m elf64_s390
"
6739 LD="${LD-ld} -m elf64_sparc
"
6749 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6750 SAVE_CFLAGS="$CFLAGS"
6751 CFLAGS="$CFLAGS -belf"
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6753 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6754 if ${lt_cv_cc_needs_belf+:} false; then :
6755 $as_echo_n "(cached
) " >&6
6758 ac_cpp='$CPP $CPPFLAGS'
6759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6764 /* end confdefs.h. */
6774 if ac_fn_c_try_link "$LINENO"; then :
6775 lt_cv_cc_needs_belf=yes
6777 lt_cv_cc_needs_belf=no
6779 rm -f core conftest.err conftest.$ac_objext \
6780 conftest$ac_exeext conftest.$ac_ext
6782 ac_cpp='$CPP $CPPFLAGS'
6783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6789 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6790 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6791 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6792 CFLAGS="$SAVE_CFLAGS"
6796 # Find out which ABI we are using.
6797 echo 'int i;' > conftest.$ac_ext
6798 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6799 (eval $ac_compile) 2>&5
6801 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6802 test $ac_status = 0; }; then
6803 case `/usr/bin/file conftest.o` in
6805 case $lt_cv_prog_gnu_ld in
6809 LD="${LD-ld} -m elf_x86_64
"
6812 LD="${LD-ld} -m elf64_sparc
"
6815 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6816 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6821 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6833 need_locks="$enable_libtool_lock"
6835 if test -n "$ac_tool_prefix"; then
6836 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
6837 set dummy ${ac_tool_prefix}mt; ac_word=$2
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6839 $as_echo_n "checking
for $ac_word...
" >&6; }
6840 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6841 $as_echo_n "(cached
) " >&6
6843 if test -n "$MANIFEST_TOOL"; then
6844 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6850 test -z "$as_dir" && as_dir=.
6851 for ac_exec_ext in '' $ac_executable_extensions; do
6852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6853 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
6854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6863 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6864 if test -n "$MANIFEST_TOOL"; then
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
6866 $as_echo "$MANIFEST_TOOL" >&6; }
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6869 $as_echo "no
" >&6; }
6874 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6875 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6876 # Extract the first word of "mt
", so it can be a program name with args.
6877 set dummy mt; ac_word=$2
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6879 $as_echo_n "checking
for $ac_word...
" >&6; }
6880 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6881 $as_echo_n "(cached
) " >&6
6883 if test -n "$ac_ct_MANIFEST_TOOL"; then
6884 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6890 test -z "$as_dir" && as_dir=.
6891 for ac_exec_ext in '' $ac_executable_extensions; do
6892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6893 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
6894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6903 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6904 if test -n "$ac_ct_MANIFEST_TOOL"; then
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
6906 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6909 $as_echo "no
" >&6; }
6912 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
6915 case $cross_compiling:$ac_tool_warned in
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6918 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6919 ac_tool_warned=yes ;;
6921 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6924 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6927 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
6929 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
6930 if ${lt_cv_path_mainfest_tool+:} false; then :
6931 $as_echo_n "(cached
) " >&6
6933 lt_cv_path_mainfest_tool=no
6934 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6935 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6936 cat conftest.err >&5
6937 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6938 lt_cv_path_mainfest_tool=yes
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
6943 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6944 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
6954 rhapsody* | darwin*)
6955 if test -n "$ac_tool_prefix"; then
6956 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6957 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6959 $as_echo_n "checking
for $ac_word...
" >&6; }
6960 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6961 $as_echo_n "(cached
) " >&6
6963 if test -n "$DSYMUTIL"; then
6964 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970 test -z "$as_dir" && as_dir=.
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6973 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6983 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6984 if test -n "$DSYMUTIL"; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6986 $as_echo "$DSYMUTIL" >&6; }
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6989 $as_echo "no
" >&6; }
6994 if test -z "$ac_cv_prog_DSYMUTIL"; then
6995 ac_ct_DSYMUTIL=$DSYMUTIL
6996 # Extract the first word of "dsymutil
", so it can be a program name with args.
6997 set dummy dsymutil; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6999 $as_echo_n "checking
for $ac_word...
" >&6; }
7000 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7001 $as_echo_n "(cached
) " >&6
7003 if test -n "$ac_ct_DSYMUTIL"; then
7004 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7013 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7023 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7024 if test -n "$ac_ct_DSYMUTIL"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7026 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7029 $as_echo "no
" >&6; }
7032 if test "x
$ac_ct_DSYMUTIL" = x; then
7035 case $cross_compiling:$ac_tool_warned in
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7038 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7039 ac_tool_warned=yes ;;
7041 DSYMUTIL=$ac_ct_DSYMUTIL
7044 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7047 if test -n "$ac_tool_prefix"; then
7048 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7049 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7051 $as_echo_n "checking
for $ac_word...
" >&6; }
7052 if ${ac_cv_prog_NMEDIT+:} false; then :
7053 $as_echo_n "(cached
) " >&6
7055 if test -n "$NMEDIT"; then
7056 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062 test -z "$as_dir" && as_dir=.
7063 for ac_exec_ext in '' $ac_executable_extensions; do
7064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7065 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7075 NMEDIT=$ac_cv_prog_NMEDIT
7076 if test -n "$NMEDIT"; then
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7078 $as_echo "$NMEDIT" >&6; }
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7081 $as_echo "no
" >&6; }
7086 if test -z "$ac_cv_prog_NMEDIT"; then
7087 ac_ct_NMEDIT=$NMEDIT
7088 # Extract the first word of "nmedit
", so it can be a program name with args.
7089 set dummy nmedit; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7091 $as_echo_n "checking
for $ac_word...
" >&6; }
7092 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7093 $as_echo_n "(cached
) " >&6
7095 if test -n "$ac_ct_NMEDIT"; then
7096 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 test -z "$as_dir" && as_dir=.
7103 for ac_exec_ext in '' $ac_executable_extensions; do
7104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7105 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7115 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7116 if test -n "$ac_ct_NMEDIT"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7118 $as_echo "$ac_ct_NMEDIT" >&6; }
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7121 $as_echo "no
" >&6; }
7124 if test "x
$ac_ct_NMEDIT" = x; then
7127 case $cross_compiling:$ac_tool_warned in
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7130 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7131 ac_tool_warned=yes ;;
7133 NMEDIT=$ac_ct_NMEDIT
7136 NMEDIT="$ac_cv_prog_NMEDIT"
7139 if test -n "$ac_tool_prefix"; then
7140 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7141 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7143 $as_echo_n "checking
for $ac_word...
" >&6; }
7144 if ${ac_cv_prog_LIPO+:} false; then :
7145 $as_echo_n "(cached
) " >&6
7147 if test -n "$LIPO"; then
7148 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7154 test -z "$as_dir" && as_dir=.
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7157 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7167 LIPO=$ac_cv_prog_LIPO
7168 if test -n "$LIPO"; then
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7170 $as_echo "$LIPO" >&6; }
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7173 $as_echo "no
" >&6; }
7178 if test -z "$ac_cv_prog_LIPO"; then
7180 # Extract the first word of "lipo
", so it can be a program name with args.
7181 set dummy lipo; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7183 $as_echo_n "checking
for $ac_word...
" >&6; }
7184 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7185 $as_echo_n "(cached
) " >&6
7187 if test -n "$ac_ct_LIPO"; then
7188 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 test -z "$as_dir" && as_dir=.
7195 for ac_exec_ext in '' $ac_executable_extensions; do
7196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7197 ac_cv_prog_ac_ct_LIPO="lipo
"
7198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7207 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7208 if test -n "$ac_ct_LIPO"; then
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7210 $as_echo "$ac_ct_LIPO" >&6; }
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7213 $as_echo "no
" >&6; }
7216 if test "x
$ac_ct_LIPO" = x; then
7219 case $cross_compiling:$ac_tool_warned in
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7222 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7223 ac_tool_warned=yes ;;
7228 LIPO="$ac_cv_prog_LIPO"
7231 if test -n "$ac_tool_prefix"; then
7232 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}otool; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7235 $as_echo_n "checking
for $ac_word...
" >&6; }
7236 if ${ac_cv_prog_OTOOL+:} false; then :
7237 $as_echo_n "(cached
) " >&6
7239 if test -n "$OTOOL"; then
7240 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246 test -z "$as_dir" && as_dir=.
7247 for ac_exec_ext in '' $ac_executable_extensions; do
7248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7249 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7259 OTOOL=$ac_cv_prog_OTOOL
7260 if test -n "$OTOOL"; then
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7262 $as_echo "$OTOOL" >&6; }
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7265 $as_echo "no
" >&6; }
7270 if test -z "$ac_cv_prog_OTOOL"; then
7272 # Extract the first word of "otool
", so it can be a program name with args.
7273 set dummy otool; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7275 $as_echo_n "checking
for $ac_word...
" >&6; }
7276 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7277 $as_echo_n "(cached
) " >&6
7279 if test -n "$ac_ct_OTOOL"; then
7280 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7286 test -z "$as_dir" && as_dir=.
7287 for ac_exec_ext in '' $ac_executable_extensions; do
7288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7289 ac_cv_prog_ac_ct_OTOOL="otool
"
7290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7299 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7300 if test -n "$ac_ct_OTOOL"; then
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7302 $as_echo "$ac_ct_OTOOL" >&6; }
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7305 $as_echo "no
" >&6; }
7308 if test "x
$ac_ct_OTOOL" = x; then
7311 case $cross_compiling:$ac_tool_warned in
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7314 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7315 ac_tool_warned=yes ;;
7320 OTOOL="$ac_cv_prog_OTOOL"
7323 if test -n "$ac_tool_prefix"; then
7324 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7327 $as_echo_n "checking
for $ac_word...
" >&6; }
7328 if ${ac_cv_prog_OTOOL64+:} false; then :
7329 $as_echo_n "(cached
) " >&6
7331 if test -n "$OTOOL64"; then
7332 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 test -z "$as_dir" && as_dir=.
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7351 OTOOL64=$ac_cv_prog_OTOOL64
7352 if test -n "$OTOOL64"; then
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7354 $as_echo "$OTOOL64" >&6; }
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7357 $as_echo "no
" >&6; }
7362 if test -z "$ac_cv_prog_OTOOL64"; then
7363 ac_ct_OTOOL64=$OTOOL64
7364 # Extract the first word of "otool64
", so it can be a program name with args.
7365 set dummy otool64; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7367 $as_echo_n "checking
for $ac_word...
" >&6; }
7368 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7369 $as_echo_n "(cached
) " >&6
7371 if test -n "$ac_ct_OTOOL64"; then
7372 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 test -z "$as_dir" && as_dir=.
7379 for ac_exec_ext in '' $ac_executable_extensions; do
7380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7381 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7382 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7391 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7392 if test -n "$ac_ct_OTOOL64"; then
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7394 $as_echo "$ac_ct_OTOOL64" >&6; }
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7397 $as_echo "no
" >&6; }
7400 if test "x
$ac_ct_OTOOL64" = x; then
7403 case $cross_compiling:$ac_tool_warned in
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7406 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7407 ac_tool_warned=yes ;;
7409 OTOOL64=$ac_ct_OTOOL64
7412 OTOOL64="$ac_cv_prog_OTOOL64"
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7442 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7443 if ${lt_cv_apple_cc_single_mod+:} false; then :
7444 $as_echo_n "(cached
) " >&6
7446 lt_cv_apple_cc_single_mod=no
7447 if test -z "${LT_MULTI_MODULE}"; then
7448 # By default we will add the -single_module flag. You can override
7449 # by either setting the environment variable LT_MULTI_MODULE
7450 # non-empty at configure time, or by adding -multi_module to the
7452 rm -rf libconftest.dylib*
7453 echo "int foo
(void
){return 1;}" > conftest.c
7454 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7455 -dynamiclib -Wl,-single_module conftest.c
" >&5
7456 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7457 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7459 # If there is a non-empty error log, and "single_module
"
7460 # appears in it, assume the flag caused a linker warning
7461 if test -s conftest.err && $GREP single_module conftest.err; then
7462 cat conftest.err >&5
7463 # Otherwise, if the output was created with a 0 exit code from
7464 # the compiler, it worked.
7465 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7466 lt_cv_apple_cc_single_mod=yes
7468 cat conftest.err >&5
7470 rm -rf libconftest.dylib*
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7475 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7478 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7479 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7480 $as_echo_n "(cached
) " >&6
7482 lt_cv_ld_exported_symbols_list=no
7483 save_LDFLAGS=$LDFLAGS
7484 echo "_main
" > conftest.sym
7485 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h. */
7497 if ac_fn_c_try_link "$LINENO"; then :
7498 lt_cv_ld_exported_symbols_list=yes
7500 lt_cv_ld_exported_symbols_list=no
7502 rm -f core conftest.err conftest.$ac_objext \
7503 conftest$ac_exeext conftest.$ac_ext
7504 LDFLAGS="$save_LDFLAGS"
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7508 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
7511 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
7512 if ${lt_cv_ld_force_load+:} false; then :
7513 $as_echo_n "(cached
) " >&6
7515 lt_cv_ld_force_load=no
7516 cat > conftest.c << _LT_EOF
7517 int forced_loaded() { return 2;}
7519 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
7520 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7521 echo "$AR cru libconftest.a conftest.o
" >&5
7522 $AR cru libconftest.a conftest.o 2>&5
7523 echo "$RANLIB libconftest.a
" >&5
7524 $RANLIB libconftest.a 2>&5
7525 cat > conftest.c << _LT_EOF
7526 int main() { return 0;}
7528 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
7529 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7531 if test -s conftest.err && $GREP force_load conftest.err; then
7532 cat conftest.err >&5
7533 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7534 lt_cv_ld_force_load=yes
7536 cat conftest.err >&5
7538 rm -f conftest.err libconftest.a conftest conftest.c
7539 rm -rf conftest.dSYM
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
7543 $as_echo "$lt_cv_ld_force_load" >&6; }
7545 rhapsody* | darwin1.[012])
7546 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7548 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7549 darwin*) # darwin 5.x on
7550 # if running on 10.5 or later, the deployment target defaults
7551 # to the OS version, if on x86, and 10.4, the deployment
7552 # target defaults to 10.4. Don't you love it?
7553 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7554 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7555 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7557 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7559 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7563 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7564 _lt_dar_single_mod='$single_module'
7566 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7567 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7569 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7571 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
7572 _lt_dsymutil='~$DSYMUTIL $lib || :'
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7581 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7582 if ${ac_cv_header_stdc+:} false; then :
7583 $as_echo_n "(cached
) " >&6
7585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7586 /* end confdefs.h. */
7600 if ac_fn_c_try_compile "$LINENO"; then :
7601 ac_cv_header_stdc=yes
7603 ac_cv_header_stdc=no
7605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7607 if test $ac_cv_header_stdc = yes; then
7608 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7610 /* end confdefs.h. */
7614 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7615 $EGREP "memchr
" >/dev/null 2>&1; then :
7618 ac_cv_header_stdc=no
7624 if test $ac_cv_header_stdc = yes; then
7625 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h. */
7631 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7632 $EGREP "free
" >/dev/null 2>&1; then :
7635 ac_cv_header_stdc=no
7641 if test $ac_cv_header_stdc = yes; then
7642 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7643 if test "$cross_compiling" = yes; then :
7646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7650 #if ((' ' & 0x0FF) == 0x020)
7651 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7652 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7654 # define ISLOWER(c) \
7655 (('a' <= (c) && (c) <= 'i') \
7656 || ('j' <= (c) && (c) <= 'r') \
7657 || ('s' <= (c) && (c) <= 'z'))
7658 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7661 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7666 for (i = 0; i < 256; i++)
7667 if (XOR (islower (i), ISLOWER (i))
7668 || toupper (i) != TOUPPER (i))
7673 if ac_fn_c_try_run "$LINENO"; then :
7676 ac_cv_header_stdc=no
7678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7679 conftest.$ac_objext conftest.beam conftest.$ac_ext
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7685 $as_echo "$ac_cv_header_stdc" >&6; }
7686 if test $ac_cv_header_stdc = yes; then
7688 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7693 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7694 inttypes.h stdint.h unistd.h
7696 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7697 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7699 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7700 cat >>confdefs.h
<<_ACEOF
7701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7709 for ac_header
in dlfcn.h
7711 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7713 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7714 cat >>confdefs.h
<<_ACEOF
7715 #define HAVE_DLFCN_H 1
7735 # Check whether --enable-shared was given.
7736 if test "${enable_shared+set}" = set; then :
7737 enableval
=$enable_shared; p
=${PACKAGE-default}
7739 yes) enable_shared
=yes ;;
7740 no
) enable_shared
=no
;;
7743 # Look at the argument we got. We use all the common list separators.
7744 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7745 for pkg
in $enableval; do
7747 if test "X$pkg" = "X$p"; then
7766 # Check whether --enable-static was given.
7767 if test "${enable_static+set}" = set; then :
7768 enableval
=$enable_static; p
=${PACKAGE-default}
7770 yes) enable_static
=yes ;;
7771 no
) enable_static
=no
;;
7774 # Look at the argument we got. We use all the common list separators.
7775 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7776 for pkg
in $enableval; do
7778 if test "X$pkg" = "X$p"; then
7798 # Check whether --with-pic was given.
7799 if test "${with_pic+set}" = set; then :
7800 withval
=$with_pic; lt_p
=${PACKAGE-default}
7802 yes|no
) pic_mode
=$withval ;;
7805 # Look at the argument we got. We use all the common list separators.
7806 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7807 for lt_pkg
in $withval; do
7809 if test "X$lt_pkg" = "X$lt_p"; then
7821 test -z "$pic_mode" && pic_mode
=default
7829 # Check whether --enable-fast-install was given.
7830 if test "${enable_fast_install+set}" = set; then :
7831 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7833 yes) enable_fast_install
=yes ;;
7834 no
) enable_fast_install
=no
;;
7836 enable_fast_install
=no
7837 # Look at the argument we got. We use all the common list separators.
7838 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7839 for pkg
in $enableval; do
7841 if test "X$pkg" = "X$p"; then
7842 enable_fast_install
=yes
7849 enable_fast_install
=yes
7862 # This can be used to rebuild libtool when needed
7863 LIBTOOL_DEPS
="$ltmain"
7865 # Always use our own libtool.
7866 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7897 test -z "$LN_S" && LN_S
="ln -s"
7912 if test -n "${ZSH_VERSION+set}" ; then
7913 setopt NO_GLOB_SUBST
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7917 $as_echo_n "checking for objdir... " >&6; }
7918 if ${lt_cv_objdir+:} false
; then :
7919 $as_echo_n "(cached) " >&6
7921 rm -f .libs
2>/dev
/null
7922 mkdir .libs
2>/dev
/null
7923 if test -d .libs
; then
7926 # MS-DOS does not allow filenames that begin with a dot.
7929 rmdir .libs
2>/dev
/null
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7932 $as_echo "$lt_cv_objdir" >&6; }
7933 objdir
=$lt_cv_objdir
7939 cat >>confdefs.h
<<_ACEOF
7940 #define LT_OBJDIR "$lt_cv_objdir/"
7948 # AIX sometimes has problems with the GCC collect2 program. For some
7949 # reason, if we set the COLLECT_NAMES environment variable, the problems
7950 # vanish in a puff of smoke.
7951 if test "X${COLLECT_NAMES+set}" != Xset
; then
7953 export COLLECT_NAMES
7960 can_build_shared
=yes
7962 # All known linkers require a `.a' archive for static linking (except MSVC,
7963 # which needs '.lib').
7966 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7969 old_CFLAGS
="$CFLAGS"
7971 # Set sane defaults for various variables
7972 test -z "$CC" && CC
=cc
7973 test -z "$LTCC" && LTCC
=$CC
7974 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7975 test -z "$LD" && LD
=ld
7976 test -z "$ac_objext" && ac_objext
=o
7978 for cc_temp
in $compiler""; do
7980 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7981 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7986 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7989 # Only perform the check for file, if the check method requires it
7990 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7991 case $deplibs_check_method in
7993 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7995 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7996 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7997 $as_echo_n "(cached) " >&6
8001 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8004 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8005 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8006 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8007 for ac_dir
in $ac_dummy; do
8009 test -z "$ac_dir" && ac_dir
=.
8010 if test -f $ac_dir/${ac_tool_prefix}file; then
8011 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8012 if test -n "$file_magic_test_file"; then
8013 case $deplibs_check_method in
8015 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8016 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8017 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8018 $EGREP "$file_magic_regex" > /dev
/null
; then
8023 *** Warning: the command libtool uses to detect shared libraries,
8024 *** $file_magic_cmd, produces output that libtool cannot recognize.
8025 *** The result is that libtool may fail to recognize shared libraries
8026 *** as such. This will affect the creation of libtool libraries that
8027 *** depend on shared libraries, but programs linked with such libtool
8028 *** libraries will work regardless of this problem. Nevertheless, you
8029 *** may want to report the problem to your system manager and/or to
8030 *** bug-libtool@gnu.org
8040 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8045 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8046 if test -n "$MAGIC_CMD"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8048 $as_echo "$MAGIC_CMD" >&6; }
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8051 $as_echo "no" >&6; }
8058 if test -z "$lt_cv_path_MAGIC_CMD"; then
8059 if test -n "$ac_tool_prefix"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8061 $as_echo_n "checking for file... " >&6; }
8062 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8063 $as_echo_n "(cached) " >&6
8067 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8070 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8071 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8072 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8073 for ac_dir
in $ac_dummy; do
8075 test -z "$ac_dir" && ac_dir
=.
8076 if test -f $ac_dir/file; then
8077 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8078 if test -n "$file_magic_test_file"; then
8079 case $deplibs_check_method in
8081 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8082 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8083 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8084 $EGREP "$file_magic_regex" > /dev
/null
; then
8089 *** Warning: the command libtool uses to detect shared libraries,
8090 *** $file_magic_cmd, produces output that libtool cannot recognize.
8091 *** The result is that libtool may fail to recognize shared libraries
8092 *** as such. This will affect the creation of libtool libraries that
8093 *** depend on shared libraries, but programs linked with such libtool
8094 *** libraries will work regardless of this problem. Nevertheless, you
8095 *** may want to report the problem to your system manager and/or to
8096 *** bug-libtool@gnu.org
8106 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8111 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8112 if test -n "$MAGIC_CMD"; then
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8114 $as_echo "$MAGIC_CMD" >&6; }
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8117 $as_echo "no" >&6; }
8130 # Use C for the default configuration in the libtool script
8134 ac_cpp
='$CPP $CPPFLAGS'
8135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8140 # Source file extension for C test sources.
8143 # Object file extension for compiled C test sources.
8147 # Code to be used in simple compile tests
8148 lt_simple_compile_test_code
="int some_variable = 0;"
8150 # Code to be used in simple link tests
8151 lt_simple_link_test_code
='int main(){return(0);}'
8159 # If no C compiler was specified, use CC.
8162 # If no C compiler flags were specified, use CFLAGS.
8163 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8165 # Allow CC to be a program name with arguments.
8168 # Save the default compiler, since it gets overwritten when the other
8169 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8170 compiler_DEFAULT
=$CC
8172 # save warnings/boilerplate of simple test code
8173 ac_outfile
=conftest.
$ac_objext
8174 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8175 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8176 _lt_compiler_boilerplate
=`cat conftest.err`
8179 ac_outfile
=conftest.
$ac_objext
8180 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8181 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8182 _lt_linker_boilerplate
=`cat conftest.err`
8186 if test -n "$compiler"; then
8188 lt_prog_compiler_no_builtin_flag
=
8190 if test "$GCC" = yes; then
8191 case $cc_basename in
8193 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8195 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8199 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8200 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8201 $as_echo_n "(cached) " >&6
8203 lt_cv_prog_compiler_rtti_exceptions
=no
8204 ac_outfile
=conftest.
$ac_objext
8205 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8206 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8207 # Insert the option either (1) after the last *FLAGS variable, or
8208 # (2) before a word containing "conftest.", or (3) at the end.
8209 # Note that $ac_compile itself does not contain backslashes and begins
8210 # with a dollar sign (not a hyphen), so the echo should work correctly.
8211 # The option is referenced via a variable to avoid confusing sed.
8212 lt_compile
=`echo "$ac_compile" | $SED \
8213 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8214 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8215 -e 's:$: $lt_compiler_flag:'`
8216 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8217 (eval "$lt_compile" 2>conftest.err
)
8219 cat conftest.err
>&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 if (exit $ac_status) && test -s "$ac_outfile"; then
8222 # The compiler can only warn and ignore the option if not recognized
8223 # So say no if there are warnings other than the usual output.
8224 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8225 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8226 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8227 lt_cv_prog_compiler_rtti_exceptions
=yes
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8234 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8236 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8237 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8249 lt_prog_compiler_wl
=
8250 lt_prog_compiler_pic
=
8251 lt_prog_compiler_static
=
8254 if test "$GCC" = yes; then
8255 lt_prog_compiler_wl
='-Wl,'
8256 lt_prog_compiler_static
='-static'
8260 # All AIX code is PIC.
8261 if test "$host_cpu" = ia64
; then
8262 # AIX 5 now supports IA64 processor
8263 lt_prog_compiler_static
='-Bstatic'
8270 # see comment about AmigaOS4 .so support
8271 lt_prog_compiler_pic
='-fPIC'
8274 # FIXME: we need at least 68020 code to build shared libraries, but
8275 # adding the `-m68020' flag to GCC prevents building anything better,
8277 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8282 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8283 # PIC is the default for these OSes.
8286 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8287 # This hack is so that the source file can tell whether it is being
8288 # built for inclusion in a dll (and should export symbols for example).
8289 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8290 # (--disable-auto-import) libraries
8291 lt_prog_compiler_pic
='-DDLL_EXPORT'
8294 darwin
* | rhapsody
*)
8295 # PIC is the default on this platform
8296 # Common symbols not allowed in MH_DYLIB files
8297 lt_prog_compiler_pic
='-fno-common'
8301 # PIC is the default for Haiku.
8302 # The "-static" flag exists, but is broken.
8303 lt_prog_compiler_static
=
8307 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8308 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8309 # sets the default TLS model and affects inlining.
8315 lt_prog_compiler_pic
='-fPIC'
8321 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8322 # Instead, we relocate shared libraries at runtime.
8326 # Just because we use GCC doesn't mean we suddenly get shared libraries
8327 # on systems that don't support them.
8328 lt_prog_compiler_can_build_shared
=no
8333 # QNX uses GNU C++, but need to define -shared option too, otherwise
8335 lt_prog_compiler_pic
='-fPIC -shared'
8339 if test -d /usr
/nec
; then
8340 lt_prog_compiler_pic
=-Kconform_pic
8345 lt_prog_compiler_pic
='-fPIC'
8349 case $cc_basename in
8350 nvcc
*) # Cuda Compiler Driver 2.2
8351 lt_prog_compiler_wl
='-Xlinker '
8352 if test -n "$lt_prog_compiler_pic"; then
8353 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8358 # PORTME Check for flag to pass linker flags through the system compiler.
8361 lt_prog_compiler_wl
='-Wl,'
8362 if test "$host_cpu" = ia64
; then
8363 # AIX 5 now supports IA64 processor
8364 lt_prog_compiler_static
='-Bstatic'
8366 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8370 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8371 # This hack is so that the source file can tell whether it is being
8372 # built for inclusion in a dll (and should export symbols for example).
8373 lt_prog_compiler_pic
='-DDLL_EXPORT'
8376 hpux9
* | hpux10
* | hpux11
*)
8377 lt_prog_compiler_wl
='-Wl,'
8378 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8385 lt_prog_compiler_pic
='+Z'
8388 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8389 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8392 irix5
* | irix6
* | nonstopux
*)
8393 lt_prog_compiler_wl
='-Wl,'
8394 # PIC (with -KPIC) is the default.
8395 lt_prog_compiler_static
='-non_shared'
8398 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8399 case $cc_basename in
8400 # old Intel for x86_64 which still supported -KPIC.
8402 lt_prog_compiler_wl
='-Wl,'
8403 lt_prog_compiler_pic
='-KPIC'
8404 lt_prog_compiler_static
='-static'
8406 # icc used to be incompatible with GCC.
8407 # ICC 10 doesn't accept -KPIC any more.
8409 lt_prog_compiler_wl
='-Wl,'
8410 lt_prog_compiler_pic
='-fPIC'
8411 lt_prog_compiler_static
='-static'
8413 # Lahey Fortran 8.1.
8415 lt_prog_compiler_wl
='-Wl,'
8416 lt_prog_compiler_pic
='--shared'
8417 lt_prog_compiler_static
='--static'
8420 # NAG Fortran compiler
8421 lt_prog_compiler_wl
='-Wl,-Wl,,'
8422 lt_prog_compiler_pic
='-PIC'
8423 lt_prog_compiler_static
='-Bstatic'
8425 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8426 # Portland Group compilers (*not* the Pentium gcc compiler,
8427 # which looks to be a dead project)
8428 lt_prog_compiler_wl
='-Wl,'
8429 lt_prog_compiler_pic
='-fpic'
8430 lt_prog_compiler_static
='-Bstatic'
8433 lt_prog_compiler_wl
='-Wl,'
8434 # All Alpha code is PIC.
8435 lt_prog_compiler_static
='-non_shared'
8437 xl
* | bgxl
* | bgf
* | mpixl
*)
8438 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8439 lt_prog_compiler_wl
='-Wl,'
8440 lt_prog_compiler_pic
='-qpic'
8441 lt_prog_compiler_static
='-qstaticlink'
8444 case `$CC -V 2>&1 | sed 5q` in
8445 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8446 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8447 lt_prog_compiler_pic
='-KPIC'
8448 lt_prog_compiler_static
='-Bstatic'
8449 lt_prog_compiler_wl
=''
8451 *Sun\ F
* |
*Sun
*Fortran
*)
8452 lt_prog_compiler_pic
='-KPIC'
8453 lt_prog_compiler_static
='-Bstatic'
8454 lt_prog_compiler_wl
='-Qoption ld '
8458 lt_prog_compiler_pic
='-KPIC'
8459 lt_prog_compiler_static
='-Bstatic'
8460 lt_prog_compiler_wl
='-Wl,'
8462 *Intel
*\
[CF
]*Compiler
*)
8463 lt_prog_compiler_wl
='-Wl,'
8464 lt_prog_compiler_pic
='-fPIC'
8465 lt_prog_compiler_static
='-static'
8468 lt_prog_compiler_wl
='-Wl,'
8469 lt_prog_compiler_pic
='-fpic'
8470 lt_prog_compiler_static
='-Bstatic'
8478 lt_prog_compiler_pic
='-KPIC'
8479 lt_prog_compiler_static
='-Bstatic'
8483 # QNX uses GNU C++, but need to define -shared option too, otherwise
8485 lt_prog_compiler_pic
='-fPIC -shared'
8488 osf3
* | osf4
* | osf5
*)
8489 lt_prog_compiler_wl
='-Wl,'
8490 # All OSF/1 code is PIC.
8491 lt_prog_compiler_static
='-non_shared'
8495 lt_prog_compiler_static
='-non_shared'
8499 lt_prog_compiler_pic
='-KPIC'
8500 lt_prog_compiler_static
='-Bstatic'
8501 case $cc_basename in
8502 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8503 lt_prog_compiler_wl
='-Qoption ld ';;
8505 lt_prog_compiler_wl
='-Wl,';;
8510 lt_prog_compiler_wl
='-Qoption ld '
8511 lt_prog_compiler_pic
='-PIC'
8512 lt_prog_compiler_static
='-Bstatic'
8515 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8516 lt_prog_compiler_wl
='-Wl,'
8517 lt_prog_compiler_pic
='-KPIC'
8518 lt_prog_compiler_static
='-Bstatic'
8522 if test -d /usr
/nec
;then
8523 lt_prog_compiler_pic
='-Kconform_pic'
8524 lt_prog_compiler_static
='-Bstatic'
8528 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8529 lt_prog_compiler_wl
='-Wl,'
8530 lt_prog_compiler_pic
='-KPIC'
8531 lt_prog_compiler_static
='-Bstatic'
8535 lt_prog_compiler_wl
='-Wl,'
8536 lt_prog_compiler_can_build_shared
=no
8540 lt_prog_compiler_pic
='-pic'
8541 lt_prog_compiler_static
='-Bstatic'
8545 lt_prog_compiler_can_build_shared
=no
8551 # For platforms which do not support PIC, -DPIC is meaningless:
8553 lt_prog_compiler_pic
=
8556 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8561 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8562 if ${lt_cv_prog_compiler_pic+:} false
; then :
8563 $as_echo_n "(cached) " >&6
8565 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8568 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8569 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8572 # Check to make sure the PIC flag actually works.
8574 if test -n "$lt_prog_compiler_pic"; then
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8576 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8577 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8578 $as_echo_n "(cached) " >&6
8580 lt_cv_prog_compiler_pic_works
=no
8581 ac_outfile
=conftest.
$ac_objext
8582 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8583 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8584 # Insert the option either (1) after the last *FLAGS variable, or
8585 # (2) before a word containing "conftest.", or (3) at the end.
8586 # Note that $ac_compile itself does not contain backslashes and begins
8587 # with a dollar sign (not a hyphen), so the echo should work correctly.
8588 # The option is referenced via a variable to avoid confusing sed.
8589 lt_compile
=`echo "$ac_compile" | $SED \
8590 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8591 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8592 -e 's:$: $lt_compiler_flag:'`
8593 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8594 (eval "$lt_compile" 2>conftest.err
)
8596 cat conftest.err
>&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 if (exit $ac_status) && test -s "$ac_outfile"; then
8599 # The compiler can only warn and ignore the option if not recognized
8600 # So say no if there are warnings other than the usual output.
8601 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8602 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8603 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8604 lt_cv_prog_compiler_pic_works
=yes
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8611 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8613 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8614 case $lt_prog_compiler_pic in
8616 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8619 lt_prog_compiler_pic
=
8620 lt_prog_compiler_can_build_shared
=no
8636 # Check to make sure the static flag actually works.
8638 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8640 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8641 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8642 $as_echo_n "(cached) " >&6
8644 lt_cv_prog_compiler_static_works
=no
8645 save_LDFLAGS
="$LDFLAGS"
8646 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8647 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8648 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8649 # The linker can only warn and ignore the option if not recognized
8650 # So say no if there are warnings
8651 if test -s conftest.err
; then
8652 # Append any errors to the config.log.
8653 cat conftest.err
1>&5
8654 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8655 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8656 if diff conftest.exp conftest.er2
>/dev
/null
; then
8657 lt_cv_prog_compiler_static_works
=yes
8660 lt_cv_prog_compiler_static_works
=yes
8664 LDFLAGS
="$save_LDFLAGS"
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8668 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8670 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8673 lt_prog_compiler_static
=
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8683 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8684 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8685 $as_echo_n "(cached) " >&6
8687 lt_cv_prog_compiler_c_o
=no
8688 $RM -r conftest
2>/dev
/null
8692 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8694 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8695 # Insert the option either (1) after the last *FLAGS variable, or
8696 # (2) before a word containing "conftest.", or (3) at the end.
8697 # Note that $ac_compile itself does not contain backslashes and begins
8698 # with a dollar sign (not a hyphen), so the echo should work correctly.
8699 lt_compile
=`echo "$ac_compile" | $SED \
8700 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8701 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8702 -e 's:$: $lt_compiler_flag:'`
8703 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8704 (eval "$lt_compile" 2>out
/conftest.err
)
8706 cat out
/conftest.err
>&5
8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8710 # The compiler can only warn and ignore the option if not recognized
8711 # So say no if there are warnings
8712 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8713 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8714 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8715 lt_cv_prog_compiler_c_o
=yes
8720 # SGI C++ compiler will create directory out/ii_files/ for
8721 # template instantiation
8722 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8723 $RM out
/* && rmdir out
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8730 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8738 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8739 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8740 $as_echo_n "(cached) " >&6
8742 lt_cv_prog_compiler_c_o
=no
8743 $RM -r conftest
2>/dev
/null
8747 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8749 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8750 # Insert the option either (1) after the last *FLAGS variable, or
8751 # (2) before a word containing "conftest.", or (3) at the end.
8752 # Note that $ac_compile itself does not contain backslashes and begins
8753 # with a dollar sign (not a hyphen), so the echo should work correctly.
8754 lt_compile
=`echo "$ac_compile" | $SED \
8755 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8756 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8757 -e 's:$: $lt_compiler_flag:'`
8758 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8759 (eval "$lt_compile" 2>out
/conftest.err
)
8761 cat out
/conftest.err
>&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8765 # The compiler can only warn and ignore the option if not recognized
8766 # So say no if there are warnings
8767 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8768 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8769 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8770 lt_cv_prog_compiler_c_o
=yes
8775 # SGI C++ compiler will create directory out/ii_files/ for
8776 # template instantiation
8777 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8778 $RM out
/* && rmdir out
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8785 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8790 hard_links
="nottested"
8791 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8792 # do not overwrite the value of need_locks provided by the user
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8794 $as_echo_n "checking if we can lock with hard links... " >&6; }
8797 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8799 ln conftest.a conftest.b
2>&5 || hard_links
=no
8800 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8802 $as_echo "$hard_links" >&6; }
8803 if test "$hard_links" = no
; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8805 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8818 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8821 allow_undefined_flag
=
8822 always_export_symbols
=no
8824 archive_expsym_cmds
=
8825 compiler_needs_object
=no
8826 enable_shared_with_static_runtimes
=no
8827 export_dynamic_flag_spec
=
8828 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8829 hardcode_automatic
=no
8831 hardcode_direct_absolute
=no
8832 hardcode_libdir_flag_spec
=
8833 hardcode_libdir_separator
=
8835 hardcode_shlibpath_var
=unsupported
8837 link_all_deplibs
=unknown
8840 old_archive_from_new_cmds
=
8841 old_archive_from_expsyms_cmds
=
8842 thread_safe_flag_spec
=
8843 whole_archive_flag_spec
=
8844 # include_expsyms should be a list of space-separated symbols to be *always*
8845 # included in the symbol list
8847 # exclude_expsyms can be an extended regexp of symbols to exclude
8848 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8849 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8850 # as well as any symbol that contains `d'.
8851 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8852 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8853 # platforms (ab)use it in PIC code, but their linkers get confused if
8854 # the symbol is explicitly referenced. Since portable code cannot
8855 # rely on this symbol name, it's probably fine to never include it in
8856 # preloaded symbol tables.
8857 # Exclude shared library initialization/finalization symbols.
8858 extract_expsyms_cmds
=
8861 cygwin
* | mingw
* | pw32
* | cegcc
*)
8862 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8863 # When not using gcc, we currently assume that we are using
8864 # Microsoft Visual C++.
8865 if test "$GCC" != yes; then
8870 # we just hope/assume this is gcc and not c89 (= MSVC++)
8880 # On some targets, GNU ld is compatible enough with the native linker
8881 # that we're better off using the native interface for both.
8882 lt_use_gnu_ld_interface
=no
8883 if test "$with_gnu_ld" = yes; then
8886 # The AIX port of GNU ld has always aspired to compatibility
8887 # with the native linker. However, as the warning in the GNU ld
8888 # block says, versions before 2.19.5* couldn't really create working
8889 # shared libraries, regardless of the interface used.
8890 case `$LD -v 2>&1` in
8891 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8892 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8893 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8895 lt_use_gnu_ld_interface
=yes
8900 lt_use_gnu_ld_interface
=yes
8905 if test "$lt_use_gnu_ld_interface" = yes; then
8906 # If archive_cmds runs LD, not CC, wlarc should be empty
8909 # Set some defaults for GNU ld with shared library support. These
8910 # are reset later if shared libraries are not supported. Putting them
8911 # here allows them to be overridden if necessary.
8912 runpath_var
=LD_RUN_PATH
8913 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8914 export_dynamic_flag_spec
='${wl}--export-dynamic'
8915 # ancient GNU ld didn't support --whole-archive et. al.
8916 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8917 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8919 whole_archive_flag_spec
=
8921 supports_anon_versioning
=no
8922 case `$LD -v 2>&1` in
8923 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8924 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8925 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8926 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8927 *\
2.11.
*) ;; # other 2.11 versions
8928 *) supports_anon_versioning
=yes ;;
8931 # See if GNU ld supports shared libraries.
8934 # On AIX/PPC, the GNU linker is very broken
8935 if test "$host_cpu" != ia64
; then
8939 *** Warning: the GNU linker, at least up to release 2.19, is reported
8940 *** to be unable to reliably create shared libraries on AIX.
8941 *** Therefore, libtool is disabling shared libraries support. If you
8942 *** really care for shared libraries, you may want to install binutils
8943 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8944 *** You will then need to restart the configuration process.
8953 # see comment about AmigaOS4 .so support
8954 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8955 archive_expsym_cmds
=''
8958 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)'
8959 hardcode_libdir_flag_spec
='-L$libdir'
8960 hardcode_minus_L
=yes
8966 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8967 allow_undefined_flag
=unsupported
8968 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8969 # support --undefined. This deserves some investigation. FIXME
8970 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8976 cygwin
* | mingw
* | pw32
* | cegcc
*)
8977 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8978 # as there is no search path for DLLs.
8979 hardcode_libdir_flag_spec
='-L$libdir'
8980 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8981 allow_undefined_flag
=unsupported
8982 always_export_symbols
=no
8983 enable_shared_with_static_runtimes
=yes
8984 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8985 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8987 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8988 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8989 # If the export-symbols file already is a .def file (1st line
8990 # is EXPORTS), use it as is; otherwise, prepend...
8991 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8992 cp $export_symbols $output_objdir/$soname.def;
8994 echo EXPORTS > $output_objdir/$soname.def;
8995 cat $export_symbols >> $output_objdir/$soname.def;
8997 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9004 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9005 link_all_deplibs
=yes
9010 hardcode_shlibpath_var
=no
9011 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9012 export_dynamic_flag_spec
='${wl}-E'
9013 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9014 # Instead, shared libraries are loaded at an image base (0x10000000 by
9015 # default) and relocated if they conflict, which is a slow very memory
9016 # consuming and fragmenting process. To avoid this, we pick a random,
9017 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9018 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9019 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9020 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'
9023 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9025 if test "$host_os" = linux-dietlibc
; then
9026 case $cc_basename in
9027 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9030 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9031 && test "$tmp_diet" = no
9033 tmp_addflag
=' $pic_flag'
9034 tmp_sharedflag
='-shared'
9035 case $cc_basename,$host_cpu in
9036 pgcc
*) # Portland Group C compiler
9037 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9038 tmp_addflag
=' $pic_flag'
9040 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9041 # Portland Group f77 and f90 compilers
9042 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9043 tmp_addflag
=' $pic_flag -Mnomain' ;;
9044 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9045 tmp_addflag
=' -i_dynamic' ;;
9046 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9047 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9048 ifc
* | ifort
*) # Intel Fortran compiler
9049 tmp_addflag
=' -nofor_main' ;;
9050 lf95
*) # Lahey Fortran 8.1
9051 whole_archive_flag_spec
=
9052 tmp_sharedflag
='--shared' ;;
9053 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9054 tmp_sharedflag
='-qmkshrobj'
9056 nvcc
*) # Cuda Compiler Driver 2.2
9057 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9058 compiler_needs_object
=yes
9061 case `$CC -V 2>&1 | sed 5q` in
9062 *Sun\ C
*) # Sun C 5.9
9063 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9064 compiler_needs_object
=yes
9065 tmp_sharedflag
='-G' ;;
9066 *Sun\ F
*) # Sun Fortran 8.3
9067 tmp_sharedflag
='-G' ;;
9069 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9071 if test "x$supports_anon_versioning" = xyes
; then
9072 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9073 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9074 echo "local: *; };" >> $output_objdir/$libname.ver~
9075 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9078 case $cc_basename in
9079 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9080 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9081 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9082 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9083 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9084 if test "x$supports_anon_versioning" = xyes
; then
9085 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9086 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9087 echo "local: *; };" >> $output_objdir/$libname.ver~
9088 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9098 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9099 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9102 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9103 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9108 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9112 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9113 *** create shared libraries on Solaris systems. Therefore, libtool
9114 *** is disabling shared libraries support. We urge you to upgrade GNU
9115 *** binutils to release 2.9.1 or newer. Another option is to modify
9116 *** your PATH or compiler configuration so that the native linker is
9117 *** used, and then restart.
9120 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9121 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9128 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9129 case `$LD -v 2>&1` in
9130 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9134 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9135 *** reliably create shared libraries on SCO systems. Therefore, libtool
9136 *** is disabling shared libraries support. We urge you to upgrade GNU
9137 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9138 *** your PATH or compiler configuration so that the native linker is
9139 *** used, and then restart.
9144 # For security reasons, it is highly recommended that you always
9145 # use absolute paths for naming shared libraries, and exclude the
9146 # DT_RUNPATH tag from executables and libraries. But doing so
9147 # requires that you compile everything twice, which is a pain.
9148 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9149 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9150 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9160 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9163 hardcode_shlibpath_var
=no
9167 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9168 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9169 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9176 if test "$ld_shlibs" = no
; then
9178 hardcode_libdir_flag_spec
=
9179 export_dynamic_flag_spec
=
9180 whole_archive_flag_spec
=
9183 # PORTME fill in a description of your system's linker (not GNU ld)
9186 allow_undefined_flag
=unsupported
9187 always_export_symbols
=yes
9188 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'
9189 # Note: this linker hardcodes the directories in LIBPATH if there
9190 # are no directories specified by -L.
9191 hardcode_minus_L
=yes
9192 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9193 # Neither direct hardcoding nor static linking is supported with a
9195 hardcode_direct
=unsupported
9200 if test "$host_cpu" = ia64
; then
9201 # On IA64, the linker does run time linking by default, so we don't
9202 # have to do anything special.
9203 aix_use_runtimelinking
=no
9204 exp_sym_flag
='-Bexport'
9207 # If we're using GNU nm, then we don't want the "-C" option.
9208 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9209 # Also, AIX nm treats weak defined symbols like other global
9210 # defined symbols, whereas GNU nm marks them as "W".
9211 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9212 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9214 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'
9216 aix_use_runtimelinking
=no
9218 # Test if we are trying to use run time linking or normal
9219 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9220 # need to do runtime linking.
9221 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9222 for ld_flag
in $LDFLAGS; do
9223 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9224 aix_use_runtimelinking
=yes
9231 exp_sym_flag
='-bexport'
9232 no_entry_flag
='-bnoentry'
9235 # When large executables or shared objects are built, AIX ld can
9236 # have problems creating the table of contents. If linking a library
9237 # or program results in "error TOC overflow" add -mminimal-toc to
9238 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9239 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9243 hardcode_direct_absolute
=yes
9244 hardcode_libdir_separator
=':'
9245 link_all_deplibs
=yes
9246 file_list_spec
='${wl}-f,'
9248 if test "$GCC" = yes; then
9249 case $host_os in aix4.
[012]|aix4.
[012].
*)
9250 # We only want to do this on AIX 4.2 and lower, the check
9251 # below for broken collect2 doesn't work under 4.3+
9252 collect2name
=`${CC} -print-prog-name=collect2`
9253 if test -f "$collect2name" &&
9254 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9256 # We have reworked collect2
9259 # We have old collect2
9260 hardcode_direct
=unsupported
9261 # It fails to find uninstalled libraries when the uninstalled
9262 # path is not listed in the libpath. Setting hardcode_minus_L
9263 # to unsupported forces relinking
9264 hardcode_minus_L
=yes
9265 hardcode_libdir_flag_spec
='-L$libdir'
9266 hardcode_libdir_separator
=
9270 shared_flag
='-shared'
9271 if test "$aix_use_runtimelinking" = yes; then
9272 shared_flag
="$shared_flag "'${wl}-G'
9276 if test "$host_cpu" = ia64
; then
9277 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9278 # chokes on -Wl,-G. The following line is correct:
9281 if test "$aix_use_runtimelinking" = yes; then
9282 shared_flag
='${wl}-G'
9284 shared_flag
='${wl}-bM:SRE'
9289 export_dynamic_flag_spec
='${wl}-bexpall'
9290 # It seems that -bexpall does not export symbols beginning with
9291 # underscore (_), so it is better to generate a list of symbols to export.
9292 always_export_symbols
=yes
9293 if test "$aix_use_runtimelinking" = yes; then
9294 # Warning - without using the other runtime loading flags (-brtl),
9295 # -berok will link without error, but may produce a broken library.
9296 allow_undefined_flag
='-berok'
9297 # Determine the default libpath from the value encoded in an
9299 if test "${lt_cv_aix_libpath+set}" = set; then
9300 aix_libpath
=$lt_cv_aix_libpath
9302 if ${lt_cv_aix_libpath_+:} false
; then :
9303 $as_echo_n "(cached) " >&6
9305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9316 if ac_fn_c_try_link
"$LINENO"; then :
9318 lt_aix_libpath_sed
='
9319 /Import File Strings/,/^$/ {
9321 s/^0 *\([^ ]*\) *$/\1/
9325 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9326 # Check for a 64-bit object if we didn't find anything.
9327 if test -z "$lt_cv_aix_libpath_"; then
9328 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9331 rm -f core conftest.err conftest.
$ac_objext \
9332 conftest
$ac_exeext conftest.
$ac_ext
9333 if test -z "$lt_cv_aix_libpath_"; then
9334 lt_cv_aix_libpath_
="/usr/lib:/lib"
9339 aix_libpath
=$lt_cv_aix_libpath_
9342 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9343 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9345 if test "$host_cpu" = ia64
; then
9346 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9347 allow_undefined_flag
="-z nodefs"
9348 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"
9350 # Determine the default libpath from the value encoded in an
9352 if test "${lt_cv_aix_libpath+set}" = set; then
9353 aix_libpath
=$lt_cv_aix_libpath
9355 if ${lt_cv_aix_libpath_+:} false
; then :
9356 $as_echo_n "(cached) " >&6
9358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9369 if ac_fn_c_try_link
"$LINENO"; then :
9371 lt_aix_libpath_sed
='
9372 /Import File Strings/,/^$/ {
9374 s/^0 *\([^ ]*\) *$/\1/
9378 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9379 # Check for a 64-bit object if we didn't find anything.
9380 if test -z "$lt_cv_aix_libpath_"; then
9381 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9384 rm -f core conftest.err conftest.
$ac_objext \
9385 conftest
$ac_exeext conftest.
$ac_ext
9386 if test -z "$lt_cv_aix_libpath_"; then
9387 lt_cv_aix_libpath_
="/usr/lib:/lib"
9392 aix_libpath
=$lt_cv_aix_libpath_
9395 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9396 # Warning - without using the other run time loading flags,
9397 # -berok will link without error, but may produce a broken library.
9398 no_undefined_flag
=' ${wl}-bernotok'
9399 allow_undefined_flag
=' ${wl}-berok'
9400 if test "$with_gnu_ld" = yes; then
9401 # We only use this code for GNU lds that support --whole-archive.
9402 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9404 # Exported symbols can be pulled into shared objects from archives
9405 whole_archive_flag_spec
='$convenience'
9407 archive_cmds_need_lc
=yes
9408 # This is similar to how AIX traditionally builds its shared libraries.
9409 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'
9417 # see comment about AmigaOS4 .so support
9418 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9419 archive_expsym_cmds
=''
9422 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)'
9423 hardcode_libdir_flag_spec
='-L$libdir'
9424 hardcode_minus_L
=yes
9430 export_dynamic_flag_spec
=-rdynamic
9433 cygwin
* | mingw
* | pw32
* | cegcc
*)
9434 # When not using gcc, we currently assume that we are using
9435 # Microsoft Visual C++.
9436 # hardcode_libdir_flag_spec is actually meaningless, as there is
9437 # no search path for DLLs.
9438 case $cc_basename in
9441 hardcode_libdir_flag_spec
=' '
9442 allow_undefined_flag
=unsupported
9443 always_export_symbols
=yes
9445 # Tell ltmain to make .lib files, not .a files.
9447 # Tell ltmain to make .dll files, not .so files.
9449 # FIXME: Setting linknames here is a bad hack.
9450 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9451 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9452 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9454 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9456 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9458 # The linker will not automatically build a static lib if we build a DLL.
9459 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9460 enable_shared_with_static_runtimes
=yes
9461 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9462 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9464 old_postinstall_cmds
='chmod 644 $oldlib'
9465 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9466 lt_tool_outputfile="@TOOL_OUTPUT@"~
9467 case $lt_outputfile in
9470 lt_outputfile="$lt_outputfile.exe"
9471 lt_tool_outputfile="$lt_tool_outputfile.exe"
9474 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9475 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9476 $RM "$lt_outputfile.manifest";
9480 # Assume MSVC wrapper
9481 hardcode_libdir_flag_spec
=' '
9482 allow_undefined_flag
=unsupported
9483 # Tell ltmain to make .lib files, not .a files.
9485 # Tell ltmain to make .dll files, not .so files.
9487 # FIXME: Setting linknames here is a bad hack.
9488 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9489 # The linker will automatically build a .lib file if we build a DLL.
9490 old_archive_from_new_cmds
='true'
9491 # FIXME: Should let the user specify the lib program.
9492 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9493 enable_shared_with_static_runtimes
=yes
9498 darwin
* | rhapsody
*)
9501 archive_cmds_need_lc
=no
9503 hardcode_automatic
=yes
9504 hardcode_shlibpath_var
=unsupported
9505 if test "$lt_cv_ld_force_load" = "yes"; then
9506 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9509 whole_archive_flag_spec
=''
9511 link_all_deplibs
=yes
9512 allow_undefined_flag
="$_lt_dar_allow_undefined"
9513 case $cc_basename in
9514 ifort
*) _lt_dar_can_shared
=yes ;;
9515 *) _lt_dar_can_shared
=$GCC ;;
9517 if test "$_lt_dar_can_shared" = "yes"; then
9518 output_verbose_link_cmd
=func_echo_all
9519 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9520 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9521 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9522 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9531 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9532 hardcode_libdir_flag_spec
='-L$libdir'
9533 hardcode_shlibpath_var
=no
9536 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9537 # support. Future versions do this automatically, but an explicit c++rt0.o
9538 # does not break anything, and helps significantly (at the cost of a little
9541 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9542 hardcode_libdir_flag_spec
='-R$libdir'
9544 hardcode_shlibpath_var
=no
9547 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9549 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9551 hardcode_minus_L
=yes
9552 hardcode_shlibpath_var
=no
9555 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9556 freebsd
* | dragonfly
*)
9557 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9558 hardcode_libdir_flag_spec
='-R$libdir'
9560 hardcode_shlibpath_var
=no
9564 if test "$GCC" = yes; then
9565 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9567 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'
9569 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9570 hardcode_libdir_separator
=:
9573 # hardcode_minus_L: Not really in the search PATH,
9574 # but as the default location of the library.
9575 hardcode_minus_L
=yes
9576 export_dynamic_flag_spec
='${wl}-E'
9580 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9581 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9583 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9585 if test "$with_gnu_ld" = no
; then
9586 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9587 hardcode_libdir_separator
=:
9589 hardcode_direct_absolute
=yes
9590 export_dynamic_flag_spec
='${wl}-E'
9591 # hardcode_minus_L: Not really in the search PATH,
9592 # but as the default location of the library.
9593 hardcode_minus_L
=yes
9598 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9601 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9604 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9607 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9613 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9616 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9620 # Older versions of the 11.00 compiler do not understand -b yet
9621 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9623 $as_echo_n "checking if $CC understands -b... " >&6; }
9624 if ${lt_cv_prog_compiler__b+:} false
; then :
9625 $as_echo_n "(cached) " >&6
9627 lt_cv_prog_compiler__b
=no
9628 save_LDFLAGS
="$LDFLAGS"
9629 LDFLAGS
="$LDFLAGS -b"
9630 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9631 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9632 # The linker can only warn and ignore the option if not recognized
9633 # So say no if there are warnings
9634 if test -s conftest.err
; then
9635 # Append any errors to the config.log.
9636 cat conftest.err
1>&5
9637 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9638 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9639 if diff conftest.exp conftest.er2
>/dev
/null
; then
9640 lt_cv_prog_compiler__b
=yes
9643 lt_cv_prog_compiler__b
=yes
9647 LDFLAGS
="$save_LDFLAGS"
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9651 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9653 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9654 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9656 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9662 if test "$with_gnu_ld" = no
; then
9663 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9664 hardcode_libdir_separator
=:
9669 hardcode_shlibpath_var
=no
9673 hardcode_direct_absolute
=yes
9674 export_dynamic_flag_spec
='${wl}-E'
9676 # hardcode_minus_L: Not really in the search PATH,
9677 # but as the default location of the library.
9678 hardcode_minus_L
=yes
9684 irix5
* | irix6
* | nonstopux
*)
9685 if test "$GCC" = yes; then
9686 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9687 # Try to use the -exported_symbol ld option, if it does not
9688 # work, assume that -exports_file does not work either and
9689 # implicitly export all symbols.
9690 # This should be the same for all languages, so no per-tag cache variable.
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9692 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9693 if ${lt_cv_irix_exported_symbol+:} false
; then :
9694 $as_echo_n "(cached) " >&6
9696 save_LDFLAGS
="$LDFLAGS"
9697 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9699 /* end confdefs.h. */
9700 int foo (void) { return 0; }
9702 if ac_fn_c_try_link
"$LINENO"; then :
9703 lt_cv_irix_exported_symbol
=yes
9705 lt_cv_irix_exported_symbol
=no
9707 rm -f core conftest.err conftest.
$ac_objext \
9708 conftest
$ac_exeext conftest.
$ac_ext
9709 LDFLAGS
="$save_LDFLAGS"
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9712 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9713 if test "$lt_cv_irix_exported_symbol" = yes; then
9714 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9717 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9718 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9720 archive_cmds_need_lc
='no'
9721 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9722 hardcode_libdir_separator
=:
9724 link_all_deplibs
=yes
9728 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9729 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9731 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9733 hardcode_libdir_flag_spec
='-R$libdir'
9735 hardcode_shlibpath_var
=no
9739 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9741 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9742 hardcode_libdir_separator
=:
9743 hardcode_shlibpath_var
=no
9750 if test -f /usr
/libexec
/ld.so
; then
9752 hardcode_shlibpath_var
=no
9753 hardcode_direct_absolute
=yes
9754 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9755 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9756 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9757 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9758 export_dynamic_flag_spec
='${wl}-E'
9761 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9762 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9763 hardcode_libdir_flag_spec
='-R$libdir'
9766 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9767 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9777 hardcode_libdir_flag_spec
='-L$libdir'
9778 hardcode_minus_L
=yes
9779 allow_undefined_flag
=unsupported
9780 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'
9781 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9785 if test "$GCC" = yes; then
9786 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9787 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9789 allow_undefined_flag
=' -expect_unresolved \*'
9790 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9792 archive_cmds_need_lc
='no'
9793 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9794 hardcode_libdir_separator
=:
9797 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9798 if test "$GCC" = yes; then
9799 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9800 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9801 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9803 allow_undefined_flag
=' -expect_unresolved \*'
9804 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9805 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9806 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9808 # Both c and cxx compiler support -rpath directly
9809 hardcode_libdir_flag_spec
='-rpath $libdir'
9811 archive_cmds_need_lc
='no'
9812 hardcode_libdir_separator
=:
9816 no_undefined_flag
=' -z defs'
9817 if test "$GCC" = yes; then
9819 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9820 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9821 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9823 case `$CC -V 2>&1` in
9826 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9828 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9832 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9833 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9834 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9838 hardcode_libdir_flag_spec
='-R$libdir'
9839 hardcode_shlibpath_var
=no
9841 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9843 # The compiler driver will combine and reorder linker options,
9844 # but understands `-z linker_flag'. GCC discards it without `$wl',
9845 # but is careful enough not to reorder.
9846 # Supported since Solaris 2.6 (maybe 2.5.1?)
9847 if test "$GCC" = yes; then
9848 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9850 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9854 link_all_deplibs
=yes
9858 if test "x$host_vendor" = xsequent
; then
9859 # Use $CC to link under sequent, because it throws in some extra .o
9860 # files that make .init and .fini sections work.
9861 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9863 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9865 hardcode_libdir_flag_spec
='-L$libdir'
9867 hardcode_minus_L
=yes
9868 hardcode_shlibpath_var
=no
9872 case $host_vendor in
9874 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875 hardcode_direct
=yes # is this really true???
9878 ## LD is ld it makes a PLAMLIB
9879 ## CC just makes a GrossModule.
9880 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9881 reload_cmds
='$CC -r -o $output$reload_objs'
9885 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9889 runpath_var
='LD_RUN_PATH'
9890 hardcode_shlibpath_var
=no
9894 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9895 hardcode_shlibpath_var
=no
9896 export_dynamic_flag_spec
='-Bexport'
9900 if test -d /usr
/nec
; then
9901 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9902 hardcode_shlibpath_var
=no
9903 runpath_var
=LD_RUN_PATH
9904 hardcode_runpath_var
=yes
9909 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9910 no_undefined_flag
='${wl}-z,text'
9911 archive_cmds_need_lc
=no
9912 hardcode_shlibpath_var
=no
9913 runpath_var
='LD_RUN_PATH'
9915 if test "$GCC" = yes; then
9916 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9917 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9920 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9924 sysv5
* | sco3.2v5
* | sco5v6
*)
9925 # Note: We can NOT use -z defs as we might desire, because we do not
9926 # link with -lc, and that would cause any symbols used from libc to
9927 # always be unresolved, which means just about no library would
9928 # ever link correctly. If we're not using GNU ld we use -z text
9929 # though, which does catch some bad symbols but isn't as heavy-handed
9931 no_undefined_flag
='${wl}-z,text'
9932 allow_undefined_flag
='${wl}-z,nodefs'
9933 archive_cmds_need_lc
=no
9934 hardcode_shlibpath_var
=no
9935 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9936 hardcode_libdir_separator
=':'
9937 link_all_deplibs
=yes
9938 export_dynamic_flag_spec
='${wl}-Bexport'
9939 runpath_var
='LD_RUN_PATH'
9941 if test "$GCC" = yes; then
9942 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9946 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9951 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9952 hardcode_libdir_flag_spec
='-L$libdir'
9953 hardcode_shlibpath_var
=no
9961 if test x
$host_vendor = xsni
; then
9963 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9964 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9971 $as_echo "$ld_shlibs" >&6; }
9972 test "$ld_shlibs" = no
&& can_build_shared
=no
9974 with_gnu_ld
=$with_gnu_ld
9991 # Do we need to explicitly link libc?
9993 case "x$archive_cmds_need_lc" in
9995 # Assume -lc should be added
9996 archive_cmds_need_lc
=yes
9998 if test "$enable_shared" = yes && test "$GCC" = yes; then
9999 case $archive_cmds in
10001 # FIXME: we may have to deal with multi-command sequences.
10004 # Test whether the compiler implicitly links with -lc since on some
10005 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10006 # to ld, don't add -lc before -lgcc.
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10008 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10009 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10010 $as_echo_n "(cached) " >&6
10013 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10016 (eval $ac_compile) 2>&5
10018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10019 test $ac_status = 0; } 2>conftest.err
; then
10022 libobjs
=conftest.
$ac_objext
10024 wl
=$lt_prog_compiler_wl
10025 pic_flag
=$lt_prog_compiler_pic
10031 lt_save_allow_undefined_flag
=$allow_undefined_flag
10032 allow_undefined_flag
=
10033 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10034 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10037 test $ac_status = 0; }
10039 lt_cv_archive_cmds_need_lc
=no
10041 lt_cv_archive_cmds_need_lc
=yes
10043 allow_undefined_flag
=$lt_save_allow_undefined_flag
10045 cat conftest.err
1>&5
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10051 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10052 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10211 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10213 if test "$GCC" = yes; then
10215 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10216 *) lt_awk_arg
="/^libraries:/" ;;
10219 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10220 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10222 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10223 case $lt_search_path_spec in
10225 # if the path contains ";" then we assume it to be the separator
10226 # otherwise default to the standard path separator (i.e. ":") - it is
10227 # assumed that no part of a normal pathname contains ";" but that should
10228 # okay in the real world where ";" in dirpaths is itself problematic.
10229 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10232 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10235 # Ok, now we have the path, separated by spaces, we can step through it
10236 # and add multilib dir if necessary.
10237 lt_tmp_lt_search_path_spec
=
10238 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10239 for lt_sys_path
in $lt_search_path_spec; do
10240 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10241 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10243 test -d "$lt_sys_path" && \
10244 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10247 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10248 BEGIN {RS=" "; FS="/|\n";} {
10251 for (lt_i = NF; lt_i > 0; lt_i--) {
10252 if ($lt_i != "" && $lt_i != ".") {
10253 if ($lt_i == "..") {
10256 if (lt_count == 0) {
10257 lt_foo="/" $lt_i lt_foo;
10264 if (lt_foo != "") { lt_freq[lt_foo]++; }
10265 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10267 # AWK program above erroneously prepends '/' to C:/dos/paths
10270 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10271 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10273 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10275 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10277 library_names_spec
=
10278 libname_spec
='lib$name'
10282 postuninstall_cmds
=
10286 shlibpath_overrides_runpath
=unknown
10288 dynamic_linker
="$host_os ld.so"
10289 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10290 need_lib_prefix
=unknown
10291 hardcode_into_libs
=no
10293 # when you set need_version to no, make sure it does not cause -set_version
10294 # flags to be left without arguments
10295 need_version
=unknown
10299 version_type
=linux
# correct to gnu/linux during the next big refactor
10300 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10301 shlibpath_var
=LIBPATH
10303 # AIX 3 has no versioning support, so we append a major version to the name.
10304 soname_spec
='${libname}${release}${shared_ext}$major'
10308 version_type
=linux
# correct to gnu/linux during the next big refactor
10311 hardcode_into_libs
=yes
10312 if test "$host_cpu" = ia64
; then
10313 # AIX 5 supports IA64
10314 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10315 shlibpath_var
=LD_LIBRARY_PATH
10317 # With GCC up to 2.95.x, collect2 would create an import file
10318 # for dependence libraries. The import file would start with
10319 # the line `#! .'. This would cause the generated library to
10320 # depend on `.', always an invalid library. This was fixed in
10321 # development snapshots of GCC prior to 3.0.
10323 aix4 | aix4.
[01] | aix4.
[01].
*)
10324 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10326 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10329 can_build_shared
=no
10333 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10334 # soname into executable. Probably we can add versioning support to
10335 # collect2, so additional links can be useful in future.
10336 if test "$aix_use_runtimelinking" = yes; then
10337 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10338 # instead of lib<name>.a to let people know that these are not
10339 # typical AIX shared libraries.
10340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10342 # We preserve .a as extension for shared libraries through AIX4.2
10343 # and later when we are not doing run time linking.
10344 library_names_spec
='${libname}${release}.a $libname.a'
10345 soname_spec
='${libname}${release}${shared_ext}$major'
10347 shlibpath_var
=LIBPATH
10354 # Since July 2007 AmigaOS4 officially supports .so libraries.
10355 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10359 library_names_spec
='$libname.ixlibrary $libname.a'
10360 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10361 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10367 library_names_spec
='${libname}${shared_ext}'
10368 dynamic_linker
="$host_os ld.so"
10369 shlibpath_var
=LIBRARY_PATH
10373 version_type
=linux
# correct to gnu/linux during the next big refactor
10375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376 soname_spec
='${libname}${release}${shared_ext}$major'
10377 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10378 shlibpath_var
=LD_LIBRARY_PATH
10379 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10380 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10381 # the default ld.so.conf also contains /usr/contrib/lib and
10382 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10383 # libtool to hard-code these into programs
10386 cygwin
* | mingw
* | pw32
* | cegcc
*)
10387 version_type
=windows
10392 case $GCC,$cc_basename in
10395 library_names_spec
='$libname.dll.a'
10396 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10397 postinstall_cmds
='base_file=`basename \${file}`~
10398 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10399 dldir=$destdir/`dirname \$dlpath`~
10400 test -d \$dldir || mkdir -p \$dldir~
10401 $install_prog $dir/$dlname \$dldir/$dlname~
10402 chmod a+x \$dldir/$dlname~
10403 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10404 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10406 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10407 dlpath=$dir/\$dldll~
10409 shlibpath_overrides_runpath
=yes
10413 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10414 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10416 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10419 # MinGW DLLs use traditional 'lib' prefix
10420 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10423 # pw32 DLLs use 'pw' prefix rather than 'lib'
10424 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10427 dynamic_linker
='Win32 ld.exe'
10432 libname_spec
='$name'
10433 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10434 library_names_spec
='${libname}.dll.lib'
10438 sys_lib_search_path_spec
=
10441 for lt_path
in $LIB
10444 # Let DOS variable expansion print the short 8.3 style file name.
10445 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10446 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10449 # Convert to MSYS style.
10450 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10453 # Convert to unix form, then to dos form, then back to unix form
10454 # but this time dos style (no spaces!) so that the unix form looks
10455 # like /cygdrive/c/PROGRA~1:/cygdr...
10456 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10457 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10458 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10461 sys_lib_search_path_spec
="$LIB"
10462 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10463 # It is most probably a Windows format PATH.
10464 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10466 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10468 # FIXME: find the short name or the path components, as spaces are
10469 # common. (e.g. "Program Files" -> "PROGRA~1")
10473 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10474 postinstall_cmds
='base_file=`basename \${file}`~
10475 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10476 dldir=$destdir/`dirname \$dlpath`~
10477 test -d \$dldir || mkdir -p \$dldir~
10478 $install_prog $dir/$dlname \$dldir/$dlname'
10479 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10480 dlpath=$dir/\$dldll~
10482 shlibpath_overrides_runpath
=yes
10483 dynamic_linker
='Win32 link.exe'
10487 # Assume MSVC wrapper
10488 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10489 dynamic_linker
='Win32 ld.exe'
10492 # FIXME: first we should search . and the directory the executable is in
10496 darwin
* | rhapsody
*)
10497 dynamic_linker
="$host_os dyld"
10498 version_type
=darwin
10501 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10502 soname_spec
='${libname}${release}${major}$shared_ext'
10503 shlibpath_overrides_runpath
=yes
10504 shlibpath_var
=DYLD_LIBRARY_PATH
10505 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10507 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10508 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10512 version_type
=linux
# correct to gnu/linux during the next big refactor
10515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10516 soname_spec
='${libname}${release}${shared_ext}$major'
10517 shlibpath_var
=LD_LIBRARY_PATH
10520 freebsd
* | dragonfly
*)
10521 # DragonFly does not have aout. When/if they implement a new
10522 # versioning mechanism, adjust this.
10523 if test -x /usr
/bin
/objformat
; then
10524 objformat
=`/usr/bin/objformat`
10527 freebsd
[23].
*) objformat
=aout
;;
10528 *) objformat
=elf
;;
10531 version_type
=freebsd-
$objformat
10532 case $version_type in
10534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10539 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10543 shlibpath_var
=LD_LIBRARY_PATH
10546 shlibpath_overrides_runpath
=yes
10548 freebsd3.
[01]* | freebsdelf3.
[01]*)
10549 shlibpath_overrides_runpath
=yes
10550 hardcode_into_libs
=yes
10552 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10553 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10554 shlibpath_overrides_runpath
=no
10555 hardcode_into_libs
=yes
10557 *) # from 4.6 on, and DragonFly
10558 shlibpath_overrides_runpath
=yes
10559 hardcode_into_libs
=yes
10565 version_type
=linux
# correct to gnu/linux during the next big refactor
10568 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10569 soname_spec
='${libname}${release}${shared_ext}$major'
10570 shlibpath_var
=LD_LIBRARY_PATH
10571 shlibpath_overrides_runpath
=no
10572 hardcode_into_libs
=yes
10576 version_type
=linux
# correct to gnu/linux during the next big refactor
10579 dynamic_linker
="$host_os runtime_loader"
10580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10581 soname_spec
='${libname}${release}${shared_ext}$major'
10582 shlibpath_var
=LIBRARY_PATH
10583 shlibpath_overrides_runpath
=yes
10584 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10585 hardcode_into_libs
=yes
10588 hpux9
* | hpux10
* | hpux11
*)
10589 # Give a soname corresponding to the major version so that dld.sl refuses to
10590 # link against other versions.
10597 hardcode_into_libs
=yes
10598 dynamic_linker
="$host_os dld.so"
10599 shlibpath_var
=LD_LIBRARY_PATH
10600 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 soname_spec
='${libname}${release}${shared_ext}$major'
10603 if test "X$HPUX_IA64_MODE" = X32
; then
10604 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10606 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10608 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10612 hardcode_into_libs
=yes
10613 dynamic_linker
="$host_os dld.sl"
10614 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10615 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617 soname_spec
='${libname}${release}${shared_ext}$major'
10618 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10619 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10623 dynamic_linker
="$host_os dld.sl"
10624 shlibpath_var
=SHLIB_PATH
10625 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10626 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10627 soname_spec
='${libname}${release}${shared_ext}$major'
10630 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10631 postinstall_cmds
='chmod 555 $lib'
10632 # or fails outright, so override atomically:
10633 install_override_mode
=555
10637 version_type
=linux
# correct to gnu/linux during the next big refactor
10640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10641 soname_spec
='${libname}${release}${shared_ext}$major'
10642 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10643 shlibpath_var
=LD_LIBRARY_PATH
10644 shlibpath_overrides_runpath
=no
10645 hardcode_into_libs
=yes
10648 irix5
* | irix6
* | nonstopux
*)
10650 nonstopux
*) version_type
=nonstopux
;;
10652 if test "$lt_cv_prog_gnu_ld" = yes; then
10653 version_type
=linux
# correct to gnu/linux during the next big refactor
10660 soname_spec
='${libname}${release}${shared_ext}$major'
10661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10663 irix5
* | nonstopux
*)
10664 libsuff
= shlibsuff
=
10667 case $LD in # libtool.m4 will add one of these switches to LD
10668 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10669 libsuff
= shlibsuff
= libmagic
=32-bit;;
10670 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10671 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10672 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10673 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10674 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10678 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10679 shlibpath_overrides_runpath
=no
10680 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10681 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10682 hardcode_into_libs
=yes
10685 # No shared lib support for Linux oldld, aout, or coff.
10686 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10690 # This must be glibc/ELF.
10691 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10692 version_type
=linux
# correct to gnu/linux during the next big refactor
10695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696 soname_spec
='${libname}${release}${shared_ext}$major'
10697 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10698 shlibpath_var
=LD_LIBRARY_PATH
10699 shlibpath_overrides_runpath
=no
10701 # Some binutils ld are patched to set DT_RUNPATH
10702 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10703 $as_echo_n "(cached) " >&6
10705 lt_cv_shlibpath_overrides_runpath
=no
10706 save_LDFLAGS
=$LDFLAGS
10707 save_libdir
=$libdir
10708 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10709 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10721 if ac_fn_c_try_link
"$LINENO"; then :
10722 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10723 lt_cv_shlibpath_overrides_runpath
=yes
10726 rm -f core conftest.err conftest.
$ac_objext \
10727 conftest
$ac_exeext conftest.
$ac_ext
10728 LDFLAGS
=$save_LDFLAGS
10729 libdir
=$save_libdir
10733 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10735 # This implies no fast_install, which is unacceptable.
10736 # Some rework will be needed to allow for fast_install
10737 # before this can be enabled.
10738 hardcode_into_libs
=yes
10740 # Add ABI-specific directories to the system library path.
10741 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
10743 # Append ld.so.conf contents to the search path
10744 if test -f /etc
/ld.so.conf
; then
10745 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10746 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10750 # We used to test for /lib/ld.so.1 and disable shared libraries on
10751 # powerpc, because MkLinux only supported shared libraries with the
10752 # GNU dynamic linker. Since this was broken with cross compilers,
10753 # most powerpc-linux boxes support dynamic linking these days and
10754 # people can always --disable-shared, the test was removed, and we
10755 # assume the GNU/Linux dynamic linker is in use.
10756 dynamic_linker
='GNU/Linux ld.so'
10763 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10764 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10765 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10766 dynamic_linker
='NetBSD (a.out) ld.so'
10768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10769 soname_spec
='${libname}${release}${shared_ext}$major'
10770 dynamic_linker
='NetBSD ld.elf_so'
10772 shlibpath_var
=LD_LIBRARY_PATH
10773 shlibpath_overrides_runpath
=yes
10774 hardcode_into_libs
=yes
10778 version_type
=linux
# correct to gnu/linux during the next big refactor
10779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10780 shlibpath_var
=LD_LIBRARY_PATH
10781 shlibpath_overrides_runpath
=yes
10788 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec
='${libname}${release}${shared_ext}$major'
10790 shlibpath_var
=LD_LIBRARY_PATH
10791 shlibpath_overrides_runpath
=no
10792 hardcode_into_libs
=yes
10793 dynamic_linker
='ldqnx.so'
10798 sys_lib_dlsearch_path_spec
="/usr/lib"
10800 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10802 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10803 *) need_version
=no
;;
10805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10806 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10807 shlibpath_var
=LD_LIBRARY_PATH
10808 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10810 openbsd2.
[89] | openbsd2.
[89].
*)
10811 shlibpath_overrides_runpath
=no
10814 shlibpath_overrides_runpath
=yes
10818 shlibpath_overrides_runpath
=yes
10823 libname_spec
='$name'
10826 library_names_spec
='$libname${shared_ext} $libname.a'
10827 dynamic_linker
='OS/2 ld.exe'
10828 shlibpath_var
=LIBPATH
10831 osf3
* | osf4
* | osf5
*)
10835 soname_spec
='${libname}${release}${shared_ext}$major'
10836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10837 shlibpath_var
=LD_LIBRARY_PATH
10838 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10839 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10847 version_type
=linux
# correct to gnu/linux during the next big refactor
10850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 soname_spec
='${libname}${release}${shared_ext}$major'
10852 shlibpath_var
=LD_LIBRARY_PATH
10853 shlibpath_overrides_runpath
=yes
10854 hardcode_into_libs
=yes
10855 # ldd complains unless libraries are executable
10856 postinstall_cmds
='chmod +x $lib'
10861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10862 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10863 shlibpath_var
=LD_LIBRARY_PATH
10864 shlibpath_overrides_runpath
=yes
10865 if test "$with_gnu_ld" = yes; then
10872 version_type
=linux
# correct to gnu/linux during the next big refactor
10873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874 soname_spec
='${libname}${release}${shared_ext}$major'
10875 shlibpath_var
=LD_LIBRARY_PATH
10876 case $host_vendor in
10878 shlibpath_overrides_runpath
=no
10880 runpath_var
=LD_RUN_PATH
10888 shlibpath_overrides_runpath
=no
10889 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10895 if test -d /usr
/nec
;then
10896 version_type
=linux
# correct to gnu/linux during the next big refactor
10897 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10898 soname_spec
='$libname${shared_ext}.$major'
10899 shlibpath_var
=LD_LIBRARY_PATH
10903 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10904 version_type
=freebsd-elf
10907 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10908 soname_spec
='${libname}${release}${shared_ext}$major'
10909 shlibpath_var
=LD_LIBRARY_PATH
10910 shlibpath_overrides_runpath
=yes
10911 hardcode_into_libs
=yes
10912 if test "$with_gnu_ld" = yes; then
10913 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10915 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10918 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10922 sys_lib_dlsearch_path_spec
='/usr/lib'
10926 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10927 version_type
=linux
# correct to gnu/linux during the next big refactor
10930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10931 shlibpath_var
=LD_LIBRARY_PATH
10932 shlibpath_overrides_runpath
=no
10933 hardcode_into_libs
=yes
10937 version_type
=linux
# correct to gnu/linux during the next big refactor
10938 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10939 soname_spec
='${libname}${release}${shared_ext}$major'
10940 shlibpath_var
=LD_LIBRARY_PATH
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10948 $as_echo "$dynamic_linker" >&6; }
10949 test "$dynamic_linker" = no
&& can_build_shared
=no
10951 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10952 if test "$GCC" = yes; then
10953 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10956 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10957 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10959 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10960 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11055 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11057 if test -n "$hardcode_libdir_flag_spec" ||
11058 test -n "$runpath_var" ||
11059 test "X$hardcode_automatic" = "Xyes" ; then
11061 # We can hardcode non-existent directories.
11062 if test "$hardcode_direct" != no
&&
11063 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11064 # have to relink, otherwise we might link with an installed library
11065 # when we should be linking with a yet-to-be-installed one
11066 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11067 test "$hardcode_minus_L" != no
; then
11068 # Linking always hardcodes the temporary library directory.
11069 hardcode_action
=relink
11071 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11072 hardcode_action
=immediate
11075 # We cannot hardcode anything, or else we can only hardcode existing
11077 hardcode_action
=unsupported
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11080 $as_echo "$hardcode_action" >&6; }
11082 if test "$hardcode_action" = relink ||
11083 test "$inherit_rpath" = yes; then
11084 # Fast installation is not supported
11085 enable_fast_install
=no
11086 elif test "$shlibpath_overrides_runpath" = yes ||
11087 test "$enable_shared" = no
; then
11088 # Fast installation is not necessary
11089 enable_fast_install
=needless
11097 if test "x$enable_dlopen" != xyes
; then
11098 enable_dlopen
=unknown
11099 enable_dlopen_self
=unknown
11100 enable_dlopen_self_static
=unknown
11107 lt_cv_dlopen
="load_add_on"
11109 lt_cv_dlopen_self
=yes
11112 mingw
* | pw32
* | cegcc
*)
11113 lt_cv_dlopen
="LoadLibrary"
11118 lt_cv_dlopen
="dlopen"
11123 # if libdl is installed we need to link against it
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11125 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11126 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11127 $as_echo_n "(cached) " >&6
11129 ac_check_lib_save_LIBS
=$LIBS
11131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11134 /* Override any GCC internal prototype to avoid an error.
11135 Use char because int might match the return type of a GCC
11136 builtin and then its argument prototype would still apply. */
11149 if ac_fn_c_try_link
"$LINENO"; then :
11150 ac_cv_lib_dl_dlopen
=yes
11152 ac_cv_lib_dl_dlopen
=no
11154 rm -f core conftest.err conftest.
$ac_objext \
11155 conftest
$ac_exeext conftest.
$ac_ext
11156 LIBS
=$ac_check_lib_save_LIBS
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11159 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11160 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11161 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11164 lt_cv_dlopen
="dyld"
11166 lt_cv_dlopen_self
=yes
11173 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11174 if test "x$ac_cv_func_shl_load" = xyes
; then :
11175 lt_cv_dlopen
="shl_load"
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11178 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11179 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11180 $as_echo_n "(cached) " >&6
11182 ac_check_lib_save_LIBS
=$LIBS
11184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11187 /* Override any GCC internal prototype to avoid an error.
11188 Use char because int might match the return type of a GCC
11189 builtin and then its argument prototype would still apply. */
11197 return shl_load ();
11202 if ac_fn_c_try_link
"$LINENO"; then :
11203 ac_cv_lib_dld_shl_load
=yes
11205 ac_cv_lib_dld_shl_load
=no
11207 rm -f core conftest.err conftest.
$ac_objext \
11208 conftest
$ac_exeext conftest.
$ac_ext
11209 LIBS
=$ac_check_lib_save_LIBS
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11212 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11213 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11214 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11216 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11217 if test "x$ac_cv_func_dlopen" = xyes
; then :
11218 lt_cv_dlopen
="dlopen"
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11221 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11222 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11223 $as_echo_n "(cached) " >&6
11225 ac_check_lib_save_LIBS
=$LIBS
11227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11245 if ac_fn_c_try_link
"$LINENO"; then :
11246 ac_cv_lib_dl_dlopen
=yes
11248 ac_cv_lib_dl_dlopen
=no
11250 rm -f core conftest.err conftest.
$ac_objext \
11251 conftest
$ac_exeext conftest.
$ac_ext
11252 LIBS
=$ac_check_lib_save_LIBS
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11255 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11256 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11257 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11260 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11261 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11262 $as_echo_n "(cached) " >&6
11264 ac_check_lib_save_LIBS
=$LIBS
11265 LIBS
="-lsvld $LIBS"
11266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11284 if ac_fn_c_try_link
"$LINENO"; then :
11285 ac_cv_lib_svld_dlopen
=yes
11287 ac_cv_lib_svld_dlopen
=no
11289 rm -f core conftest.err conftest.
$ac_objext \
11290 conftest
$ac_exeext conftest.
$ac_ext
11291 LIBS
=$ac_check_lib_save_LIBS
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11294 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11295 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11296 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11299 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11300 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11301 $as_echo_n "(cached) " >&6
11303 ac_check_lib_save_LIBS
=$LIBS
11305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11318 return dld_link ();
11323 if ac_fn_c_try_link
"$LINENO"; then :
11324 ac_cv_lib_dld_dld_link
=yes
11326 ac_cv_lib_dld_dld_link
=no
11328 rm -f core conftest.err conftest.
$ac_objext \
11329 conftest
$ac_exeext conftest.
$ac_ext
11330 LIBS
=$ac_check_lib_save_LIBS
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11333 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11334 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11335 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11356 if test "x$lt_cv_dlopen" != xno
; then
11362 case $lt_cv_dlopen in
11364 save_CPPFLAGS
="$CPPFLAGS"
11365 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11367 save_LDFLAGS
="$LDFLAGS"
11368 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11371 LIBS
="$lt_cv_dlopen_libs $LIBS"
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11374 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11375 if ${lt_cv_dlopen_self+:} false
; then :
11376 $as_echo_n "(cached) " >&6
11378 if test "$cross_compiling" = yes; then :
11379 lt_cv_dlopen_self
=cross
11381 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11382 lt_status
=$lt_dlunknown
11383 cat > conftest.
$ac_ext <<_LT_EOF
11384 #line $LINENO "configure"
11385 #include "confdefs.h"
11394 # define LT_DLGLOBAL RTLD_GLOBAL
11397 # define LT_DLGLOBAL DL_GLOBAL
11399 # define LT_DLGLOBAL 0
11403 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11404 find out it does not work in some platform. */
11405 #ifndef LT_DLLAZY_OR_NOW
11407 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11410 # define LT_DLLAZY_OR_NOW DL_LAZY
11413 # define LT_DLLAZY_OR_NOW RTLD_NOW
11416 # define LT_DLLAZY_OR_NOW DL_NOW
11418 # define LT_DLLAZY_OR_NOW 0
11425 /* When -fvisbility=hidden is used, assume the code has been annotated
11426 correspondingly for the symbols needed. */
11427 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11428 int fnord () __attribute__((visibility("default")));
11431 int fnord () { return 42; }
11434 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11435 int status = $lt_dlunknown;
11439 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11442 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11443 else puts (dlerror ());
11445 /* dlclose (self); */
11453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11454 (eval $ac_link) 2>&5
11456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11457 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11458 (.
/conftest
; exit; ) >&5 2>/dev
/null
11460 case x
$lt_status in
11461 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11462 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11463 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11466 # compilation failed
11467 lt_cv_dlopen_self
=no
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11475 $as_echo "$lt_cv_dlopen_self" >&6; }
11477 if test "x$lt_cv_dlopen_self" = xyes
; then
11478 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11480 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11481 if ${lt_cv_dlopen_self_static+:} false
; then :
11482 $as_echo_n "(cached) " >&6
11484 if test "$cross_compiling" = yes; then :
11485 lt_cv_dlopen_self_static
=cross
11487 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11488 lt_status
=$lt_dlunknown
11489 cat > conftest.
$ac_ext <<_LT_EOF
11490 #line $LINENO "configure"
11491 #include "confdefs.h"
11500 # define LT_DLGLOBAL RTLD_GLOBAL
11503 # define LT_DLGLOBAL DL_GLOBAL
11505 # define LT_DLGLOBAL 0
11509 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11510 find out it does not work in some platform. */
11511 #ifndef LT_DLLAZY_OR_NOW
11513 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11516 # define LT_DLLAZY_OR_NOW DL_LAZY
11519 # define LT_DLLAZY_OR_NOW RTLD_NOW
11522 # define LT_DLLAZY_OR_NOW DL_NOW
11524 # define LT_DLLAZY_OR_NOW 0
11531 /* When -fvisbility=hidden is used, assume the code has been annotated
11532 correspondingly for the symbols needed. */
11533 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11534 int fnord () __attribute__((visibility("default")));
11537 int fnord () { return 42; }
11540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11541 int status = $lt_dlunknown;
11545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11548 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11549 else puts (dlerror ());
11551 /* dlclose (self); */
11559 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11560 (eval $ac_link) 2>&5
11562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11563 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11564 (.
/conftest
; exit; ) >&5 2>/dev
/null
11566 case x
$lt_status in
11567 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11568 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11569 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11572 # compilation failed
11573 lt_cv_dlopen_self_static
=no
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11581 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11584 CPPFLAGS
="$save_CPPFLAGS"
11585 LDFLAGS
="$save_LDFLAGS"
11590 case $lt_cv_dlopen_self in
11591 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11592 *) enable_dlopen_self
=unknown
;;
11595 case $lt_cv_dlopen_self_static in
11596 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11597 *) enable_dlopen_self_static
=unknown
;;
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11620 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11621 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11622 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11623 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11625 $as_echo "yes" >&6; }
11627 # FIXME - insert some real tests, host_os isn't really good enough
11630 if test -n "$STRIP" ; then
11631 striplib
="$STRIP -x"
11632 old_striplib
="$STRIP -S"
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11634 $as_echo "yes" >&6; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11637 $as_echo "no" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11642 $as_echo "no" >&6; }
11658 # Report which library types will actually be built
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11660 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11662 $as_echo "$can_build_shared" >&6; }
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11665 $as_echo_n "checking whether to build shared libraries... " >&6; }
11666 test "$can_build_shared" = "no" && enable_shared
=no
11668 # On AIX, shared libraries and static libraries use the same namespace, and
11669 # are all built from PIC.
11672 test "$enable_shared" = yes && enable_static
=no
11673 if test -n "$RANLIB"; then
11674 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11675 postinstall_cmds
='$RANLIB $lib'
11680 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11681 test "$enable_shared" = yes && enable_static
=no
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11686 $as_echo "$enable_shared" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11689 $as_echo_n "checking whether to build static libraries... " >&6; }
11690 # Make sure either enable_shared or enable_static is yes.
11691 test "$enable_shared" = yes || enable_static
=yes
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11693 $as_echo "$enable_static" >&6; }
11700 ac_cpp
='$CPP $CPPFLAGS'
11701 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11702 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11703 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11721 ac_config_commands
="$ac_config_commands libtool"
11726 # Only expand once:
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
11730 $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11731 if ${libltdl_cv_shlibext+:} false
; then :
11732 $as_echo_n "(cached) " >&6
11736 eval libltdl_cv_shlibext
=$shrext_cmds
11738 eval libltdl_cv_shrext
=$shrext_cmds
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
11742 $as_echo "$libltdl_cv_shlibext" >&6; }
11743 if test -n "$libltdl_cv_shlibext"; then
11745 cat >>confdefs.h
<<_ACEOF
11746 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
11750 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
11752 cat >>confdefs.h
<<_ACEOF
11753 #define LT_SHARED_EXT "$libltdl_cv_shrext"
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
11759 $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11760 if ${lt_cv_module_path_var+:} false
; then :
11761 $as_echo_n "(cached) " >&6
11763 lt_cv_module_path_var
="$shlibpath_var"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
11766 $as_echo "$lt_cv_module_path_var" >&6; }
11767 if test -n "$lt_cv_module_path_var"; then
11769 cat >>confdefs.h
<<_ACEOF
11770 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
11776 $as_echo_n "checking for the default library search path... " >&6; }
11777 if ${lt_cv_sys_dlsearch_path+:} false
; then :
11778 $as_echo_n "(cached) " >&6
11780 lt_cv_sys_dlsearch_path
="$sys_lib_dlsearch_path_spec"
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
11783 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
11784 if test -n "$lt_cv_sys_dlsearch_path"; then
11786 for dir
in $lt_cv_sys_dlsearch_path; do
11787 if test -z "$sys_dlsearch_path"; then
11788 sys_dlsearch_path
="$dir"
11790 sys_dlsearch_path
="$sys_dlsearch_path$PATH_SEPARATOR$dir"
11794 cat >>confdefs.h
<<_ACEOF
11795 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
11805 ac_cpp
='$CPP $CPPFLAGS'
11806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
11813 $as_echo_n "checking for library containing dlopen... " >&6; }
11814 if ${ac_cv_search_dlopen+:} false
; then :
11815 $as_echo_n "(cached) " >&6
11817 ac_func_search_save_LIBS
=$LIBS
11818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11819 /* end confdefs.h. */
11821 /* Override any GCC internal prototype to avoid an error.
11822 Use char because int might match the return type of a GCC
11823 builtin and then its argument prototype would still apply. */
11836 for ac_lib
in '' dl
; do
11837 if test -z "$ac_lib"; then
11838 ac_res
="none required"
11841 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11843 if ac_fn_c_try_link
"$LINENO"; then :
11844 ac_cv_search_dlopen
=$ac_res
11846 rm -f core conftest.err conftest.
$ac_objext \
11848 if ${ac_cv_search_dlopen+:} false
; then :
11852 if ${ac_cv_search_dlopen+:} false
; then :
11855 ac_cv_search_dlopen
=no
11857 rm conftest.
$ac_ext
11858 LIBS
=$ac_func_search_save_LIBS
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
11861 $as_echo "$ac_cv_search_dlopen" >&6; }
11862 ac_res
=$ac_cv_search_dlopen
11863 if test "$ac_res" != no
; then :
11864 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11866 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11868 if test "$ac_cv_search_dlopen" != "none required" ; then
11869 LIBADD_DLOPEN
="-ldl"
11871 libltdl_cv_lib_dl_dlopen
="yes"
11872 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 # include <dlfcn.h>
11888 if ac_fn_c_try_link
"$LINENO"; then :
11890 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11892 libltdl_cv_func_dlopen
="yes"
11893 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11896 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11897 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11898 $as_echo_n "(cached) " >&6
11900 ac_check_lib_save_LIBS
=$LIBS
11901 LIBS
="-lsvld $LIBS"
11902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11905 /* Override any GCC internal prototype to avoid an error.
11906 Use char because int might match the return type of a GCC
11907 builtin and then its argument prototype would still apply. */
11920 if ac_fn_c_try_link
"$LINENO"; then :
11921 ac_cv_lib_svld_dlopen
=yes
11923 ac_cv_lib_svld_dlopen
=no
11925 rm -f core conftest.err conftest.
$ac_objext \
11926 conftest
$ac_exeext conftest.
$ac_ext
11927 LIBS
=$ac_check_lib_save_LIBS
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11930 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11931 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11933 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
11935 LIBADD_DLOPEN
="-lsvld" libltdl_cv_func_dlopen
="yes"
11936 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11940 rm -f core conftest.err conftest.
$ac_objext \
11941 conftest
$ac_exeext conftest.
$ac_ext
11944 if test x
"$libltdl_cv_func_dlopen" = xyes ||
test x
"$libltdl_cv_lib_dl_dlopen" = xyes
11946 lt_save_LIBS
="$LIBS"
11947 LIBS
="$LIBS $LIBADD_DLOPEN"
11948 for ac_func
in dlerror
11950 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
11951 if test "x$ac_cv_func_dlerror" = xyes
; then :
11952 cat >>confdefs.h
<<_ACEOF
11953 #define HAVE_DLERROR 1
11959 LIBS
="$lt_save_LIBS"
11964 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11965 if test "x$ac_cv_func_shl_load" = xyes
; then :
11967 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
11969 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11972 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11973 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11974 $as_echo_n "(cached) " >&6
11976 ac_check_lib_save_LIBS
=$LIBS
11978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11981 /* Override any GCC internal prototype to avoid an error.
11982 Use char because int might match the return type of a GCC
11983 builtin and then its argument prototype would still apply. */
11991 return shl_load ();
11996 if ac_fn_c_try_link
"$LINENO"; then :
11997 ac_cv_lib_dld_shl_load
=yes
11999 ac_cv_lib_dld_shl_load
=no
12001 rm -f core conftest.err conftest.
$ac_objext \
12002 conftest
$ac_exeext conftest.
$ac_ext
12003 LIBS
=$ac_check_lib_save_LIBS
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12006 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12007 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12009 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12011 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12012 LIBADD_SHL_LOAD
="-ldld"
12021 # We only want this for pre-Mac OS X 10.4.
12022 ac_fn_c_check_func
"$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12023 if test "x$ac_cv_func__dyld_func_lookup" = xyes
; then :
12025 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12027 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12032 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12034 cygwin
* | mingw
* | os2
* | pw32
*)
12035 ac_fn_c_check_decl
"$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12037 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
; then :
12043 cat >>confdefs.h
<<_ACEOF
12044 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
12047 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12052 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12053 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12054 $as_echo_n "(cached) " >&6
12056 ac_check_lib_save_LIBS
=$LIBS
12058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12061 /* Override any GCC internal prototype to avoid an error.
12062 Use char because int might match the return type of a GCC
12063 builtin and then its argument prototype would still apply. */
12071 return dld_link ();
12076 if ac_fn_c_try_link
"$LINENO"; then :
12077 ac_cv_lib_dld_dld_link
=yes
12079 ac_cv_lib_dld_dld_link
=no
12081 rm -f core conftest.err conftest.
$ac_objext \
12082 conftest
$ac_exeext conftest.
$ac_ext
12083 LIBS
=$ac_check_lib_save_LIBS
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12086 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12087 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12089 $as_echo "#define HAVE_DLD 1" >>confdefs.h
12091 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12098 if test -n "$LT_DLLOADERS"
12100 for lt_loader
in $LT_DLLOADERS; do
12101 LT_DLPREOPEN
="$LT_DLPREOPEN-dlpreopen $lt_loader "
12104 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
12109 LIBADD_DL
="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12113 ac_cpp
='$CPP $CPPFLAGS'
12114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12120 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12121 if ${lt_cv_sys_symbol_underscore+:} false
; then :
12122 $as_echo_n "(cached) " >&6
12124 lt_cv_sys_symbol_underscore
=no
12125 cat > conftest.
$ac_ext <<_LT_EOF
12126 void nm_test_func(){}
12127 int main(){nm_test_func;return 0;}
12129 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12130 (eval $ac_compile) 2>&5
12132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12133 test $ac_status = 0; }; then
12134 # Now try to grab the symbols.
12135 ac_nlist
=conftest.nm
12136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
12137 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
12139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12140 test $ac_status = 0; } && test -s "$ac_nlist"; then
12141 # See whether the symbols have a leading underscore.
12142 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
12143 lt_cv_sys_symbol_underscore
=yes
12145 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
12148 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12152 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12155 echo "configure: failed program was:" >&5
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12162 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12163 sys_symbol_underscore
=$lt_cv_sys_symbol_underscore
12166 if test x
"$lt_cv_sys_symbol_underscore" = xyes
; then
12167 if test x
"$libltdl_cv_func_dlopen" = xyes ||
12168 test x
"$libltdl_cv_lib_dl_dlopen" = xyes
; then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12170 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12171 if ${libltdl_cv_need_uscore+:} false
; then :
12172 $as_echo_n "(cached) " >&6
12174 libltdl_cv_need_uscore
=unknown
12176 LIBS
="$LIBS $LIBADD_DLOPEN"
12177 if test "$cross_compiling" = yes; then :
12178 libltdl_cv_need_uscore
=cross
12180 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12181 lt_status
=$lt_dlunknown
12182 cat > conftest.
$ac_ext <<_LT_EOF
12183 #line $LINENO "configure"
12184 #include "confdefs.h"
12193 # define LT_DLGLOBAL RTLD_GLOBAL
12196 # define LT_DLGLOBAL DL_GLOBAL
12198 # define LT_DLGLOBAL 0
12202 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12203 find out it does not work in some platform. */
12204 #ifndef LT_DLLAZY_OR_NOW
12206 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12209 # define LT_DLLAZY_OR_NOW DL_LAZY
12212 # define LT_DLLAZY_OR_NOW RTLD_NOW
12215 # define LT_DLLAZY_OR_NOW DL_NOW
12217 # define LT_DLLAZY_OR_NOW 0
12224 /* When -fvisbility=hidden is used, assume the code has been annotated
12225 correspondingly for the symbols needed. */
12226 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12227 int fnord () __attribute__((visibility("default")));
12230 int fnord () { return 42; }
12233 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12234 int status = $lt_dlunknown;
12238 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12241 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12242 else puts (dlerror ());
12244 /* dlclose (self); */
12252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12253 (eval $ac_link) 2>&5
12255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12256 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12257 (.
/conftest
; exit; ) >&5 2>/dev
/null
12259 case x
$lt_status in
12260 x
$lt_dlno_uscore) libltdl_cv_need_uscore
=no
;;
12261 x
$lt_dlneed_uscore) libltdl_cv_need_uscore
=yes ;;
12262 x
$lt_dlunknown|x
*) ;;
12265 # compilation failed
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
12275 $as_echo "$libltdl_cv_need_uscore" >&6; }
12279 if test x
"$libltdl_cv_need_uscore" = xyes
; then
12281 $as_echo "#define NEED_USCORE 1" >>confdefs.h
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12286 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12287 if ${lt_cv_sys_dlopen_deplibs+:} false
; then :
12288 $as_echo_n "(cached) " >&6
12290 # PORTME does your system automatically load deplibs for dlopen?
12291 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12292 # For now, we just catch OSes we know something about -- in the
12293 # future, we'll try test this programmatically.
12294 lt_cv_sys_dlopen_deplibs
=unknown
12296 aix3
*|aix4.1.
*|aix4.2.
*)
12297 # Unknown whether this is true for these versions of AIX, but
12298 # we want this `case' here to explicitly catch those versions.
12299 lt_cv_sys_dlopen_deplibs
=unknown
12302 lt_cv_sys_dlopen_deplibs
=yes
12307 lt_cv_sys_dlopen_deplibs
=no
12312 # Assuming the user has installed a libdl from somewhere, this is true
12313 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12314 lt_cv_sys_dlopen_deplibs
=yes
12316 freebsd
* | dragonfly
*)
12317 lt_cv_sys_dlopen_deplibs
=yes
12319 gnu
* | linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12320 # GNU and its variants, using gnu ld.so (Glibc)
12321 lt_cv_sys_dlopen_deplibs
=yes
12324 lt_cv_sys_dlopen_deplibs
=yes
12327 lt_cv_sys_dlopen_deplibs
=yes
12329 irix
[12345]*|irix6.
[01]*)
12330 # Catch all versions of IRIX before 6.2, and indicate that we don't
12331 # know how it worked for any of those versions.
12332 lt_cv_sys_dlopen_deplibs
=unknown
12335 # The case above catches anything before 6.2, and it's known that
12336 # at 6.2 and later dlopen does load deplibs.
12337 lt_cv_sys_dlopen_deplibs
=yes
12340 lt_cv_sys_dlopen_deplibs
=yes
12343 lt_cv_sys_dlopen_deplibs
=yes
12346 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12347 # it did *not* use an RPATH in a shared library to find objects the
12348 # library depends on, so we explicitly say `no'.
12349 lt_cv_sys_dlopen_deplibs
=no
12351 osf5.0|osf5.0a|osf5.1
)
12352 # dlopen *does* load deplibs and with the right loader patch applied
12353 # it even uses RPATH in a shared library to search for shared objects
12354 # that the library depends on, but there's no easy way to know if that
12355 # patch is installed. Since this is the case, all we can really
12356 # say is unknown -- it depends on the patch being installed. If
12357 # it is, this changes to `yes'. Without it, it would be `no'.
12358 lt_cv_sys_dlopen_deplibs
=unknown
12361 # the two cases above should catch all versions of osf <= 5.1. Read
12362 # the comments above for what we know about them.
12363 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12364 # is used to find them so we can finally say `yes'.
12365 lt_cv_sys_dlopen_deplibs
=yes
12368 lt_cv_sys_dlopen_deplibs
=yes
12371 lt_cv_sys_dlopen_deplibs
=yes
12373 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12374 libltdl_cv_sys_dlopen_deplibs
=yes
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12380 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12381 if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12383 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12389 for ac_header
in argz.h
12391 ac_fn_c_check_header_compile
"$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12393 if test "x$ac_cv_header_argz_h" = xyes
; then :
12394 cat >>confdefs.h
<<_ACEOF
12395 #define HAVE_ARGZ_H 1
12403 ac_fn_c_check_type
"$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
12407 if test "x$ac_cv_type_error_t" = xyes
; then :
12409 cat >>confdefs.h
<<_ACEOF
12410 #define HAVE_ERROR_T 1
12416 $as_echo "#define error_t int" >>confdefs.h
12419 $as_echo "#define __error_t_defined 1" >>confdefs.h
12425 for ac_func
in argz_add argz_append argz_count argz_create_sep argz_insert \
12426 argz_next argz_stringify
12428 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12429 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12430 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12431 cat >>confdefs.h
<<_ACEOF
12432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12438 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
12444 if test -z "$ARGZ_H"; then :
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
12446 $as_echo_n "checking if argz actually works... " >&6; }
12447 if ${lt_cv_sys_argz_works+:} false
; then :
12448 $as_echo_n "(cached) " >&6
12450 case $host_os in #(
12452 lt_cv_sys_argz_works
=no
12453 if test "$cross_compiling" != no
; then
12454 lt_cv_sys_argz_works
="guessing no"
12456 lt_sed_extract_leading_digits
='s/^\([0-9\.]*\).*/\1/'
12459 set x
`uname -r | sed -e "$lt_sed_extract_leading_digits"`
12464 if test "$lt_os_major" -gt 1 \
12465 ||
{ test "$lt_os_major" -eq 1 \
12466 && { test "$lt_os_minor" -gt 5 \
12467 ||
{ test "$lt_os_minor" -eq 5 \
12468 && test "$lt_os_micro" -gt 24; }; }; }; then
12469 lt_cv_sys_argz_works
=yes
12473 *) lt_cv_sys_argz_works
=yes ;;
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
12477 $as_echo "$lt_cv_sys_argz_works" >&6; }
12478 if test "$lt_cv_sys_argz_works" = yes; then :
12480 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
12486 _LT_LIBOBJS
="$_LT_LIBOBJS argz.$ac_objext"
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
12494 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12495 if ${libltdl_cv_preloaded_symbols+:} false
; then :
12496 $as_echo_n "(cached) " >&6
12498 if test -n "$lt_cv_sys_global_symbol_pipe"; then
12499 libltdl_cv_preloaded_symbols
=yes
12501 libltdl_cv_preloaded_symbols
=no
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
12506 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12507 if test x
"$libltdl_cv_preloaded_symbols" = xyes
; then
12509 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
12528 # Check whether --with-included_ltdl was given.
12529 if test "${with_included_ltdl+set}" = set; then :
12530 withval
=$with_included_ltdl;
12534 if test "x$with_included_ltdl" != xyes
; then
12535 # We are not being forced to use the included libltdl sources, so
12536 # decide whether there is a useful installed version we can use.
12537 ac_fn_c_check_header_compile
"$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
12540 if test "x$ac_cv_header_ltdl_h" = xyes
; then :
12541 ac_fn_c_check_decl
"$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
12544 if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
; then :
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
12546 $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
12547 if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false
; then :
12548 $as_echo_n "(cached) " >&6
12550 ac_check_lib_save_LIBS
=$LIBS
12551 LIBS
="-lltdl $LIBS"
12552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12553 /* end confdefs.h. */
12555 /* Override any GCC internal prototype to avoid an error.
12556 Use char because int might match the return type of a GCC
12557 builtin and then its argument prototype would still apply. */
12561 char lt_dladvise_preload ();
12565 return lt_dladvise_preload ();
12570 if ac_fn_c_try_link
"$LINENO"; then :
12571 ac_cv_lib_ltdl_lt_dladvise_preload
=yes
12573 ac_cv_lib_ltdl_lt_dladvise_preload
=no
12575 rm -f core conftest.err conftest.
$ac_objext \
12576 conftest
$ac_exeext conftest.
$ac_ext
12577 LIBS
=$ac_check_lib_save_LIBS
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
12580 $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
12581 if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
; then :
12582 with_included_ltdl
=no
12584 with_included_ltdl
=yes
12588 with_included_ltdl
=yes
12592 with_included_ltdl
=yes
12605 # Check whether --with-ltdl_include was given.
12606 if test "${with_ltdl_include+set}" = set; then :
12607 withval
=$with_ltdl_include;
12611 if test -n "$with_ltdl_include"; then
12612 if test -f "$with_ltdl_include/ltdl.h"; then :
12614 as_fn_error $?
"invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
12617 with_ltdl_include
=no
12621 # Check whether --with-ltdl_lib was given.
12622 if test "${with_ltdl_lib+set}" = set; then :
12623 withval
=$with_ltdl_lib;
12627 if test -n "$with_ltdl_lib"; then
12628 if test -f "$with_ltdl_lib/libltdl.la"; then :
12630 as_fn_error $?
"invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
12636 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
12638 case $enable_ltdl_convenience in
12639 no
) as_fn_error $?
"this package needs a convenience libltdl" "$LINENO" 5 ;;
12640 "") enable_ltdl_convenience
=yes
12641 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
12643 LIBLTDL
='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
12645 LTDLINCL
='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
12651 # For backwards non-gettext consistent compatibility...
12652 INCLTDL
="$LTDLINCL"
12657 # If the included ltdl is not to be used, then use the
12658 # preinstalled libltdl we found.
12660 $as_echo "#define HAVE_LTDL 1" >>confdefs.h
12667 as_fn_error $?
"\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
12669 *) with_included_ltdl
=no
12670 LIBLTDL
="-L$with_ltdl_lib -lltdl"
12672 LTDLINCL
="-I$with_ltdl_include"
12675 INCLTDL
="$LTDLINCL"
12677 # Report our decision...
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
12679 $as_echo_n "checking where to find libltdl headers... " >&6; }
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
12681 $as_echo "$LTDLINCL" >&6; }
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
12683 $as_echo_n "checking where to find libltdl library... " >&6; }
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
12685 $as_echo "$LIBLTDL" >&6; }
12689 # Check whether --enable-ltdl-install was given.
12690 if test "${enable_ltdl_install+set}" = set; then :
12691 enableval
=$enable_ltdl_install;
12695 case ,${enable_ltdl_install},${enable_ltdl_convenience} in
12697 *) enable_ltdl_convenience
=yes ;;
12700 if test x
"${enable_ltdl_install-no}" != xno
; then
12702 INSTALL_LTDL_FALSE
='#'
12704 INSTALL_LTDL_TRUE
='#'
12705 INSTALL_LTDL_FALSE
=
12708 if test x
"${enable_ltdl_convenience-no}" != xno
; then
12709 CONVENIENCE_LTDL_TRUE
=
12710 CONVENIENCE_LTDL_FALSE
='#'
12712 CONVENIENCE_LTDL_TRUE
='#'
12713 CONVENIENCE_LTDL_FALSE
=
12718 subdirs
="$subdirs libltdl"
12723 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
12724 # the user used. This is so that ltdl.h can pick up the parent projects
12725 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
12726 # definitions required by ltdl.c.
12727 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
12731 for ac_header
in unistd.h dl.h sys
/dl.h dld.h mach-o
/dyld.h dirent.h
12733 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12734 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12736 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12737 cat >>confdefs.h
<<_ACEOF
12738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12746 for ac_func
in closedir opendir readdir
12748 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12749 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12750 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12751 cat >>confdefs.h
<<_ACEOF
12752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12758 _LT_LIBOBJS
="$_LT_LIBOBJS lt__dirent.$ac_objext"
12763 for ac_func
in strlcat strlcpy
12765 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12766 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12767 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12768 cat >>confdefs.h
<<_ACEOF
12769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12775 _LT_LIBOBJS
="$_LT_LIBOBJS lt__strl.$ac_objext"
12782 cat >>confdefs.h
<<_ACEOF
12783 #define LT_LIBEXT "$libext"
12788 eval "lt_libprefix=\"$libname_spec\""
12790 cat >>confdefs.h
<<_ACEOF
12791 #define LT_LIBPREFIX "$lt_libprefix"
12796 eval "LTDLOPEN=\"$libname_spec\""
12805 # Only expand once:
12810 for ac_prog
in perl5 perl
12812 # Extract the first word of "$ac_prog", so it can be a program name with args.
12813 set dummy
$ac_prog; ac_word
=$2
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12815 $as_echo_n "checking for $ac_word... " >&6; }
12816 if ${ac_cv_path_PERL+:} false
; then :
12817 $as_echo_n "(cached) " >&6
12821 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
12824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12825 for as_dir
in $LPATH
12828 test -z "$as_dir" && as_dir
=.
12829 for ac_exec_ext
in '' $ac_executable_extensions; do
12830 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12831 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
12832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12842 PERL
=$ac_cv_path_PERL
12843 if test -n "$PERL"; then
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
12845 $as_echo "$PERL" >&6; }
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12848 $as_echo "no" >&6; }
12852 test -n "$PERL" && break
12854 test -n "$PERL" || PERL
="perl"
12856 for ac_prog
in courier-config
12858 # Extract the first word of "$ac_prog", so it can be a program name with args.
12859 set dummy
$ac_prog; ac_word
=$2
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12861 $as_echo_n "checking for $ac_word... " >&6; }
12862 if ${ac_cv_path_COURIERCONFIG+:} false
; then :
12863 $as_echo_n "(cached) " >&6
12865 case $COURIERCONFIG in
12867 ac_cv_path_COURIERCONFIG
="$COURIERCONFIG" # Let the user override the test with a path.
12870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12871 for as_dir
in $LPATH
12874 test -z "$as_dir" && as_dir
=.
12875 for ac_exec_ext
in '' $ac_executable_extensions; do
12876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12877 ac_cv_path_COURIERCONFIG
="$as_dir/$ac_word$ac_exec_ext"
12878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12888 COURIERCONFIG
=$ac_cv_path_COURIERCONFIG
12889 if test -n "$COURIERCONFIG"; then
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COURIERCONFIG" >&5
12891 $as_echo "$COURIERCONFIG" >&6; }
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12894 $as_echo "no" >&6; }
12898 test -n "$COURIERCONFIG" && break
12900 test -n "$COURIERCONFIG" || COURIERCONFIG
="courier-config"
12903 ac_fn_c_check_header_mongrel
"$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
12904 if test "x$ac_cv_header_ltdl_h" = xyes
; then :
12907 as_fn_error $?
"Unable to find ltdl.h. Please install Libtool's ltdl library" "$LINENO" 5
12912 if test "$PERL" = "perl"
12914 as_fn_error $?
"Perl is required" "$LINENO" 5
12917 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12918 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12919 eval "prefix=$prefix"
12920 eval "exec_prefix=$exec_prefix"
12921 eval "sysconfdir=$sysconfdir"
12922 eval "bindir=$bindir"
12923 eval "sbindir=$sbindir"
12924 eval "localstatedir=$localstatedir"
12925 eval "libexecdir=$libexecdir"
12926 eval "datarootdir=$datarootdir"
12927 eval "datedir=$datadir"
12929 for ac_prog
in expect
12931 # Extract the first word of "$ac_prog", so it can be a program name with args.
12932 set dummy
$ac_prog; ac_word
=$2
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12934 $as_echo_n "checking for $ac_word... " >&6; }
12935 if ${ac_cv_path_EXPECT+:} false
; then :
12936 $as_echo_n "(cached) " >&6
12940 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
12943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12944 for as_dir
in $LPATH
12947 test -z "$as_dir" && as_dir
=.
12948 for ac_exec_ext
in '' $ac_executable_extensions; do
12949 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12950 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
12951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12961 EXPECT
=$ac_cv_path_EXPECT
12962 if test -n "$EXPECT"; then
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
12964 $as_echo "$EXPECT" >&6; }
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12967 $as_echo "no" >&6; }
12971 test -n "$EXPECT" && break
12973 test -n "$EXPECT" || EXPECT
="expect"
12976 if test "$EXPECT" = "expect"
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -----------------------------------------------------" >&5
12979 $as_echo "$as_me: WARNING: -----------------------------------------------------" >&2;}
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: expect not found - will not be able to change passwds" >&5
12981 $as_echo "$as_me: WARNING: expect not found - will not be able to change passwds" >&2;}
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: in webmail" >&5
12983 $as_echo "$as_me: WARNING: in webmail" >&2;}
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -----------------------------------------------------" >&5
12985 $as_echo "$as_me: WARNING: -----------------------------------------------------" >&2;}
12989 cat >>confdefs.h
<<_ACEOF
12990 #define HAVE_EXPECT 1
12995 for ac_prog
in passwd
12997 # Extract the first word of "$ac_prog", so it can be a program name with args.
12998 set dummy
$ac_prog; ac_word
=$2
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13000 $as_echo_n "checking for $ac_word... " >&6; }
13001 if ${ac_cv_path_PASSWD+:} false
; then :
13002 $as_echo_n "(cached) " >&6
13006 ac_cv_path_PASSWD
="$PASSWD" # Let the user override the test with a path.
13009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13010 for as_dir
in $LPATH
13013 test -z "$as_dir" && as_dir
=.
13014 for ac_exec_ext
in '' $ac_executable_extensions; do
13015 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13016 ac_cv_path_PASSWD
="$as_dir/$ac_word$ac_exec_ext"
13017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13027 PASSWD
=$ac_cv_path_PASSWD
13028 if test -n "$PASSWD"; then
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PASSWD" >&5
13030 $as_echo "$PASSWD" >&6; }
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13033 $as_echo "no" >&6; }
13037 test -n "$PASSWD" && break
13039 test -n "$PASSWD" || PASSWD
="passwd"
13043 if test "$GCC" = "yes"
13045 CFLAGS
="$CFLAGS -Wall"
13048 CFLAGS
="$CFLAGS -Ilibs -I${srcdir}/libs"
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lm is needed for floor" >&5
13051 $as_echo_n "checking whether -lm is needed for floor... " >&6; }
13052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13053 /* end confdefs.h. */
13055 /* Override any GCC internal prototype to avoid an error.
13056 Use char because int might match the return type of a GCC
13057 builtin and then its argument prototype would still apply. */
13070 if ac_fn_c_try_link
"$LINENO"; then :
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13072 $as_echo "no" >&6; }
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13076 $as_echo "yes" >&6; }
13078 rm -f core conftest.err conftest.
$ac_objext \
13079 conftest
$ac_exeext conftest.
$ac_ext
13082 # Check whether --with-pkgconfdir was given.
13083 if test "${with_pkgconfdir+set}" = set; then :
13084 withval
=$with_pkgconfdir; pkgconfdir
="$withval"
13086 pkgconfdir
="$sysconfdir/authlib"
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
13095 $as_echo_n "checking for socket in -lsocket... " >&6; }
13096 if ${ac_cv_lib_socket_socket+:} false
; then :
13097 $as_echo_n "(cached) " >&6
13099 ac_check_lib_save_LIBS
=$LIBS
13100 LIBS
="-lsocket $LIBS"
13101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13102 /* end confdefs.h. */
13104 /* Override any GCC internal prototype to avoid an error.
13105 Use char because int might match the return type of a GCC
13106 builtin and then its argument prototype would still apply. */
13119 if ac_fn_c_try_link
"$LINENO"; then :
13120 ac_cv_lib_socket_socket
=yes
13122 ac_cv_lib_socket_socket
=no
13124 rm -f core conftest.err conftest.
$ac_objext \
13125 conftest
$ac_exeext conftest.
$ac_ext
13126 LIBS
=$ac_check_lib_save_LIBS
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
13129 $as_echo "$ac_cv_lib_socket_socket" >&6; }
13130 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
13136 if test $result = yes; then
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
13140 $as_echo_n "checking for socket in -lsocket... " >&6; }
13141 if ${ac_cv_lib_socket_socket+:} false
; then :
13142 $as_echo_n "(cached) " >&6
13144 ac_check_lib_save_LIBS
=$LIBS
13145 LIBS
="-lsocket -lnsl $LIBS"
13146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13164 if ac_fn_c_try_link
"$LINENO"; then :
13165 ac_cv_lib_socket_socket
=yes
13167 ac_cv_lib_socket_socket
=no
13169 rm -f core conftest.err conftest.
$ac_objext \
13170 conftest
$ac_exeext conftest.
$ac_ext
13171 LIBS
=$ac_check_lib_save_LIBS
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
13174 $as_echo "$ac_cv_lib_socket_socket" >&6; }
13175 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
13181 if test $result = yes; then
13182 NETLIBS
= "-lsocket -lnsl"
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13186 $as_echo_n "checking for connect in -lsocket... " >&6; }
13187 if ${ac_cv_lib_socket_connect+:} false
; then :
13188 $as_echo_n "(cached) " >&6
13190 ac_check_lib_save_LIBS
=$LIBS
13191 LIBS
="-lsocket $LIBS"
13192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13193 /* end confdefs.h. */
13195 /* Override any GCC internal prototype to avoid an error.
13196 Use char because int might match the return type of a GCC
13197 builtin and then its argument prototype would still apply. */
13210 if ac_fn_c_try_link
"$LINENO"; then :
13211 ac_cv_lib_socket_connect
=yes
13213 ac_cv_lib_socket_connect
=no
13215 rm -f core conftest.err conftest.
$ac_objext \
13216 conftest
$ac_exeext conftest.
$ac_ext
13217 LIBS
=$ac_check_lib_save_LIBS
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13220 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13221 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
13227 if test $result = yes; then
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13231 $as_echo_n "checking for connect in -lsocket... " >&6; }
13232 if ${ac_cv_lib_socket_connect+:} false
; then :
13233 $as_echo_n "(cached) " >&6
13235 ac_check_lib_save_LIBS
=$LIBS
13236 LIBS
="-lsocket -lnsl $LIBS"
13237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13238 /* end confdefs.h. */
13240 /* Override any GCC internal prototype to avoid an error.
13241 Use char because int might match the return type of a GCC
13242 builtin and then its argument prototype would still apply. */
13255 if ac_fn_c_try_link
"$LINENO"; then :
13256 ac_cv_lib_socket_connect
=yes
13258 ac_cv_lib_socket_connect
=no
13260 rm -f core conftest.err conftest.
$ac_objext \
13261 conftest
$ac_exeext conftest.
$ac_ext
13262 LIBS
=$ac_check_lib_save_LIBS
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13265 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13266 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
13272 if test $result = yes; then
13273 NETLIBS
="-lsocket -lnsl"
13280 if test $USENSL != yes; then
13281 LIBS
="$LIBS $NETLIBS"
13282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 /* Override any GCC internal prototype to avoid an error.
13286 Use char because int might match the return type of a GCC
13287 builtin and then its argument prototype would still apply. */
13295 return inet_addr ();
13300 if ac_fn_c_try_link
"$LINENO"; then :
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
13305 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
13306 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
13307 $as_echo_n "(cached) " >&6
13309 ac_check_lib_save_LIBS
=$LIBS
13311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13312 /* end confdefs.h. */
13314 /* Override any GCC internal prototype to avoid an error.
13315 Use char because int might match the return type of a GCC
13316 builtin and then its argument prototype would still apply. */
13324 return inet_addr ();
13329 if ac_fn_c_try_link
"$LINENO"; then :
13330 ac_cv_lib_nsl_inet_addr
=yes
13332 ac_cv_lib_nsl_inet_addr
=no
13334 rm -f core conftest.err conftest.
$ac_objext \
13335 conftest
$ac_exeext conftest.
$ac_ext
13336 LIBS
=$ac_check_lib_save_LIBS
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
13339 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
13340 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
13346 if test $result = yes; then
13347 NETLIBS
="$NETLIBS -lnsl"
13351 rm -f core conftest.err conftest.
$ac_objext \
13352 conftest
$ac_exeext conftest.
$ac_ext
13363 # Check whether --with-db was given.
13364 if test "${with_db+set}" = set; then :
13365 withval
=$with_db; db
="$withval"
13379 as_fn_error $?
"Invalid --with-db option." "$LINENO" 5
13385 if test "$db" != "db"
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
13388 $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
13389 if ${ac_cv_lib_gdbm_gdbm_open+:} false
; then :
13390 $as_echo_n "(cached) " >&6
13392 ac_check_lib_save_LIBS
=$LIBS
13393 LIBS
="-lgdbm $LIBS"
13394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13407 return gdbm_open ();
13412 if ac_fn_c_try_link
"$LINENO"; then :
13413 ac_cv_lib_gdbm_gdbm_open
=yes
13415 ac_cv_lib_gdbm_gdbm_open
=no
13417 rm -f core conftest.err conftest.
$ac_objext \
13418 conftest
$ac_exeext conftest.
$ac_ext
13419 LIBS
=$ac_check_lib_save_LIBS
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
13422 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
13423 if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes
; then :
13424 LIBGDBM
=-lgdbm ; LIBS
="-lgdbm $LIBS"
13427 ac_fn_c_check_func
"$LINENO" "gdbm_open" "ac_cv_func_gdbm_open"
13428 if test "x$ac_cv_func_gdbm_open" = xyes
; then :
13436 if test "$db" != "gdbm"
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbopen in -ldb" >&5
13439 $as_echo_n "checking for dbopen in -ldb... " >&6; }
13440 if ${ac_cv_lib_db_dbopen+:} false
; then :
13441 $as_echo_n "(cached) " >&6
13443 ac_check_lib_save_LIBS
=$LIBS
13445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13446 /* end confdefs.h. */
13448 /* Override any GCC internal prototype to avoid an error.
13449 Use char because int might match the return type of a GCC
13450 builtin and then its argument prototype would still apply. */
13463 if ac_fn_c_try_link
"$LINENO"; then :
13464 ac_cv_lib_db_dbopen
=yes
13466 ac_cv_lib_db_dbopen
=no
13468 rm -f core conftest.err conftest.
$ac_objext \
13469 conftest
$ac_exeext conftest.
$ac_ext
13470 LIBS
=$ac_check_lib_save_LIBS
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_db_dbopen" >&5
13473 $as_echo "$ac_cv_lib_db_dbopen" >&6; }
13474 if test "x$ac_cv_lib_db_dbopen" = xyes
; then :
13475 LIBDB
=-ldb ; LIBS
="-ldb $LIBS"
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for db_open in -ldb" >&5
13478 $as_echo_n "checking for db_open in -ldb... " >&6; }
13479 if ${ac_cv_lib_db_db_open+:} false
; then :
13480 $as_echo_n "(cached) " >&6
13482 ac_check_lib_save_LIBS
=$LIBS
13484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13485 /* end confdefs.h. */
13487 /* Override any GCC internal prototype to avoid an error.
13488 Use char because int might match the return type of a GCC
13489 builtin and then its argument prototype would still apply. */
13502 if ac_fn_c_try_link
"$LINENO"; then :
13503 ac_cv_lib_db_db_open
=yes
13505 ac_cv_lib_db_db_open
=no
13507 rm -f core conftest.err conftest.
$ac_objext \
13508 conftest
$ac_exeext conftest.
$ac_ext
13509 LIBS
=$ac_check_lib_save_LIBS
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_db_db_open" >&5
13512 $as_echo "$ac_cv_lib_db_db_open" >&6; }
13513 if test "x$ac_cv_lib_db_db_open" = xyes
; then :
13514 LIBDB
=-ldb ; LIBS
="-ldb $LIBS"
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for db_env_create in -ldb" >&5
13517 $as_echo_n "checking for db_env_create in -ldb... " >&6; }
13518 if ${ac_cv_lib_db_db_env_create+:} false
; then :
13519 $as_echo_n "(cached) " >&6
13521 ac_check_lib_save_LIBS
=$LIBS
13523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13526 /* Override any GCC internal prototype to avoid an error.
13527 Use char because int might match the return type of a GCC
13528 builtin and then its argument prototype would still apply. */
13532 char db_env_create ();
13536 return db_env_create ();
13541 if ac_fn_c_try_link
"$LINENO"; then :
13542 ac_cv_lib_db_db_env_create
=yes
13544 ac_cv_lib_db_db_env_create
=no
13546 rm -f core conftest.err conftest.
$ac_objext \
13547 conftest
$ac_exeext conftest.
$ac_ext
13548 LIBS
=$ac_check_lib_save_LIBS
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_db_db_env_create" >&5
13551 $as_echo "$ac_cv_lib_db_db_env_create" >&6; }
13552 if test "x$ac_cv_lib_db_db_env_create" = xyes
; then :
13553 LIBDB
=-ldb; LIBS
="-ldb $LIBS"
13562 ac_fn_c_check_func
"$LINENO" "dbopen" "ac_cv_func_dbopen"
13563 if test "x$ac_cv_func_dbopen" = xyes
; then :
13567 ac_fn_c_check_func
"$LINENO" "db_open" "ac_cv_func_db_open"
13568 if test "x$ac_cv_func_db_open" = xyes
; then :
13572 ac_fn_c_check_func
"$LINENO" "db_env_create" "ac_cv_func_db_env_create"
13573 if test "x$ac_cv_func_db_env_create" = xyes
; then :
13581 if test "$HAVE_GDBM$HAVE_BDB" = ""
13583 as_fn_error $?
"Cannot find either the gdbm or the db library." "$LINENO" 5
13589 if test "$HAVE_GDBM" = "y"
13593 if test "$needs_withdb" = 1
13595 ac_configure_args
="$ac_configure_args --with-db=gdbm"
13597 dblibrary
=libs
/gdbmobj
/libgdbmobj.la
13601 if test "$needs_withdb" = 1
13603 ac_configure_args
="$ac_configure_args --with-db=db"
13605 dblibrary
=libs
/bdbobj
/libbdbobj.la
13612 # Check whether --with-authuserdb was given.
13613 if test "${with_authuserdb+set}" = set; then :
13614 withval
=$with_authuserdb; doauthuserdb
="$withval"
13617 if test -d ${srcdir}/userdb
13624 if test "$doauthuserdb" = "no"
13628 AUTHUSERDB
="authuserdb"
13629 LIBAUTHUSERDB
="libauthuserdb.la"
13634 # Check whether --with-makedatprog was given.
13635 if test "${with_makedatprog+set}" = set; then :
13636 withval
=$with_makedatprog; :
13639 ac_configure_args
="$ac_configure_args --with-makedatprog=$libexecdir/courier-authlib/makedatprog"
13644 cat >dbobj.config
<<EOF
13647 dblibrary=$dblibrary
13658 userdb
="$pkgconfdir/userdb"
13660 # Check whether --with-userdb was given.
13661 if test "${with_userdb+set}" = set; then :
13662 withval
=$with_userdb; userdb
="$withval"
13664 ac_configure_args
="$ac_configure_args '--with-userdb=$userdb'"
13669 cat >>confdefs.h
<<_ACEOF
13670 #define USERDB "$userdb"
13675 for ac_header
in stdio.h
13677 ac_fn_c_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
13678 if test "x$ac_cv_header_stdio_h" = xyes
; then :
13679 cat >>confdefs.h
<<_ACEOF
13680 #define HAVE_STDIO_H 1
13692 # Check whether --with-authpam was given.
13693 if test "${with_authpam+set}" = set; then :
13694 withval
=$with_authpam; doauthpam
="$withval"
13698 for ac_header
in security
/pam_appl.h Pam
/pam_appl.h
13700 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13701 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13702 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13703 cat >>confdefs.h
<<_ACEOF
13704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13711 if test "$doauthpam" = "no"
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13718 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13719 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13720 $as_echo_n "(cached) " >&6
13722 ac_check_lib_save_LIBS
=$LIBS
13724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13725 /* end confdefs.h. */
13727 /* Override any GCC internal prototype to avoid an error.
13728 Use char because int might match the return type of a GCC
13729 builtin and then its argument prototype would still apply. */
13742 if ac_fn_c_try_link
"$LINENO"; then :
13743 ac_cv_lib_dl_dlopen
=yes
13745 ac_cv_lib_dl_dlopen
=no
13747 rm -f core conftest.err conftest.
$ac_objext \
13748 conftest
$ac_exeext conftest.
$ac_ext
13749 LIBS
=$ac_check_lib_save_LIBS
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13752 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13753 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
13760 $as_echo_n "checking for pam_start in -lpam... " >&6; }
13761 if ${ac_cv_lib_pam_pam_start+:} false
; then :
13762 $as_echo_n "(cached) " >&6
13764 ac_check_lib_save_LIBS
=$LIBS
13765 LIBS
="-lpam $LIBDL $LIBS"
13766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13767 /* end confdefs.h. */
13769 /* Override any GCC internal prototype to avoid an error.
13770 Use char because int might match the return type of a GCC
13771 builtin and then its argument prototype would still apply. */
13779 return pam_start ();
13784 if ac_fn_c_try_link
"$LINENO"; then :
13785 ac_cv_lib_pam_pam_start
=yes
13787 ac_cv_lib_pam_pam_start
=no
13789 rm -f core conftest.err conftest.
$ac_objext \
13790 conftest
$ac_exeext conftest.
$ac_ext
13791 LIBS
=$ac_check_lib_save_LIBS
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
13794 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
13795 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
13797 LIBS
="-lpam $LIBDL $LIBS"
13798 for ac_func
in pam_setcred
13800 ac_fn_c_check_func
"$LINENO" "pam_setcred" "ac_cv_func_pam_setcred"
13801 if test "x$ac_cv_func_pam_setcred" = xyes
; then :
13802 cat >>confdefs.h
<<_ACEOF
13803 #define HAVE_PAM_SETCRED 1
13818 if test "$HAVE_PAM" = 1
13820 LIBAUTHPAM
=libauthpam.la
13824 # Check whether --with-authpam-libraries was given.
13825 if test "${with_authpam_libraries+set}" = set; then :
13826 withval
=$with_authpam_libraries; authpamcrypt
="$withval"
13830 AUTHPAMCRYPT
="$authpamcrypt"
13838 # Check whether --with-authldap was given.
13839 if test "${with_authldap+set}" = set; then :
13840 withval
=$with_authldap; doauthldap
="$withval"
13846 for ac_header
in lber.h
13848 ac_fn_c_check_header_mongrel
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
13849 if test "x$ac_cv_header_lber_h" = xyes
; then :
13850 cat >>confdefs.h
<<_ACEOF
13851 #define HAVE_LBER_H 1
13858 for ac_header
in ldap.h
13860 ac_fn_c_check_header_mongrel
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
13861 if test "x$ac_cv_header_ldap_h" = xyes
; then :
13862 cat >>confdefs.h
<<_ACEOF
13863 #define HAVE_LDAP_H 1
13870 for ac_header
in netinet
/in.h
13872 ac_fn_c_check_header_mongrel
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
13873 if test "x$ac_cv_header_netinet_in_h" = xyes
; then :
13874 cat >>confdefs.h
<<_ACEOF
13875 #define HAVE_NETINET_IN_H 1
13883 if test "$doauthldap" = "no"
13888 LIBS
="$NETLIBS $LIBS"
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lresolv is needed for res_query" >&5
13892 $as_echo_n "checking whether -lresolv is needed for res_query... " >&6; }
13893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13896 #include <sys/types.h>
13897 #if HAVE_NETINET_IN_H
13898 #include <netinet/in.h>
13900 #include <resolv.h>
13902 void (*func)()= (void (*)())res_query;
13912 if ac_fn_c_try_link
"$LINENO"; then :
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13914 $as_echo "no" >&6; }
13917 LIBS
="-lresolv $LIBS"
13919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13920 /* end confdefs.h. */
13922 #include <sys/types.h>
13923 #if HAVE_NETINET_IN_H
13924 #include <netinet/in.h>
13926 #include <resolv.h>
13928 void (*func)()= (void (*)())res_query;
13938 if ac_fn_c_try_link
"$LINENO"; then :
13940 LDAPLIBS
="-lresolv $LDAPLIBS"
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13943 $as_echo "yes" >&6; }
13946 as_fn_error $?
"Cannot find function res_query" "$LINENO" 5
13948 rm -f core conftest.err conftest.
$ac_objext \
13949 conftest
$ac_exeext conftest.
$ac_ext
13952 rm -f core conftest.err conftest.
$ac_objext \
13953 conftest
$ac_exeext conftest.
$ac_ext
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_scanf in -llber" >&5
13956 $as_echo_n "checking for ber_scanf in -llber... " >&6; }
13957 if ${ac_cv_lib_lber_ber_scanf+:} false
; then :
13958 $as_echo_n "(cached) " >&6
13960 ac_check_lib_save_LIBS
=$LIBS
13961 LIBS
="-llber $LIBS"
13962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13963 /* end confdefs.h. */
13965 /* Override any GCC internal prototype to avoid an error.
13966 Use char because int might match the return type of a GCC
13967 builtin and then its argument prototype would still apply. */
13975 return ber_scanf ();
13980 if ac_fn_c_try_link
"$LINENO"; then :
13981 ac_cv_lib_lber_ber_scanf
=yes
13983 ac_cv_lib_lber_ber_scanf
=no
13985 rm -f core conftest.err conftest.
$ac_objext \
13986 conftest
$ac_exeext conftest.
$ac_ext
13987 LIBS
=$ac_check_lib_save_LIBS
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_scanf" >&5
13990 $as_echo "$ac_cv_lib_lber_ber_scanf" >&6; }
13991 if test "x$ac_cv_lib_lber_ber_scanf" = xyes
; then :
13992 LDAPLIBS
="-llber $LDAPLIBS" LIBS
="-llber $LIBS"
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_open in -lldap" >&5
13996 $as_echo_n "checking for ldap_open in -lldap... " >&6; }
13997 if ${ac_cv_lib_ldap_ldap_open+:} false
; then :
13998 $as_echo_n "(cached) " >&6
14000 ac_check_lib_save_LIBS
=$LIBS
14001 LIBS
="-lldap $LIBS"
14002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14005 /* Override any GCC internal prototype to avoid an error.
14006 Use char because int might match the return type of a GCC
14007 builtin and then its argument prototype would still apply. */
14015 return ldap_open ();
14020 if ac_fn_c_try_link
"$LINENO"; then :
14021 ac_cv_lib_ldap_ldap_open
=yes
14023 ac_cv_lib_ldap_ldap_open
=no
14025 rm -f core conftest.err conftest.
$ac_objext \
14026 conftest
$ac_exeext conftest.
$ac_ext
14027 LIBS
=$ac_check_lib_save_LIBS
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_open" >&5
14030 $as_echo "$ac_cv_lib_ldap_ldap_open" >&6; }
14031 if test "x$ac_cv_lib_ldap_ldap_open" = xyes
; then :
14032 LDAPLIBS
="-lldap $LDAPLIBS" ; LIBS
="-lldap $LIBS"
14035 ac_fn_c_check_func
"$LINENO" "ldap_search_st" "ac_cv_func_ldap_search_st"
14036 if test "x$ac_cv_func_ldap_search_st" = xyes
; then :
14042 ac_fn_c_check_func
"$LINENO" "ldap_start_tls_s" "ac_cv_func_ldap_start_tls_s"
14043 if test "x$ac_cv_func_ldap_start_tls_s" = xyes
; then :
14049 ac_fn_c_check_func
"$LINENO" "ldap_result2error" "ac_cv_func_ldap_result2error"
14050 if test "x$ac_cv_func_ldap_result2error" = xyes
; then :
14051 HAVE_LDAP_RESULT2ERROR
=1
14053 HAVE_LDAP_RESULT2ERROR
=0
14056 ac_fn_c_check_func
"$LINENO" "ldap_parse_result" "ac_cv_func_ldap_parse_result"
14057 if test "x$ac_cv_func_ldap_parse_result" = xyes
; then :
14058 HAVE_LDAP_PARSE_RESULT
=1
14060 HAVE_LDAP_PARSE_RESULT
=0
14067 # Check whether --with-authldaprc was given.
14068 if test "${with_authldaprc+set}" = set; then :
14069 withval
=$with_authldaprc; authldaprc
="$withval"
14071 authldaprc
="$pkgconfdir/authldaprc"
14077 if test "$HAVE_LDAP" = 1
14079 LIBAUTHLDAP
="libauthldap.la"
14086 if test "$HAVE_LDAP" = 1; then
14088 HAVE_LDAP_FALSE
='#'
14095 cat >>confdefs.h
<<_ACEOF
14096 #define HAVE_LDAP_TLS $HAVE_LDAP_TLS
14100 cat >>confdefs.h
<<_ACEOF
14101 #define HAVE_LDAP_RESULT2ERROR $HAVE_LDAP_RESULT2ERROR
14105 cat >>confdefs.h
<<_ACEOF
14106 #define HAVE_LDAP_PARSE_RESULT $HAVE_LDAP_PARSE_RESULT
14113 # Check whether --with-authpwd was given.
14114 if test "${with_authpwd+set}" = set; then :
14115 withval
=$with_authpwd; doauthpwd
="$withval"
14118 test "$HAVE_PAM" = 1 && doauthpwd
="no"
14119 test "$HAVE_LDAP" = 1 && doauthpwd
="no"
14125 if test "$doauthpwd" = "no"
14129 for ac_func
in endpwent
14131 ac_fn_c_check_func
"$LINENO" "endpwent" "ac_cv_func_endpwent"
14132 if test "x$ac_cv_func_endpwent" = xyes
; then :
14133 cat >>confdefs.h
<<_ACEOF
14134 #define HAVE_ENDPWENT 1
14145 # Check whether --with-authshadow was given.
14146 if test "${with_authshadow+set}" = set; then :
14147 withval
=$with_authshadow; doauthshadow
="$withval"
14150 test "$HAVE_PAM" = 1 && doauthshadow
="no"
14151 test "$HAVE_LDAP" = 1 && doauthshadow
="no"
14155 for ac_header
in shadow.h
14157 ac_fn_c_check_header_mongrel
"$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
14158 if test "x$ac_cv_header_shadow_h" = xyes
; then :
14159 cat >>confdefs.h
<<_ACEOF
14160 #define HAVE_SHADOW_H 1
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getspent in -lshadow" >&5
14170 $as_echo_n "checking for getspent in -lshadow... " >&6; }
14171 if ${ac_cv_lib_shadow_getspent+:} false
; then :
14172 $as_echo_n "(cached) " >&6
14174 ac_check_lib_save_LIBS
=$LIBS
14175 LIBS
="-lshadow $LIBS"
14176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14177 /* end confdefs.h. */
14179 /* Override any GCC internal prototype to avoid an error.
14180 Use char because int might match the return type of a GCC
14181 builtin and then its argument prototype would still apply. */
14189 return getspent ();
14194 if ac_fn_c_try_link
"$LINENO"; then :
14195 ac_cv_lib_shadow_getspent
=yes
14197 ac_cv_lib_shadow_getspent
=no
14199 rm -f core conftest.err conftest.
$ac_objext \
14200 conftest
$ac_exeext conftest.
$ac_ext
14201 LIBS
=$ac_check_lib_save_LIBS
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shadow_getspent" >&5
14204 $as_echo "$ac_cv_lib_shadow_getspent" >&6; }
14205 if test "x$ac_cv_lib_shadow_getspent" = xyes
; then :
14206 SHADOWLIBS
="-lshadow" ; LIBS
="-lshadow $LIBS"
14209 for ac_func
in endspent getspent
14211 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14212 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14213 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14214 cat >>confdefs.h
<<_ACEOF
14215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14223 if test "$doauthshadow" = "no"
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getspent in -lshadow" >&5
14230 $as_echo_n "checking for getspent in -lshadow... " >&6; }
14231 if ${ac_cv_lib_shadow_getspent+:} false
; then :
14232 $as_echo_n "(cached) " >&6
14234 ac_check_lib_save_LIBS
=$LIBS
14235 LIBS
="-lshadow $LIBS"
14236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14239 /* Override any GCC internal prototype to avoid an error.
14240 Use char because int might match the return type of a GCC
14241 builtin and then its argument prototype would still apply. */
14249 return getspent ();
14254 if ac_fn_c_try_link
"$LINENO"; then :
14255 ac_cv_lib_shadow_getspent
=yes
14257 ac_cv_lib_shadow_getspent
=no
14259 rm -f core conftest.err conftest.
$ac_objext \
14260 conftest
$ac_exeext conftest.
$ac_ext
14261 LIBS
=$ac_check_lib_save_LIBS
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shadow_getspent" >&5
14264 $as_echo "$ac_cv_lib_shadow_getspent" >&6; }
14265 if test "x$ac_cv_lib_shadow_getspent" = xyes
; then :
14266 cat >>confdefs.h
<<_ACEOF
14267 #define HAVE_LIBSHADOW 1
14270 LIBS
="-lshadow $LIBS"
14274 ac_fn_c_check_func
"$LINENO" "getspent" "ac_cv_func_getspent"
14275 if test "x$ac_cv_func_getspent" = xyes
; then :
14285 if test "$HAVE_SHADOW" = 1
14287 LIBAUTHSHADOW
="libauthshadow.la"
14293 if test "$HAVE_PWD" = 1
14295 LIBAUTHPWD
="libauthpwd.la"
14303 # Check whether --with-authpgsqlrc was given.
14304 if test "${with_authpgsqlrc+set}" = set; then :
14305 withval
=$with_authpgsqlrc; authpgsqlrc
="$withval"
14307 authpgsqlrc
="$pkgconfdir/authpgsqlrc"
14313 # Check whether --with-authpgsql was given.
14314 if test "${with_authpgsql+set}" = set; then :
14315 withval
=$with_authpgsql; doauthpgsql
="$withval"
14319 for ac_prog
in pg_config
14321 # Extract the first word of "$ac_prog", so it can be a program name with args.
14322 set dummy
$ac_prog; ac_word
=$2
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14324 $as_echo_n "checking for $ac_word... " >&6; }
14325 if ${ac_cv_path_PG_CONFIG+:} false
; then :
14326 $as_echo_n "(cached) " >&6
14330 ac_cv_path_PG_CONFIG
="$PG_CONFIG" # Let the user override the test with a path.
14333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14334 for as_dir
in $LPATH
14337 test -z "$as_dir" && as_dir
=.
14338 for ac_exec_ext
in '' $ac_executable_extensions; do
14339 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14340 ac_cv_path_PG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14351 PG_CONFIG
=$ac_cv_path_PG_CONFIG
14352 if test -n "$PG_CONFIG"; then
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5
14354 $as_echo "$PG_CONFIG" >&6; }
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14357 $as_echo "no" >&6; }
14361 test -n "$PG_CONFIG" && break
14363 test -n "$PG_CONFIG" || PG_CONFIG
="pg_config"
14368 # Check whether --with-pgsql-libs was given.
14369 if test "${with_pgsql_libs+set}" = set; then :
14370 withval
=$with_pgsql_libs; PGSQL_LIBS
="-L$withval $PGSQL_LIBS"
14372 if test -x $PG_CONFIG
14374 PGSQL_LIBS
="-L`$PG_CONFIG --libdir` $PGSQL_LIBS"
14380 # Check whether --with-pgsql-includes was given.
14381 if test "${with_pgsql_includes+set}" = set; then :
14382 withval
=$with_pgsql_includes; PGSQL_CFLAGS
="-I$withval"
14384 if test -x $PG_CONFIG
14386 PGSQL_CFLAGS
="-I`$PG_CONFIG --includedir`"
14392 if test "$doauthpgsql" = ""
14394 LIBS
="$PGSQL_LIBS $LIBS"
14395 ac_fn_c_check_func
"$LINENO" "PQsetdbLogin" "ac_cv_func_PQsetdbLogin"
14396 if test "x$ac_cv_func_PQsetdbLogin" = xyes
; then :
14404 if test "$doauthpgsql" != "yes"
14410 LIBS
="$PGSQL_LIBS $LIBS"
14411 ac_fn_c_check_func
"$LINENO" "PQsetdbLogin" "ac_cv_func_PQsetdbLogin"
14412 if test "x$ac_cv_func_PQsetdbLogin" = xyes
; then :
14413 AUTHPGSQL
="authpgsql"
14416 as_fn_error $?
"--with-authpgsql specified but no libpq.so" "$LINENO" 5
14421 CFLAGS
="$PGSQL_CFLAGS $CFLAGS"
14422 LIBAUTHPGSQL
="libauthpgsql.la"
14427 if test "$HAVE_AUTHPGSQL" = 1; then
14428 HAVE_AUTHPGSQL_TRUE
=
14429 HAVE_AUTHPGSQL_FALSE
='#'
14431 HAVE_AUTHPGSQL_TRUE
='#'
14432 HAVE_AUTHPGSQL_FALSE
=
14440 # Check whether --with-authmysqlrc was given.
14441 if test "${with_authmysqlrc+set}" = set; then :
14442 withval
=$with_authmysqlrc; authmysqlrc
="$withval"
14444 authmysqlrc
="$pkgconfdir/authmysqlrc"
14450 # Check whether --with-authmysql was given.
14451 if test "${with_authmysql+set}" = set; then :
14452 withval
=$with_authmysql; doauthmysql
="$withval"
14456 # Check whether --with-mysql-libs was given.
14457 if test "${with_mysql_libs+set}" = set; then :
14458 withval
=$with_mysql_libs; MYSQL_LIBS
="-L$withval -lmysqlclient"
14463 # Check whether --with-mysql-includes was given.
14464 if test "${with_mysql_includes+set}" = set; then :
14465 withval
=$with_mysql_includes; MYSQL_CFLAGS
="-I$withval"
14470 for ac_prog
in mysql_config
14472 # Extract the first word of "$ac_prog", so it can be a program name with args.
14473 set dummy
$ac_prog; ac_word
=$2
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14475 $as_echo_n "checking for $ac_word... " >&6; }
14476 if ${ac_cv_path_MYSQL_CONFIG+:} false
; then :
14477 $as_echo_n "(cached) " >&6
14479 case $MYSQL_CONFIG in
14481 ac_cv_path_MYSQL_CONFIG
="$MYSQL_CONFIG" # Let the user override the test with a path.
14484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14485 for as_dir
in $LPATH
14488 test -z "$as_dir" && as_dir
=.
14489 for ac_exec_ext
in '' $ac_executable_extensions; do
14490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14491 ac_cv_path_MYSQL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14502 MYSQL_CONFIG
=$ac_cv_path_MYSQL_CONFIG
14503 if test -n "$MYSQL_CONFIG"; then
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_CONFIG" >&5
14505 $as_echo "$MYSQL_CONFIG" >&6; }
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14508 $as_echo "no" >&6; }
14512 test -n "$MYSQL_CONFIG" && break
14514 test -n "$MYSQL_CONFIG" || MYSQL_CONFIG
="mysql_config"
14517 if test -x "$MYSQL_CONFIG"
14519 MYSQL_CFLAGS
="`$MYSQL_CONFIG --cflags`"
14520 MYSQL_LIBS
="`$MYSQL_CONFIG --libs`"
14522 eval "MYSQL_CFLAGS=\"\`echo $MYSQL_CFLAGS\`\""
14523 eval "MYSQL_LIBS=\"\`echo $MYSQL_LIBS\`\""
14526 if test "$doauthmysql" = ""
14528 LIBS
="$MYSQL_LIBS $LIBS"
14529 ac_fn_c_check_func
"$LINENO" "mysql_connect" "ac_cv_func_mysql_connect"
14530 if test "x$ac_cv_func_mysql_connect" = xyes
; then :
14535 ac_fn_c_check_func
"$LINENO" "mysql_real_connect" "ac_cv_func_mysql_real_connect"
14536 if test "x$ac_cv_func_mysql_real_connect" = xyes
; then :
14544 if test "$doauthmysql" != "yes"
14550 LIBS
="$MYSQL_LIBS $LIBS"
14551 ac_fn_c_check_func
"$LINENO" "mysql_connect" "ac_cv_func_mysql_connect"
14552 if test "x$ac_cv_func_mysql_connect" = xyes
; then :
14553 LIBAUTHMYSQL
="libauthmysql.la"
14557 ac_fn_c_check_func
"$LINENO" "mysql_real_connect" "ac_cv_func_mysql_real_connect"
14558 if test "x$ac_cv_func_mysql_real_connect" = xyes
; then :
14559 LIBAUTHMYSQL
="libauthmysql.la"
14562 as_fn_error $?
"--with-authmysql specified but no mysqlclient.so" "$LINENO" 5
14572 CFLAGS
="$MYSQL_CFLAGS $CFLAGS"
14576 if test "$HAVE_AUTHMYSQL" = 1; then
14577 HAVE_AUTHMYSQL_TRUE
=
14578 HAVE_AUTHMYSQL_FALSE
='#'
14580 HAVE_AUTHMYSQL_TRUE
='#'
14581 HAVE_AUTHMYSQL_FALSE
=
14589 # Check whether --with-authsqliterc was given.
14590 if test "${with_authsqliterc+set}" = set; then :
14591 withval
=$with_authsqliterc; authsqliterc
="$withval"
14593 authsqliterc
="$pkgconfdir/authsqliterc"
14599 # Check whether --with-authsqlite was given.
14600 if test "${with_authsqlite+set}" = set; then :
14601 withval
=$with_authsqlite; doauthsqlite
="$withval"
14606 # Check whether --with-sqlite-libs was given.
14607 if test "${with_sqlite_libs+set}" = set; then :
14608 withval
=$with_sqlite_libs; SQLITE_LIBS
="-lsqlite3"
14613 # Check whether --with-sqlite-includes was given.
14614 if test "${with_sqlite_includes+set}" = set; then :
14615 withval
=$with_sqlite_includes; SQLITE_CFLAGS
="-I$withval"
14620 if test "$doauthsqlite" = ""
14622 SQLITE_CFLAGS
="`pkg-config --cflags sqlite3 2>/dev/null`"
14623 SQLITE_LIBS
="`pkg-config --libs sqlite3 2>/dev/null`"
14625 LIBS
="$SQLITE_LIBS $LIBS"
14626 ac_fn_c_check_func
"$LINENO" "sqlite3_version" "ac_cv_func_sqlite3_version"
14627 if test "x$ac_cv_func_sqlite3_version" = xyes
; then :
14635 if test "$doauthsqlite" != "yes"
14643 LIBS
="$SQLITE_LIBS $LIBS"
14644 ac_fn_c_check_func
"$LINENO" "sqlite3_version" "ac_cv_func_sqlite3_version"
14645 if test "x$ac_cv_func_sqlite3_version" = xyes
; then :
14648 as_fn_error $?
"Cannot link with $SQLITE_LIBS" "$LINENO" 5
14654 CFLAGS
="$SQLITE_CFLAGS $CFLAGS"
14655 LIBAUTHSQLITE
="libauthsqlite.la"
14660 if test "$HAVE_AUTHSQLITE" = 1; then
14661 HAVE_AUTHSQLITE_TRUE
=
14662 HAVE_AUTHSQLITE_FALSE
='#'
14664 HAVE_AUTHSQLITE_TRUE
='#'
14665 HAVE_AUTHSQLITE_FALSE
=
14674 # Check whether --with-authcustom was given.
14675 if test "${with_authcustom+set}" = set; then :
14676 withval
=$with_authcustom; doauthcustom
="$withval"
14684 if test "$doauthcustom" = "yes"
14686 LIBAUTHCUSTOM
="libauthcustom.la"
14689 if test "$AUTHCUSTOM" != ""; then
14691 HAVE_CUSTOM_FALSE
='#'
14693 HAVE_CUSTOM_TRUE
='#'
14705 # Check whether --with-pipeprog was given.
14706 if test "${with_pipeprog+set}" = set; then :
14707 withval
=$with_pipeprog; authProg
="$withval"
14709 authProg
="$pkgconfdir/authProg"
14715 # Check whether --with-authpipe was given.
14716 if test "${with_authpipe+set}" = set; then :
14717 withval
=$with_authpipe; doauthpipe
="$withval"
14725 if test "$doauthpipe" = "yes"
14727 LIBAUTHPIPE
="libauthpipe.la"
14730 if test "$AUTHPIPE" != ""; then
14732 HAVE_PIPE_FALSE
='#'
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14743 $as_echo_n "checking for ANSI C header files... " >&6; }
14744 if ${ac_cv_header_stdc+:} false
; then :
14745 $as_echo_n "(cached) " >&6
14747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14749 #include <stdlib.h>
14750 #include <stdarg.h>
14751 #include <string.h>
14762 if ac_fn_c_try_compile
"$LINENO"; then :
14763 ac_cv_header_stdc
=yes
14765 ac_cv_header_stdc
=no
14767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14769 if test $ac_cv_header_stdc = yes; then
14770 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14772 /* end confdefs.h. */
14773 #include <string.h>
14776 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14777 $EGREP "memchr" >/dev
/null
2>&1; then :
14780 ac_cv_header_stdc
=no
14786 if test $ac_cv_header_stdc = yes; then
14787 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14790 #include <stdlib.h>
14793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14794 $EGREP "free" >/dev
/null
2>&1; then :
14797 ac_cv_header_stdc
=no
14803 if test $ac_cv_header_stdc = yes; then
14804 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14805 if test "$cross_compiling" = yes; then :
14808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14811 #include <stdlib.h>
14812 #if ((' ' & 0x0FF) == 0x020)
14813 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14814 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14816 # define ISLOWER(c) \
14817 (('a' <= (c) && (c) <= 'i') \
14818 || ('j' <= (c) && (c) <= 'r') \
14819 || ('s' <= (c) && (c) <= 'z'))
14820 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14823 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14828 for (i = 0; i < 256; i++)
14829 if (XOR (islower (i), ISLOWER (i))
14830 || toupper (i) != TOUPPER (i))
14835 if ac_fn_c_try_run
"$LINENO"; then :
14838 ac_cv_header_stdc
=no
14840 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
14841 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14847 $as_echo "$ac_cv_header_stdc" >&6; }
14848 if test $ac_cv_header_stdc = yes; then
14850 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
14855 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
14856 if ${ac_cv_header_sys_wait_h+:} false
; then :
14857 $as_echo_n "(cached) " >&6
14859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h. */
14861 #include <sys/types.h>
14862 #include <sys/wait.h>
14863 #ifndef WEXITSTATUS
14864 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
14867 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
14875 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
14880 if ac_fn_c_try_compile
"$LINENO"; then :
14881 ac_cv_header_sys_wait_h
=yes
14883 ac_cv_header_sys_wait_h
=no
14885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
14888 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
14889 if test $ac_cv_header_sys_wait_h = yes; then
14891 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
14895 for ac_header
in sys
/stat.h sys
/time.h sys
/wait.h sys
/select.h unistd.h fcntl.h
crypt.h termios.h
14897 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14898 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14899 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14900 cat >>confdefs.h
<<_ACEOF
14901 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14910 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14911 if ${ac_cv_c_const+:} false
; then :
14912 $as_echo_n "(cached) " >&6
14914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14915 /* end confdefs.h. */
14921 #ifndef __cplusplus
14922 /* Ultrix mips cc rejects this sort of thing. */
14923 typedef int charset[2];
14924 const charset cs = { 0, 0 };
14925 /* SunOS 4.1.1 cc rejects this. */
14926 char const *const *pcpcc;
14928 /* NEC SVR4.0.2 mips cc rejects this. */
14929 struct point {int x, y;};
14930 static struct point const zero = {0,0};
14931 /* AIX XL C 1.02.0.0 rejects this.
14932 It does not let you subtract one const X* pointer from another in
14933 an arm of an if-expression whose if-part is not a constant
14935 const char *g = "string";
14936 pcpcc = &g + (g ? g-g : 0);
14937 /* HPUX 7.0 cc rejects these. */
14939 ppc = (char**) pcpcc;
14940 pcpcc = (char const *const *) ppc;
14941 { /* SCO 3.2v4 cc rejects this sort of thing. */
14944 char const *s = 0 ? (char *) 0 : (char const *) 0;
14949 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14950 int x[] = {25, 17};
14951 const int *foo = &x[0];
14954 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14955 typedef const int *iptr;
14959 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
14960 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14961 struct s { int j; const int *ap[3]; } bx;
14962 struct s *b = &bx; b->j = 5;
14964 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14965 const int foo = 10;
14966 if (!foo) return 0;
14968 return !cs[0] && !zero.x;
14975 if ac_fn_c_try_compile
"$LINENO"; then :
14980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14983 $as_echo "$ac_cv_c_const" >&6; }
14984 if test $ac_cv_c_const = no
; then
14986 $as_echo "#define const /**/" >>confdefs.h
14990 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14991 if test "x$ac_cv_type_pid_t" = xyes
; then :
14995 cat >>confdefs.h
<<_ACEOF
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
15002 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
15003 if ${ac_cv_type_uid_t+:} false
; then :
15004 $as_echo_n "(cached) " >&6
15006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15008 #include <sys/types.h>
15011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15012 $EGREP "uid_t" >/dev
/null
2>&1; then :
15013 ac_cv_type_uid_t
=yes
15015 ac_cv_type_uid_t
=no
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
15021 $as_echo "$ac_cv_type_uid_t" >&6; }
15022 if test $ac_cv_type_uid_t = no
; then
15024 $as_echo "#define uid_t int" >>confdefs.h
15027 $as_echo "#define gid_t int" >>confdefs.h
15031 for ac_func
in setsid setlogin
15033 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15034 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15035 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15036 cat >>confdefs.h
<<_ACEOF
15037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
15044 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
15045 if ${ac_cv_lib_crypt_crypt+:} false
; then :
15046 $as_echo_n "(cached) " >&6
15048 ac_check_lib_save_LIBS
=$LIBS
15049 LIBS
="-lcrypt $LIBS"
15050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15051 /* end confdefs.h. */
15053 /* Override any GCC internal prototype to avoid an error.
15054 Use char because int might match the return type of a GCC
15055 builtin and then its argument prototype would still apply. */
15068 if ac_fn_c_try_link
"$LINENO"; then :
15069 ac_cv_lib_crypt_crypt
=yes
15071 ac_cv_lib_crypt_crypt
=no
15073 rm -f core conftest.err conftest.
$ac_objext \
15074 conftest
$ac_exeext conftest.
$ac_ext
15075 LIBS
=$ac_check_lib_save_LIBS
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
15078 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
15079 if test "x$ac_cv_lib_crypt_crypt" = xyes
; then :
15080 CRYPTLIBS
="-lcrypt"
15084 LIBS
="$CRYPTLIBS $LIBS"
15085 ac_fn_c_check_func
"$LINENO" "crypt" "ac_cv_func_crypt"
15086 if test "x$ac_cv_func_crypt" = xyes
; then :
15088 cat >>confdefs.h
<<_ACEOF
15089 #define HAVE_CRYPT 1
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt() prototype" >&5
15096 $as_echo_n "checking for crypt() prototype... " >&6; }
15097 if ${userdb_cv_NEED_CRYPT_PROTOTYPE+:} false
; then :
15098 $as_echo_n "(cached) " >&6
15100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15107 #include <unistd.h>
15109 int crypt(int, int);
15120 if ac_fn_c_try_compile
"$LINENO"; then :
15121 userdb_cv_NEED_CRYPT_PROTOTYPE
=1
15123 userdb_cv_NEED_CRYPT_PROTOTYPE
=0
15125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
15130 $as_echo "$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6; }
15133 cat >>confdefs.h
<<_ACEOF
15134 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
15143 # Check whether --with-authdaemonrc was given.
15144 if test "${with_authdaemonrc+set}" = set; then :
15145 withval
=$with_authdaemonrc; authdaemonrc
="$withval"
15147 authdaemonrc
="$pkgconfdir/authdaemonrc"
15153 # Check whether --with-authdaemonvar was given.
15154 if test "${with_authdaemonvar+set}" = set; then :
15155 withval
=$with_authdaemonvar; authdaemonvar
="$withval"
15157 authdaemonvar
="$localstatedir/spool/authdaemon"
15165 rm -f authdaemonrc.h authldaprc.h authmysqlrc.h authpgsqlrc.h vpopmail_config.h
15170 if test -x "$COURIERCONFIG"
15172 $COURIERCONFIG >conftest.out ||
exit 1
15173 sed -n '/^mail/p' <conftest.out
>conftest2.out ||
exit 1
15175 rm -f conftest.out conftest2.out
15177 cmailuser
="$mailuser"
15178 cmailgroup
="$mailgroup"
15179 result
=" (from courier-config)"
15182 if test -x "$bindir/courierauthconfig"
15184 $bindir/courierauthconfig
--configfiles >conftest.out ||
exit 1
15185 sed -n '/^mail/p' <conftest.out
>conftest2.out ||
exit 1
15187 rm -f conftest.out conftest2.out
15189 cmailuser
="$mailuser"
15190 cmailgroup
="$mailgroup"
15191 result
=" (from previous courierauthconfig)"
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mail userid" >&5
15202 $as_echo_n "checking for mail userid... " >&6; }
15205 # Check whether --with-mailuser was given.
15206 if test "${with_mailuser+set}" = set; then :
15207 withval
=$with_mailuser; mailuser
="$withval"
15209 if test "$cmailuser" = ""
15211 if test "$cross_compiling" = yes; then :
15212 as_fn_error $?
"Must use --with-mailuser when cross compiling." "$LINENO" 5
15214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15219 #include <stdlib.h>
15221 static const char *ids $LB $RB={"courier","daemon","adm","bin","root", 0};
15229 for (i=0; ids $LB i $RB; i++)
15230 if (getpwnam(ids $LB i $RB)) break;
15232 f=fopen("conftest.out", "w");
15233 if (f && ids $LB i $RB)
15235 fprintf(f, "%s\n", ids $LB i $RB);
15245 if ac_fn_c_try_run
"$LINENO"; then :
15246 mailuser
=`cat conftest.out`
15248 as_fn_error use
--with-mailuser.
"Cannot determine mail user" "$LINENO" 5
15250 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15251 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15255 mailuser
="$cmailuser"
15257 ac_configure_args
="$ac_configure_args --with-mailuser=$mailuser"
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mailuser $result" >&5
15262 $as_echo "$mailuser $result" >&6; }
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mail group id" >&5
15265 $as_echo_n "checking for mail group id... " >&6; }
15268 # Check whether --with-mailgroup was given.
15269 if test "${with_mailgroup+set}" = set; then :
15270 withval
=$with_mailgroup; mailgroup
="$withval"
15272 if test "$cmailgroup" = ""
15274 if test "$cross_compiling" = yes; then :
15275 as_fn_error $?
"Must use --with-mailgroup when cross compiling." "$LINENO" 5
15277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h. */
15282 #include <stdlib.h>
15284 static const char *ids $LB $RB={"courier", "daemon","sys","adm", "root", 0};
15291 for (i=0; ids $LB i $RB; i++)
15292 if (getgrnam(ids $LB i $RB)) break;
15294 f=fopen("conftest.out", "w");
15295 if (f && ids $LB i $RB)
15297 fprintf(f, "%s\n", ids $LB i $RB);
15307 if ac_fn_c_try_run
"$LINENO"; then :
15308 mailgroup
=`cat conftest.out`
15310 as_fn_error use
--with-mailgroup.
"Cannot determine mail group" "$LINENO" 5
15312 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15313 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15317 mailgroup
="$cmailgroup"
15319 ac_configure_args
="$ac_configure_args --with-mailgroup=$mailgroup"
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mailgroup $result" >&5
15324 $as_echo "$mailgroup $result" >&6; }
15330 # Check whether --with-stdheaderdir was given.
15331 if test "${with_stdheaderdir+set}" = set; then :
15332 withval
=$with_stdheaderdir;
15333 if test "$withval" = "no"
15336 cat >>confdefs.h
<<_ACEOF
15337 #define HAVE_NOSTDHEADERDIR 1
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
15346 $as_echo_n "checking for socklen_t... " >&6; }
15347 if ${authlib_cv_hassocklen_t+:} false
; then :
15348 $as_echo_n "(cached) " >&6
15350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15351 /* end confdefs.h. */
15354 #include <sys/types.h>
15355 #include <sys/socket.h>
15360 if ac_fn_c_try_compile
"$LINENO"; then :
15361 authlib_cv_hassocklen_t
=yes
15363 authlib_cv_hassocklen_t
=no
15365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $authlib_cv_hassocklen_t" >&5
15369 $as_echo "$authlib_cv_hassocklen_t" >&6; }
15373 if test $authlib_cv_hassocklen_t = yes
15378 cat >>confdefs.h
<<_ACEOF
15379 #define socklen_t int
15385 # Check whether --with-repository was given.
15386 if test "${with_repository+set}" = set; then :
15387 withval
=$with_repository; REPOSITORY
="$withval"
15392 if test -d ${srcdir}/libs
/docbook
; then
15394 HAVE_SGML_FALSE
='#'
15400 subdirs
="$subdirs libs/bdbobj libs/gdbmobj libs/md5 libs/sha1 libs/libhmac libs/numlib libs/makedat userdb libs/unicode libs/rfc822 libs/random128 libs/liblock liblog"
15403 ac_config_files
="$ac_config_files Makefile authdaemond authdaemonrc authsystem.passwd README.authdebug.html dbobj.config dbobj.h authmigrate courier-authlib.spec courier-authlib.lpspec courier-authlib.sysvinit courier-authlib.service userdb-test-cram-md5.pl"
15405 cat >confcache
<<\_ACEOF
15406 # This file is a shell script that caches the results of configure
15407 # tests run on this system so they can be shared between configure
15408 # scripts and configure runs, see configure's option --config-cache.
15409 # It is not useful on other systems. If it contains results you don't
15410 # want to keep, you may remove or edit it.
15412 # config.status only pays attention to the cache file if you give it
15413 # the --recheck option to rerun configure.
15415 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15416 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15417 # following values.
15421 # The following way of writing the cache mishandles newlines in values,
15422 # but we know of no workaround that is simple, portable, and efficient.
15423 # So, we kill variables containing newlines.
15424 # Ultrix sh set writes to stderr and can't be redirected directly,
15425 # and sets the high bit in the cache file unless we assign to the vars.
15427 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15428 eval ac_val
=\$
$ac_var
15432 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15433 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15436 _ | IFS | as_nl
) ;; #(
15437 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15438 *) { eval $ac_var=; unset $ac_var;} ;;
15444 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15445 *${as_nl}ac_space
=\
*)
15446 # `set' does not quote correctly, so add quotes: double-quote
15447 # substitution turns \\\\ into \\, and sed turns \\ into \.
15450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15453 # `set' quotes correctly as required by POSIX, so do not add quotes.
15454 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15463 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15465 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15467 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15468 if test -w "$cache_file"; then
15469 if test "x$cache_file" != "x/dev/null"; then
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15471 $as_echo "$as_me: updating cache $cache_file" >&6;}
15472 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15473 cat confcache
>"$cache_file"
15475 case $cache_file in #(
15477 mv -f confcache
"$cache_file"$$
&&
15478 mv -f "$cache_file"$$
"$cache_file" ;; #(
15480 mv -f confcache
"$cache_file" ;;
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15486 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15491 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15492 # Let make expand exec_prefix.
15493 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15495 DEFS
=-DHAVE_CONFIG_H
15499 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15500 # 1. Remove the extension, and $U if already installed.
15501 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15502 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15503 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15504 # will be set to the directory where LIBOBJS objects are built.
15505 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15506 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15508 LIBOBJS
=$ac_libobjs
15510 LTLIBOBJS
=$ac_ltlibobjs
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15514 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15515 if test -n "$am_sleep_pid"; then
15516 # Hide warnings about reused PIDs.
15517 wait $am_sleep_pid 2>/dev
/null
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15520 $as_echo "done" >&6; }
15521 if test -n "$EXEEXT"; then
15523 am__EXEEXT_FALSE
='#'
15525 am__EXEEXT_TRUE
='#'
15529 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15530 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15533 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15534 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15537 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
15538 as_fn_error $?
"conditional \"INSTALL_LTDL\" was never defined.
15539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15541 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
15542 as_fn_error $?
"conditional \"CONVENIENCE_LTDL\" was never defined.
15543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15545 LT_CONFIG_H
=courier_auth_config.h
15549 if test -n "$_LT_LIBOBJS"; then
15550 # Remove the extension.
15551 _lt_sed_drop_objext
='s/\.o$//;s/\.obj$//'
15552 for i
in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
15553 _ltdl_libobjs
="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
15554 _ltdl_ltlibobjs
="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
15557 ltdl_LIBOBJS
=$_ltdl_libobjs
15559 ltdl_LTLIBOBJS
=$_ltdl_ltlibobjs
15562 if test -z "${HAVE_LDAP_TRUE}" && test -z "${HAVE_LDAP_FALSE}"; then
15563 as_fn_error $?
"conditional \"HAVE_LDAP\" was never defined.
15564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15566 if test -z "${HAVE_AUTHPGSQL_TRUE}" && test -z "${HAVE_AUTHPGSQL_FALSE}"; then
15567 as_fn_error $?
"conditional \"HAVE_AUTHPGSQL\" was never defined.
15568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15570 if test -z "${HAVE_AUTHMYSQL_TRUE}" && test -z "${HAVE_AUTHMYSQL_FALSE}"; then
15571 as_fn_error $?
"conditional \"HAVE_AUTHMYSQL\" was never defined.
15572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15574 if test -z "${HAVE_AUTHSQLITE_TRUE}" && test -z "${HAVE_AUTHSQLITE_FALSE}"; then
15575 as_fn_error $?
"conditional \"HAVE_AUTHSQLITE\" was never defined.
15576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15578 if test -z "${HAVE_CUSTOM_TRUE}" && test -z "${HAVE_CUSTOM_FALSE}"; then
15579 as_fn_error $?
"conditional \"HAVE_CUSTOM\" was never defined.
15580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15582 if test -z "${HAVE_PIPE_TRUE}" && test -z "${HAVE_PIPE_FALSE}"; then
15583 as_fn_error $?
"conditional \"HAVE_PIPE\" was never defined.
15584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15586 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
15587 as_fn_error $?
"conditional \"HAVE_SGML\" was never defined.
15588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15591 : "${CONFIG_STATUS=./config.status}"
15593 ac_clean_files_save
=$ac_clean_files
15594 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15596 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15598 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15600 # Generated by $as_me.
15601 # Run this file to recreate the current configuration.
15602 # Compiler output produced by configure, useful for debugging
15603 # configure, is in config.log if it exists.
15606 ac_cs_recheck=false
15609 SHELL=\${CONFIG_SHELL-$SHELL}
15612 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15613 ## -------------------- ##
15614 ## M4sh Initialization. ##
15615 ## -------------------- ##
15617 # Be more Bourne compatible
15618 DUALCASE
=1; export DUALCASE
# for MKS sh
15619 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15622 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15623 # is contrary to our usage. Disable this feature.
15624 alias -g '${1+"$@"}'='"$@"'
15625 setopt NO_GLOB_SUBST
15627 case `(set -o) 2>/dev/null` in #(
15639 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15640 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15643 # Prefer a ksh shell builtin over an external printf program on Solaris,
15644 # but without wasting forks for bash or zsh.
15645 if test -z "$BASH_VERSION$ZSH_VERSION" \
15646 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15647 as_echo='print
-r --'
15648 as_echo_n='print
-rn --'
15649 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15650 as_echo='printf %s
\n'
15651 as_echo_n='printf %s
'
15653 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15654 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15655 as_echo_n='/usr
/ucb
/echo -n'
15657 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15658 as_echo_n_body='eval
15662 expr "X$arg" : "X\\(.*\\)$as_nl";
15663 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15665 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15667 export as_echo_n_body
15668 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15670 export as_echo_body
15671 as_echo='sh
-c $as_echo_body as_echo
'
15674 # The user is always right.
15675 if test "${PATH_SEPARATOR+set}" != set; then
15677 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15678 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15685 # We need space, tab and new line, in precisely that order. Quoting is
15686 # there to prevent editors from complaining about space-tab.
15687 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15688 # splitting by setting IFS to empty value.)
15691 # Find who we are. Look in the path if we contain no directory separator.
15694 *[\\/]* ) as_myself=$0 ;;
15695 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15696 for as_dir in $PATH
15699 test -z "$as_dir" && as_dir=.
15700 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15706 # We did not find ourselves, most probably we were run as `sh COMMAND'
15707 # in which case we are not to be found in the path.
15708 if test "x$as_myself" = x
; then
15711 if test ! -f "$as_myself"; then
15712 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15716 # Unset variables that we do not need and which cause bugs (e.g. in
15717 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15718 # suppresses any "Segmentation fault" message there. '((' could
15719 # trigger a bug in pdksh 5.2.14.
15720 for as_var
in BASH_ENV ENV MAIL MAILPATH
15721 do eval test x\
${$as_var+set} = xset \
15722 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15735 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15738 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15739 # ----------------------------------------
15740 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15741 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15742 # script with STATUS, using 1 if that was 0.
15745 as_status
=$1; test $as_status -eq 0 && as_status
=1
15747 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15748 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15750 $as_echo "$as_me: error: $2" >&2
15751 as_fn_exit
$as_status
15755 # as_fn_set_status STATUS
15756 # -----------------------
15757 # Set $? to STATUS, without forking.
15758 as_fn_set_status
()
15761 } # as_fn_set_status
15763 # as_fn_exit STATUS
15764 # -----------------
15765 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15769 as_fn_set_status
$1
15775 # Portably unset VAR.
15778 { eval $1=; unset $1;}
15780 as_unset
=as_fn_unset
15781 # as_fn_append VAR VALUE
15782 # ----------------------
15783 # Append the text in VALUE to the end of the definition contained in VAR. Take
15784 # advantage of any shell optimizations that allow amortized linear growth over
15785 # repeated appends, instead of the typical quadratic growth present in naive
15787 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15788 eval 'as_fn_append ()
15799 # as_fn_arith ARG...
15800 # ------------------
15801 # Perform arithmetic evaluation on the ARGs, and store the result in the
15802 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15803 # must be portable across $(()) and expr.
15804 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15805 eval 'as_fn_arith ()
15812 as_val
=`expr "$@" || test $? -eq 1`
15817 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15818 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15824 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15825 as_basename
=basename
15830 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15836 as_me
=`$as_basename -- "$0" ||
15837 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15838 X"$0" : 'X\(//\)$' \| \
15839 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15841 sed '/^.*\/\([^/][^/]*\)\/*$/{
15855 # Avoid depending upon Character Ranges.
15856 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15857 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15858 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15859 as_cr_digits
='0123456789'
15860 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15862 ECHO_C
= ECHO_N
= ECHO_T
=
15863 case `echo -n x` in #(((((
15865 case `echo 'xy\c'` in
15866 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15868 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15875 rm -f conf$$ conf$$.exe conf$$.
file
15876 if test -d conf$$.dir
; then
15877 rm -f conf$$.dir
/conf$$.
file
15880 mkdir conf$$.dir
2>/dev
/null
15882 if (echo >conf$$.
file) 2>/dev
/null
; then
15883 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15885 # ... but there are two gotchas:
15886 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15887 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15888 # In both cases, we have to default to `cp -pR'.
15889 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15891 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15899 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15900 rmdir conf$$.dir
2>/dev
/null
15905 # Create "$as_dir" as a directory, including parents if necessary.
15910 -*) as_dir
=.
/$as_dir;;
15912 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15916 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15917 *) as_qdir
=$as_dir;;
15919 as_dirs
="'$as_qdir' $as_dirs"
15920 as_dir
=`$as_dirname -- "$as_dir" ||
15921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15922 X"$as_dir" : 'X\(//\)[^/]' \| \
15923 X"$as_dir" : 'X\(//\)$' \| \
15924 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15925 $as_echo X"$as_dir" |
15926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15930 /^X\(\/\/\)[^/].*/{
15943 test -d "$as_dir" && break
15945 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15946 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15950 if mkdir
-p .
2>/dev
/null
; then
15951 as_mkdir_p
='mkdir -p "$as_dir"'
15953 test -d .
/-p && rmdir .
/-p
15958 # as_fn_executable_p FILE
15959 # -----------------------
15960 # Test if FILE is an executable regular file.
15961 as_fn_executable_p
()
15963 test -f "$1" && test -x "$1"
15964 } # as_fn_executable_p
15965 as_test_x
='test -x'
15966 as_executable_p
=as_fn_executable_p
15968 # Sed expression to map a string onto a valid CPP name.
15969 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15971 # Sed expression to map a string onto a valid variable name.
15972 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15976 ## ----------------------------------- ##
15977 ## Main body of $CONFIG_STATUS script. ##
15978 ## ----------------------------------- ##
15980 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15983 # Save the log message, to keep $0 and so on meaningful, and to
15984 # report actual input values of CONFIG_FILES etc. instead of their
15985 # values after options handling.
15987 This file was extended by courier-authlib $as_me 0.66.1, which was
15988 generated by GNU Autoconf 2.69. Invocation command line was
15990 CONFIG_FILES = $CONFIG_FILES
15991 CONFIG_HEADERS = $CONFIG_HEADERS
15992 CONFIG_LINKS = $CONFIG_LINKS
15993 CONFIG_COMMANDS = $CONFIG_COMMANDS
15996 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16001 case $ac_config_files in *"
16002 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16005 case $ac_config_headers in *"
16006 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16010 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16011 # Files that config.status was made for.
16012 config_files="$ac_config_files"
16013 config_headers="$ac_config_headers"
16014 config_commands="$ac_config_commands"
16018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16020 \`$as_me' instantiates files and other configuration actions
16021 from templates according to the current configuration. Unless the files
16022 and actions are specified as TAGs, all are instantiated by default.
16024 Usage: $0 [OPTION]... [TAG]...
16026 -h, --help print this help, then exit
16027 -V, --version print version number and configuration settings, then exit
16028 --config print configuration, then exit
16029 -q, --quiet, --silent
16030 do not print progress messages
16031 -d, --debug don't remove temporary files
16032 --recheck update $as_me by reconfiguring in the same conditions
16033 --file=FILE[:TEMPLATE]
16034 instantiate the configuration file FILE
16035 --header=FILE[:TEMPLATE]
16036 instantiate the configuration header FILE
16038 Configuration files:
16041 Configuration headers:
16044 Configuration commands:
16047 Report bugs to <courier-users@lists.sourceforge.net>."
16050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16051 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16053 courier-authlib config.status 0.66.1
16054 configured by $0, generated by GNU Autoconf 2.69,
16055 with options \\"\$ac_cs_config\\"
16057 Copyright (C) 2012 Free Software Foundation, Inc.
16058 This config.status script is free software; the Free Software Foundation
16059 gives unlimited permission to copy, distribute and modify it."
16066 test -n "\$AWK" || AWK=awk
16069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16070 # The default lists apply if the user does not specify any file.
16076 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16077 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16081 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16093 # Handling of the options.
16094 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16096 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16097 $as_echo "$ac_cs_version"; exit ;;
16098 --config |
--confi |
--conf |
--con |
--co |
--c )
16099 $as_echo "$ac_cs_config"; exit ;;
16100 --debug |
--debu |
--deb |
--de |
--d |
-d )
16102 --file |
--fil |
--fi |
--f )
16105 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16106 '') as_fn_error $?
"missing file argument" ;;
16108 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16109 ac_need_defaults
=false
;;
16110 --header |
--heade |
--head |
--hea )
16113 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16115 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16116 ac_need_defaults
=false
;;
16118 # Conflict between --help and --header
16119 as_fn_error $?
"ambiguous option: \`$1'
16120 Try \`$0 --help' for more information.";;
16121 --help |
--hel |
-h )
16122 $as_echo "$ac_cs_usage"; exit ;;
16123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16124 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16127 # This is an error.
16128 -*) as_fn_error $?
"unrecognized option: \`$1'
16129 Try \`$0 --help' for more information." ;;
16131 *) as_fn_append ac_config_targets
" $1"
16132 ac_need_defaults
=false
;;
16138 ac_configure_extra_args
=
16140 if $ac_cs_silent; then
16142 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16147 if \$ac_cs_recheck; then
16148 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16150 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16151 CONFIG_SHELL='$SHELL'
16152 export CONFIG_SHELL
16157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16161 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16162 ## Running $as_me. ##
16168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16172 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16175 # The HP-UX ksh and POSIX shell print the target directory to stdout
16176 # if CDPATH is set.
16177 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16179 sed_quote_subst='$sed_quote_subst'
16180 double_quote_subst='$double_quote_subst'
16181 delay_variable_subst='$delay_variable_subst'
16182 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16183 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16184 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16185 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16186 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16187 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16188 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16189 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16190 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16191 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16192 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16193 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16194 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16195 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16196 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16197 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16198 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16199 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16200 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16201 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16202 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16203 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16204 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16205 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16206 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16207 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16208 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16209 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16210 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16211 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16212 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16213 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16214 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16215 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16216 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16217 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16218 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16219 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16220 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16221 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16222 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16223 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16224 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16225 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16226 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16227 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16228 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16229 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16230 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16231 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16232 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16233 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16234 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16235 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16236 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16237 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16238 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16239 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16240 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16241 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16242 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16243 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16244 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16245 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16246 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16247 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16248 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16249 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16250 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16251 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16252 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16253 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16254 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16255 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16256 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16257 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16258 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16259 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16260 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16261 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16262 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16263 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16264 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16265 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16266 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16267 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16268 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16269 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16270 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16271 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16272 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16273 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16274 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16275 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16276 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16277 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16278 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16279 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16280 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16281 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16282 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16283 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16284 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16285 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16286 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16287 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16288 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16289 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16290 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16291 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16292 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16293 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16294 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16295 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16296 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16297 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16298 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16299 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16300 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16301 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16302 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16303 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16304 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16305 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16306 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16307 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16308 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16309 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16310 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16311 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16314 LTCFLAGS='$LTCFLAGS'
16315 compiler='$compiler_DEFAULT'
16317 # A function that is used when there is no print builtin or printf.
16318 func_fallback_echo ()
16320 eval 'cat <<_LTECHO_EOF
16325 # Quote evaled strings.
16340 deplibs_check_method \
16345 sharedlib_from_linklib_cmd \
16348 archiver_list_spec \
16354 lt_cv_sys_global_symbol_pipe \
16355 lt_cv_sys_global_symbol_to_cdecl \
16356 lt_cv_sys_global_symbol_to_c_name_address \
16357 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16358 nm_file_list_spec \
16359 lt_prog_compiler_no_builtin_flag \
16360 lt_prog_compiler_pic \
16361 lt_prog_compiler_wl \
16362 lt_prog_compiler_static \
16363 lt_cv_prog_compiler_c_o \
16372 export_dynamic_flag_spec \
16373 whole_archive_flag_spec \
16374 compiler_needs_object \
16376 allow_undefined_flag \
16377 no_undefined_flag \
16378 hardcode_libdir_flag_spec \
16379 hardcode_libdir_separator \
16383 variables_saved_for_relink \
16385 library_names_spec \
16387 install_override_mode \
16391 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16392 *[\\\\\\\`\\"\\\$]*)
16393 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16396 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16401 # Double-quote double-evaled strings.
16402 for var in reload_cmds \
16403 old_postinstall_cmds \
16404 old_postuninstall_cmds \
16406 extract_expsyms_cmds \
16407 old_archive_from_new_cmds \
16408 old_archive_from_expsyms_cmds \
16410 archive_expsym_cmds \
16412 module_expsym_cmds \
16413 export_symbols_cmds \
16417 postuninstall_cmds \
16419 sys_lib_search_path_spec \
16420 sys_lib_dlsearch_path_spec; do
16421 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16422 *[\\\\\\\`\\"\\\$]*)
16423 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16426 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16431 ac_aux_dir='$ac_aux_dir'
16432 xsi_shell='$xsi_shell'
16433 lt_shell_append='$lt_shell_append'
16435 # See if we are running on zsh, and set the options which allow our
16436 # commands through without removal of \ escapes INIT.
16437 if test -n "\${ZSH_VERSION+set}" ; then
16438 setopt NO_GLOB_SUBST
16444 TIMESTAMP='$TIMESTAMP'
16453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16455 # Handling of arguments.
16456 for ac_config_target
in $ac_config_targets
16458 case $ac_config_target in
16459 "courier_auth_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS courier_auth_config.h" ;;
16460 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16461 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16462 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16463 "authdaemond") CONFIG_FILES
="$CONFIG_FILES authdaemond" ;;
16464 "authdaemonrc") CONFIG_FILES
="$CONFIG_FILES authdaemonrc" ;;
16465 "authsystem.passwd") CONFIG_FILES
="$CONFIG_FILES authsystem.passwd" ;;
16466 "README.authdebug.html") CONFIG_FILES
="$CONFIG_FILES README.authdebug.html" ;;
16467 "dbobj.config") CONFIG_FILES
="$CONFIG_FILES dbobj.config" ;;
16468 "dbobj.h") CONFIG_FILES
="$CONFIG_FILES dbobj.h" ;;
16469 "authmigrate") CONFIG_FILES
="$CONFIG_FILES authmigrate" ;;
16470 "courier-authlib.spec") CONFIG_FILES
="$CONFIG_FILES courier-authlib.spec" ;;
16471 "courier-authlib.lpspec") CONFIG_FILES
="$CONFIG_FILES courier-authlib.lpspec" ;;
16472 "courier-authlib.sysvinit") CONFIG_FILES
="$CONFIG_FILES courier-authlib.sysvinit" ;;
16473 "courier-authlib.service") CONFIG_FILES
="$CONFIG_FILES courier-authlib.service" ;;
16474 "userdb-test-cram-md5.pl") CONFIG_FILES
="$CONFIG_FILES userdb-test-cram-md5.pl" ;;
16476 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16481 # If the user did not use the arguments to specify the items to instantiate,
16482 # then the envvar interface is used. Set only those that are not.
16483 # We use the long form for the default assignment because of an extremely
16484 # bizarre bug on SunOS 4.1.3.
16485 if $ac_need_defaults; then
16486 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16487 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16488 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16491 # Have a temporary directory for convenience. Make it in the build tree
16492 # simply because there is no reason against having it here, and in addition,
16493 # creating and moving files from /tmp can sometimes cause problems.
16494 # Hook for its removal unless debugging.
16495 # Note that there is a small window in which the directory will not be cleaned:
16496 # after its creation but before its name has been assigned to `$tmp'.
16500 trap 'exit_status=$?
16501 : "${ac_tmp:=$tmp}"
16502 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16504 trap 'as_fn_exit 1' 1 2 13 15
16506 # Create a (secure) tmp directory for tmp files.
16509 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16513 tmp
=.
/conf$$
-$RANDOM
16514 (umask 077 && mkdir
"$tmp")
16515 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16518 # Set up the scripts for CONFIG_FILES section.
16519 # No need to generate them if there are no CONFIG_FILES.
16520 # This happens for instance with `./config.status config.h'.
16521 if test -n "$CONFIG_FILES"; then
16524 ac_cr
=`echo X | tr X '\015'`
16525 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16526 # But we know of no other shell where ac_cr would be empty at this
16527 # point, so we can use a bashism as a fallback.
16528 if test "x$ac_cr" = x
; then
16529 eval ac_cr
=\$
\'\\r
\'
16531 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16532 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16535 ac_cs_awk_cr
=$ac_cr
16538 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16543 echo "cat >conf$$subs.awk <<_ACEOF" &&
16544 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16546 } >conf$$subs.sh ||
16547 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16548 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16550 for ac_last_try in false false false false false :; do
16551 . ./conf$$subs.sh ||
16552 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16554 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16555 if test $ac_delim_n = $ac_delim_num; then
16557 elif $ac_last_try; then
16558 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16560 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16563 rm -f conf$$subs.sh
16565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16566 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16570 s/^/S["/; s
/!.
*/"]=/
16580 s/\(.\{148\}\)..*/\1/
16582 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16587 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16594 s/\(.\{148\}\)..*/\1/
16596 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16600 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16605 ' <conf$$subs.awk | sed '
16610 ' >>$CONFIG_STATUS || ac_write_fail=1
16611 rm -f conf$$subs.awk
16612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16614 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16615 for (key in S) S_is_set[key] = 1
16621 nfields = split(line, field, "@
")
16623 len = length(field[1])
16624 for (i = 2; i < nfields; i++) {
16626 keylen = length(key)
16627 if (S_is_set[key]) {
16629 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16630 len += length(value) + length(field[++i])
16641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16642 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16643 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16646 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16647 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16650 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16651 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16652 # trailing colons and then remove the whole line if VPATH becomes empty
16653 # (actually we leave an empty line to preserve line numbers).
16654 if test "x
$srcdir" = x.; then
16655 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16674 fi # test -n "$CONFIG_FILES"
16676 # Set up the scripts for CONFIG_HEADERS section.
16677 # No need to generate them if there are no CONFIG_HEADERS.
16678 # This happens for instance with `./config.status Makefile'.
16679 if test -n "$CONFIG_HEADERS"; then
16680 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16684 # Transform confdefs.h into an awk script `defines.awk', embedded as
16685 # here-document in config.status, that substitutes the proper values into
16686 # config.h.in to produce config.h.
16688 # Create a delimiter string that does not exist in confdefs.h, to ease
16689 # handling of long lines.
16691 for ac_last_try in false false :; do
16692 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16693 if test -z "$ac_tt"; then
16695 elif $ac_last_try; then
16696 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16698 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16702 # For the awk script, D is an array of macro values keyed by name,
16703 # likewise P contains macro parameters if any. Preserve backslash
16704 # newline sequences.
16706 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16708 s/.\{148\}/&'"$ac_delim"'/g
16711 s/^[ ]*#[ ]*define[ ][ ]*/ /
16718 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16720 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16724 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16725 D["\
1"]=" \
3\\\\\\n
"\\/p
16727 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16732 s/.\{148\}/&'"$ac_delim"'/g
16737 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16740 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16742 ' <confdefs.h | sed '
16743 s/'"$ac_delim"'/"\\\
16744 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16747 for (key in D) D_is_set[key] = 1
16750 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16752 split(line, arg, " ")
16753 if (arg[1] == "#") {
16757 defundef
= substr
(arg
[1], 2)
16760 split(mac1
, mac2
, "(") #)
16762 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16763 if (D_is_set
[macro
]) {
16764 # Preserve the white space surrounding the "#".
16765 print prefix
"define", macro P
[macro
] D
[macro
]
16768 # Replace #undef with comments. This is necessary, for example,
16769 # in the case of _POSIX_SOURCE, which is predefined and required
16770 # on some systems where configure will not decide to define it.
16771 if (defundef
== "undef") {
16772 print
"/*", prefix defundef
, macro
, "*/"
16780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16781 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16782 fi # test -n "$CONFIG_HEADERS"
16785 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16790 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16792 case $ac_mode$ac_tag in
16794 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16795 :[FH
]-) ac_tag
=-:-;;
16796 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16813 -) ac_f
="$ac_tmp/stdin";;
16814 *) # Look for the file first in the build tree, then in the source tree
16815 # (if the path is not absolute). The absolute path cannot be DOS-style,
16816 # because $ac_f cannot contain `:'.
16820 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16822 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16824 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16825 as_fn_append ac_file_inputs
" '$ac_f'"
16828 # Let's still pretend it is `configure' which instantiates (i.e., don't
16829 # use $as_me), people would be surprised to read:
16830 # /* config.h. Generated by config.status. */
16831 configure_input
='Generated from '`
16832 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16834 if test x
"$ac_file" != x-
; then
16835 configure_input
="$ac_file. $configure_input"
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16837 $as_echo "$as_me: creating $ac_file" >&6;}
16839 # Neutralize special characters interpreted by sed in replacement strings.
16840 case $configure_input in #(
16841 *\
&* |
*\|
* |
*\\* )
16842 ac_sed_conf_input
=`$as_echo "$configure_input" |
16843 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16844 *) ac_sed_conf_input
=$configure_input;;
16848 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16849 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16854 ac_dir
=`$as_dirname -- "$ac_file" ||
16855 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16856 X"$ac_file" : 'X\(//\)[^/]' \| \
16857 X"$ac_file" : 'X\(//\)$' \| \
16858 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16859 $as_echo X"$ac_file" |
16860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16864 /^X\(\/\/\)[^/].*/{
16877 as_dir
="$ac_dir"; as_fn_mkdir_p
16881 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16883 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16884 # A ".." for each directory in $ac_dir_suffix.
16885 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16886 case $ac_top_builddir_sub in
16887 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16888 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16891 ac_abs_top_builddir
=$ac_pwd
16892 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16893 # for backward compatibility:
16894 ac_top_builddir
=$ac_top_build_prefix
16897 .
) # We are building in place.
16899 ac_top_srcdir
=$ac_top_builddir_sub
16900 ac_abs_top_srcdir
=$ac_pwd ;;
16901 [\\/]* | ?
:[\\/]* ) # Absolute name.
16902 ac_srcdir
=$srcdir$ac_dir_suffix;
16903 ac_top_srcdir
=$srcdir
16904 ac_abs_top_srcdir
=$srcdir ;;
16905 *) # Relative name.
16906 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16907 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16908 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16910 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16920 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16921 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16923 ac_MKDIR_P
=$MKDIR_P
16925 [\\/$
]* | ?
:[\\/]* ) ;;
16926 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
16930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16931 # If the template does not know about datarootdir, expand it.
16932 # FIXME: This hack should be removed a few years after 2.60.
16933 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16944 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16945 *datarootdir
*) ac_datarootdir_seen
=yes;;
16946 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16948 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16951 ac_datarootdir_hack='
16952 s&@datadir@&$datadir&g
16953 s&@docdir@&$docdir&g
16954 s&@infodir@&$infodir&g
16955 s&@localedir@&$localedir&g
16956 s&@mandir@&$mandir&g
16957 s&\\\${datarootdir}&$datarootdir&g' ;;
16961 # Neutralize VPATH when `$srcdir' = `.'.
16962 # Shell code in configure.ac might set extrasub.
16963 # FIXME: do we really want to maintain this feature?
16964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16965 ac_sed_extra="$ac_vpsub
16968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16970 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16971 s|@configure_input@|
$ac_sed_conf_input|
;t t
16972 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16973 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16974 s
&@srcdir@
&$ac_srcdir&;t t
16975 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16976 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16977 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16978 s
&@builddir@
&$ac_builddir&;t t
16979 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16980 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16981 s
&@INSTALL@
&$ac_INSTALL&;t t
16982 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
16983 $ac_datarootdir_hack
16985 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
16986 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16988 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16989 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16990 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16991 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16993 which seems to be undefined. Please make sure it is defined" >&5
16994 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16995 which seems to be undefined. Please make sure it is defined" >&2;}
16997 rm -f "$ac_tmp/stdin"
16999 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17000 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17008 if test x"$ac_file" != x-; then
17010 $as_echo "/* $configure_input */" \
17011 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17012 } >"$ac_tmp/config.h" \
17013 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17014 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17016 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17019 mv "$ac_tmp/config.h" "$ac_file" \
17020 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17023 $as_echo "/* $configure_input */" \
17024 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17025 || as_fn_error $? "could not create -" "$LINENO" 5
17027 # Compute "$ac_file"'s index
in $config_headers.
17030 for _am_header
in $config_headers :; do
17031 case $_am_header in
17032 $_am_arg |
$_am_arg:* )
17035 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17038 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17039 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17040 X"$_am_arg" : 'X\(//\)[^/]' \| \
17041 X"$_am_arg" : 'X\(//\)$' \| \
17042 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17043 $as_echo X"$_am_arg" |
17044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17048 /^X\(\/\/\)[^/].*/{
17060 s/.*/./; q'`/stamp-h
$_am_stamp_count
17063 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17064 $as_echo "$as_me: executing $ac_file commands" >&6;}
17069 case $ac_file$ac_mode in
17070 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17071 # Older Autoconf quotes --file arguments for eval, but not when files
17072 # are listed without --file. Let's play safe and only enable the eval
17073 # if we detect the quoting.
17074 case $CONFIG_FILES in
17075 *\'*) eval set x
"$CONFIG_FILES" ;;
17076 *) set x
$CONFIG_FILES ;;
17081 # Strip MF so we end up with the name of the file.
17082 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17083 # Check whether this is an Automake generated Makefile or not.
17084 # We used to match only the files named 'Makefile.in', but
17085 # some people rename them; so instead we look at the file content.
17086 # Grep'ing the first line is not enough: some people post-process
17087 # each Makefile.in and add a new line on top of each file to say so.
17088 # Grep'ing the whole file is not good either: AIX grep has a line
17089 # limit of 2048, but all sed's we know have understand at least 4000.
17090 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17091 dirpart
=`$as_dirname -- "$mf" ||
17092 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17093 X"$mf" : 'X\(//\)[^/]' \| \
17094 X"$mf" : 'X\(//\)$' \| \
17095 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17101 /^X\(\/\/\)[^/].*/{
17117 # Extract the definition of DEPDIR, am__include, and am__quote
17118 # from the Makefile without running 'make'.
17119 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17120 test -z "$DEPDIR" && continue
17121 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17122 test -z "$am__include" && continue
17123 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17124 # Find all dependency output files, they are included files with
17125 # $(DEPDIR) in their names. We invoke sed twice because it is the
17126 # simplest approach to changing $(DEPDIR) to its actual value in the
17128 for file in `sed -n "
17129 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17130 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17131 # Make sure the directory exists.
17132 test -f "$dirpart/$file" && continue
17133 fdir
=`$as_dirname -- "$file" ||
17134 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17135 X"$file" : 'X\(//\)[^/]' \| \
17136 X"$file" : 'X\(//\)$' \| \
17137 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17138 $as_echo X"$file" |
17139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17143 /^X\(\/\/\)[^/].*/{
17156 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17157 # echo "creating $dirpart/$file"
17158 echo '# dummy' > "$dirpart/$file"
17165 # See if we are running on zsh, and set the options which allow our
17166 # commands through without removal of \ escapes.
17167 if test -n "${ZSH_VERSION+set}" ; then
17168 setopt NO_GLOB_SUBST
17171 cfgfile
="${ofile}T"
17172 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17175 cat <<_LT_EOF >> "$cfgfile"
17178 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17179 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17180 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17181 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17183 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17184 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17186 # Written by Gordon Matzigkeit, 1996
17188 # This file is part of GNU Libtool.
17190 # GNU Libtool is free software; you can redistribute it and/or
17191 # modify it under the terms of the GNU General Public License as
17192 # published by the Free Software Foundation; either version 2 of
17193 # the License, or (at your option) any later version.
17195 # As a special exception to the GNU General Public License,
17196 # if you distribute this file as part of a program or library that
17197 # is built using GNU Libtool, you may include this file under the
17198 # same distribution terms that you use for the rest of that program.
17200 # GNU Libtool is distributed in the hope that it will be useful,
17201 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17202 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17203 # GNU General Public License for more details.
17205 # You should have received a copy of the GNU General Public License
17206 # along with GNU Libtool; see the file COPYING. If not, a copy
17207 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17208 # obtained by writing to the Free Software Foundation, Inc.,
17209 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17212 # The names of the tagged configurations supported by this script.
17215 # ### BEGIN LIBTOOL CONFIG
17217 # Which release of libtool.m4 was used?
17218 macro_version=$macro_version
17219 macro_revision=$macro_revision
17221 # Whether or not to build shared libraries.
17222 build_libtool_libs=$enable_shared
17224 # Whether or not to build static libraries.
17225 build_old_libs=$enable_static
17227 # What type of objects to build.
17230 # Whether or not to optimize for fast installation.
17231 fast_install=$enable_fast_install
17233 # Shell to use when invoking shell scripts.
17236 # An echo program that protects backslashes.
17239 # The PATH separator for the build system.
17240 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17243 host_alias=$host_alias
17247 # The build system.
17248 build_alias=$build_alias
17252 # A sed program that does not truncate output.
17255 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17256 Xsed="\$SED -e 1s/^X//"
17258 # A grep program that handles long lines.
17264 # A literal string matcher.
17267 # A BSD- or MS-compatible name lister.
17270 # Whether we need soft or hard links.
17273 # What is the maximum length of a command?
17274 max_cmd_len=$max_cmd_len
17276 # Object file suffix (normally "o").
17279 # Executable file suffix (normally "").
17282 # whether the shell understands "unset".
17285 # turn spaces into newlines.
17288 # turn newlines into spaces.
17291 # convert \$build file names to \$host format.
17292 to_host_file_cmd=$lt_cv_to_host_file_cmd
17294 # convert \$build files to toolchain format.
17295 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17297 # An object symbol dumper.
17298 OBJDUMP=$lt_OBJDUMP
17300 # Method to check whether dependent libraries are shared objects.
17301 deplibs_check_method=$lt_deplibs_check_method
17303 # Command to use when deplibs_check_method = "file_magic".
17304 file_magic_cmd=$lt_file_magic_cmd
17306 # How to find potential files when deplibs_check_method = "file_magic".
17307 file_magic_glob=$lt_file_magic_glob
17309 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17310 want_nocaseglob=$lt_want_nocaseglob
17312 # DLL creation program.
17313 DLLTOOL=$lt_DLLTOOL
17315 # Command to associate shared and link libraries.
17316 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17321 # Flags to create an archive.
17322 AR_FLAGS=$lt_AR_FLAGS
17324 # How to feed a file listing to the archiver.
17325 archiver_list_spec=$lt_archiver_list_spec
17327 # A symbol stripping program.
17330 # Commands used to install an old-style archive.
17332 old_postinstall_cmds=$lt_old_postinstall_cmds
17333 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17335 # Whether to use a lock for old archive extraction.
17336 lock_old_archive_extraction=$lock_old_archive_extraction
17341 # LTCC compiler flags.
17342 LTCFLAGS=$lt_CFLAGS
17344 # Take the output of nm and produce a listing of raw symbols and C names.
17345 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17347 # Transform the output of nm in a proper C declaration.
17348 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17350 # Transform the output of nm in a C name address pair.
17351 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17353 # Transform the output of nm in a C name address pair when lib prefix is needed.
17354 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17356 # Specify filename containing input files for \$NM.
17357 nm_file_list_spec=$lt_nm_file_list_spec
17359 # The root where to search for dependent libraries,and in which our libraries should be installed.
17360 lt_sysroot=$lt_sysroot
17362 # The name of the directory that contains temporary libtool files.
17365 # Used to examine libraries when file_magic_cmd begins with "file".
17366 MAGIC_CMD=$MAGIC_CMD
17368 # Must we lock files when doing compilation?
17369 need_locks=$lt_need_locks
17372 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17374 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17375 DSYMUTIL=$lt_DSYMUTIL
17377 # Tool to change global to local symbols on Mac OS X.
17380 # Tool to manipulate fat objects and archives on Mac OS X.
17383 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17386 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17387 OTOOL64=$lt_OTOOL64
17389 # Old archive suffix (normally "a").
17392 # Shared library suffix (normally ".so").
17393 shrext_cmds=$lt_shrext_cmds
17395 # The commands to extract the exported symbol list from a shared archive.
17396 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17398 # Variables whose values should be saved in libtool wrapper scripts and
17399 # restored at link time.
17400 variables_saved_for_relink=$lt_variables_saved_for_relink
17402 # Do we need the "lib" prefix for modules?
17403 need_lib_prefix=$need_lib_prefix
17405 # Do we need a version for libraries?
17406 need_version=$need_version
17408 # Library versioning type.
17409 version_type=$version_type
17411 # Shared library runtime path variable.
17412 runpath_var=$runpath_var
17414 # Shared library path variable.
17415 shlibpath_var=$shlibpath_var
17417 # Is shlibpath searched before the hard-coded library search path?
17418 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17420 # Format of library name prefix.
17421 libname_spec=$lt_libname_spec
17423 # List of archive names. First name is the real one, the rest are links.
17424 # The last name is the one that the linker finds with -lNAME
17425 library_names_spec=$lt_library_names_spec
17427 # The coded name of the library, if different from the real name.
17428 soname_spec=$lt_soname_spec
17430 # Permission mode override for installation of shared libraries.
17431 install_override_mode=$lt_install_override_mode
17433 # Command to use after installation of a shared archive.
17434 postinstall_cmds=$lt_postinstall_cmds
17436 # Command to use after uninstallation of a shared archive.
17437 postuninstall_cmds=$lt_postuninstall_cmds
17439 # Commands used to finish a libtool library installation in a directory.
17440 finish_cmds=$lt_finish_cmds
17442 # As "finish_cmds", except a single script fragment to be evaled but
17444 finish_eval=$lt_finish_eval
17446 # Whether we should hardcode library paths into libraries.
17447 hardcode_into_libs=$hardcode_into_libs
17449 # Compile-time system search path for libraries.
17450 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17452 # Run-time system search path for libraries.
17453 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17455 # Whether dlopen is supported.
17456 dlopen_support=$enable_dlopen
17458 # Whether dlopen of programs is supported.
17459 dlopen_self=$enable_dlopen_self
17461 # Whether dlopen of statically linked programs is supported.
17462 dlopen_self_static=$enable_dlopen_self_static
17464 # Commands to strip libraries.
17465 old_striplib=$lt_old_striplib
17466 striplib=$lt_striplib
17469 # The linker used to build libraries.
17472 # How to create reloadable object files.
17473 reload_flag=$lt_reload_flag
17474 reload_cmds=$lt_reload_cmds
17476 # Commands used to build an old-style archive.
17477 old_archive_cmds=$lt_old_archive_cmds
17479 # A language specific compiler.
17482 # Is the compiler the GNU compiler?
17485 # Compiler flag to turn off builtin functions.
17486 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17488 # Additional compiler flags for building library objects.
17489 pic_flag=$lt_lt_prog_compiler_pic
17491 # How to pass a linker flag through the compiler.
17492 wl=$lt_lt_prog_compiler_wl
17494 # Compiler flag to prevent dynamic linking.
17495 link_static_flag=$lt_lt_prog_compiler_static
17497 # Does compiler simultaneously support -c and -o options?
17498 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17500 # Whether or not to add -lc for building shared libraries.
17501 build_libtool_need_lc=$archive_cmds_need_lc
17503 # Whether or not to disallow shared libs when runtime libs are static.
17504 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17506 # Compiler flag to allow reflexive dlopens.
17507 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17509 # Compiler flag to generate shared objects directly from archives.
17510 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17512 # Whether the compiler copes with passing no objects directly.
17513 compiler_needs_object=$lt_compiler_needs_object
17515 # Create an old-style archive from a shared archive.
17516 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17518 # Create a temporary old-style archive to link instead of a shared archive.
17519 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17521 # Commands used to build a shared archive.
17522 archive_cmds=$lt_archive_cmds
17523 archive_expsym_cmds=$lt_archive_expsym_cmds
17525 # Commands used to build a loadable module if different from building
17526 # a shared archive.
17527 module_cmds=$lt_module_cmds
17528 module_expsym_cmds=$lt_module_expsym_cmds
17530 # Whether we are building with GNU ld or not.
17531 with_gnu_ld=$lt_with_gnu_ld
17533 # Flag that allows shared libraries with undefined symbols to be built.
17534 allow_undefined_flag=$lt_allow_undefined_flag
17536 # Flag that enforces no undefined symbols.
17537 no_undefined_flag=$lt_no_undefined_flag
17539 # Flag to hardcode \$libdir into a binary during linking.
17540 # This must work even if \$libdir does not exist
17541 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17543 # Whether we need a single "-rpath" flag with a separated argument.
17544 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17546 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17547 # DIR into the resulting binary.
17548 hardcode_direct=$hardcode_direct
17550 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17551 # DIR into the resulting binary and the resulting library dependency is
17552 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17553 # library is relocated.
17554 hardcode_direct_absolute=$hardcode_direct_absolute
17556 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17557 # into the resulting binary.
17558 hardcode_minus_L=$hardcode_minus_L
17560 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17561 # into the resulting binary.
17562 hardcode_shlibpath_var=$hardcode_shlibpath_var
17564 # Set to "yes" if building a shared library automatically hardcodes DIR
17565 # into the library and all subsequent libraries and executables linked
17567 hardcode_automatic=$hardcode_automatic
17569 # Set to yes if linker adds runtime paths of dependent libraries
17570 # to runtime path list.
17571 inherit_rpath=$inherit_rpath
17573 # Whether libtool must link a program against all its dependency libraries.
17574 link_all_deplibs=$link_all_deplibs
17576 # Set to "yes" if exported symbols are required.
17577 always_export_symbols=$always_export_symbols
17579 # The commands to list exported symbols.
17580 export_symbols_cmds=$lt_export_symbols_cmds
17582 # Symbols that should not be listed in the preloaded symbols.
17583 exclude_expsyms=$lt_exclude_expsyms
17585 # Symbols that must always be exported.
17586 include_expsyms=$lt_include_expsyms
17588 # Commands necessary for linking programs (against libraries) with templates.
17589 prelink_cmds=$lt_prelink_cmds
17591 # Commands necessary for finishing linking programs.
17592 postlink_cmds=$lt_postlink_cmds
17594 # Specify filename containing input files.
17595 file_list_spec=$lt_file_list_spec
17597 # How to hardcode a shared library path into an executable.
17598 hardcode_action=$hardcode_action
17600 # ### END LIBTOOL CONFIG
17606 cat <<\_LT_EOF
>> "$cfgfile"
17607 # AIX sometimes has problems with the GCC collect2 program. For some
17608 # reason, if we set the COLLECT_NAMES environment variable, the problems
17609 # vanish in a puff of smoke.
17610 if test "X${COLLECT_NAMES+set}" != Xset
; then
17612 export COLLECT_NAMES
17619 ltmain
="$ac_aux_dir/ltmain.sh"
17622 # We use sed instead of cat because bash on DJGPP gets confused if
17623 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17624 # text mode, it properly converts lines to CR/LF. This bash problem
17625 # is reportedly fixed, but why not run on old versions too?
17626 sed '$q' "$ltmain" >> "$cfgfile" \
17627 ||
(rm -f "$cfgfile"; exit 1)
17629 if test x
"$xsi_shell" = xyes
; then
17630 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17634 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17635 \ * ) func_dirname_result="${3}" ;;\
17637 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17638 && mv -f "$cfgfile.tmp" "$cfgfile" \
17639 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17640 test 0 -eq $? || _lt_function_replace_fail
=:
17643 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17646 \ func_basename_result="${1##*/}"\
17647 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17648 && mv -f "$cfgfile.tmp" "$cfgfile" \
17649 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17650 test 0 -eq $? || _lt_function_replace_fail
=:
17653 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17654 func_dirname_and_basename ()\
17657 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17658 \ * ) func_dirname_result="${3}" ;;\
17660 \ func_basename_result="${1##*/}"\
17661 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17662 && mv -f "$cfgfile.tmp" "$cfgfile" \
17663 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17664 test 0 -eq $? || _lt_function_replace_fail
=:
17667 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17670 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17671 \ # positional parameters, so assign one to ordinary parameter first.\
17672 \ func_stripname_result=${3}\
17673 \ func_stripname_result=${func_stripname_result#"${1}"}\
17674 \ func_stripname_result=${func_stripname_result%"${2}"}\
17675 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17676 && mv -f "$cfgfile.tmp" "$cfgfile" \
17677 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17678 test 0 -eq $? || _lt_function_replace_fail
=:
17681 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17682 func_split_long_opt ()\
17684 \ func_split_long_opt_name=${1%%=*}\
17685 \ func_split_long_opt_arg=${1#*=}\
17686 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17687 && mv -f "$cfgfile.tmp" "$cfgfile" \
17688 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17689 test 0 -eq $? || _lt_function_replace_fail
=:
17692 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17693 func_split_short_opt ()\
17695 \ func_split_short_opt_arg=${1#??}\
17696 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17697 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17698 && mv -f "$cfgfile.tmp" "$cfgfile" \
17699 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17700 test 0 -eq $? || _lt_function_replace_fail
=:
17703 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17707 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17708 \ *) func_lo2o_result=${1} ;;\
17710 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17711 && mv -f "$cfgfile.tmp" "$cfgfile" \
17712 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17713 test 0 -eq $? || _lt_function_replace_fail
=:
17716 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17719 func_xform_result=${1%.*}.lo\
17720 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17721 && mv -f "$cfgfile.tmp" "$cfgfile" \
17722 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17723 test 0 -eq $? || _lt_function_replace_fail
=:
17726 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17729 func_arith_result=$(( $* ))\
17730 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17731 && mv -f "$cfgfile.tmp" "$cfgfile" \
17732 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17733 test 0 -eq $? || _lt_function_replace_fail
=:
17736 sed -e '/^func_len ()$/,/^} # func_len /c\
17739 func_len_result=${#1}\
17740 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17741 && mv -f "$cfgfile.tmp" "$cfgfile" \
17742 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17743 test 0 -eq $? || _lt_function_replace_fail
=:
17747 if test x
"$lt_shell_append" = xyes
; then
17748 sed -e '/^func_append ()$/,/^} # func_append /c\
17751 eval "${1}+=\\${2}"\
17752 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17753 && mv -f "$cfgfile.tmp" "$cfgfile" \
17754 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17755 test 0 -eq $? || _lt_function_replace_fail
=:
17758 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17759 func_append_quoted ()\
17761 \ func_quote_for_eval "${2}"\
17762 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17763 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17764 && mv -f "$cfgfile.tmp" "$cfgfile" \
17765 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17766 test 0 -eq $? || _lt_function_replace_fail
=:
17769 # Save a `func_append' function call where possible by direct use of '+='
17770 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17771 && mv -f "$cfgfile.tmp" "$cfgfile" \
17772 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17773 test 0 -eq $? || _lt_function_replace_fail
=:
17775 # Save a `func_append' function call even when '+=' is not available
17776 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17777 && mv -f "$cfgfile.tmp" "$cfgfile" \
17778 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17779 test 0 -eq $? || _lt_function_replace_fail
=:
17782 if test x
"$_lt_function_replace_fail" = x
":"; then
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17784 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17788 mv -f "$cfgfile" "$ofile" ||
17789 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17800 ac_clean_files
=$ac_clean_files_save
17802 test $ac_write_fail = 0 ||
17803 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
17806 # configure is writing to config.log, and then calls config.status.
17807 # config.status does its own redirection, appending to config.log.
17808 # Unfortunately, on DOS this fails, as config.log is still kept open
17809 # by configure, so config.status won't be able to write to it; its
17810 # output is simply discarded. So we exec the FD to /dev/null,
17811 # effectively closing config.log, so it can be properly (re)opened and
17812 # appended to by config.status. When coming back to configure, we
17813 # need to make the FD available again.
17814 if test "$no_create" != yes; then
17816 ac_config_status_args
=
17817 test "$silent" = yes &&
17818 ac_config_status_args
="$ac_config_status_args --quiet"
17820 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17822 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17823 # would make configure fail if this is the last instruction.
17824 $ac_cs_success || as_fn_exit
1
17828 # CONFIG_SUBDIRS section.
17830 if test "$no_recursion" != yes; then
17832 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
17833 # so they do not pile up.
17834 ac_sub_configure_args
=
17836 eval "set x $ac_configure_args"
17840 if test -n "$ac_prev"; then
17845 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
17846 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
17847 ac_prev
=cache_file
;;
17848 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
17849 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
17852 --config-cache |
-C)
17854 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
17856 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
17858 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
17860 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
17862 --disable-option-checking)
17866 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17868 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
17872 # Always prepend --prefix to ensure using the same prefix
17873 # in subdir configurations.
17874 ac_arg
="--prefix=$prefix"
17876 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17878 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
17881 if test "$silent" = yes; then
17882 ac_sub_configure_args
="--silent $ac_sub_configure_args"
17885 # Always prepend --disable-option-checking to silence warnings, since
17886 # different subdirs can have different --enable and --with options.
17887 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
17890 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
17892 # Do not complain, so a configure script can configure whichever
17893 # parts of a large source tree are present.
17894 test -d "$srcdir/$ac_dir" ||
continue
17896 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
17897 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
17898 $as_echo "$ac_msg" >&6
17899 as_dir
="$ac_dir"; as_fn_mkdir_p
17903 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17905 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17906 # A ".." for each directory in $ac_dir_suffix.
17907 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17908 case $ac_top_builddir_sub in
17909 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17910 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17913 ac_abs_top_builddir
=$ac_pwd
17914 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17915 # for backward compatibility:
17916 ac_top_builddir
=$ac_top_build_prefix
17919 .
) # We are building in place.
17921 ac_top_srcdir
=$ac_top_builddir_sub
17922 ac_abs_top_srcdir
=$ac_pwd ;;
17923 [\\/]* | ?
:[\\/]* ) # Absolute name.
17924 ac_srcdir
=$srcdir$ac_dir_suffix;
17925 ac_top_srcdir
=$srcdir
17926 ac_abs_top_srcdir
=$srcdir ;;
17927 *) # Relative name.
17928 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17929 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17930 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17932 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17937 # Check for guested configure; otherwise get Cygnus style configure.
17938 if test -f "$ac_srcdir/configure.gnu"; then
17939 ac_sub_configure
=$ac_srcdir/configure.gnu
17940 elif test -f "$ac_srcdir/configure"; then
17941 ac_sub_configure
=$ac_srcdir/configure
17942 elif test -f "$ac_srcdir/configure.in"; then
17943 # This should be Cygnus configure.
17944 ac_sub_configure
=$ac_aux_dir/configure
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
17947 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
17951 # The recursion is here.
17952 if test -n "$ac_sub_configure"; then
17953 # Make the cache file name correct relative to the subdirectory.
17954 case $cache_file in
17955 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
17956 *) # Relative name.
17957 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
17961 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
17962 # The eval makes quoting arguments work.
17963 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
17964 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
17965 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
17971 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17973 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}