2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for courier-authlib 0.66.4.
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.4'
598 PACKAGE_STRING
='courier-authlib 0.66.4'
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
783 INSTALL_STRIP_PROGRAM
825 program_transform_name
838 enable_option_checking
840 enable_dependency_tracking
859 with_authpam_libraries
886 ac_precious_vars
='build_alias
896 ac_subdirs_all
='libltdl
897 libs/bdbobj libs/gdbmobj libs/md5 libs/sha1 libs/libhmac libs/numlib libs/makedat userdb libs/rfc822 libs/random128 libs/liblock liblog'
899 # Initialize some variables set by options.
901 ac_init_version
=false
902 ac_unrecognized_opts
=
904 # The variables have the same names as the options, with
905 # dashes changed to underlines.
913 program_transform_name
=s
,x
,x
,
921 # Installation directory options.
922 # These are left unexpanded so users can "make install exec_prefix=/foo"
923 # and all the variables that are supposed to be based on exec_prefix
924 # by default will actually change.
925 # Use braces instead of parens because sh, perl, etc. also accept them.
926 # (The list follows the same order as the GNU Coding Standards.)
927 bindir
='${exec_prefix}/bin'
928 sbindir
='${exec_prefix}/sbin'
929 libexecdir
='${exec_prefix}/libexec'
930 datarootdir
='${prefix}/share'
931 datadir
='${datarootdir}'
932 sysconfdir
='${prefix}/etc'
933 sharedstatedir
='${prefix}/com'
934 localstatedir
='${prefix}/var'
935 includedir
='${prefix}/include'
936 oldincludedir
='/usr/include'
937 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
938 infodir
='${datarootdir}/info'
943 libdir
='${exec_prefix}/lib'
944 localedir
='${datarootdir}/locale'
945 mandir
='${datarootdir}/man'
951 # If the previous option needs an argument, assign it.
952 if test -n "$ac_prev"; then
953 eval $ac_prev=\
$ac_option
959 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 # Accept the important Cygnus configure options, so we can diagnose typos.
966 case $ac_dashdash$ac_option in
970 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
972 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
975 -build |
--build |
--buil |
--bui |
--bu)
976 ac_prev
=build_alias
;;
977 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
978 build_alias
=$ac_optarg ;;
980 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
981 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
982 ac_prev
=cache_file
;;
983 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
984 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
985 cache_file
=$ac_optarg ;;
988 cache_file
=config.cache
;;
990 -datadir |
--datadir |
--datadi |
--datad)
992 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
993 datadir
=$ac_optarg ;;
995 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
996 |
--dataroo |
--dataro |
--datar)
997 ac_prev
=datarootdir
;;
998 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
999 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1000 datarootdir
=$ac_optarg ;;
1002 -disable-* |
--disable-*)
1003 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1006 as_fn_error $?
"invalid feature name: $ac_useropt"
1007 ac_useropt_orig
=$ac_useropt
1008 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1011 "enable_
$ac_useropt"
1013 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1014 ac_unrecognized_sep
=', ';;
1016 eval enable_
$ac_useropt=no
;;
1018 -docdir |
--docdir |
--docdi |
--doc |
--do)
1020 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1021 docdir
=$ac_optarg ;;
1023 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1025 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1026 dvidir
=$ac_optarg ;;
1028 -enable-* |
--enable-*)
1029 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1032 as_fn_error $?
"invalid feature name: $ac_useropt"
1033 ac_useropt_orig
=$ac_useropt
1034 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1037 "enable_
$ac_useropt"
1039 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1040 ac_unrecognized_sep
=', ';;
1042 eval enable_
$ac_useropt=\
$ac_optarg ;;
1044 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1045 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1046 |
--exec |
--exe |
--ex)
1047 ac_prev
=exec_prefix
;;
1048 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1049 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1050 |
--exec=* |
--exe=* |
--ex=*)
1051 exec_prefix
=$ac_optarg ;;
1053 -gas |
--gas |
--ga |
--g)
1054 # Obsolete; use --with-gas.
1057 -help |
--help |
--hel |
--he |
-h)
1058 ac_init_help
=long
;;
1059 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1060 ac_init_help
=recursive
;;
1061 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1062 ac_init_help
=short
;;
1064 -host |
--host |
--hos |
--ho)
1065 ac_prev
=host_alias
;;
1066 -host=* |
--host=* |
--hos=* |
--ho=*)
1067 host_alias
=$ac_optarg ;;
1069 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1071 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1073 htmldir
=$ac_optarg ;;
1075 -includedir |
--includedir |
--includedi |
--included |
--include \
1076 |
--includ |
--inclu |
--incl |
--inc)
1077 ac_prev
=includedir
;;
1078 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1079 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1080 includedir
=$ac_optarg ;;
1082 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1084 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1085 infodir
=$ac_optarg ;;
1087 -libdir |
--libdir |
--libdi |
--libd)
1089 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1090 libdir
=$ac_optarg ;;
1092 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1093 |
--libexe |
--libex |
--libe)
1094 ac_prev
=libexecdir
;;
1095 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1096 |
--libexe=* |
--libex=* |
--libe=*)
1097 libexecdir
=$ac_optarg ;;
1099 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1100 ac_prev
=localedir
;;
1101 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1102 localedir
=$ac_optarg ;;
1104 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1105 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1106 ac_prev
=localstatedir
;;
1107 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1108 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1109 localstatedir
=$ac_optarg ;;
1111 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1113 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1114 mandir
=$ac_optarg ;;
1116 -nfp |
--nfp |
--nf)
1117 # Obsolete; use --without-fp.
1120 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1121 |
--no-cr |
--no-c |
-n)
1124 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1125 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1128 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1129 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1130 |
--oldin |
--oldi |
--old |
--ol |
--o)
1131 ac_prev
=oldincludedir
;;
1132 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1133 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1134 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1135 oldincludedir
=$ac_optarg ;;
1137 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1139 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1140 prefix
=$ac_optarg ;;
1142 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1143 |
--program-pre |
--program-pr |
--program-p)
1144 ac_prev
=program_prefix
;;
1145 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1146 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1147 program_prefix
=$ac_optarg ;;
1149 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1150 |
--program-suf |
--program-su |
--program-s)
1151 ac_prev
=program_suffix
;;
1152 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1153 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1154 program_suffix
=$ac_optarg ;;
1156 -program-transform-name |
--program-transform-name \
1157 |
--program-transform-nam |
--program-transform-na \
1158 |
--program-transform-n |
--program-transform- \
1159 |
--program-transform |
--program-transfor \
1160 |
--program-transfo |
--program-transf \
1161 |
--program-trans |
--program-tran \
1162 |
--progr-tra |
--program-tr |
--program-t)
1163 ac_prev
=program_transform_name
;;
1164 -program-transform-name=* |
--program-transform-name=* \
1165 |
--program-transform-nam=* |
--program-transform-na=* \
1166 |
--program-transform-n=* |
--program-transform-=* \
1167 |
--program-transform=* |
--program-transfor=* \
1168 |
--program-transfo=* |
--program-transf=* \
1169 |
--program-trans=* |
--program-tran=* \
1170 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1171 program_transform_name
=$ac_optarg ;;
1173 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1175 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1176 pdfdir
=$ac_optarg ;;
1178 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1180 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1183 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1184 |
-silent |
--silent |
--silen |
--sile |
--sil)
1187 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1189 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1191 sbindir
=$ac_optarg ;;
1193 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1194 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1195 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1197 ac_prev
=sharedstatedir
;;
1198 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1199 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1200 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1202 sharedstatedir
=$ac_optarg ;;
1204 -site |
--site |
--sit)
1206 -site=* |
--site=* |
--sit=*)
1209 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1211 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1212 srcdir
=$ac_optarg ;;
1214 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1215 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1216 ac_prev
=sysconfdir
;;
1217 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1218 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1219 sysconfdir
=$ac_optarg ;;
1221 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1222 ac_prev
=target_alias
;;
1223 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1224 target_alias
=$ac_optarg ;;
1226 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1229 -version |
--version |
--versio |
--versi |
--vers |
-V)
1230 ac_init_version
=: ;;
1233 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1236 as_fn_error $?
"invalid package name: $ac_useropt"
1237 ac_useropt_orig
=$ac_useropt
1238 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239 case $ac_user_opts in
1243 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1244 ac_unrecognized_sep
=', ';;
1246 eval with_
$ac_useropt=\
$ac_optarg ;;
1248 -without-* |
--without-*)
1249 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1252 as_fn_error $?
"invalid package name: $ac_useropt"
1253 ac_useropt_orig
=$ac_useropt
1254 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1259 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1260 ac_unrecognized_sep
=', ';;
1262 eval with_
$ac_useropt=no
;;
1265 # Obsolete; use --with-x.
1268 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1269 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1270 ac_prev
=x_includes
;;
1271 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1272 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1273 x_includes
=$ac_optarg ;;
1275 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1276 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1277 ac_prev
=x_libraries
;;
1278 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1279 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1280 x_libraries
=$ac_optarg ;;
1282 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1283 Try \`$0 --help' for more information"
1287 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1288 # Reject names that are not valid shell variable names.
1289 case $ac_envvar in #(
1290 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1291 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1293 eval $ac_envvar=\
$ac_optarg
1294 export $ac_envvar ;;
1297 # FIXME: should be removed in autoconf 3.0.
1298 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1299 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1300 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1301 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1307 if test -n "$ac_prev"; then
1308 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1309 as_fn_error $?
"missing argument to $ac_option"
1312 if test -n "$ac_unrecognized_opts"; then
1313 case $enable_option_checking in
1315 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1316 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 # Check all directory arguments for consistency.
1321 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1322 datadir sysconfdir sharedstatedir localstatedir includedir \
1323 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1324 libdir localedir mandir
1326 eval ac_val
=\$
$ac_var
1327 # Remove trailing slashes.
1330 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1331 eval $ac_var=\
$ac_val;;
1333 # Be sure to have absolute directory names.
1335 [\\/$
]* | ?
:[\\/]* ) continue;;
1336 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1338 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1341 # There might be people who depend on the old broken behavior: `$host'
1342 # used to hold the argument of --host etc.
1343 # FIXME: To remove some day.
1346 target
=$target_alias
1348 # FIXME: To remove some day.
1349 if test "x$host_alias" != x
; then
1350 if test "x$build_alias" = x
; then
1351 cross_compiling
=maybe
1352 elif test "x$build_alias" != "x$host_alias"; then
1358 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1360 test "$silent" = yes && exec 6>/dev
/null
1363 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1364 ac_ls_di
=`ls -di .` &&
1365 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1366 as_fn_error $?
"working directory cannot be determined"
1367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1368 as_fn_error $?
"pwd does not report name of working directory"
1371 # Find the source files, if location was not specified.
1372 if test -z "$srcdir"; then
1373 ac_srcdir_defaulted
=yes
1374 # Try the directory containing this script, then the parent directory.
1375 ac_confdir
=`$as_dirname -- "$as_myself" ||
1376 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1377 X"$as_myself" : 'X\(//\)[^/]' \| \
1378 X"$as_myself" : 'X\(//\)$' \| \
1379 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1380 $as_echo X"$as_myself" |
1381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1403 ac_srcdir_defaulted
=no
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1406 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1407 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1409 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1411 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1413 # When building in place, set srcdir=.
1414 if test "$ac_abs_confdir" = "$ac_pwd"; then
1417 # Remove unnecessary trailing slashes from srcdir.
1418 # Double slashes in file names in object file debugging info
1419 # mess up M-x gdb in Emacs.
1421 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1423 for ac_var
in $ac_precious_vars; do
1424 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1425 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1426 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1427 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1431 # Report the --help message.
1433 if test "$ac_init_help" = "long"; then
1434 # Omit some internal or obsolete options to make the list less imposing.
1435 # This message is too long to be a string in the A/UX 3.1 sh.
1437 \`configure' configures courier-authlib 0.66.4 to adapt to many kinds of systems.
1439 Usage: $0 [OPTION]... [VAR=VALUE]...
1441 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442 VAR=VALUE. See below for descriptions of some of the useful variables.
1444 Defaults for the options are specified in brackets.
1447 -h, --help display this help and exit
1448 --help=short display options specific to this package
1449 --help=recursive display the short help of all the included packages
1450 -V, --version display version information and exit
1451 -q, --quiet, --silent do not print \`checking ...' messages
1452 --cache-file=FILE cache test results in FILE [disabled]
1453 -C, --config-cache alias for \`--cache-file=config.cache'
1454 -n, --no-create do not create output files
1455 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1457 Installation directories:
1458 --prefix=PREFIX install architecture-independent files in PREFIX
1459 [$ac_default_prefix]
1460 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1463 By default, \`make install' will install all the files in
1464 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1465 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466 for instance \`--prefix=\$HOME'.
1468 For better control, use the options below.
1470 Fine tuning of the installation directories:
1471 --bindir=DIR user executables [EPREFIX/bin]
1472 --sbindir=DIR system admin executables [EPREFIX/sbin]
1473 --libexecdir=DIR program executables [EPREFIX/libexec]
1474 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1475 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1476 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1477 --libdir=DIR object code libraries [EPREFIX/lib]
1478 --includedir=DIR C header files [PREFIX/include]
1479 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1480 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1481 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1482 --infodir=DIR info documentation [DATAROOTDIR/info]
1483 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1484 --mandir=DIR man documentation [DATAROOTDIR/man]
1485 --docdir=DIR documentation root [DATAROOTDIR/doc/courier-authlib]
1486 --htmldir=DIR html documentation [DOCDIR]
1487 --dvidir=DIR dvi documentation [DOCDIR]
1488 --pdfdir=DIR pdf documentation [DOCDIR]
1489 --psdir=DIR ps documentation [DOCDIR]
1495 --program-prefix=PREFIX prepend PREFIX to installed program names
1496 --program-suffix=SUFFIX append SUFFIX to installed program names
1497 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1500 --build=BUILD configure
for building on BUILD
[guessed
]
1501 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive
) echo "Configuration of courier-authlib 0.66.4:";;
1512 --disable-option-checking ignore unrecognized
--enable/--with options
1513 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1514 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1515 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1516 --disable-silent-rules verbose build output
(undo
: "make V=0")
1517 --enable-dependency-tracking
1518 do not reject slow dependency extractors
1519 --disable-dependency-tracking
1520 speeds up one-time build
1521 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1522 --enable-static[=PKGS
] build static libraries
[default
=yes]
1523 --enable-fast-install[=PKGS
]
1524 optimize
for fast installation
[default
=yes]
1525 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1526 --enable-ltdl-install install libltdl
1529 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1530 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1531 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1533 --with-aix-soname=aix|svr4|both
1534 shared library versioning
(aka
"SONAME") variant to
1535 provide on AIX
, [default
=aix
].
1536 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1537 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1538 compiler
's sysroot if not specified).
1539 --with-included-ltdl use the GNU ltdl sources included here
1540 --with-ltdl-include=DIR use the ltdl headers installed in DIR
1541 --with-ltdl-lib=DIR use the libltdl.la installed in DIR
1542 --with-pkgconfdir=d Install config files in directory
1543 --with-db=gdbm Use the GDBM library.
1544 --with-db=db Use the libdb.a library.
1545 --without-authuserdb Do not include the authuserdb module
1548 --without-authpam Do not include the authpam module
1549 --with-authpam-libraries="libs" Link 'libs
' with authpam, this may be
1550 required for FreeBSD 3.3
1551 --without-authldap Do not include the authldap module
1552 --with-authldaprc=filename Expect to find authldaprc here
1553 --without-authpwd Do not include the authpwd module
1554 --without-authshadow Do not include the authshadow module
1555 --with-authpgsqlrc=filename Expect to find authpgsql here
1556 --without-authpgsql Do not include the authpgsql module
1557 --with-pgsql-libs=DIR Look for pgsql libs in this dir
1558 --with-pgsql-includes=DIR Look for pgsql includes in this dir
1559 --with-authmysqlrc=filename Expect to find authmysql here
1560 --without-authmysql Do not include the authmysql module
1561 --with-mysql-libs=DIR Look for mysql libs in this dir
1562 --with-mysql-includes=DIR Look for mysql includes in this dir
1563 --with-authsqliterc=filename Expect to find authmysql here
1564 --without-authsqlite Do not include the authsqlite module
1565 --with-sqlite-libs=DIR Look for sqlite libs in this dir
1566 --with-sqlite-includes=DIR Look for sqlite includes in this dir
1567 --without-authcustom Do not include the authcustom module
1568 --with-pipeprog=filename Expect to find the pipe-prog here
1569 --without-authpipe Do not include the authpipe module
1570 --with-authdaemonrc=filename Expect to find authdaemonrc here
1571 --with-authdaemonvar=directory Directory where authdaemon.pid and
1572 the listening socket is created
1573 --with-mailuser=user Specify mail user name (defaults to
1574 courier, daemon, admin, bin, or root)
1575 --with-mailgroup=group Specify mail group name (defaults to courier,
1576 daemon, sys, adm, or root)
1577 --without-stdheaderdir Header files will be installed into a directory
1578 not in the compiler's default search path.
1580 Some influential environment variables
:
1581 CC C compiler
command
1582 CFLAGS C compiler flags
1583 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1584 nonstandard directory
<lib dir
>
1585 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1586 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1587 you have headers
in a nonstandard directory
<include dir
>
1590 User-defined run-time library search path.
1592 Use these variables to override the choices made by
`configure' or to help
1593 it to find libraries and programs with nonstandard names/locations.
1595 Report bugs to <courier-users@lists.sourceforge.net>.
1600 if test "$ac_init_help" = "recursive"; then
1601 # If there are subdirs, report their specific --help.
1602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1603 test -d "$ac_dir" ||
1604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1612 # A ".." for each directory in $ac_dir_suffix.
1613 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1614 case $ac_top_builddir_sub in
1615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 ac_abs_top_builddir=$ac_pwd
1620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1621 # for backward compatibility:
1622 ac_top_builddir=$ac_top_build_prefix
1625 .) # We are building in place.
1627 ac_top_srcdir=$ac_top_builddir_sub
1628 ac_abs_top_srcdir=$ac_pwd ;;
1629 [\\/]* | ?:[\\/]* ) # Absolute name.
1630 ac_srcdir=$srcdir$ac_dir_suffix;
1631 ac_top_srcdir=$srcdir
1632 ac_abs_top_srcdir=$srcdir ;;
1634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1635 ac_top_srcdir=$ac_top_build_prefix$srcdir
1636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1640 cd "$ac_dir" || { ac_status=$?; continue; }
1641 # Check for guested configure.
1642 if test -f "$ac_srcdir/configure.gnu"; then
1644 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1645 elif test -f "$ac_srcdir/configure"; then
1647 $SHELL "$ac_srcdir/configure" --help=recursive
1649 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651 cd "$ac_pwd" || { ac_status=$?; break; }
1655 test -n "$ac_init_help" && exit $ac_status
1656 if $ac_init_version; then
1658 courier-authlib configure 0.66.4
1659 generated by GNU Autoconf 2.69
1661 Copyright (C) 2012 Free Software Foundation, Inc.
1662 This configure script is free software; the Free Software Foundation
1663 gives unlimited permission to copy, distribute and modify it.
1668 ## ------------------------ ##
1669 ## Autoconf initialization. ##
1670 ## ------------------------ ##
1672 # ac_fn_c_try_compile LINENO
1673 # --------------------------
1674 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1675 ac_fn_c_try_compile ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 rm -f conftest.$ac_objext
1679 if { { ac_try="$ac_compile"
1681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1682 *) ac_try_echo
=$ac_try;;
1684 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686 (eval "$ac_compile") 2>conftest.err
1688 if test -s conftest.err
; then
1689 grep -v '^ *+' conftest.err
>conftest.er1
1690 cat conftest.er1
>&5
1691 mv -f conftest.er1 conftest.err
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && {
1695 test -z "$ac_c_werror_flag" ||
1696 test ! -s conftest.err
1697 } && test -s conftest.
$ac_objext; then :
1700 $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.
$ac_ext >&5
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status
$ac_retval
1708 } # ac_fn_c_try_compile
1710 # ac_fn_c_try_cpp LINENO
1711 # ----------------------
1712 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1715 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1716 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1725 if test -s conftest.err; then
1726 grep -v '^ *+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } > conftest.i && {
1732 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1742 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 as_fn_set_status $ac_retval
1747 # ac_fn_c_try_link LINENO
1748 # -----------------------
1749 # Try to link conftest.$ac_ext, and return whether this succeeded.
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 rm -f conftest.$ac_objext conftest$ac_exeext
1754 if { { ac_try="$ac_link"
1756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1757 *) ac_try_echo
=$ac_try;;
1759 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_link") 2>conftest.err
1763 if test -s conftest.err
; then
1764 grep -v '^ *+' conftest.err
>conftest.er1
1765 cat conftest.er1
>&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_c_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest
$ac_exeext && {
1773 test "$cross_compiling" = yes ||
1774 test -x conftest
$ac_exeext
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.
$ac_ext >&5
1783 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1784 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1785 # interfere with the next link command; also delete a directory that is
1786 # left behind by Apple's compiler. We do this before executing the actions.
1787 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789 as_fn_set_status
$ac_retval
1791 } # ac_fn_c_try_link
1793 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1794 # -------------------------------------------------------
1795 # Tests whether HEADER exists and can be compiled using the include files in
1796 # INCLUDES, setting the cache variable VAR accordingly.
1797 ac_fn_c_check_header_compile
()
1799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if eval \
${$3+:} false
; then :
1803 $as_echo_n "(cached) " >&6
1805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1806 /* end confdefs.h. */
1810 if ac_fn_c_try_compile
"$LINENO"; then :
1815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 } # ac_fn_c_check_header_compile
1824 # ac_fn_c_try_run LINENO
1825 # ----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1827 # that executables *can* be run.
1830 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1831 if { { ac_try
="$ac_link"
1833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>&5
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1842 { { case "(($ac_try" in
1843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1844 *) ac_try_echo
=$ac_try;;
1846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_try") 2>&5
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; }; }; then :
1854 $as_echo "$as_me: program exited with status $ac_status" >&5
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.
$ac_ext >&5
1858 ac_retval
=$ac_status
1860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862 as_fn_set_status
$ac_retval
1866 # ac_fn_c_check_func LINENO FUNC VAR
1867 # ----------------------------------
1868 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1869 ac_fn_c_check_func
()
1871 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873 $as_echo_n "checking for $2... " >&6; }
1874 if eval \
${$3+:} false
; then :
1875 $as_echo_n "(cached) " >&6
1877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */
1879 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1881 #define $2 innocuous_$2
1883 /* System header to define __stub macros and hopefully few prototypes,
1884 which can conflict with char $2 (); below.
1885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1886 <limits.h> exists even on freestanding compilers. */
1889 # include <limits.h>
1891 # include <assert.h>
1896 /* Override any GCC internal prototype to avoid an error.
1897 Use char because int might match the return type of a GCC
1898 builtin and then its argument prototype would still apply. */
1903 /* The GNU C library defines this for functions which it implements
1904 to always fail with ENOSYS. Some functions are actually named
1905 something starting with __ and the normal name is an alias. */
1906 #if defined __stub_$2 || defined __stub___$2
1918 if ac_fn_c_try_link
"$LINENO"; then :
1923 rm -f core conftest.err conftest.
$ac_objext \
1924 conftest
$ac_exeext conftest.
$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 } # ac_fn_c_check_func
1933 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1934 # ---------------------------------------------
1935 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1937 ac_fn_c_check_decl
()
1939 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1940 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1941 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1943 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1944 if eval \
${$3+:} false
; then :
1945 $as_echo_n "(cached) " >&6
1947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1948 /* end confdefs.h. */
1953 #ifndef $as_decl_name
1955 (void) $as_decl_use;
1957 (void) $as_decl_name;
1965 if ac_fn_c_try_compile
"$LINENO"; then :
1970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1974 $as_echo "$ac_res" >&6; }
1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1977 } # ac_fn_c_check_decl
1979 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1980 # -------------------------------------------
1981 # Tests whether TYPE exists after having included INCLUDES, setting cache
1982 # variable VAR accordingly.
1983 ac_fn_c_check_type
()
1985 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1987 $as_echo_n "checking for $2... " >&6; }
1988 if eval \
${$3+:} false
; then :
1989 $as_echo_n "(cached) " >&6
1992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
2004 if ac_fn_c_try_compile
"$LINENO"; then :
2005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h. */
2017 if ac_fn_c_try_compile
"$LINENO"; then :
2022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028 $as_echo "$ac_res" >&6; }
2029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2031 } # ac_fn_c_check_type
2033 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2034 # -------------------------------------------------------
2035 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2036 # the include files in INCLUDES and setting the cache variable VAR
2038 ac_fn_c_check_header_mongrel
()
2040 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2041 if eval \
${$3+:} false
; then :
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2043 $as_echo_n "checking for $2... " >&6; }
2044 if eval \
${$3+:} false
; then :
2045 $as_echo_n "(cached) " >&6
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2049 $as_echo "$ac_res" >&6; }
2051 # Is the header compilable?
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2053 $as_echo_n "checking $2 usability... " >&6; }
2054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2059 if ac_fn_c_try_compile
"$LINENO"; then :
2060 ac_header_compiler
=yes
2062 ac_header_compiler
=no
2064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2066 $as_echo "$ac_header_compiler" >&6; }
2068 # Is the header present?
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2070 $as_echo_n "checking $2 presence... " >&6; }
2071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2072 /* end confdefs.h. */
2075 if ac_fn_c_try_cpp
"$LINENO"; then :
2076 ac_header_preproc
=yes
2078 ac_header_preproc
=no
2080 rm -f conftest.err conftest.i conftest.
$ac_ext
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2082 $as_echo "$ac_header_preproc" >&6; }
2084 # So? What about this header?
2085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2088 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2090 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2094 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2096 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2098 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2100 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2102 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2103 ( $as_echo "## -------------------------------------------------- ##
2104 ## Report this to courier-users@lists.sourceforge.net ##
2105 ## -------------------------------------------------- ##"
2106 ) |
sed "s/^/$as_me: WARNING: /" >&2
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if eval \
${$3+:} false
; then :
2112 $as_echo_n "(cached) " >&6
2114 eval "$3=\$ac_header_compiler"
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122 } # ac_fn_c_check_header_mongrel
2123 cat >config.log
<<_ACEOF
2124 This file contains any messages produced by compilers while
2125 running configure, to aid debugging if configure makes a mistake.
2127 It was created by courier-authlib $as_me 0.66.4, which was
2128 generated by GNU Autoconf 2.69. Invocation command line was
2140 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2141 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2142 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2143 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2144 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2146 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2147 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2149 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2150 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2151 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2152 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2153 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2154 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2155 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2163 test -z "$as_dir" && as_dir
=.
2164 $as_echo "PATH: $as_dir"
2180 # Keep a trace of the command line.
2181 # Strip out --no-create and --no-recursion so they do not pile up.
2182 # Strip out --silent because we don't want to record it for future runs.
2183 # Also quote any args containing shell meta-characters.
2184 # Make two passes to allow for proper duplicate-argument suppression.
2188 ac_must_keep_next
=false
2194 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2195 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2196 |
-silent |
--silent |
--silen |
--sile |
--sil)
2199 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2202 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2204 as_fn_append ac_configure_args1
" '$ac_arg'"
2205 if test $ac_must_keep_next = true
; then
2206 ac_must_keep_next
=false
# Got value, back to normal.
2209 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2210 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2211 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2212 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2213 case "$ac_configure_args0 " in
2214 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2217 -* ) ac_must_keep_next
=true
;;
2220 as_fn_append ac_configure_args
" '$ac_arg'"
2225 { ac_configure_args0
=; unset ac_configure_args0
;}
2226 { ac_configure_args1
=; unset ac_configure_args1
;}
2228 # When interrupted or exit'd, cleanup temporary files, and complete
2229 # config.log. We remove comments because anyway the quotes in there
2230 # would cause problems or look ugly.
2231 # WARNING: Use '\'' to represent an apostrophe within the trap.
2232 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2233 trap 'exit_status=$?
2234 # Save into config.log some information that might help in debugging.
2238 $as_echo "## ---------------- ##
2239 ## Cache variables. ##
2240 ## ---------------- ##"
2242 # The following way of writing the cache mishandles newlines in values,
2244 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2245 eval ac_val=\$$ac_var
2249 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2250 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2253 _ | IFS | as_nl) ;; #(
2254 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2255 *) { eval $ac_var=; unset $ac_var;} ;;
2260 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2261 *${as_nl}ac_space=\ *)
2263 "s/'\''/'\''\\\\'\'''\''/g;
2264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2267 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2274 $as_echo "## ----------------- ##
2275 ## Output variables. ##
2276 ## ----------------- ##"
2278 for ac_var in $ac_subst_vars
2280 eval ac_val=\$$ac_var
2282 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2284 $as_echo "$ac_var='\''$ac_val'\''"
2288 if test -n "$ac_subst_files"; then
2289 $as_echo "## ------------------- ##
2290 ## File substitutions. ##
2291 ## ------------------- ##"
2293 for ac_var
in $ac_subst_files
2295 eval ac_val
=\$
$ac_var
2297 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2299 $as_echo "$ac_var='\''$ac_val'\''"
2304 if test -s confdefs.h; then
2305 $as_echo "## ----------- ##
2312 test "$ac_signal" != 0 &&
2313 $as_echo "$as_me: caught signal $ac_signal"
2314 $as_echo "$as_me: exit $exit_status"
2316 rm -f core *.core core.conftest.* &&
2317 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2320 for ac_signal
in 1 2 13 15; do
2321 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2325 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2326 rm -f -r conftest
* confdefs.h
2328 $as_echo "/* confdefs.h */" > confdefs.h
2330 # Predefined preprocessor variables.
2332 cat >>confdefs.h
<<_ACEOF
2333 #define PACKAGE_NAME "$PACKAGE_NAME"
2336 cat >>confdefs.h
<<_ACEOF
2337 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2340 cat >>confdefs.h
<<_ACEOF
2341 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2344 cat >>confdefs.h
<<_ACEOF
2345 #define PACKAGE_STRING "$PACKAGE_STRING"
2348 cat >>confdefs.h
<<_ACEOF
2349 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2352 cat >>confdefs.h
<<_ACEOF
2353 #define PACKAGE_URL "$PACKAGE_URL"
2357 # Let the site file select an alternate cache file if it wants to.
2358 # Prefer an explicitly selected file to automatically selected ones.
2361 if test -n "$CONFIG_SITE"; then
2362 # We do not want a PATH search for config.site.
2363 case $CONFIG_SITE in #((
2364 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2365 */*) ac_site_file1
=$CONFIG_SITE;;
2366 *) ac_site_file1
=.
/$CONFIG_SITE;;
2368 elif test "x$prefix" != xNONE
; then
2369 ac_site_file1
=$prefix/share
/config.site
2370 ac_site_file2
=$prefix/etc
/config.site
2372 ac_site_file1
=$ac_default_prefix/share
/config.site
2373 ac_site_file2
=$ac_default_prefix/etc
/config.site
2375 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2377 test "x$ac_site_file" = xNONE
&& continue
2378 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2380 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2381 sed 's/^/| /' "$ac_site_file" >&5
2383 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2385 as_fn_error $?
"failed to load site script $ac_site_file
2386 See \`config.log' for more details" "$LINENO" 5; }
2390 if test -r "$cache_file"; then
2391 # Some versions of bash will fail to source /dev/null (special files
2392 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2393 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2395 $as_echo "$as_me: loading cache $cache_file" >&6;}
2397 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2398 *) .
"./$cache_file";;
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2403 $as_echo "$as_me: creating cache $cache_file" >&6;}
2407 # Check that the precious variables saved in the cache have kept the same
2409 ac_cache_corrupted
=false
2410 for ac_var
in $ac_precious_vars; do
2411 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2412 eval ac_new_set
=\
$ac_env_${ac_var}_set
2413 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2414 eval ac_new_val
=\
$ac_env_${ac_var}_value
2415 case $ac_old_set,$ac_new_set in
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2418 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2419 ac_cache_corrupted
=: ;;
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2422 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2423 ac_cache_corrupted
=: ;;
2426 if test "x$ac_old_val" != "x$ac_new_val"; then
2427 # differences in whitespace do not lead to failure.
2428 ac_old_val_w
=`echo x $ac_old_val`
2429 ac_new_val_w
=`echo x $ac_new_val`
2430 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2432 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2433 ac_cache_corrupted
=:
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2436 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2437 eval $ac_var=\
$ac_old_val
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2440 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2442 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2445 # Pass precious variables to config.status.
2446 if test "$ac_new_set" = set; then
2448 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2449 *) ac_arg
=$ac_var=$ac_new_val ;;
2451 case " $ac_configure_args " in
2452 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2453 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2457 if $ac_cache_corrupted; then
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2461 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2462 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2464 ## -------------------- ##
2465 ## Main body of script. ##
2466 ## -------------------- ##
2469 ac_cpp
='$CPP $CPPFLAGS'
2470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2478 am__api_version
='1.15'
2481 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2482 if test -f "$ac_dir/install-sh"; then
2484 ac_install_sh
="$ac_aux_dir/install-sh -c"
2486 elif test -f "$ac_dir/install.sh"; then
2488 ac_install_sh
="$ac_aux_dir/install.sh -c"
2490 elif test -f "$ac_dir/shtool"; then
2492 ac_install_sh
="$ac_aux_dir/shtool install -c"
2496 if test -z "$ac_aux_dir"; then
2497 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2500 # These three variables are undocumented and unsupported,
2501 # and are intended to be withdrawn in a future Autoconf release.
2502 # They can cause serious problems if a builder's source tree is in a directory
2503 # whose full name contains unusual characters.
2504 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2505 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2506 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2509 # Find a good install program. We prefer a C program (faster),
2510 # so one script is as good as another. But avoid the broken or
2511 # incompatible versions:
2512 # SysV /etc/install, /usr/sbin/install
2513 # SunOS /usr/etc/install
2514 # IRIX /sbin/install
2516 # AmigaOS /C/install, which installs bootblocks on floppy discs
2517 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2518 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2519 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2520 # OS/2's system install, which has a completely different semantic
2521 # ./install, which can be erroneously created by make from ./install.sh.
2522 # Reject install programs that cannot install multiple files.
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2524 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2525 if test -z "$INSTALL"; then
2526 if ${ac_cv_path_install+:} false
; then :
2527 $as_echo_n "(cached) " >&6
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 # Account for people who put trailing slashes in PATH elements.
2535 case $as_dir/ in #((
2536 .
/ | .
// |
/[cC
]/* | \
2537 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2538 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2541 # OSF1 and SCO ODT 3.0 have their own names for install.
2542 # Don't use installbsd from OSF since it installs stuff as root
2544 for ac_prog
in ginstall scoinst
install; do
2545 for ac_exec_ext
in '' $ac_executable_extensions; do
2546 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2547 if test $ac_prog = install &&
2548 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2549 # AIX install. It has an incompatible calling convention.
2551 elif test $ac_prog = install &&
2552 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2553 # program-specific install script used by HP pwplus--don't use.
2556 rm -rf conftest.one conftest.two conftest.dir
2557 echo one
> conftest.one
2558 echo two
> conftest.two
2560 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2561 test -s conftest.one
&& test -s conftest.two
&&
2562 test -s conftest.dir
/conftest.one
&&
2563 test -s conftest.dir
/conftest.two
2565 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2578 rm -rf conftest.one conftest.two conftest.dir
2581 if test "${ac_cv_path_install+set}" = set; then
2582 INSTALL
=$ac_cv_path_install
2584 # As a last resort, use the slow shell script. Don't cache a
2585 # value for INSTALL within a source directory, because that will
2586 # break other packages using the cache if that directory is
2587 # removed, or if the value is a relative name.
2588 INSTALL
=$ac_install_sh
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2592 $as_echo "$INSTALL" >&6; }
2594 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2595 # It thinks the first close brace ends the variable substitution.
2596 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2598 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2600 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2603 $as_echo_n "checking whether build environment is sane... " >&6; }
2604 # Reject unsafe characters in $srcdir or the absolute working directory
2605 # name. Accept space and tab only in the latter.
2609 *[\\\"\
#\$\&\'\`$am_lf]*)
2610 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2613 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2614 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2617 # Do 'set' in a subshell so we don't clobber the current shell's
2618 # arguments. Must try -L first in case configure is actually a
2619 # symlink; some systems play weird games with the mod time of symlinks
2620 # (eg FreeBSD returns the mod time of the symlink's containing
2624 for am_try
in 1 2; do
2625 echo "timestamp, slept: $am_has_slept" > conftest.
file
2626 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2627 if test "$*" = "X"; then
2629 set X
`ls -t "$srcdir/configure" conftest.file`
2631 if test "$*" != "X $srcdir/configure conftest.file" \
2632 && test "$*" != "X conftest.file $srcdir/configure"; then
2634 # If neither matched, then we have a broken ls. This can happen
2635 # if, for instance, CONFIG_SHELL is bash and it inherits a
2636 # broken ls alias from the environment. This has actually
2637 # happened. Such a system could not be considered "sane".
2638 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2639 alias in your environment" "$LINENO" 5
2641 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2648 test "$2" = conftest.
file
2654 as_fn_error $?
"newly created file is older than distributed files!
2655 Check your system clock" "$LINENO" 5
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2658 $as_echo "yes" >&6; }
2659 # If we didn't sleep, we still need to ensure time stamps of config.status and
2660 # generated files are strictly newer.
2662 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2669 test "$program_prefix" != NONE
&&
2670 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2671 # Use a double $ so make ignores it.
2672 test "$program_suffix" != NONE
&&
2673 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2674 # Double any \ or $.
2675 # By default was `s,x,x', remove it if useless.
2676 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2677 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2679 # Expand $ac_aux_dir to an absolute path.
2680 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2682 if test x
"${MISSING+set}" != xset
; then
2685 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2687 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2690 # Use eval to expand $SHELL
2691 if eval "$MISSING --is-lightweight"; then
2692 am_missing_run
="$MISSING "
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2696 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2699 if test x
"${install_sh+set}" != xset
; then
2702 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2704 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2708 # Installed binaries are usually stripped using 'strip' when the user
2709 # run "make install-strip". However 'strip' might not be the right
2710 # tool to use in cross-compilation environments, therefore Automake
2711 # will honor the 'STRIP' environment variable to overrule this program.
2712 if test "$cross_compiling" != no
; then
2713 if test -n "$ac_tool_prefix"; then
2714 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2715 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if ${ac_cv_prog_STRIP+:} false
; then :
2719 $as_echo_n "(cached) " >&6
2721 if test -n "$STRIP"; then
2722 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir
=.
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2731 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 STRIP
=$ac_cv_prog_STRIP
2742 if test -n "$STRIP"; then
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2744 $as_echo "$STRIP" >&6; }
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747 $as_echo "no" >&6; }
2752 if test -z "$ac_cv_prog_STRIP"; then
2754 # Extract the first word of "strip", so it can be a program name with args.
2755 set dummy strip
; ac_word
=$2
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2757 $as_echo_n "checking for $ac_word... " >&6; }
2758 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2759 $as_echo_n "(cached) " >&6
2761 if test -n "$ac_ct_STRIP"; then
2762 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2768 test -z "$as_dir" && as_dir
=.
2769 for ac_exec_ext
in '' $ac_executable_extensions; do
2770 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2771 ac_cv_prog_ac_ct_STRIP
="strip"
2772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2782 if test -n "$ac_ct_STRIP"; then
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2784 $as_echo "$ac_ct_STRIP" >&6; }
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2787 $as_echo "no" >&6; }
2790 if test "x$ac_ct_STRIP" = x
; then
2793 case $cross_compiling:$ac_tool_warned in
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2797 ac_tool_warned
=yes ;;
2802 STRIP
="$ac_cv_prog_STRIP"
2806 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2809 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2810 if test -z "$MKDIR_P"; then
2811 if ${ac_cv_path_mkdir+:} false
; then :
2812 $as_echo_n "(cached) " >&6
2814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2815 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2818 test -z "$as_dir" && as_dir
=.
2819 for ac_prog
in mkdir gmkdir
; do
2820 for ac_exec_ext
in '' $ac_executable_extensions; do
2821 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2822 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2823 'mkdir (GNU coreutils) '* | \
2824 'mkdir (coreutils) '* | \
2825 'mkdir (fileutils) '4.1*)
2826 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2836 test -d .
/--version && rmdir .
/--version
2837 if test "${ac_cv_path_mkdir+set}" = set; then
2838 MKDIR_P
="$ac_cv_path_mkdir -p"
2840 # As a last resort, use the slow shell script. Don't cache a
2841 # value for MKDIR_P within a source directory, because that will
2842 # break other packages using the cache if that directory is
2843 # removed, or if the value is a relative name.
2844 MKDIR_P
="$ac_install_sh -d"
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2848 $as_echo "$MKDIR_P" >&6; }
2850 for ac_prog
in gawk mawk nawk
awk
2852 # Extract the first word of "$ac_prog", so it can be a program name with args.
2853 set dummy
$ac_prog; ac_word
=$2
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if ${ac_cv_prog_AWK+:} false
; then :
2857 $as_echo_n "(cached) " >&6
2859 if test -n "$AWK"; then
2860 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2866 test -z "$as_dir" && as_dir
=.
2867 for ac_exec_ext
in '' $ac_executable_extensions; do
2868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2869 ac_cv_prog_AWK
="$ac_prog"
2870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2880 if test -n "$AWK"; then
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2882 $as_echo "$AWK" >&6; }
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2885 $as_echo "no" >&6; }
2889 test -n "$AWK" && break
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2893 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2895 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2896 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2897 $as_echo_n "(cached) " >&6
2899 cat >conftest.
make <<\_ACEOF
2902 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2904 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2905 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2907 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2909 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2913 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2915 $as_echo "yes" >&6; }
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2919 $as_echo "no" >&6; }
2920 SET_MAKE
="MAKE=${MAKE-make}"
2923 rm -rf .tst
2>/dev
/null
2924 mkdir .tst
2>/dev
/null
2925 if test -d .tst
; then
2930 rmdir .tst
2>/dev
/null
2932 # Check whether --enable-silent-rules was given.
2933 if test "${enable_silent_rules+set}" = set; then :
2934 enableval
=$enable_silent_rules;
2937 case $enable_silent_rules in # (((
2938 yes) AM_DEFAULT_VERBOSITY
=0;;
2939 no
) AM_DEFAULT_VERBOSITY
=1;;
2940 *) AM_DEFAULT_VERBOSITY
=1;;
2942 am_make
=${MAKE-make}
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2944 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2945 if ${am_cv_make_support_nested_variables+:} false
; then :
2946 $as_echo_n "(cached) " >&6
2948 if $as_echo 'TRUE=$(BAR$(V))
2954 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2955 am_cv_make_support_nested_variables
=yes
2957 am_cv_make_support_nested_variables
=no
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2961 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2962 if test $am_cv_make_support_nested_variables = yes; then
2964 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2966 AM_V
=$AM_DEFAULT_VERBOSITY
2967 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2971 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2972 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2973 # is not polluted with repeated "-I."
2974 am__isrc
=' -I$(srcdir)'
2975 # test to see if srcdir already configured
2976 if test -f $srcdir/config.status
; then
2977 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2981 # test whether we have cygpath
2982 if test -z "$CYGPATH_W"; then
2983 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2984 CYGPATH_W
='cygpath -w'
2991 # Define the identity of the package.
2992 PACKAGE
='courier-authlib'
2996 cat >>confdefs.h
<<_ACEOF
2997 #define PACKAGE "$PACKAGE"
3001 cat >>confdefs.h
<<_ACEOF
3002 #define VERSION "$VERSION"
3005 # Some tools Automake needs.
3007 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3010 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3013 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3016 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3019 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3021 # For better backward compatibility. To be removed once Automake 1.9.x
3022 # dies out for good. For more background, see:
3023 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3024 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3025 mkdir_p
='$(MKDIR_P)'
3027 # We need awk for the "check" target (and possibly the TAP driver). The
3028 # system "awk" is bad on some platforms.
3029 # Always define AMTAR for backward compatibility. Yes, it's still used
3030 # in the wild :-( We should find a proper way to deprecate it ...
3034 # We'll loop over all known methods to create a tar archive until one works.
3035 _am_tools
='gnutar pax cpio none'
3037 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3044 # POSIX will say in a future version that running "rm -f" with no argument
3045 # is OK; and we want to be able to make that assumption in our Makefile
3046 # recipes. So use an aggressive probe to check that the usage we want is
3047 # actually supported "in the wild" to an acceptable degree.
3048 # See automake bug#10828.
3049 # To make any issue more visible, cause the running configure to be aborted
3050 # by default if the 'rm' program in use doesn't match our expectations; the
3051 # user can still override this though.
3052 if rm -f && rm -fr && rm -rf; then : OK
; else
3056 Your 'rm' program seems unable to run without file operands specified
3057 on the command line, even when the '-f' option is present. This is contrary
3058 to the behaviour of most rm programs out there, and not conforming with
3059 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3061 Please tell bug-automake@gnu.org about your system, including the value
3062 of your $PATH and any error possibly output before this message. This
3063 can help us improve future automake versions.
3066 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3067 echo 'Configuration will proceed anyway, since you have set the' >&2
3068 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3072 Aborting the configuration process, to ensure you take notice of the issue.
3074 You can download and install GNU coreutils to get an 'rm' implementation
3075 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3077 If you want to complete the configuration process using your problematic
3078 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3079 to "yes", and re-run configure.
3082 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3086 ac_config_headers
="$ac_config_headers courier_auth_config.h"
3088 >confdefs.h
# Kill PACKAGE_ macros
3090 LPATH
="$PATH:/usr/local/bin"
3092 for ac_prog
in gawk mawk nawk
awk
3094 # Extract the first word of "$ac_prog", so it can be a program name with args.
3095 set dummy
$ac_prog; ac_word
=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if ${ac_cv_prog_AWK+:} false
; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -n "$AWK"; then
3102 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir
=.
3109 for ac_exec_ext
in '' $ac_executable_extensions; do
3110 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3111 ac_cv_prog_AWK
="$ac_prog"
3112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 if test -n "$AWK"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3124 $as_echo "$AWK" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3131 test -n "$AWK" && break
3135 ac_cpp
='$CPP $CPPFLAGS'
3136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3139 if test -n "$ac_tool_prefix"; then
3140 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3141 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3143 $as_echo_n "checking for $ac_word... " >&6; }
3144 if ${ac_cv_prog_CC+:} false
; then :
3145 $as_echo_n "(cached) " >&6
3147 if test -n "$CC"; then
3148 ac_cv_prog_CC
="$CC" # Let the user override the test.
3150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir
=.
3155 for ac_exec_ext
in '' $ac_executable_extensions; do
3156 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3157 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3168 if test -n "$CC"; then
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3170 $as_echo "$CC" >&6; }
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173 $as_echo "no" >&6; }
3178 if test -z "$ac_cv_prog_CC"; then
3180 # Extract the first word of "gcc", so it can be a program name with args.
3181 set dummy gcc
; ac_word
=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3185 $as_echo_n "(cached) " >&6
3187 if test -n "$ac_ct_CC"; then
3188 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3194 test -z "$as_dir" && as_dir
=.
3195 for ac_exec_ext
in '' $ac_executable_extensions; do
3196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3197 ac_cv_prog_ac_ct_CC
="gcc"
3198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3207 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3208 if test -n "$ac_ct_CC"; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3210 $as_echo "$ac_ct_CC" >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3216 if test "x$ac_ct_CC" = x
; then
3219 case $cross_compiling:$ac_tool_warned in
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3223 ac_tool_warned
=yes ;;
3231 if test -z "$CC"; then
3232 if test -n "$ac_tool_prefix"; then
3233 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3234 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236 $as_echo_n "checking for $ac_word... " >&6; }
3237 if ${ac_cv_prog_CC+:} false
; then :
3238 $as_echo_n "(cached) " >&6
3240 if test -n "$CC"; then
3241 ac_cv_prog_CC
="$CC" # Let the user override the test.
3243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3247 test -z "$as_dir" && as_dir
=.
3248 for ac_exec_ext
in '' $ac_executable_extensions; do
3249 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3250 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 if test -n "$CC"; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3263 $as_echo "$CC" >&6; }
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266 $as_echo "no" >&6; }
3272 if test -z "$CC"; then
3273 # Extract the first word of "cc", so it can be a program name with args.
3274 set dummy cc
; ac_word
=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if ${ac_cv_prog_CC+:} false
; then :
3278 $as_echo_n "(cached) " >&6
3280 if test -n "$CC"; then
3281 ac_cv_prog_CC
="$CC" # Let the user override the test.
3284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3288 test -z "$as_dir" && as_dir
=.
3289 for ac_exec_ext
in '' $ac_executable_extensions; do
3290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3291 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3292 ac_prog_rejected
=yes
3296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 if test $ac_prog_rejected = yes; then
3304 # We found a bogon in the path, so make sure we never use it.
3305 set dummy
$ac_cv_prog_CC
3307 if test $# != 0; then
3308 # We chose a different compiler from the bogus one.
3309 # However, it has the same basename, so the bogon will be chosen
3310 # first if we set CC to just the basename; use the full file name.
3312 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3318 if test -n "$CC"; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3320 $as_echo "$CC" >&6; }
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3328 if test -z "$CC"; then
3329 if test -n "$ac_tool_prefix"; then
3330 for ac_prog
in cl.exe
3332 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3333 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3335 $as_echo_n "checking for $ac_word... " >&6; }
3336 if ${ac_cv_prog_CC+:} false
; then :
3337 $as_echo_n "(cached) " >&6
3339 if test -n "$CC"; then
3340 ac_cv_prog_CC
="$CC" # Let the user override the test.
3342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3346 test -z "$as_dir" && as_dir
=.
3347 for ac_exec_ext
in '' $ac_executable_extensions; do
3348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3349 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 if test -n "$CC"; then
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3362 $as_echo "$CC" >&6; }
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3369 test -n "$CC" && break
3372 if test -z "$CC"; then
3374 for ac_prog
in cl.exe
3376 # Extract the first word of "$ac_prog", so it can be a program name with args.
3377 set dummy
$ac_prog; ac_word
=$2
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379 $as_echo_n "checking for $ac_word... " >&6; }
3380 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3381 $as_echo_n "(cached) " >&6
3383 if test -n "$ac_ct_CC"; then
3384 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3390 test -z "$as_dir" && as_dir
=.
3391 for ac_exec_ext
in '' $ac_executable_extensions; do
3392 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3393 ac_cv_prog_ac_ct_CC
="$ac_prog"
3394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3404 if test -n "$ac_ct_CC"; then
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3406 $as_echo "$ac_ct_CC" >&6; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3409 $as_echo "no" >&6; }
3413 test -n "$ac_ct_CC" && break
3416 if test "x$ac_ct_CC" = x
; then
3419 case $cross_compiling:$ac_tool_warned in
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3423 ac_tool_warned
=yes ;;
3432 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3434 as_fn_error $?
"no acceptable C compiler found in \$PATH
3435 See \`config.log' for more details" "$LINENO" 5; }
3437 # Provide some information about the compiler.
3438 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3441 for ac_option
in --version -v -V -qversion; do
3442 { { ac_try
="$ac_compiler $ac_option >&5"
3444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3447 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3448 $as_echo "$ac_try_echo"; } >&5
3449 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3451 if test -s conftest.err; then
3453 ... rest of stderr output deleted ...
3454 10q' conftest.err >conftest.er1
3455 cat conftest.er1 >&5
3457 rm -f conftest.er1 conftest.err
3458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3459 test $ac_status = 0; }
3462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h. */
3473 ac_clean_files_save=$ac_clean_files
3474 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3475 # Try to create an executable without -o first, disregard a.out.
3476 # It will help us diagnose broken compilers, and finding out an intuition
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3479 $as_echo_n "checking whether the C compiler works... " >&6; }
3480 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3482 # The possible output files:
3483 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3486 for ac_file in $ac_files
3489 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3490 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3495 if { { ac_try="$ac_link_default"
3497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3498 *) ac_try_echo
=$ac_try;;
3500 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3501 $as_echo "$ac_try_echo"; } >&5
3502 (eval "$ac_link_default") 2>&5
3504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3505 test $ac_status = 0; }; then :
3506 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3507 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3508 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3509 # so that the user can short-circuit this test for compilers unknown to
3511 for ac_file
in $ac_files ''
3513 test -f "$ac_file" ||
continue
3515 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3518 # We found the default executable, but exeext='' is most
3522 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3524 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3526 # We set ac_cv_exeext here because the later test for it is not
3527 # safe: cross compilers may not add the suffix if given an `-o'
3528 # argument, so we may need to know it at that point already.
3529 # Even if this section looks crufty: it has the advantage of
3536 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3541 if test -z "$ac_file"; then :
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 $as_echo "no" >&6; }
3544 $as_echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.
$ac_ext >&5
3547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549 as_fn_error
77 "C compiler cannot create executables
3550 See \`config.log' for more details" "$LINENO" 5; }
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3553 $as_echo "yes" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3556 $as_echo_n "checking for C compiler default output file name... " >&6; }
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3558 $as_echo "$ac_file" >&6; }
3559 ac_exeext
=$ac_cv_exeext
3561 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3562 ac_clean_files
=$ac_clean_files_save
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3564 $as_echo_n "checking for suffix of executables... " >&6; }
3565 if { { ac_try
="$ac_link"
3567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3568 *) ac_try_echo=$ac_try;;
3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3571 $as_echo "$ac_try_echo"; } >&5
3572 (eval "$ac_link") 2>&5
3574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575 test $ac_status = 0; }; then :
3576 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3577 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3578 # work properly (i.e., refer to `conftest.exe'), while it won't with
3580 for ac_file
in conftest.exe conftest conftest.
*; do
3581 test -f "$ac_file" ||
continue
3583 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3584 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3592 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3593 See \`config.log' for more details" "$LINENO" 5; }
3595 rm -f conftest conftest
$ac_cv_exeext
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3597 $as_echo "$ac_cv_exeext" >&6; }
3599 rm -f conftest.
$ac_ext
3600 EXEEXT
=$ac_cv_exeext
3602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3603 /* end confdefs.h. */
3608 FILE *f = fopen ("conftest.out", "w");
3609 return ferror (f) || fclose (f) != 0;
3615 ac_clean_files
="$ac_clean_files conftest.out"
3616 # Check that the compiler produces executables we can run. If not, either
3617 # the compiler is broken, or we cross compile.
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3619 $as_echo_n "checking whether we are cross compiling... " >&6; }
3620 if test "$cross_compiling" != yes; then
3621 { { ac_try
="$ac_link"
3623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3627 $as_echo "$ac_try_echo"; } >&5
3628 (eval "$ac_link") 2>&5
3630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3631 test $ac_status = 0; }
3632 if { ac_try='./conftest$ac_cv_exeext'
3633 { { case "(($ac_try" in
3634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3635 *) ac_try_echo
=$ac_try;;
3637 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3638 $as_echo "$ac_try_echo"; } >&5
3639 (eval "$ac_try") 2>&5
3641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3642 test $ac_status = 0; }; }; then
3645 if test "$cross_compiling" = maybe
; then
3648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3650 as_fn_error $?
"cannot run C compiled programs.
3651 If you meant to cross compile, use \`--host'.
3652 See \`config.log' for more details" "$LINENO" 5; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3657 $as_echo "$cross_compiling" >&6; }
3659 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3660 ac_clean_files
=$ac_clean_files_save
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3662 $as_echo_n "checking for suffix of object files... " >&6; }
3663 if ${ac_cv_objext+:} false
; then :
3664 $as_echo_n "(cached) " >&6
3666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3667 /* end confdefs.h. */
3677 rm -f conftest.o conftest.obj
3678 if { { ac_try
="$ac_compile"
3680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3681 *) ac_try_echo=$ac_try;;
3683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3684 $as_echo "$ac_try_echo"; } >&5
3685 (eval "$ac_compile") 2>&5
3687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3688 test $ac_status = 0; }; then :
3689 for ac_file in conftest.o conftest.obj conftest.*; do
3690 test -f "$ac_file" || continue;
3692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3693 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3698 $as_echo "$as_me: failed program was:" >&5
3699 sed 's/^/| /' conftest.$ac_ext >&5
3701 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3702 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3703 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3704 See \
`config.log' for more details" "$LINENO" 5; }
3706 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3709 $as_echo "$ac_cv_objext" >&6; }
3710 OBJEXT=$ac_cv_objext
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3713 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3714 if ${ac_cv_c_compiler_gnu+:} false; then :
3715 $as_echo_n "(cached) " >&6
3717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718 /* end confdefs.h. */
3731 if ac_fn_c_try_compile "$LINENO"; then :
3736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3737 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3741 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3742 if test $ac_compiler_gnu = yes; then
3747 ac_test_CFLAGS=${CFLAGS+set}
3748 ac_save_CFLAGS=$CFLAGS
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3750 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3751 if ${ac_cv_prog_cc_g+:} false; then :
3752 $as_echo_n "(cached) " >&6
3754 ac_save_c_werror_flag=$ac_c_werror_flag
3755 ac_c_werror_flag=yes
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h. */
3769 if ac_fn_c_try_compile "$LINENO"; then :
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3784 if ac_fn_c_try_compile "$LINENO"; then :
3787 ac_c_werror_flag=$ac_save_c_werror_flag
3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3800 if ac_fn_c_try_compile "$LINENO"; then :
3803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808 ac_c_werror_flag=$ac_save_c_werror_flag
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3811 $as_echo "$ac_cv_prog_cc_g" >&6; }
3812 if test "$ac_test_CFLAGS" = set; then
3813 CFLAGS=$ac_save_CFLAGS
3814 elif test $ac_cv_prog_cc_g = yes; then
3815 if test "$GCC" = yes; then
3821 if test "$GCC" = yes; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3828 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3829 if ${ac_cv_prog_cc_c89+:} false; then :
3830 $as_echo_n "(cached) " >&6
3832 ac_cv_prog_cc_c89=no
3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3839 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3840 struct buf { int x; };
3841 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3842 static char *e (p, i)
3848 static char *f (char * (*g) (char **, int), char **p, ...)
3853 s = g (p, va_arg (v,int));
3858 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3859 function prototypes and stuff, but not '\xHH' hex character constants.
3860 These don't provoke an error unfortunately, instead are silently treated
3861 as 'x'. The following induces an error, until -std is added to get
3862 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3863 array size at least. It's necessary to write '\x00'==0 to get something
3864 that's true only with -std. */
3865 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3867 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3868 inside strings and character constants. */
3870 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3872 int test (int i, double x);
3873 struct s1 {int (*f) (int a);};
3874 struct s2 {int (*f) (double a);};
3875 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3881 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3886 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3887 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3889 CC="$ac_save_CC $ac_arg"
3890 if ac_fn_c_try_compile "$LINENO"; then :
3891 ac_cv_prog_cc_c89=$ac_arg
3893 rm -f core conftest.err conftest.$ac_objext
3894 test "x$ac_cv_prog_cc_c89" != "xno" && break
3896 rm -f conftest.$ac_ext
3901 case "x$ac_cv_prog_cc_c89" in
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3904 $as_echo "none needed" >&6; } ;;
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3907 $as_echo "unsupported" >&6; } ;;
3909 CC="$CC $ac_cv_prog_cc_c89"
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3911 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3913 if test "x$ac_cv_prog_cc_c89" != xno; then :
3918 ac_cpp='$CPP $CPPFLAGS'
3919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924 ac_cpp='$CPP $CPPFLAGS'
3925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3929 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3930 if ${am_cv_prog_cc_c_o+:} false; then :
3931 $as_echo_n "(cached) " >&6
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3944 # Make sure it works both with $CC and with simple cc.
3945 # Following AC_PROG_CC_C_O, we do the test twice because some
3946 # compilers refuse to overwrite an existing .o file with -o,
3947 # though they will create one.
3948 am_cv_prog_cc_c_o=yes
3950 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3951 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); } \
3955 && test -f conftest2.$ac_objext; then
3958 am_cv_prog_cc_c_o=no
3962 rm -f core conftest*
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3966 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3967 if test "$am_cv_prog_cc_c_o" != yes; then
3968 # Losing compiler, so override with the script.
3969 # FIXME: It is wrong to rewrite CC.
3970 # But if we don't then we get into trouble of one sort or another.
3971 # A longer-term fix would be to have automake use am__CC in this case,
3972 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3973 CC="$am_aux_dir/compile $CC"
3976 ac_cpp='$CPP $CPPFLAGS'
3977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3981 DEPDIR="${am__leading_dot}deps"
3983 ac_config_commands="$ac_config_commands depfiles"
3986 am_make=${MAKE-make}
3987 cat > confinc << 'END'
3989 @echo this is the am__doit target
3992 # If we don't find an include directive, just comment out the code.
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3994 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3998 # First try GNU make style include.
3999 echo "include confinc" > confmf
4000 # Ignore all kinds of additional output from 'make'.
4001 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4002 *the\ am__doit\ target*)
4008 # Now try BSD make style include.
4009 if test "$am__include" = "#"; then
4010 echo '.include "confinc"' > confmf
4011 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4012 *the\ am__doit\ target*)
4013 am__include=.include
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4022 $as_echo "$_am_result" >&6; }
4023 rm -f confinc confmf
4025 # Check whether --enable-dependency-tracking was given.
4026 if test "${enable_dependency_tracking+set}" = set; then :
4027 enableval=$enable_dependency_tracking;
4030 if test "x$enable_dependency_tracking" != xno; then
4031 am_depcomp="$ac_aux_dir/depcomp"
4035 if test "x$enable_dependency_tracking" != xno; then
4045 depcc="$CC" am_compiler_list=
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4048 $as_echo_n "checking dependency style of $depcc... " >&6; }
4049 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4050 $as_echo_n "(cached) " >&6
4052 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4053 # We make a subdir and do the tests there. Otherwise we can end up
4054 # making bogus files that we don't know about and never remove. For
4055 # instance it was reported that on HP-UX the gcc test will end up
4056 # making a dummy file named 'D' -- because '-MD' means "put the output
4060 # Copy depcomp to subdir because otherwise we won't find it if we're
4061 # using a relative directory.
4062 cp "$am_depcomp" conftest.dir
4064 # We will build objects and dependencies in a subdirectory because
4065 # it helps to detect inapplicable dependency modes. For instance
4066 # both Tru64's cc and ICC support -MD to output dependencies as a
4067 # side effect of compilation, but ICC will put the dependencies in
4068 # the current directory while Tru64 will put them in the object
4072 am_cv_CC_dependencies_compiler_type=none
4073 if test "$am_compiler_list" = ""; then
4074 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4077 case " $depcc " in #(
4078 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4081 for depmode in $am_compiler_list; do
4082 # Setup a source with many dependencies, because some compilers
4083 # like to wrap large dependency lists on column 80 (with \), and
4084 # we should not choose a depcomp mode which is confused by this.
4086 # We need to recreate these files for each test, as the compiler may
4087 # overwrite some of them when testing with obscure command lines.
4088 # This happens at least with the AIX C compiler.
4090 for i in 1 2 3 4 5 6; do
4091 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4092 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4093 # Solaris 10 /bin/sh.
4094 echo '/* dummy */' > sub/conftst$i.h
4096 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4098 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4099 # mode. It turns out that the SunPro C++ compiler does not properly
4100 # handle '-M -o', and we need to detect this. Also, some Intel
4101 # versions had trouble with output in subdirs.
4102 am__obj=sub/conftest.${OBJEXT-o}
4103 am__minus_obj="-o $am__obj"
4106 # This depmode causes a compiler race in universal mode.
4107 test "$am__universal" = false || continue
4110 # After this tag, mechanisms are not by side-effect, so they'll
4111 # only be used when explicitly requested.
4112 if test "x$enable_dependency_tracking" = xyes; then
4118 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4119 # This compiler won't grok '-c -o', but also, the minuso test has
4120 # not run yet. These depmodes are late enough in the game, and
4121 # so weak that their functioning should not be impacted.
4122 am__obj=conftest.${OBJEXT-o}
4127 if depmode=$depmode \
4128 source=sub/conftest.c object=$am__obj \
4129 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4130 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4131 >/dev/null 2>conftest.err &&
4132 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4133 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4134 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4135 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4136 # icc doesn't choke on unknown options, it will just issue warnings
4137 # or remarks (even with -Werror). So we grep stderr for any message
4138 # that says an option was ignored or not supported.
4139 # When given -MP, icc 7.0 and 7.1 complain thusly:
4140 # icc: Command line warning: ignoring option '-M'; no argument required
4141 # The diagnosis changed in icc 8.0:
4142 # icc: Command line remark: option '-MP' not supported
4143 if (grep 'ignoring option' conftest.err ||
4144 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4145 am_cv_CC_dependencies_compiler_type=$depmode
4154 am_cv_CC_dependencies_compiler_type=none
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4159 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4160 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4163 test "x$enable_dependency_tracking" != xno \
4164 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4166 am__fastdepCC_FALSE='#'
4168 am__fastdepCC_TRUE='#'
4169 am__fastdepCC_FALSE=
4174 ac_cpp='$CPP $CPPFLAGS'
4175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4179 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4180 # On Suns, sometimes $CPP names a directory.
4181 if test -n "$CPP" && test -d "$CPP"; then
4184 if test -z "$CPP"; then
4185 if ${ac_cv_prog_CPP+:} false; then :
4186 $as_echo_n "(cached) " >&6
4188 # Double quotes because CPP needs to be expanded
4189 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4192 for ac_c_preproc_warn_flag in '' yes
4194 # Use a header file that comes with gcc, so configuring glibc
4195 # with a fresh cross-compiler works.
4196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4197 # <limits.h> exists even on freestanding compilers.
4198 # On the NeXT, cc -E runs the code through the compiler's parser,
4199 # not just through cpp. "Syntax error" is here to catch this case.
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4203 # include <limits.h>
4205 # include <assert.h>
4209 if ac_fn_c_try_cpp "$LINENO"; then :
4212 # Broken: fails on valid input.
4215 rm -f conftest.err conftest.i conftest.$ac_ext
4217 # OK, works on sane cases. Now check whether nonexistent headers
4218 # can be detected and how.
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4221 #include <ac_nonexistent.h>
4223 if ac_fn_c_try_cpp "$LINENO"; then :
4224 # Broken: success on invalid input.
4227 # Passes both tests.
4231 rm -f conftest.err conftest.i conftest.$ac_ext
4234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4235 rm -f conftest.i conftest.err conftest.
$ac_ext
4236 if $ac_preproc_ok; then :
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4249 $as_echo "$CPP" >&6; }
4251 for ac_c_preproc_warn_flag
in '' yes
4253 # Use a header file that comes with gcc, so configuring glibc
4254 # with a fresh cross-compiler works.
4255 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4256 # <limits.h> exists even on freestanding compilers.
4257 # On the NeXT, cc -E runs the code through the compiler's parser,
4258 # not just through cpp. "Syntax error" is here to catch this case.
4259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4260 /* end confdefs.h. */
4262 # include <limits.h>
4264 # include <assert.h>
4268 if ac_fn_c_try_cpp
"$LINENO"; then :
4271 # Broken: fails on valid input.
4274 rm -f conftest.err conftest.i conftest.
$ac_ext
4276 # OK, works on sane cases. Now check whether nonexistent headers
4277 # can be detected and how.
4278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4280 #include <ac_nonexistent.h>
4282 if ac_fn_c_try_cpp
"$LINENO"; then :
4283 # Broken: success on invalid input.
4286 # Passes both tests.
4290 rm -f conftest.err conftest.i conftest.
$ac_ext
4293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4294 rm -f conftest.i conftest.err conftest.
$ac_ext
4295 if $ac_preproc_ok; then :
4298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4300 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4301 See \`config.log' for more details" "$LINENO" 5; }
4305 ac_cpp
='$CPP $CPPFLAGS'
4306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4312 $as_echo_n "checking whether ln -s works... " >&6; }
4314 if test "$LN_S" = "ln -s"; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4316 $as_echo "yes" >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4319 $as_echo "no, using $LN_S" >&6; }
4324 for ac_prog
in perl5 perl
4326 # Extract the first word of "$ac_prog", so it can be a program name with args.
4327 set dummy
$ac_prog; ac_word
=$2
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4329 $as_echo_n "checking for $ac_word... " >&6; }
4330 if ${ac_cv_path_SYSCONFTOOL_PERL+:} false
; then :
4331 $as_echo_n "(cached) " >&6
4333 case $SYSCONFTOOL_PERL in
4335 ac_cv_path_SYSCONFTOOL_PERL
="$SYSCONFTOOL_PERL" # Let the user override the test with a path.
4338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4342 test -z "$as_dir" && as_dir
=.
4343 for ac_exec_ext
in '' $ac_executable_extensions; do
4344 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4345 ac_cv_path_SYSCONFTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
4346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 SYSCONFTOOL_PERL
=$ac_cv_path_SYSCONFTOOL_PERL
4357 if test -n "$SYSCONFTOOL_PERL"; then
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFTOOL_PERL" >&5
4359 $as_echo "$SYSCONFTOOL_PERL" >&6; }
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4362 $as_echo "no" >&6; }
4366 test -n "$SYSCONFTOOL_PERL" && break
4368 test -n "$SYSCONFTOOL_PERL" || SYSCONFTOOL_PERL
="perl"
4371 if test "$SYSCONFTOOL_PERL" = "perl"
4373 as_fn_error $?
"perl not found - please install perl" "$LINENO" 5
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysconftool..." >&5
4377 $as_echo_n "checking for sysconftool...... " >&6; }
4379 for sysconf_dir
in $ac_aux_dir . .. ..
/..
4381 if test -f $srcdir/$sysconf_dir/sysconftool
4383 SYSCONFTOOL
=$srcdir/$sysconf_dir/sysconftool
4388 if test "$SYSCONFTOOL" = ""
4390 as_fn_error $?
"sysconftool missing - not in the package" "$LINENO" 5
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFTOOL" >&5
4394 $as_echo "$SYSCONFTOOL" >&6; }
4395 SYSCONFTOOL
="$SYSCONFTOOL_PERL $SYSCONFTOOL"
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4402 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4407 macro_version
='2.4.6'
4408 macro_revision
='2.4.6'
4422 ltmain
=$ac_aux_dir/ltmain.sh
4424 # Make sure we can run config.sub.
4425 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4426 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4429 $as_echo_n "checking build system type... " >&6; }
4430 if ${ac_cv_build+:} false
; then :
4431 $as_echo_n "(cached) " >&6
4433 ac_build_alias
=$build_alias
4434 test "x$ac_build_alias" = x
&&
4435 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4436 test "x$ac_build_alias" = x
&&
4437 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4438 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4439 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4443 $as_echo "$ac_cv_build" >&6; }
4444 case $ac_cv_build in
4446 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4449 ac_save_IFS
=$IFS; IFS
='-'
4455 # Remember, the first character of IFS is used to create $*,
4456 # except with old shells:
4459 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4463 $as_echo_n "checking host system type... " >&6; }
4464 if ${ac_cv_host+:} false
; then :
4465 $as_echo_n "(cached) " >&6
4467 if test "x$host_alias" = x
; then
4468 ac_cv_host
=$ac_cv_build
4470 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4471 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4476 $as_echo "$ac_cv_host" >&6; }
4479 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4482 ac_save_IFS
=$IFS; IFS
='-'
4488 # Remember, the first character of IFS is used to create $*,
4489 # except with old shells:
4492 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4495 # Backslashify metacharacters that are still active within
4496 # double-quoted strings.
4497 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
4499 # Same as above, but do not quote variable references.
4500 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
4502 # Sed substitution to delay expansion of an escaped shell variable in a
4503 # double_quote_subst'ed string.
4504 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
4506 # Sed substitution to delay expansion of an escaped single quote.
4507 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
4509 # Sed substitution to avoid accidental globbing in evaled expressions
4510 no_glob_subst
='s/\*/\\\*/g'
4512 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4513 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4514 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4517 $as_echo_n "checking how to print strings... " >&6; }
4518 # Test print first, because it will be a builtin if present.
4519 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4520 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4522 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4525 # Use this function as a fallback that always works.
4526 func_fallback_echo ()
4528 eval 'cat <<_LTECHO_EOF
4532 ECHO='func_fallback_echo
'
4535 # func_echo_all arg...
4536 # Invoke $ECHO with all args, space-separated.
4543 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4544 $as_echo "printf" >&6; } ;;
4545 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4546 $as_echo "print -r" >&6; } ;;
4547 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4548 $as_echo "cat" >&6; } ;;
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4565 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4566 if ${ac_cv_path_SED+:} false; then :
4567 $as_echo_n "(cached) " >&6
4569 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4570 for ac_i in 1 2 3 4 5 6 7; do
4571 ac_script="$ac_script$as_nl$ac_script"
4573 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4574 { ac_script=; unset ac_script;}
4575 if test -z "$SED"; then
4576 ac_path_SED_found=false
4577 # Loop through the user's path and
test for each of PROGNAME-LIST
4578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir
=.
4583 for ac_prog
in sed gsed
; do
4584 for ac_exec_ext
in '' $ac_executable_extensions; do
4585 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4586 as_fn_executable_p
"$ac_path_SED" ||
continue
4587 # Check for GNU ac_path_SED and select it if it is found.
4588 # Check for GNU $ac_path_SED
4589 case `"$ac_path_SED" --version 2>&1` in
4591 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4594 $as_echo_n 0123456789 >"conftest.in"
4597 cat "conftest.in" "conftest.in" >"conftest.tmp"
4598 mv "conftest.tmp" "conftest.in"
4599 cp "conftest.in" "conftest.nl"
4600 $as_echo '' >> "conftest.nl"
4601 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4602 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4603 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4604 if test $ac_count -gt ${ac_path_SED_max-0}; then
4605 # Best one so far, save it but keep looking for a better one
4606 ac_cv_path_SED
="$ac_path_SED"
4607 ac_path_SED_max
=$ac_count
4609 # 10*(2^10) chars as input seems more than enough
4610 test $ac_count -gt 10 && break
4612 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4615 $ac_path_SED_found && break 3
4620 if test -z "$ac_cv_path_SED"; then
4621 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4629 $as_echo "$ac_cv_path_SED" >&6; }
4630 SED
="$ac_cv_path_SED"
4633 test -z "$SED" && SED
=sed
4634 Xsed
="$SED -e 1s/^X//"
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4647 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4648 if ${ac_cv_path_GREP+:} false
; then :
4649 $as_echo_n "(cached) " >&6
4651 if test -z "$GREP"; then
4652 ac_path_GREP_found
=false
4653 # Loop through the user's path and test for each of PROGNAME-LIST
4654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4655 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4658 test -z "$as_dir" && as_dir
=.
4659 for ac_prog
in grep ggrep
; do
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4662 as_fn_executable_p
"$ac_path_GREP" ||
continue
4663 # Check for GNU ac_path_GREP and select it if it is found.
4664 # Check for GNU $ac_path_GREP
4665 case `"$ac_path_GREP" --version 2>&1` in
4667 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4670 $as_echo_n 0123456789 >"conftest.in"
4673 cat "conftest.in" "conftest.in" >"conftest.tmp"
4674 mv "conftest.tmp" "conftest.in"
4675 cp "conftest.in" "conftest.nl"
4676 $as_echo 'GREP' >> "conftest.nl"
4677 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4678 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4679 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4680 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4681 # Best one so far, save it but keep looking for a better one
4682 ac_cv_path_GREP
="$ac_path_GREP"
4683 ac_path_GREP_max
=$ac_count
4685 # 10*(2^10) chars as input seems more than enough
4686 test $ac_count -gt 10 && break
4688 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4691 $ac_path_GREP_found && break 3
4696 if test -z "$ac_cv_path_GREP"; then
4697 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4700 ac_cv_path_GREP
=$GREP
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4705 $as_echo "$ac_cv_path_GREP" >&6; }
4706 GREP
="$ac_cv_path_GREP"
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4710 $as_echo_n "checking for egrep... " >&6; }
4711 if ${ac_cv_path_EGREP+:} false
; then :
4712 $as_echo_n "(cached) " >&6
4714 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4715 then ac_cv_path_EGREP
="$GREP -E"
4717 if test -z "$EGREP"; then
4718 ac_path_EGREP_found
=false
4719 # Loop through the user's path and test for each of PROGNAME-LIST
4720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4724 test -z "$as_dir" && as_dir
=.
4725 for ac_prog
in egrep; do
4726 for ac_exec_ext
in '' $ac_executable_extensions; do
4727 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4728 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4729 # Check for GNU ac_path_EGREP and select it if it is found.
4730 # Check for GNU $ac_path_EGREP
4731 case `"$ac_path_EGREP" --version 2>&1` in
4733 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4736 $as_echo_n 0123456789 >"conftest.in"
4739 cat "conftest.in" "conftest.in" >"conftest.tmp"
4740 mv "conftest.tmp" "conftest.in"
4741 cp "conftest.in" "conftest.nl"
4742 $as_echo 'EGREP' >> "conftest.nl"
4743 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4744 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4745 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4746 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4747 # Best one so far, save it but keep looking for a better one
4748 ac_cv_path_EGREP
="$ac_path_EGREP"
4749 ac_path_EGREP_max
=$ac_count
4751 # 10*(2^10) chars as input seems more than enough
4752 test $ac_count -gt 10 && break
4754 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4757 $ac_path_EGREP_found && break 3
4762 if test -z "$ac_cv_path_EGREP"; then
4763 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4766 ac_cv_path_EGREP
=$EGREP
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4772 $as_echo "$ac_cv_path_EGREP" >&6; }
4773 EGREP
="$ac_cv_path_EGREP"
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4777 $as_echo_n "checking for fgrep... " >&6; }
4778 if ${ac_cv_path_FGREP+:} false
; then :
4779 $as_echo_n "(cached) " >&6
4781 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4782 then ac_cv_path_FGREP
="$GREP -F"
4784 if test -z "$FGREP"; then
4785 ac_path_FGREP_found
=false
4786 # Loop through the user's path and test for each of PROGNAME-LIST
4787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4788 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4791 test -z "$as_dir" && as_dir
=.
4792 for ac_prog
in fgrep
; do
4793 for ac_exec_ext
in '' $ac_executable_extensions; do
4794 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4795 as_fn_executable_p
"$ac_path_FGREP" ||
continue
4796 # Check for GNU ac_path_FGREP and select it if it is found.
4797 # Check for GNU $ac_path_FGREP
4798 case `"$ac_path_FGREP" --version 2>&1` in
4800 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4803 $as_echo_n 0123456789 >"conftest.in"
4806 cat "conftest.in" "conftest.in" >"conftest.tmp"
4807 mv "conftest.tmp" "conftest.in"
4808 cp "conftest.in" "conftest.nl"
4809 $as_echo 'FGREP' >> "conftest.nl"
4810 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4811 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4812 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4813 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4814 # Best one so far, save it but keep looking for a better one
4815 ac_cv_path_FGREP
="$ac_path_FGREP"
4816 ac_path_FGREP_max
=$ac_count
4818 # 10*(2^10) chars as input seems more than enough
4819 test $ac_count -gt 10 && break
4821 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4824 $ac_path_FGREP_found && break 3
4829 if test -z "$ac_cv_path_FGREP"; then
4830 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4833 ac_cv_path_FGREP
=$FGREP
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4839 $as_echo "$ac_cv_path_FGREP" >&6; }
4840 FGREP
="$ac_cv_path_FGREP"
4843 test -z "$GREP" && GREP
=grep
4863 # Check whether --with-gnu-ld was given.
4864 if test "${with_gnu_ld+set}" = set; then :
4865 withval
=$with_gnu_ld; test no
= "$withval" || with_gnu_ld
=yes
4871 if test yes = "$GCC"; then
4872 # Check if gcc -print-prog-name=ld gives a path.
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4874 $as_echo_n "checking for ld used by $CC... " >&6; }
4877 # gcc leaves a trailing carriage return, which upsets mingw
4878 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4880 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4883 # Accept absolute paths.
4885 re_direlt
='/[^/][^/]*/\.\./'
4886 # Canonicalize the pathname of ld
4887 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4888 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4889 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4891 test -z "$LD" && LD
=$ac_prog
4894 # If it fails, then pretend we aren't using GCC.
4898 # If it is relative, then search for the first ld in PATH.
4902 elif test yes = "$with_gnu_ld"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4904 $as_echo_n "checking for GNU ld... " >&6; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4907 $as_echo_n "checking for non-GNU ld... " >&6; }
4909 if ${lt_cv_path_LD+:} false
; then :
4910 $as_echo_n "(cached) " >&6
4912 if test -z "$LD"; then
4913 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
4914 for ac_dir
in $PATH; do
4916 test -z "$ac_dir" && ac_dir
=.
4917 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4918 lt_cv_path_LD
=$ac_dir/$ac_prog
4919 # Check to see if the program is GNU ld. I'd rather use --version,
4920 # but apparently some variants of GNU ld only accept -v.
4921 # Break only if it was the GNU/non-GNU ld that we prefer.
4922 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4923 *GNU
* |
*'with BFD'*)
4924 test no
!= "$with_gnu_ld" && break
4927 test yes != "$with_gnu_ld" && break
4934 lt_cv_path_LD
=$LD # Let the user override the test with a path.
4939 if test -n "$LD"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4941 $as_echo "$LD" >&6; }
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4946 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4948 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4949 if ${lt_cv_prog_gnu_ld+:} false
; then :
4950 $as_echo_n "(cached) " >&6
4952 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4953 case `$LD -v 2>&1 </dev/null` in
4954 *GNU
* |
*'with BFD'*)
4955 lt_cv_prog_gnu_ld
=yes
4958 lt_cv_prog_gnu_ld
=no
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4963 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4964 with_gnu_ld
=$lt_cv_prog_gnu_ld
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4975 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4976 if ${lt_cv_path_NM+:} false
; then :
4977 $as_echo_n "(cached) " >&6
4979 if test -n "$NM"; then
4980 # Let the user override the test.
4983 lt_nm_to_check
=${ac_tool_prefix}nm
4984 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4985 lt_nm_to_check
="$lt_nm_to_check nm"
4987 for lt_tmp_nm
in $lt_nm_to_check; do
4988 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
4989 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4991 test -z "$ac_dir" && ac_dir
=.
4992 tmp_nm
=$ac_dir/$lt_tmp_nm
4993 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext"; then
4994 # Check to see if the nm accepts a BSD-compat flag.
4995 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4996 # nm: unknown option "B" ignored
4997 # Tru64's nm complains that /dev/null is an invalid object file
4998 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5000 mingw
*) lt_bad_file
=conftest.nm
/nofile
;;
5001 *) lt_bad_file
=/dev
/null
;;
5003 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5004 *$lt_bad_file* |
*'Invalid file or object type'*)
5005 lt_cv_path_NM
="$tmp_nm -B"
5009 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5011 lt_cv_path_NM
="$tmp_nm -p"
5015 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5016 continue # so that we can try to find one that supports BSD flags
5025 : ${lt_cv_path_NM=no}
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5029 $as_echo "$lt_cv_path_NM" >&6; }
5030 if test no
!= "$lt_cv_path_NM"; then
5033 # Didn't find any BSD compatible name lister, look for dumpbin.
5034 if test -n "$DUMPBIN"; then :
5035 # Let the user override the test.
5037 if test -n "$ac_tool_prefix"; then
5038 for ac_prog
in dumpbin
"link -dump"
5040 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5041 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5045 $as_echo_n "(cached) " >&6
5047 if test -n "$DUMPBIN"; then
5048 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir
=.
5055 for ac_exec_ext
in '' $ac_executable_extensions; do
5056 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 DUMPBIN
=$ac_cv_prog_DUMPBIN
5068 if test -n "$DUMPBIN"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5070 $as_echo "$DUMPBIN" >&6; }
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5077 test -n "$DUMPBIN" && break
5080 if test -z "$DUMPBIN"; then
5081 ac_ct_DUMPBIN
=$DUMPBIN
5082 for ac_prog
in dumpbin
"link -dump"
5084 # Extract the first word of "$ac_prog", so it can be a program name with args.
5085 set dummy
$ac_prog; ac_word
=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5089 $as_echo_n "(cached) " >&6
5091 if test -n "$ac_ct_DUMPBIN"; then
5092 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5098 test -z "$as_dir" && as_dir
=.
5099 for ac_exec_ext
in '' $ac_executable_extensions; do
5100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5101 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5112 if test -n "$ac_ct_DUMPBIN"; then
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5114 $as_echo "$ac_ct_DUMPBIN" >&6; }
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5121 test -n "$ac_ct_DUMPBIN" && break
5124 if test "x$ac_ct_DUMPBIN" = x
; then
5127 case $cross_compiling:$ac_tool_warned in
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5131 ac_tool_warned
=yes ;;
5133 DUMPBIN
=$ac_ct_DUMPBIN
5137 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5139 DUMPBIN
="$DUMPBIN -symbols -headers"
5147 if test : != "$DUMPBIN"; then
5151 test -z "$NM" && NM
=nm
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5159 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5160 if ${lt_cv_nm_interface+:} false
; then :
5161 $as_echo_n "(cached) " >&6
5163 lt_cv_nm_interface
="BSD nm"
5164 echo "int some_variable = 0;" > conftest.
$ac_ext
5165 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5166 (eval "$ac_compile" 2>conftest.err
)
5167 cat conftest.err
>&5
5168 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5169 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5170 cat conftest.err
>&5
5171 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5172 cat conftest.out
>&5
5173 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5174 lt_cv_nm_interface
="MS dumpbin"
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5179 $as_echo "$lt_cv_nm_interface" >&6; }
5181 # find the maximum length of command line arguments
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5183 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5184 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5185 $as_echo_n "(cached) " >&6
5192 # On DJGPP, this test can blow up pretty badly due to problems in libc
5193 # (any single argument exceeding 2000 bytes causes a buffer overrun
5194 # during glob expansion). Even if it were fixed, the result of this
5195 # check would be larger than it should be.
5196 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5200 # Under GNU Hurd, this test is not required because there is
5201 # no limit to the length of command line arguments.
5202 # Libtool will interpret -1 as no limit whatsoever
5203 lt_cv_sys_max_cmd_len
=-1;
5206 cygwin
* | mingw
* | cegcc
*)
5207 # On Win9x/ME, this test blows up -- it succeeds, but takes
5208 # about 5 minutes as the teststring grows exponentially.
5209 # Worse, since 9x/ME are not pre-emptively multitasking,
5210 # you end up with a "frozen" computer, even though with patience
5211 # the test eventually succeeds (with a max line length of 256k).
5212 # Instead, let's just punt: use the minimum linelength reported by
5213 # all of the supported platforms: 8192 (on NT/2K/XP).
5214 lt_cv_sys_max_cmd_len
=8192;
5218 # On MiNT this can take a long time and run out of memory.
5219 lt_cv_sys_max_cmd_len
=8192;
5223 # On AmigaOS with pdksh, this test takes hours, literally.
5224 # So we just punt and use a minimum line length of 8192.
5225 lt_cv_sys_max_cmd_len
=8192;
5228 bitrig
* | darwin
* | dragonfly
* | freebsd
* | netbsd
* | openbsd
*)
5229 # This has been around since 386BSD, at least. Likely further.
5230 if test -x /sbin
/sysctl
; then
5231 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5232 elif test -x /usr
/sbin
/sysctl
; then
5233 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5235 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5237 # And add a safety zone
5238 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5239 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5243 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5244 lt_cv_sys_max_cmd_len
=196608
5248 # The test takes a long time on OS/2.
5249 lt_cv_sys_max_cmd_len
=8192
5253 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5254 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5255 # nice to cause kernel panics so lets avoid the loop below.
5256 # First set a reasonable default.
5257 lt_cv_sys_max_cmd_len
=16384
5259 if test -x /sbin
/sysconfig
; then
5260 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5261 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5266 lt_cv_sys_max_cmd_len
=102400
5268 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5269 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5270 if test -n "$kargmax"; then
5271 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5273 lt_cv_sys_max_cmd_len
=32768
5277 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5278 if test -n "$lt_cv_sys_max_cmd_len" && \
5279 test undefined
!= "$lt_cv_sys_max_cmd_len"; then
5280 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5281 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5283 # Make teststring a little bigger before we do anything with it.
5284 # a 1K string should be a reasonable start.
5285 for i
in 1 2 3 4 5 6 7 8; do
5286 teststring
=$teststring$teststring
5288 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5289 # If test is not a shell built-in, we'll probably end up computing a
5290 # maximum length that is only half of the actual maximum length, but
5292 while { test X
`env echo "$teststring$teststring" 2>/dev/null` \
5293 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
5294 test 17 != "$i" # 1/2 MB should be enough
5297 teststring
=$teststring$teststring
5299 # Only check the string length outside the loop.
5300 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5302 # Add a significant safety factor because C++ compilers can tack on
5303 # massive amounts of additional arguments before passing them to the
5304 # linker. It appears as though 1/2 is a usable value.
5305 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5312 if test -n "$lt_cv_sys_max_cmd_len"; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5314 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5317 $as_echo "none" >&6; }
5319 max_cmd_len
=$lt_cv_sys_max_cmd_len
5330 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5340 # test EBCDIC or ASCII
5341 case `echo X|tr X '\101'` in
5342 A
) # ASCII based system
5343 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5344 lt_SP2NL
='tr \040 \012'
5345 lt_NL2SP
='tr \015\012 \040\040'
5347 *) # EBCDIC based system
5348 lt_SP2NL
='tr \100 \n'
5349 lt_NL2SP
='tr \r\n \100\100'
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5362 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5363 if ${lt_cv_to_host_file_cmd+:} false
; then :
5364 $as_echo_n "(cached) " >&6
5369 *-*-mingw* ) # actually msys
5370 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
5373 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
5375 * ) # otherwise, assume *nix
5376 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
5382 *-*-mingw* ) # actually msys
5383 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
5386 lt_cv_to_host_file_cmd
=func_convert_file_noop
5388 * ) # otherwise, assume *nix
5389 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
5393 * ) # unhandled hosts (and "normal" native builds)
5394 lt_cv_to_host_file_cmd
=func_convert_file_noop
5400 to_host_file_cmd
=$lt_cv_to_host_file_cmd
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5402 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5409 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5410 if ${lt_cv_to_tool_file_cmd+:} false
; then :
5411 $as_echo_n "(cached) " >&6
5413 #assume ordinary cross tools, or native build.
5414 lt_cv_to_tool_file_cmd
=func_convert_file_noop
5418 *-*-mingw* ) # actually msys
5419 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
5427 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5429 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5436 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5437 if ${lt_cv_ld_reload_flag+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5440 lt_cv_ld_reload_flag
='-r'
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5443 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5444 reload_flag
=$lt_cv_ld_reload_flag
5445 case $reload_flag in
5447 *) reload_flag
=" $reload_flag" ;;
5449 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5451 cygwin
* | mingw
* | pw32
* | cegcc
*)
5452 if test yes != "$GCC"; then
5457 if test yes = "$GCC"; then
5458 reload_cmds
='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5460 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5473 if test -n "$ac_tool_prefix"; then
5474 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5475 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5479 $as_echo_n "(cached) " >&6
5481 if test -n "$OBJDUMP"; then
5482 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir
=.
5489 for ac_exec_ext
in '' $ac_executable_extensions; do
5490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 OBJDUMP
=$ac_cv_prog_OBJDUMP
5502 if test -n "$OBJDUMP"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5504 $as_echo "$OBJDUMP" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5512 if test -z "$ac_cv_prog_OBJDUMP"; then
5513 ac_ct_OBJDUMP
=$OBJDUMP
5514 # Extract the first word of "objdump", so it can be a program name with args.
5515 set dummy objdump
; ac_word
=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5519 $as_echo_n "(cached) " >&6
5521 if test -n "$ac_ct_OBJDUMP"; then
5522 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5528 test -z "$as_dir" && as_dir
=.
5529 for ac_exec_ext
in '' $ac_executable_extensions; do
5530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5531 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5542 if test -n "$ac_ct_OBJDUMP"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5544 $as_echo "$ac_ct_OBJDUMP" >&6; }
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5550 if test "x$ac_ct_OBJDUMP" = x
; then
5553 case $cross_compiling:$ac_tool_warned in
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned
=yes ;;
5559 OBJDUMP
=$ac_ct_OBJDUMP
5562 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5565 test -z "$OBJDUMP" && OBJDUMP
=objdump
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5576 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5577 if ${lt_cv_deplibs_check_method+:} false
; then :
5578 $as_echo_n "(cached) " >&6
5580 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5581 lt_cv_file_magic_test_file
=
5582 lt_cv_deplibs_check_method
='unknown'
5583 # Need to set the preceding variable on all platforms that support
5584 # interlibrary dependencies.
5585 # 'none' -- dependencies not supported.
5586 # 'unknown' -- same as none, but documents that we really don't know.
5587 # 'pass_all' -- all dependencies passed with no checks.
5588 # 'test_compile' -- check by making test program.
5589 # 'file_magic [[regex]]' -- check by looking for files in library path
5590 # that responds to the $file_magic_cmd with a given extended regex.
5591 # If you have 'file' or equivalent on your system and you're not sure
5592 # whether 'pass_all' will *always* work, you probably want this one.
5596 lt_cv_deplibs_check_method
=pass_all
5600 lt_cv_deplibs_check_method
=pass_all
5604 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5605 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5606 lt_cv_file_magic_test_file
=/shlib
/libc.so
5610 # func_win32_libid is a shell function defined in ltmain.sh
5611 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5612 lt_cv_file_magic_cmd
='func_win32_libid'
5616 # Base MSYS/MinGW do not provide the 'file' command needed by
5617 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5618 # unless we find 'file', for example because we are cross-compiling.
5619 if ( file / ) >/dev
/null
2>&1; then
5620 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5621 lt_cv_file_magic_cmd
='func_win32_libid'
5623 # Keep this pattern in sync with the one in func_win32_libid.
5624 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5625 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5630 # use the weaker test based on 'objdump'. See mingw*.
5631 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5632 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5635 darwin
* | rhapsody
*)
5636 lt_cv_deplibs_check_method
=pass_all
5639 freebsd
* | dragonfly
*)
5640 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5643 # Not sure whether the presence of OpenBSD here was a mistake.
5644 # Let's accept both of them until this is cleared up.
5645 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5646 lt_cv_file_magic_cmd
=/usr
/bin
/file
5647 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5651 lt_cv_deplibs_check_method
=pass_all
5656 lt_cv_deplibs_check_method
=pass_all
5659 hpux10.20
* | hpux11
*)
5660 lt_cv_file_magic_cmd
=/usr
/bin
/file
5663 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5664 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5667 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]'
5668 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5671 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5672 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5678 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5679 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5682 irix5
* | irix6
* | nonstopux
*)
5684 *-32|
*"-32 ") libmagic
=32-bit;;
5685 *-n32|
*"-n32 ") libmagic
=N32
;;
5686 *-64|
*"-64 ") libmagic
=64-bit;;
5687 *) libmagic
=never-match
;;
5689 lt_cv_deplibs_check_method
=pass_all
5692 # This must be glibc/ELF.
5693 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
5694 lt_cv_deplibs_check_method
=pass_all
5698 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5699 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5701 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5706 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5707 lt_cv_file_magic_cmd
=/usr
/bin
/file
5708 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5712 lt_cv_deplibs_check_method
=pass_all
5716 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5717 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5719 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5723 osf3
* | osf4
* | osf5
*)
5724 lt_cv_deplibs_check_method
=pass_all
5728 lt_cv_deplibs_check_method
=pass_all
5732 lt_cv_deplibs_check_method
=pass_all
5735 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5736 lt_cv_deplibs_check_method
=pass_all
5740 case $host_vendor in
5742 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]'
5743 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5746 lt_cv_deplibs_check_method
=pass_all
5749 lt_cv_file_magic_cmd
='/bin/file'
5750 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5753 lt_cv_file_magic_cmd
='/bin/file'
5754 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5755 lt_cv_file_magic_test_file
=/lib
/libc.so
5758 lt_cv_deplibs_check_method
=pass_all
5761 lt_cv_deplibs_check_method
=pass_all
5767 lt_cv_deplibs_check_method
=pass_all
5770 lt_cv_deplibs_check_method
=pass_all
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5776 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5780 if test "$build" = "$host"; then
5783 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
5786 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5792 file_magic_cmd
=$lt_cv_file_magic_cmd
5793 deplibs_check_method
=$lt_cv_deplibs_check_method
5794 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5817 if test -n "$ac_tool_prefix"; then
5818 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5819 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5823 $as_echo_n "(cached) " >&6
5825 if test -n "$DLLTOOL"; then
5826 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5832 test -z "$as_dir" && as_dir
=.
5833 for ac_exec_ext
in '' $ac_executable_extensions; do
5834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 DLLTOOL
=$ac_cv_prog_DLLTOOL
5846 if test -n "$DLLTOOL"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5848 $as_echo "$DLLTOOL" >&6; }
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5856 if test -z "$ac_cv_prog_DLLTOOL"; then
5857 ac_ct_DLLTOOL
=$DLLTOOL
5858 # Extract the first word of "dlltool", so it can be a program name with args.
5859 set dummy dlltool
; ac_word
=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5863 $as_echo_n "(cached) " >&6
5865 if test -n "$ac_ct_DLLTOOL"; then
5866 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir
=.
5873 for ac_exec_ext
in '' $ac_executable_extensions; do
5874 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5886 if test -n "$ac_ct_DLLTOOL"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5888 $as_echo "$ac_ct_DLLTOOL" >&6; }
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5894 if test "x$ac_ct_DLLTOOL" = x
; then
5897 case $cross_compiling:$ac_tool_warned in
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5901 ac_tool_warned
=yes ;;
5903 DLLTOOL
=$ac_ct_DLLTOOL
5906 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5909 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5921 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5922 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5923 $as_echo_n "(cached) " >&6
5925 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5928 cygwin
* | mingw
* | pw32
* | cegcc
*)
5929 # two different shell functions defined in ltmain.sh;
5930 # decide which one to use based on capabilities of $DLLTOOL
5931 case `$DLLTOOL --help 2>&1` in
5932 *--identify-strict*)
5933 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5936 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5941 # fallback: assume linklib IS sharedlib
5942 lt_cv_sharedlib_from_linklib_cmd
=$ECHO
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5948 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5949 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5950 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5959 if test -n "$ac_tool_prefix"; then
5962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5963 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965 $as_echo_n "checking for $ac_word... " >&6; }
5966 if ${ac_cv_prog_AR+:} false
; then :
5967 $as_echo_n "(cached) " >&6
5969 if test -n "$AR"; then
5970 ac_cv_prog_AR
="$AR" # Let the user override the test.
5972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5976 test -z "$as_dir" && as_dir
=.
5977 for ac_exec_ext
in '' $ac_executable_extensions; do
5978 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5979 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5990 if test -n "$AR"; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5992 $as_echo "$AR" >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995 $as_echo "no" >&6; }
5999 test -n "$AR" && break
6002 if test -z "$AR"; then
6006 # Extract the first word of "$ac_prog", so it can be a program name with args.
6007 set dummy
$ac_prog; ac_word
=$2
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 $as_echo_n "checking for $ac_word... " >&6; }
6010 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6011 $as_echo_n "(cached) " >&6
6013 if test -n "$ac_ct_AR"; then
6014 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6020 test -z "$as_dir" && as_dir
=.
6021 for ac_exec_ext
in '' $ac_executable_extensions; do
6022 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6023 ac_cv_prog_ac_ct_AR
="$ac_prog"
6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6034 if test -n "$ac_ct_AR"; then
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6036 $as_echo "$ac_ct_AR" >&6; }
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 $as_echo "no" >&6; }
6043 test -n "$ac_ct_AR" && break
6046 if test "x$ac_ct_AR" = x
; then
6049 case $cross_compiling:$ac_tool_warned in
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6053 ac_tool_warned
=yes ;;
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6073 $as_echo_n "checking for archiver @FILE support... " >&6; }
6074 if ${lt_cv_ar_at_file+:} false
; then :
6075 $as_echo_n "(cached) " >&6
6078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6079 /* end confdefs.h. */
6089 if ac_fn_c_try_compile
"$LINENO"; then :
6090 echo conftest.
$ac_objext > conftest.lst
6091 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6092 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6093 (eval $lt_ar_try) 2>&5
6095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6096 test $ac_status = 0; }
6097 if test 0 -eq "$ac_status"; then
6098 # Ensure the archiver fails upon bogus file names.
6099 rm -f conftest.
$ac_objext libconftest.a
6100 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6101 (eval $lt_ar_try) 2>&5
6103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6104 test $ac_status = 0; }
6105 if test 0 -ne "$ac_status"; then
6109 rm -f conftest.
* libconftest.a
6112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6116 $as_echo "$lt_cv_ar_at_file" >&6; }
6118 if test no
= "$lt_cv_ar_at_file"; then
6121 archiver_list_spec
=$lt_cv_ar_at_file
6130 if test -n "$ac_tool_prefix"; then
6131 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6132 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if ${ac_cv_prog_STRIP+:} false
; then :
6136 $as_echo_n "(cached) " >&6
6138 if test -n "$STRIP"; then
6139 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir
=.
6146 for ac_exec_ext
in '' $ac_executable_extensions; do
6147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158 STRIP
=$ac_cv_prog_STRIP
6159 if test -n "$STRIP"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6161 $as_echo "$STRIP" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6169 if test -z "$ac_cv_prog_STRIP"; then
6171 # Extract the first word of "strip", so it can be a program name with args.
6172 set dummy strip
; ac_word
=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6176 $as_echo_n "(cached) " >&6
6178 if test -n "$ac_ct_STRIP"; then
6179 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6185 test -z "$as_dir" && as_dir
=.
6186 for ac_exec_ext
in '' $ac_executable_extensions; do
6187 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6188 ac_cv_prog_ac_ct_STRIP
="strip"
6189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6199 if test -n "$ac_ct_STRIP"; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6201 $as_echo "$ac_ct_STRIP" >&6; }
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6207 if test "x$ac_ct_STRIP" = x
; then
6210 case $cross_compiling:$ac_tool_warned in
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6214 ac_tool_warned
=yes ;;
6219 STRIP
="$ac_cv_prog_STRIP"
6222 test -z "$STRIP" && STRIP
=:
6229 if test -n "$ac_tool_prefix"; then
6230 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6231 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233 $as_echo_n "checking for $ac_word... " >&6; }
6234 if ${ac_cv_prog_RANLIB+:} false
; then :
6235 $as_echo_n "(cached) " >&6
6237 if test -n "$RANLIB"; then
6238 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6244 test -z "$as_dir" && as_dir
=.
6245 for ac_exec_ext
in '' $ac_executable_extensions; do
6246 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6247 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 RANLIB
=$ac_cv_prog_RANLIB
6258 if test -n "$RANLIB"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6260 $as_echo "$RANLIB" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6268 if test -z "$ac_cv_prog_RANLIB"; then
6269 ac_ct_RANLIB
=$RANLIB
6270 # Extract the first word of "ranlib", so it can be a program name with args.
6271 set dummy ranlib
; ac_word
=$2
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273 $as_echo_n "checking for $ac_word... " >&6; }
6274 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6275 $as_echo_n "(cached) " >&6
6277 if test -n "$ac_ct_RANLIB"; then
6278 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6284 test -z "$as_dir" && as_dir
=.
6285 for ac_exec_ext
in '' $ac_executable_extensions; do
6286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6287 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6298 if test -n "$ac_ct_RANLIB"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6300 $as_echo "$ac_ct_RANLIB" >&6; }
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303 $as_echo "no" >&6; }
6306 if test "x$ac_ct_RANLIB" = x
; then
6309 case $cross_compiling:$ac_tool_warned in
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6313 ac_tool_warned
=yes ;;
6315 RANLIB
=$ac_ct_RANLIB
6318 RANLIB
="$ac_cv_prog_RANLIB"
6321 test -z "$RANLIB" && RANLIB
=:
6328 # Determine commands to create old-style static archives.
6329 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6330 old_postinstall_cmds
='chmod 644 $oldlib'
6331 old_postuninstall_cmds
=
6333 if test -n "$RANLIB"; then
6336 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6339 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6342 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6347 lock_old_archive_extraction
=yes ;;
6349 lock_old_archive_extraction
=no
;;
6390 # If no C compiler was specified, use CC.
6393 # If no C compiler flags were specified, use CFLAGS.
6394 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6396 # Allow CC to be a program name with arguments.
6400 # Check for command to grab the raw symbol name followed by C symbol from nm.
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6402 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6403 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6404 $as_echo_n "(cached) " >&6
6407 # These are sane defaults that work on at least a few old systems.
6408 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6410 # Character class describing NM global symbol codes.
6411 symcode
='[BCDEGRST]'
6413 # Regexp to match symbols that can be accessed directly from C.
6414 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6416 # Define system-specific variables.
6421 cygwin
* | mingw
* | pw32
* | cegcc
*)
6422 symcode
='[ABCDGISTW]'
6425 if test ia64
= "$host_cpu"; then
6426 symcode
='[ABCDEGRST]'
6430 symcode
='[BCDEGRST]'
6433 symcode
='[BCDEGQRST]'
6444 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6452 # If we're using GNU nm, then use its standard symbol codes.
6453 case `$NM -V 2>&1` in
6454 *GNU
* |
*'with BFD'*)
6455 symcode
='[ABCDGIRSTW]' ;;
6458 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6459 # Gets list of data symbols to import.
6460 lt_cv_sys_global_symbol_to_import
="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6461 # Adjust the below global symbol transforms to fixup imported variables.
6462 lt_cdecl_hook
=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6463 lt_c_name_hook
=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6464 lt_c_name_lib_hook
="\
6465 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6466 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6468 # Disable hooks by default.
6469 lt_cv_sys_global_symbol_to_import
=
6475 # Transform an extracted symbol line into a proper C declaration.
6476 # Some systems (esp. on ia64) link data and code symbols differently,
6477 # so use this general approach.
6478 lt_cv_sys_global_symbol_to_cdecl
="sed -n"\
6480 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6481 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6483 # Transform an extracted symbol line into symbol name and symbol address
6484 lt_cv_sys_global_symbol_to_c_name_address
="sed -n"\
6486 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6487 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6489 # Transform an extracted symbol line into symbol name with lib prefix and
6491 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n"\
6492 $lt_c_name_lib_hook\
6493 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6494 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6495 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6497 # Handle CRLF in mingw tool chain
6501 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6505 # Try without a prefix underscore, then with it.
6506 for ac_symprfx
in "" "_"; do
6508 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6509 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6511 # Write the raw and C identifiers.
6512 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6513 # Fake it for dumpbin and say T for any non-static function,
6514 # D for any global variable and I for any imported variable.
6515 # Also find C++ and __fastcall symbols from MSVC++,
6516 # which start with @ or ?.
6517 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6518 " {last_section=section; section=\$ 3};"\
6519 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6520 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6521 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6522 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6523 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6524 " \$ 0!~/External *\|/{next};"\
6525 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6526 " {if(hide[section]) next};"\
6527 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6528 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6529 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6530 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6531 " ' prfx=^$ac_symprfx"
6533 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6535 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6537 # Check to see that the pipe works correctly.
6541 cat > conftest.
$ac_ext <<_LT_EOF
6546 void nm_test_func(void);
6547 void nm_test_func(void){}
6551 int main(){nm_test_var='a';nm_test_func();return(0);}
6554 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6555 (eval $ac_compile) 2>&5
6557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6558 test $ac_status = 0; }; then
6559 # Now try to grab the symbols.
6561 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6562 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6565 test $ac_status = 0; } && test -s "$nlist"; then
6566 # Try sorting and uniquifying the output.
6567 if sort "$nlist" |
uniq > "$nlist"T
; then
6568 mv -f "$nlist"T
"$nlist"
6573 # Make sure that we snagged all the symbols we need.
6574 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6575 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6576 cat <<_LT_EOF > conftest.$ac_ext
6577 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6578 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6579 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6580 relocations are performed -- see ld's documentation on pseudo-relocs. */
6581 # define LT_DLSYM_CONST
6582 #elif defined __osf__
6583 /* This system does not cope well with relocations in const data. */
6584 # define LT_DLSYM_CONST
6586 # define LT_DLSYM_CONST const
6594 # Now generate the symbol file.
6595 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6597 cat <<_LT_EOF >> conftest.$ac_ext
6599 /* The mapping between symbol names and symbols. */
6600 LT_DLSYM_CONST struct {
6604 lt__PROGRAM__LTX_preloaded_symbols[] =
6606 { "@PROGRAM@", (void *) 0 },
6608 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6609 cat <<\_LT_EOF
>> conftest.
$ac_ext
6613 /* This works around a problem
in FreeBSD linker
*/
6614 #ifdef FREEBSD_WORKAROUND
6615 static const void
*lt_preloaded_setup
() {
6616 return lt__PROGRAM__LTX_preloaded_symbols
;
6624 # Now try linking the two files.
6625 mv conftest.
$ac_objext conftstm.
$ac_objext
6626 lt_globsym_save_LIBS
=$LIBS
6627 lt_globsym_save_CFLAGS
=$CFLAGS
6628 LIBS
=conftstm.
$ac_objext
6629 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6631 (eval $ac_link) 2>&5
6633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6634 test $ac_status = 0; } && test -s conftest
$ac_exeext; then
6637 LIBS
=$lt_globsym_save_LIBS
6638 CFLAGS
=$lt_globsym_save_CFLAGS
6640 echo "cannot find nm_test_func in $nlist" >&5
6643 echo "cannot find nm_test_var in $nlist" >&5
6646 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6649 echo "$progname: failed program was:" >&5
6650 cat conftest.
$ac_ext >&5
6652 rm -rf conftest
* conftst
*
6654 # Do not use the global_symbol_pipe unless it works.
6655 if test yes = "$pipe_works"; then
6658 lt_cv_sys_global_symbol_pipe
=
6664 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6665 lt_cv_sys_global_symbol_to_cdecl
=
6667 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6669 $as_echo "failed" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6672 $as_echo "ok" >&6; }
6675 # Response file support.
6676 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6677 nm_file_list_spec
='@'
6678 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
6679 nm_file_list_spec
='@'
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6719 $as_echo_n "checking for sysroot... " >&6; }
6721 # Check whether --with-sysroot was given.
6722 if test "${with_sysroot+set}" = set; then :
6723 withval
=$with_sysroot;
6730 case $with_sysroot in #(
6732 if test yes = "$GCC"; then
6733 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6737 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6743 $as_echo "$with_sysroot" >&6; }
6744 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6749 $as_echo "${lt_sysroot:-no}" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6756 $as_echo_n "checking for a working dd... " >&6; }
6757 if ${ac_cv_path_lt_DD+:} false
; then :
6758 $as_echo_n "(cached) " >&6
6760 printf 0123456789abcdef0123456789abcdef
>conftest.i
6761 cat conftest.i conftest.i
>conftest2.i
6763 if test -z "$lt_DD"; then
6764 ac_path_lt_DD_found
=false
6765 # Loop through the user's path and test for each of PROGNAME-LIST
6766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6770 test -z "$as_dir" && as_dir
=.
6771 for ac_prog
in dd; do
6772 for ac_exec_ext
in '' $ac_executable_extensions; do
6773 ac_path_lt_DD
="$as_dir/$ac_prog$ac_exec_ext"
6774 as_fn_executable_p
"$ac_path_lt_DD" ||
continue
6775 if "$ac_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
6776 cmp -s conftest.i conftest.out \
6777 && ac_cv_path_lt_DD
="$ac_path_lt_DD" ac_path_lt_DD_found
=:
6779 $ac_path_lt_DD_found && break 3
6784 if test -z "$ac_cv_path_lt_DD"; then
6788 ac_cv_path_lt_DD
=$lt_DD
6791 rm -f conftest.i conftest2.i conftest.out
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6794 $as_echo "$ac_cv_path_lt_DD" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6798 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6799 if ${lt_cv_truncate_bin+:} false
; then :
6800 $as_echo_n "(cached) " >&6
6802 printf 0123456789abcdef0123456789abcdef
>conftest.i
6803 cat conftest.i conftest.i
>conftest2.i
6805 if "$ac_cv_path_lt_DD" bs
=32 count
=1 <conftest2.i
>conftest.out
2>/dev
/null
; then
6806 cmp -s conftest.i conftest.out \
6807 && lt_cv_truncate_bin
="$ac_cv_path_lt_DD bs=4096 count=1"
6809 rm -f conftest.i conftest2.i conftest.out
6810 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin
="$SED -e 4q"
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6813 $as_echo "$lt_cv_truncate_bin" >&6; }
6821 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
6824 for cc_temp
in $
*""; do
6826 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
6827 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
6832 func_cc_basename_result
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6835 # Check whether --enable-libtool-lock was given.
6836 if test "${enable_libtool_lock+set}" = set; then :
6837 enableval
=$enable_libtool_lock;
6840 test no
= "$enable_libtool_lock" || enable_libtool_lock
=yes
6842 # Some flags need to be propagated to the compiler or linker for good
6846 # Find out what ABI is being produced by ac_compile, and set mode
6847 # options accordingly.
6848 echo 'int i;' > conftest.
$ac_ext
6849 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6850 (eval $ac_compile) 2>&5
6852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6853 test $ac_status = 0; }; then
6854 case `/usr/bin/file conftest.$ac_objext` in
6866 # Find out what ABI is being produced by ac_compile, and set linker
6867 # options accordingly.
6868 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6869 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6870 (eval $ac_compile) 2>&5
6872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6873 test $ac_status = 0; }; then
6874 if test yes = "$lt_cv_prog_gnu_ld"; then
6875 case `/usr/bin/file conftest.$ac_objext` in
6877 LD
="${LD-ld} -melf32bsmip"
6880 LD
="${LD-ld} -melf32bmipn32"
6883 LD
="${LD-ld} -melf64bmip"
6887 case `/usr/bin/file conftest.$ac_objext` in
6904 # Find out what ABI is being produced by ac_compile, and set linker
6905 # options accordingly.
6906 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6908 (eval $ac_compile) 2>&5
6910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6911 test $ac_status = 0; }; then
6913 case `/usr/bin/file conftest.$ac_objext` in
6921 case `/usr/bin/file conftest.$ac_objext` in
6923 emul
="${emul}btsmip"
6926 emul
="${emul}ltsmip"
6929 case `/usr/bin/file conftest.$ac_objext` in
6934 LD
="${LD-ld} -m $emul"
6939 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
6940 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6941 # Find out what ABI is being produced by ac_compile, and set linker
6942 # options accordingly. Note that the listed cases only cover the
6943 # situations where additional linker options are needed (such as when
6944 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6945 # vice versa); the common cases where no linker options are needed do
6946 # not appear in the list.
6947 echo 'int i;' > conftest.
$ac_ext
6948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6949 (eval $ac_compile) 2>&5
6951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6952 test $ac_status = 0; }; then
6953 case `/usr/bin/file conftest.o` in
6956 x86_64-
*kfreebsd
*-gnu)
6957 LD
="${LD-ld} -m elf_i386_fbsd"
6960 case `/usr/bin/file conftest.o` in
6962 LD
="${LD-ld} -m elf32_x86_64"
6965 LD
="${LD-ld} -m elf_i386"
6969 powerpc64le-
*linux
*)
6970 LD
="${LD-ld} -m elf32lppclinux"
6973 LD
="${LD-ld} -m elf32ppclinux"
6976 LD
="${LD-ld} -m elf_s390"
6979 LD
="${LD-ld} -m elf32_sparc"
6985 x86_64-
*kfreebsd
*-gnu)
6986 LD
="${LD-ld} -m elf_x86_64_fbsd"
6989 LD
="${LD-ld} -m elf_x86_64"
6992 LD
="${LD-ld} -m elf64lppc"
6995 LD
="${LD-ld} -m elf64ppc"
6997 s390
*-*linux
*|s390
*-*tpf
*)
6998 LD
="${LD-ld} -m elf64_s390"
7001 LD
="${LD-ld} -m elf64_sparc"
7011 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7013 CFLAGS
="$CFLAGS -belf"
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7015 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7016 if ${lt_cv_cc_needs_belf+:} false
; then :
7017 $as_echo_n "(cached) " >&6
7020 ac_cpp
='$CPP $CPPFLAGS'
7021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7036 if ac_fn_c_try_link
"$LINENO"; then :
7037 lt_cv_cc_needs_belf
=yes
7039 lt_cv_cc_needs_belf
=no
7041 rm -f core conftest.err conftest.
$ac_objext \
7042 conftest
$ac_exeext conftest.
$ac_ext
7044 ac_cpp
='$CPP $CPPFLAGS'
7045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7051 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7052 if test yes != "$lt_cv_cc_needs_belf"; then
7053 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7058 # Find out what ABI is being produced by ac_compile, and set linker
7059 # options accordingly.
7060 echo 'int i;' > conftest.
$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 case `/usr/bin/file conftest.o` in
7068 case $lt_cv_prog_gnu_ld in
7071 i?
86-*-solaris*|x86_64-
*-solaris*)
7072 LD
="${LD-ld} -m elf_x86_64"
7075 LD
="${LD-ld} -m elf64_sparc"
7078 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7079 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
7084 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7096 need_locks
=$enable_libtool_lock
7098 if test -n "$ac_tool_prefix"; then
7099 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7100 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7104 $as_echo_n "(cached) " >&6
7106 if test -n "$MANIFEST_TOOL"; then
7107 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7113 test -z "$as_dir" && as_dir
=.
7114 for ac_exec_ext
in '' $ac_executable_extensions; do
7115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7116 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7126 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7127 if test -n "$MANIFEST_TOOL"; then
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7129 $as_echo "$MANIFEST_TOOL" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7137 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7138 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7139 # Extract the first word of "mt", so it can be a program name with args.
7140 set dummy mt
; ac_word
=$2
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7142 $as_echo_n "checking for $ac_word... " >&6; }
7143 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7144 $as_echo_n "(cached) " >&6
7146 if test -n "$ac_ct_MANIFEST_TOOL"; then
7147 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7153 test -z "$as_dir" && as_dir
=.
7154 for ac_exec_ext
in '' $ac_executable_extensions; do
7155 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7156 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7166 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7167 if test -n "$ac_ct_MANIFEST_TOOL"; then
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7169 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7172 $as_echo "no" >&6; }
7175 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7178 case $cross_compiling:$ac_tool_warned in
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7182 ac_tool_warned
=yes ;;
7184 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7187 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7190 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7192 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7193 if ${lt_cv_path_mainfest_tool+:} false
; then :
7194 $as_echo_n "(cached) " >&6
7196 lt_cv_path_mainfest_tool
=no
7197 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7198 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
7199 cat conftest.err
>&5
7200 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
7201 lt_cv_path_mainfest_tool
=yes
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7206 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7207 if test yes != "$lt_cv_path_mainfest_tool"; then
7217 rhapsody
* | darwin
*)
7218 if test -n "$ac_tool_prefix"; then
7219 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7220 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7222 $as_echo_n "checking for $ac_word... " >&6; }
7223 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7224 $as_echo_n "(cached) " >&6
7226 if test -n "$DSYMUTIL"; then
7227 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7233 test -z "$as_dir" && as_dir
=.
7234 for ac_exec_ext
in '' $ac_executable_extensions; do
7235 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7236 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7246 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7247 if test -n "$DSYMUTIL"; then
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7249 $as_echo "$DSYMUTIL" >&6; }
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7252 $as_echo "no" >&6; }
7257 if test -z "$ac_cv_prog_DSYMUTIL"; then
7258 ac_ct_DSYMUTIL
=$DSYMUTIL
7259 # Extract the first word of "dsymutil", so it can be a program name with args.
7260 set dummy dsymutil
; ac_word
=$2
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262 $as_echo_n "checking for $ac_word... " >&6; }
7263 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7264 $as_echo_n "(cached) " >&6
7266 if test -n "$ac_ct_DSYMUTIL"; then
7267 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7273 test -z "$as_dir" && as_dir
=.
7274 for ac_exec_ext
in '' $ac_executable_extensions; do
7275 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7276 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7286 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7287 if test -n "$ac_ct_DSYMUTIL"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7289 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 $as_echo "no" >&6; }
7295 if test "x$ac_ct_DSYMUTIL" = x
; then
7298 case $cross_compiling:$ac_tool_warned in
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7302 ac_tool_warned
=yes ;;
7304 DSYMUTIL
=$ac_ct_DSYMUTIL
7307 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7310 if test -n "$ac_tool_prefix"; then
7311 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7312 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7314 $as_echo_n "checking for $ac_word... " >&6; }
7315 if ${ac_cv_prog_NMEDIT+:} false
; then :
7316 $as_echo_n "(cached) " >&6
7318 if test -n "$NMEDIT"; then
7319 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7325 test -z "$as_dir" && as_dir
=.
7326 for ac_exec_ext
in '' $ac_executable_extensions; do
7327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7328 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338 NMEDIT
=$ac_cv_prog_NMEDIT
7339 if test -n "$NMEDIT"; then
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7341 $as_echo "$NMEDIT" >&6; }
7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7344 $as_echo "no" >&6; }
7349 if test -z "$ac_cv_prog_NMEDIT"; then
7350 ac_ct_NMEDIT
=$NMEDIT
7351 # Extract the first word of "nmedit", so it can be a program name with args.
7352 set dummy nmedit
; ac_word
=$2
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7354 $as_echo_n "checking for $ac_word... " >&6; }
7355 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7356 $as_echo_n "(cached) " >&6
7358 if test -n "$ac_ct_NMEDIT"; then
7359 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7365 test -z "$as_dir" && as_dir
=.
7366 for ac_exec_ext
in '' $ac_executable_extensions; do
7367 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7368 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7379 if test -n "$ac_ct_NMEDIT"; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7381 $as_echo "$ac_ct_NMEDIT" >&6; }
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384 $as_echo "no" >&6; }
7387 if test "x$ac_ct_NMEDIT" = x
; then
7390 case $cross_compiling:$ac_tool_warned in
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7394 ac_tool_warned
=yes ;;
7396 NMEDIT
=$ac_ct_NMEDIT
7399 NMEDIT
="$ac_cv_prog_NMEDIT"
7402 if test -n "$ac_tool_prefix"; then
7403 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7404 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7406 $as_echo_n "checking for $ac_word... " >&6; }
7407 if ${ac_cv_prog_LIPO+:} false
; then :
7408 $as_echo_n "(cached) " >&6
7410 if test -n "$LIPO"; then
7411 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7417 test -z "$as_dir" && as_dir
=.
7418 for ac_exec_ext
in '' $ac_executable_extensions; do
7419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7420 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7430 LIPO
=$ac_cv_prog_LIPO
7431 if test -n "$LIPO"; then
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7433 $as_echo "$LIPO" >&6; }
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7436 $as_echo "no" >&6; }
7441 if test -z "$ac_cv_prog_LIPO"; then
7443 # Extract the first word of "lipo", so it can be a program name with args.
7444 set dummy lipo
; ac_word
=$2
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7446 $as_echo_n "checking for $ac_word... " >&6; }
7447 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7448 $as_echo_n "(cached) " >&6
7450 if test -n "$ac_ct_LIPO"; then
7451 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7457 test -z "$as_dir" && as_dir
=.
7458 for ac_exec_ext
in '' $ac_executable_extensions; do
7459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7460 ac_cv_prog_ac_ct_LIPO
="lipo"
7461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7470 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7471 if test -n "$ac_ct_LIPO"; then
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7473 $as_echo "$ac_ct_LIPO" >&6; }
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7476 $as_echo "no" >&6; }
7479 if test "x$ac_ct_LIPO" = x
; then
7482 case $cross_compiling:$ac_tool_warned in
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7486 ac_tool_warned
=yes ;;
7491 LIPO
="$ac_cv_prog_LIPO"
7494 if test -n "$ac_tool_prefix"; then
7495 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7496 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7498 $as_echo_n "checking for $ac_word... " >&6; }
7499 if ${ac_cv_prog_OTOOL+:} false
; then :
7500 $as_echo_n "(cached) " >&6
7502 if test -n "$OTOOL"; then
7503 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7509 test -z "$as_dir" && as_dir
=.
7510 for ac_exec_ext
in '' $ac_executable_extensions; do
7511 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7512 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522 OTOOL
=$ac_cv_prog_OTOOL
7523 if test -n "$OTOOL"; then
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7525 $as_echo "$OTOOL" >&6; }
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7528 $as_echo "no" >&6; }
7533 if test -z "$ac_cv_prog_OTOOL"; then
7535 # Extract the first word of "otool", so it can be a program name with args.
7536 set dummy otool
; ac_word
=$2
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7538 $as_echo_n "checking for $ac_word... " >&6; }
7539 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7540 $as_echo_n "(cached) " >&6
7542 if test -n "$ac_ct_OTOOL"; then
7543 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7549 test -z "$as_dir" && as_dir
=.
7550 for ac_exec_ext
in '' $ac_executable_extensions; do
7551 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7552 ac_cv_prog_ac_ct_OTOOL
="otool"
7553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7562 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7563 if test -n "$ac_ct_OTOOL"; then
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7565 $as_echo "$ac_ct_OTOOL" >&6; }
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7568 $as_echo "no" >&6; }
7571 if test "x$ac_ct_OTOOL" = x
; then
7574 case $cross_compiling:$ac_tool_warned in
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7578 ac_tool_warned
=yes ;;
7583 OTOOL
="$ac_cv_prog_OTOOL"
7586 if test -n "$ac_tool_prefix"; then
7587 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7588 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7590 $as_echo_n "checking for $ac_word... " >&6; }
7591 if ${ac_cv_prog_OTOOL64+:} false
; then :
7592 $as_echo_n "(cached) " >&6
7594 if test -n "$OTOOL64"; then
7595 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7601 test -z "$as_dir" && as_dir
=.
7602 for ac_exec_ext
in '' $ac_executable_extensions; do
7603 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7604 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614 OTOOL64
=$ac_cv_prog_OTOOL64
7615 if test -n "$OTOOL64"; then
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7617 $as_echo "$OTOOL64" >&6; }
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7620 $as_echo "no" >&6; }
7625 if test -z "$ac_cv_prog_OTOOL64"; then
7626 ac_ct_OTOOL64
=$OTOOL64
7627 # Extract the first word of "otool64", so it can be a program name with args.
7628 set dummy otool64
; ac_word
=$2
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7630 $as_echo_n "checking for $ac_word... " >&6; }
7631 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7632 $as_echo_n "(cached) " >&6
7634 if test -n "$ac_ct_OTOOL64"; then
7635 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7641 test -z "$as_dir" && as_dir
=.
7642 for ac_exec_ext
in '' $ac_executable_extensions; do
7643 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7644 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7654 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7655 if test -n "$ac_ct_OTOOL64"; then
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7657 $as_echo "$ac_ct_OTOOL64" >&6; }
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7660 $as_echo "no" >&6; }
7663 if test "x$ac_ct_OTOOL64" = x
; then
7666 case $cross_compiling:$ac_tool_warned in
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7669 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7670 ac_tool_warned
=yes ;;
7672 OTOOL64
=$ac_ct_OTOOL64
7675 OTOOL64
="$ac_cv_prog_OTOOL64"
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7705 $as_echo_n "checking for -single_module linker flag... " >&6; }
7706 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7707 $as_echo_n "(cached) " >&6
7709 lt_cv_apple_cc_single_mod
=no
7710 if test -z "$LT_MULTI_MODULE"; then
7711 # By default we will add the -single_module flag. You can override
7712 # by either setting the environment variable LT_MULTI_MODULE
7713 # non-empty at configure time, or by adding -multi_module to the
7715 rm -rf libconftest.dylib
*
7716 echo "int foo(void){return 1;}" > conftest.c
7717 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7718 -dynamiclib -Wl,-single_module conftest.c" >&5
7719 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7720 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7722 # If there is a non-empty error log, and "single_module"
7723 # appears in it, assume the flag caused a linker warning
7724 if test -s conftest.err
&& $GREP single_module conftest.err
; then
7725 cat conftest.err
>&5
7726 # Otherwise, if the output was created with a 0 exit code from
7727 # the compiler, it worked.
7728 elif test -f libconftest.dylib
&& test 0 = "$_lt_result"; then
7729 lt_cv_apple_cc_single_mod
=yes
7731 cat conftest.err
>&5
7733 rm -rf libconftest.dylib
*
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7738 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7741 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7742 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7743 $as_echo_n "(cached) " >&6
7745 lt_cv_ld_exported_symbols_list
=no
7746 save_LDFLAGS
=$LDFLAGS
7747 echo "_main" > conftest.sym
7748 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7760 if ac_fn_c_try_link
"$LINENO"; then :
7761 lt_cv_ld_exported_symbols_list
=yes
7763 lt_cv_ld_exported_symbols_list
=no
7765 rm -f core conftest.err conftest.
$ac_objext \
7766 conftest
$ac_exeext conftest.
$ac_ext
7767 LDFLAGS
=$save_LDFLAGS
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7771 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7774 $as_echo_n "checking for -force_load linker flag... " >&6; }
7775 if ${lt_cv_ld_force_load+:} false
; then :
7776 $as_echo_n "(cached) " >&6
7778 lt_cv_ld_force_load
=no
7779 cat > conftest.c
<< _LT_EOF
7780 int forced_loaded() { return 2;}
7782 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7783 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7784 echo "$AR cru libconftest.a conftest.o" >&5
7785 $AR cru libconftest.a conftest.o
2>&5
7786 echo "$RANLIB libconftest.a" >&5
7787 $RANLIB libconftest.a
2>&5
7788 cat > conftest.c
<< _LT_EOF
7789 int main() { return 0;}
7791 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7792 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7794 if test -s conftest.err
&& $GREP force_load conftest.err
; then
7795 cat conftest.err
>&5
7796 elif test -f conftest
&& test 0 = "$_lt_result" && $GREP forced_load conftest
>/dev
/null
2>&1; then
7797 lt_cv_ld_force_load
=yes
7799 cat conftest.err
>&5
7801 rm -f conftest.err libconftest.a conftest conftest.c
7802 rm -rf conftest.dSYM
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7806 $as_echo "$lt_cv_ld_force_load" >&6; }
7808 rhapsody
* | darwin1.
[012])
7809 _lt_dar_allow_undefined
='$wl-undefined ${wl}suppress' ;;
7811 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7812 darwin
*) # darwin 5.x on
7813 # if running on 10.5 or later, the deployment target defaults
7814 # to the OS version, if on x86, and 10.4, the deployment
7815 # target defaults to 10.4. Don't you love it?
7816 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7817 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7818 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
7820 _lt_dar_allow_undefined
='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7822 _lt_dar_allow_undefined
='$wl-undefined ${wl}dynamic_lookup' ;;
7826 if test yes = "$lt_cv_apple_cc_single_mod"; then
7827 _lt_dar_single_mod
='$single_module'
7829 if test yes = "$lt_cv_ld_exported_symbols_list"; then
7830 _lt_dar_export_syms
=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7832 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7834 if test : != "$DSYMUTIL" && test no
= "$lt_cv_ld_force_load"; then
7835 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7842 # func_munge_path_list VARIABLE PATH
7843 # -----------------------------------
7844 # VARIABLE is name of variable containing _space_ separated list of
7845 # directories to be munged by the contents of PATH, which is string
7848 # string "DIR[ DIR]" will be prepended to VARIABLE
7850 # string "DIR[ DIR]" will be appended to VARIABLE
7851 # "DIRP[:DIRP]::[DIRA:]DIRA"
7852 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7853 # "DIRA[ DIRA]" will be appended to VARIABLE
7855 # VARIABLE will be replaced by "DIR[ DIR]"
7856 func_munge_path_list
()
7862 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$
$1\"
7865 eval $1=\"\$
$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7868 eval $1=\"\$
$1\
`$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7869 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$
$1\"
7872 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7879 $as_echo_n "checking for ANSI C header files... " >&6; }
7880 if ${ac_cv_header_stdc+:} false
; then :
7881 $as_echo_n "(cached) " >&6
7883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7884 /* end confdefs.h. */
7898 if ac_fn_c_try_compile
"$LINENO"; then :
7899 ac_cv_header_stdc
=yes
7901 ac_cv_header_stdc
=no
7903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7905 if test $ac_cv_header_stdc = yes; then
7906 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7908 /* end confdefs.h. */
7912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7913 $EGREP "memchr" >/dev
/null
2>&1; then :
7916 ac_cv_header_stdc
=no
7922 if test $ac_cv_header_stdc = yes; then
7923 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7925 /* end confdefs.h. */
7929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7930 $EGREP "free" >/dev
/null
2>&1; then :
7933 ac_cv_header_stdc
=no
7939 if test $ac_cv_header_stdc = yes; then
7940 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7941 if test "$cross_compiling" = yes; then :
7944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7945 /* end confdefs.h. */
7948 #if ((' ' & 0x0FF) == 0x020)
7949 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7950 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7952 # define ISLOWER(c) \
7953 (('a' <= (c) && (c) <= 'i') \
7954 || ('j' <= (c) && (c) <= 'r') \
7955 || ('s' <= (c) && (c) <= 'z'))
7956 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7959 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7964 for (i = 0; i < 256; i++)
7965 if (XOR (islower (i), ISLOWER (i))
7966 || toupper (i) != TOUPPER (i))
7971 if ac_fn_c_try_run
"$LINENO"; then :
7974 ac_cv_header_stdc
=no
7976 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7977 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7983 $as_echo "$ac_cv_header_stdc" >&6; }
7984 if test $ac_cv_header_stdc = yes; then
7986 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7990 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7991 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7992 inttypes.h stdint.h unistd.h
7994 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7995 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7997 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7998 cat >>confdefs.h
<<_ACEOF
7999 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8007 for ac_header
in dlfcn.h
8009 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8011 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8012 cat >>confdefs.h
<<_ACEOF
8013 #define HAVE_DLFCN_H 1
8033 # Check whether --enable-shared was given.
8034 if test "${enable_shared+set}" = set; then :
8035 enableval
=$enable_shared; p
=${PACKAGE-default}
8037 yes) enable_shared
=yes ;;
8038 no
) enable_shared
=no
;;
8041 # Look at the argument we got. We use all the common list separators.
8042 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8043 for pkg
in $enableval; do
8045 if test "X$pkg" = "X$p"; then
8064 # Check whether --enable-static was given.
8065 if test "${enable_static+set}" = set; then :
8066 enableval
=$enable_static; p
=${PACKAGE-default}
8068 yes) enable_static
=yes ;;
8069 no
) enable_static
=no
;;
8072 # Look at the argument we got. We use all the common list separators.
8073 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8074 for pkg
in $enableval; do
8076 if test "X$pkg" = "X$p"; then
8096 # Check whether --with-pic was given.
8097 if test "${with_pic+set}" = set; then :
8098 withval
=$with_pic; lt_p
=${PACKAGE-default}
8100 yes|no
) pic_mode
=$withval ;;
8103 # Look at the argument we got. We use all the common list separators.
8104 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8105 for lt_pkg
in $withval; do
8107 if test "X$lt_pkg" = "X$lt_p"; then
8125 # Check whether --enable-fast-install was given.
8126 if test "${enable_fast_install+set}" = set; then :
8127 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8129 yes) enable_fast_install
=yes ;;
8130 no
) enable_fast_install
=no
;;
8132 enable_fast_install
=no
8133 # Look at the argument we got. We use all the common list separators.
8134 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8135 for pkg
in $enableval; do
8137 if test "X$pkg" = "X$p"; then
8138 enable_fast_install
=yes
8145 enable_fast_install
=yes
8155 shared_archive_member_spec
=
8156 case $host,$enable_shared in
8157 power
*-*-aix[5-9]*,yes)
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8159 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8161 # Check whether --with-aix-soname was given.
8162 if test "${with_aix_soname+set}" = set; then :
8163 withval
=$with_aix_soname; case $withval in
8167 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
8170 lt_cv_with_aix_soname
=$with_aix_soname
8172 if ${lt_cv_with_aix_soname+:} false
; then :
8173 $as_echo_n "(cached) " >&6
8175 lt_cv_with_aix_soname
=aix
8178 with_aix_soname
=$lt_cv_with_aix_soname
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8182 $as_echo "$with_aix_soname" >&6; }
8183 if test aix
!= "$with_aix_soname"; then
8184 # For the AIX way of multilib, we name the shared archive member
8185 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8186 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8187 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8188 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8189 if test 64 = "${OBJECT_MODE-32}"; then
8190 shared_archive_member_spec
=shr_64
8192 shared_archive_member_spec
=shr
8210 # This can be used to rebuild libtool when needed
8211 LIBTOOL_DEPS
=$ltmain
8213 # Always use our own libtool.
8214 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8245 test -z "$LN_S" && LN_S
="ln -s"
8260 if test -n "${ZSH_VERSION+set}"; then
8261 setopt NO_GLOB_SUBST
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8265 $as_echo_n "checking for objdir... " >&6; }
8266 if ${lt_cv_objdir+:} false
; then :
8267 $as_echo_n "(cached) " >&6
8269 rm -f .libs
2>/dev
/null
8270 mkdir .libs
2>/dev
/null
8271 if test -d .libs
; then
8274 # MS-DOS does not allow filenames that begin with a dot.
8277 rmdir .libs
2>/dev
/null
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8280 $as_echo "$lt_cv_objdir" >&6; }
8281 objdir
=$lt_cv_objdir
8287 cat >>confdefs.h
<<_ACEOF
8288 #define LT_OBJDIR "$lt_cv_objdir/"
8296 # AIX sometimes has problems with the GCC collect2 program. For some
8297 # reason, if we set the COLLECT_NAMES environment variable, the problems
8298 # vanish in a puff of smoke.
8299 if test set != "${COLLECT_NAMES+set}"; then
8301 export COLLECT_NAMES
8308 can_build_shared
=yes
8310 # All known linkers require a '.a' archive for static linking (except MSVC,
8311 # which needs '.lib').
8314 with_gnu_ld
=$lt_cv_prog_gnu_ld
8319 # Set sane defaults for various variables
8320 test -z "$CC" && CC
=cc
8321 test -z "$LTCC" && LTCC
=$CC
8322 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8323 test -z "$LD" && LD
=ld
8324 test -z "$ac_objext" && ac_objext
=o
8326 func_cc_basename
$compiler
8327 cc_basename
=$func_cc_basename_result
8330 # Only perform the check for file, if the check method requires it
8331 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8332 case $deplibs_check_method in
8334 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8336 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8337 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8338 $as_echo_n "(cached) " >&6
8342 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8345 lt_save_MAGIC_CMD
=$MAGIC_CMD
8346 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8347 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8348 for ac_dir
in $ac_dummy; do
8350 test -z "$ac_dir" && ac_dir
=.
8351 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8352 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8353 if test -n "$file_magic_test_file"; then
8354 case $deplibs_check_method in
8356 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8357 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8358 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8359 $EGREP "$file_magic_regex" > /dev
/null
; then
8364 *** Warning: the command libtool uses to detect shared libraries,
8365 *** $file_magic_cmd, produces output that libtool cannot recognize.
8366 *** The result is that libtool may fail to recognize shared libraries
8367 *** as such. This will affect the creation of libtool libraries that
8368 *** depend on shared libraries, but programs linked with such libtool
8369 *** libraries will work regardless of this problem. Nevertheless, you
8370 *** may want to report the problem to your system manager and/or to
8371 *** bug-libtool@gnu.org
8381 MAGIC_CMD
=$lt_save_MAGIC_CMD
8386 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8387 if test -n "$MAGIC_CMD"; then
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8389 $as_echo "$MAGIC_CMD" >&6; }
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8392 $as_echo "no" >&6; }
8399 if test -z "$lt_cv_path_MAGIC_CMD"; then
8400 if test -n "$ac_tool_prefix"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8402 $as_echo_n "checking for file... " >&6; }
8403 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8404 $as_echo_n "(cached) " >&6
8408 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8411 lt_save_MAGIC_CMD
=$MAGIC_CMD
8412 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8413 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8414 for ac_dir
in $ac_dummy; do
8416 test -z "$ac_dir" && ac_dir
=.
8417 if test -f "$ac_dir/file"; then
8418 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8419 if test -n "$file_magic_test_file"; then
8420 case $deplibs_check_method in
8422 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8423 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8424 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8425 $EGREP "$file_magic_regex" > /dev
/null
; then
8430 *** Warning: the command libtool uses to detect shared libraries,
8431 *** $file_magic_cmd, produces output that libtool cannot recognize.
8432 *** The result is that libtool may fail to recognize shared libraries
8433 *** as such. This will affect the creation of libtool libraries that
8434 *** depend on shared libraries, but programs linked with such libtool
8435 *** libraries will work regardless of this problem. Nevertheless, you
8436 *** may want to report the problem to your system manager and/or to
8437 *** bug-libtool@gnu.org
8447 MAGIC_CMD
=$lt_save_MAGIC_CMD
8452 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8453 if test -n "$MAGIC_CMD"; then
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8455 $as_echo "$MAGIC_CMD" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458 $as_echo "no" >&6; }
8471 # Use C for the default configuration in the libtool script
8475 ac_cpp
='$CPP $CPPFLAGS'
8476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8481 # Source file extension for C test sources.
8484 # Object file extension for compiled C test sources.
8488 # Code to be used in simple compile tests
8489 lt_simple_compile_test_code
="int some_variable = 0;"
8491 # Code to be used in simple link tests
8492 lt_simple_link_test_code
='int main(){return(0);}'
8500 # If no C compiler was specified, use CC.
8503 # If no C compiler flags were specified, use CFLAGS.
8504 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8506 # Allow CC to be a program name with arguments.
8509 # Save the default compiler, since it gets overwritten when the other
8510 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8511 compiler_DEFAULT
=$CC
8513 # save warnings/boilerplate of simple test code
8514 ac_outfile
=conftest.
$ac_objext
8515 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8516 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8517 _lt_compiler_boilerplate
=`cat conftest.err`
8520 ac_outfile
=conftest.
$ac_objext
8521 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8522 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8523 _lt_linker_boilerplate
=`cat conftest.err`
8527 if test -n "$compiler"; then
8529 lt_prog_compiler_no_builtin_flag
=
8531 if test yes = "$GCC"; then
8532 case $cc_basename in
8534 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8536 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8540 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8541 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8542 $as_echo_n "(cached) " >&6
8544 lt_cv_prog_compiler_rtti_exceptions
=no
8545 ac_outfile
=conftest.
$ac_objext
8546 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8547 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8548 # Insert the option either (1) after the last *FLAGS variable, or
8549 # (2) before a word containing "conftest.", or (3) at the end.
8550 # Note that $ac_compile itself does not contain backslashes and begins
8551 # with a dollar sign (not a hyphen), so the echo should work correctly.
8552 # The option is referenced via a variable to avoid confusing sed.
8553 lt_compile
=`echo "$ac_compile" | $SED \
8554 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8556 -e 's:$: $lt_compiler_flag:'`
8557 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8558 (eval "$lt_compile" 2>conftest.err
)
8560 cat conftest.err
>&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 if (exit $ac_status) && test -s "$ac_outfile"; then
8563 # The compiler can only warn and ignore the option if not recognized
8564 # So say no if there are warnings other than the usual output.
8565 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8566 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8567 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8568 lt_cv_prog_compiler_rtti_exceptions
=yes
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8575 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8577 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8578 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8590 lt_prog_compiler_wl
=
8591 lt_prog_compiler_pic
=
8592 lt_prog_compiler_static
=
8595 if test yes = "$GCC"; then
8596 lt_prog_compiler_wl
='-Wl,'
8597 lt_prog_compiler_static
='-static'
8601 # All AIX code is PIC.
8602 if test ia64
= "$host_cpu"; then
8603 # AIX 5 now supports IA64 processor
8604 lt_prog_compiler_static
='-Bstatic'
8606 lt_prog_compiler_pic
='-fPIC'
8612 # see comment about AmigaOS4 .so support
8613 lt_prog_compiler_pic
='-fPIC'
8616 # FIXME: we need at least 68020 code to build shared libraries, but
8617 # adding the '-m68020' flag to GCC prevents building anything better,
8619 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8624 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8625 # PIC is the default for these OSes.
8628 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8629 # This hack is so that the source file can tell whether it is being
8630 # built for inclusion in a dll (and should export symbols for example).
8631 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8632 # (--disable-auto-import) libraries
8633 lt_prog_compiler_pic
='-DDLL_EXPORT'
8636 lt_prog_compiler_static
='$wl-static'
8641 darwin
* | rhapsody
*)
8642 # PIC is the default on this platform
8643 # Common symbols not allowed in MH_DYLIB files
8644 lt_prog_compiler_pic
='-fno-common'
8648 # PIC is the default for Haiku.
8649 # The "-static" flag exists, but is broken.
8650 lt_prog_compiler_static
=
8654 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8655 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8656 # sets the default TLS model and affects inlining.
8662 lt_prog_compiler_pic
='-fPIC'
8668 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8669 # Instead, we relocate shared libraries at runtime.
8673 # Just because we use GCC doesn't mean we suddenly get shared libraries
8674 # on systems that don't support them.
8675 lt_prog_compiler_can_build_shared
=no
8680 # QNX uses GNU C++, but need to define -shared option too, otherwise
8682 lt_prog_compiler_pic
='-fPIC -shared'
8686 if test -d /usr
/nec
; then
8687 lt_prog_compiler_pic
=-Kconform_pic
8692 lt_prog_compiler_pic
='-fPIC'
8696 case $cc_basename in
8697 nvcc
*) # Cuda Compiler Driver 2.2
8698 lt_prog_compiler_wl
='-Xlinker '
8699 if test -n "$lt_prog_compiler_pic"; then
8700 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8705 # PORTME Check for flag to pass linker flags through the system compiler.
8708 lt_prog_compiler_wl
='-Wl,'
8709 if test ia64
= "$host_cpu"; then
8710 # AIX 5 now supports IA64 processor
8711 lt_prog_compiler_static
='-Bstatic'
8713 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8717 darwin
* | rhapsody
*)
8718 # PIC is the default on this platform
8719 # Common symbols not allowed in MH_DYLIB files
8720 lt_prog_compiler_pic
='-fno-common'
8721 case $cc_basename in
8723 # NAG Fortran compiler
8724 lt_prog_compiler_wl
='-Wl,-Wl,,'
8725 lt_prog_compiler_pic
='-PIC'
8726 lt_prog_compiler_static
='-Bstatic'
8731 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8732 # This hack is so that the source file can tell whether it is being
8733 # built for inclusion in a dll (and should export symbols for example).
8734 lt_prog_compiler_pic
='-DDLL_EXPORT'
8737 lt_prog_compiler_static
='$wl-static'
8742 hpux9
* | hpux10
* | hpux11
*)
8743 lt_prog_compiler_wl
='-Wl,'
8744 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8751 lt_prog_compiler_pic
='+Z'
8754 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8755 lt_prog_compiler_static
='$wl-a ${wl}archive'
8758 irix5
* | irix6
* | nonstopux
*)
8759 lt_prog_compiler_wl
='-Wl,'
8760 # PIC (with -KPIC) is the default.
8761 lt_prog_compiler_static
='-non_shared'
8764 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
8765 case $cc_basename in
8766 # old Intel for x86_64, which still supported -KPIC.
8768 lt_prog_compiler_wl
='-Wl,'
8769 lt_prog_compiler_pic
='-KPIC'
8770 lt_prog_compiler_static
='-static'
8772 # icc used to be incompatible with GCC.
8773 # ICC 10 doesn't accept -KPIC any more.
8775 lt_prog_compiler_wl
='-Wl,'
8776 lt_prog_compiler_pic
='-fPIC'
8777 lt_prog_compiler_static
='-static'
8779 # Lahey Fortran 8.1.
8781 lt_prog_compiler_wl
='-Wl,'
8782 lt_prog_compiler_pic
='--shared'
8783 lt_prog_compiler_static
='--static'
8786 # NAG Fortran compiler
8787 lt_prog_compiler_wl
='-Wl,-Wl,,'
8788 lt_prog_compiler_pic
='-PIC'
8789 lt_prog_compiler_static
='-Bstatic'
8792 # Fabrice Bellard et al's Tiny C Compiler
8793 lt_prog_compiler_wl
='-Wl,'
8794 lt_prog_compiler_pic
='-fPIC'
8795 lt_prog_compiler_static
='-static'
8797 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8798 # Portland Group compilers (*not* the Pentium gcc compiler,
8799 # which looks to be a dead project)
8800 lt_prog_compiler_wl
='-Wl,'
8801 lt_prog_compiler_pic
='-fpic'
8802 lt_prog_compiler_static
='-Bstatic'
8805 lt_prog_compiler_wl
='-Wl,'
8806 # All Alpha code is PIC.
8807 lt_prog_compiler_static
='-non_shared'
8809 xl
* | bgxl
* | bgf
* | mpixl
*)
8810 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8811 lt_prog_compiler_wl
='-Wl,'
8812 lt_prog_compiler_pic
='-qpic'
8813 lt_prog_compiler_static
='-qstaticlink'
8816 case `$CC -V 2>&1 | sed 5q` in
8817 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8818 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8819 lt_prog_compiler_pic
='-KPIC'
8820 lt_prog_compiler_static
='-Bstatic'
8821 lt_prog_compiler_wl
=''
8823 *Sun\ F
* |
*Sun
*Fortran
*)
8824 lt_prog_compiler_pic
='-KPIC'
8825 lt_prog_compiler_static
='-Bstatic'
8826 lt_prog_compiler_wl
='-Qoption ld '
8830 lt_prog_compiler_pic
='-KPIC'
8831 lt_prog_compiler_static
='-Bstatic'
8832 lt_prog_compiler_wl
='-Wl,'
8834 *Intel
*\
[CF
]*Compiler
*)
8835 lt_prog_compiler_wl
='-Wl,'
8836 lt_prog_compiler_pic
='-fPIC'
8837 lt_prog_compiler_static
='-static'
8840 lt_prog_compiler_wl
='-Wl,'
8841 lt_prog_compiler_pic
='-fpic'
8842 lt_prog_compiler_static
='-Bstatic'
8850 lt_prog_compiler_pic
='-KPIC'
8851 lt_prog_compiler_static
='-Bstatic'
8855 # QNX uses GNU C++, but need to define -shared option too, otherwise
8857 lt_prog_compiler_pic
='-fPIC -shared'
8860 osf3
* | osf4
* | osf5
*)
8861 lt_prog_compiler_wl
='-Wl,'
8862 # All OSF/1 code is PIC.
8863 lt_prog_compiler_static
='-non_shared'
8867 lt_prog_compiler_static
='-non_shared'
8871 lt_prog_compiler_pic
='-KPIC'
8872 lt_prog_compiler_static
='-Bstatic'
8873 case $cc_basename in
8874 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8875 lt_prog_compiler_wl
='-Qoption ld ';;
8877 lt_prog_compiler_wl
='-Wl,';;
8882 lt_prog_compiler_wl
='-Qoption ld '
8883 lt_prog_compiler_pic
='-PIC'
8884 lt_prog_compiler_static
='-Bstatic'
8887 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8888 lt_prog_compiler_wl
='-Wl,'
8889 lt_prog_compiler_pic
='-KPIC'
8890 lt_prog_compiler_static
='-Bstatic'
8894 if test -d /usr
/nec
; then
8895 lt_prog_compiler_pic
='-Kconform_pic'
8896 lt_prog_compiler_static
='-Bstatic'
8900 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8901 lt_prog_compiler_wl
='-Wl,'
8902 lt_prog_compiler_pic
='-KPIC'
8903 lt_prog_compiler_static
='-Bstatic'
8907 lt_prog_compiler_wl
='-Wl,'
8908 lt_prog_compiler_can_build_shared
=no
8912 lt_prog_compiler_pic
='-pic'
8913 lt_prog_compiler_static
='-Bstatic'
8917 lt_prog_compiler_can_build_shared
=no
8923 # For platforms that do not support PIC, -DPIC is meaningless:
8925 lt_prog_compiler_pic
=
8928 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8933 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8934 if ${lt_cv_prog_compiler_pic+:} false
; then :
8935 $as_echo_n "(cached) " >&6
8937 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8940 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8941 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8944 # Check to make sure the PIC flag actually works.
8946 if test -n "$lt_prog_compiler_pic"; then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8948 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8949 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8950 $as_echo_n "(cached) " >&6
8952 lt_cv_prog_compiler_pic_works
=no
8953 ac_outfile
=conftest.
$ac_objext
8954 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8955 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
8956 # Insert the option either (1) after the last *FLAGS variable, or
8957 # (2) before a word containing "conftest.", or (3) at the end.
8958 # Note that $ac_compile itself does not contain backslashes and begins
8959 # with a dollar sign (not a hyphen), so the echo should work correctly.
8960 # The option is referenced via a variable to avoid confusing sed.
8961 lt_compile
=`echo "$ac_compile" | $SED \
8962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8964 -e 's:$: $lt_compiler_flag:'`
8965 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8966 (eval "$lt_compile" 2>conftest.err
)
8968 cat conftest.err
>&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 if (exit $ac_status) && test -s "$ac_outfile"; then
8971 # The compiler can only warn and ignore the option if not recognized
8972 # So say no if there are warnings other than the usual output.
8973 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8974 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8975 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8976 lt_cv_prog_compiler_pic_works
=yes
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8983 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8985 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8986 case $lt_prog_compiler_pic in
8988 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8991 lt_prog_compiler_pic
=
8992 lt_prog_compiler_can_build_shared
=no
9008 # Check to make sure the static flag actually works.
9010 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9012 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9013 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9014 $as_echo_n "(cached) " >&6
9016 lt_cv_prog_compiler_static_works
=no
9017 save_LDFLAGS
=$LDFLAGS
9018 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9019 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9020 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9021 # The linker can only warn and ignore the option if not recognized
9022 # So say no if there are warnings
9023 if test -s conftest.err
; then
9024 # Append any errors to the config.log.
9025 cat conftest.err
1>&5
9026 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9027 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9028 if diff conftest.exp conftest.er2
>/dev
/null
; then
9029 lt_cv_prog_compiler_static_works
=yes
9032 lt_cv_prog_compiler_static_works
=yes
9036 LDFLAGS
=$save_LDFLAGS
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9040 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9042 if test yes = "$lt_cv_prog_compiler_static_works"; then
9045 lt_prog_compiler_static
=
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9055 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9056 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9057 $as_echo_n "(cached) " >&6
9059 lt_cv_prog_compiler_c_o
=no
9060 $RM -r conftest
2>/dev
/null
9064 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9066 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9067 # Insert the option either (1) after the last *FLAGS variable, or
9068 # (2) before a word containing "conftest.", or (3) at the end.
9069 # Note that $ac_compile itself does not contain backslashes and begins
9070 # with a dollar sign (not a hyphen), so the echo should work correctly.
9071 lt_compile
=`echo "$ac_compile" | $SED \
9072 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9073 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9074 -e 's:$: $lt_compiler_flag:'`
9075 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9076 (eval "$lt_compile" 2>out
/conftest.err
)
9078 cat out
/conftest.err
>&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9082 # The compiler can only warn and ignore the option if not recognized
9083 # So say no if there are warnings
9084 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9085 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9086 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9087 lt_cv_prog_compiler_c_o
=yes
9092 # SGI C++ compiler will create directory out/ii_files/ for
9093 # template instantiation
9094 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9095 $RM out
/* && rmdir out
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9102 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9110 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9111 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9112 $as_echo_n "(cached) " >&6
9114 lt_cv_prog_compiler_c_o
=no
9115 $RM -r conftest
2>/dev
/null
9119 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9121 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9122 # Insert the option either (1) after the last *FLAGS variable, or
9123 # (2) before a word containing "conftest.", or (3) at the end.
9124 # Note that $ac_compile itself does not contain backslashes and begins
9125 # with a dollar sign (not a hyphen), so the echo should work correctly.
9126 lt_compile
=`echo "$ac_compile" | $SED \
9127 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9128 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9129 -e 's:$: $lt_compiler_flag:'`
9130 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9131 (eval "$lt_compile" 2>out
/conftest.err
)
9133 cat out
/conftest.err
>&5
9134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9135 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9137 # The compiler can only warn and ignore the option if not recognized
9138 # So say no if there are warnings
9139 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9140 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9141 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9142 lt_cv_prog_compiler_c_o
=yes
9147 # SGI C++ compiler will create directory out/ii_files/ for
9148 # template instantiation
9149 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9150 $RM out
/* && rmdir out
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9157 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9162 hard_links
=nottested
9163 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
9164 # do not overwrite the value of need_locks provided by the user
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9166 $as_echo_n "checking if we can lock with hard links... " >&6; }
9169 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9171 ln conftest.a conftest.b
2>&5 || hard_links
=no
9172 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9174 $as_echo "$hard_links" >&6; }
9175 if test no
= "$hard_links"; then
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9177 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9190 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9193 allow_undefined_flag
=
9194 always_export_symbols
=no
9196 archive_expsym_cmds
=
9197 compiler_needs_object
=no
9198 enable_shared_with_static_runtimes
=no
9199 export_dynamic_flag_spec
=
9200 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9201 hardcode_automatic
=no
9203 hardcode_direct_absolute
=no
9204 hardcode_libdir_flag_spec
=
9205 hardcode_libdir_separator
=
9207 hardcode_shlibpath_var
=unsupported
9209 link_all_deplibs
=unknown
9212 old_archive_from_new_cmds
=
9213 old_archive_from_expsyms_cmds
=
9214 thread_safe_flag_spec
=
9215 whole_archive_flag_spec
=
9216 # include_expsyms should be a list of space-separated symbols to be *always*
9217 # included in the symbol list
9219 # exclude_expsyms can be an extended regexp of symbols to exclude
9220 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9221 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9222 # as well as any symbol that contains 'd'.
9223 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9224 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9225 # platforms (ab)use it in PIC code, but their linkers get confused if
9226 # the symbol is explicitly referenced. Since portable code cannot
9227 # rely on this symbol name, it's probably fine to never include it in
9228 # preloaded symbol tables.
9229 # Exclude shared library initialization/finalization symbols.
9230 extract_expsyms_cmds
=
9233 cygwin
* | mingw
* | pw32
* | cegcc
*)
9234 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9235 # When not using gcc, we currently assume that we are using
9236 # Microsoft Visual C++.
9237 if test yes != "$GCC"; then
9242 # we just hope/assume this is gcc and not c89 (= MSVC++)
9252 # On some targets, GNU ld is compatible enough with the native linker
9253 # that we're better off using the native interface for both.
9254 lt_use_gnu_ld_interface
=no
9255 if test yes = "$with_gnu_ld"; then
9258 # The AIX port of GNU ld has always aspired to compatibility
9259 # with the native linker. However, as the warning in the GNU ld
9260 # block says, versions before 2.19.5* couldn't really create working
9261 # shared libraries, regardless of the interface used.
9262 case `$LD -v 2>&1` in
9263 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9264 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9265 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9267 lt_use_gnu_ld_interface
=yes
9272 lt_use_gnu_ld_interface
=yes
9277 if test yes = "$lt_use_gnu_ld_interface"; then
9278 # If archive_cmds runs LD, not CC, wlarc should be empty
9281 # Set some defaults for GNU ld with shared library support. These
9282 # are reset later if shared libraries are not supported. Putting them
9283 # here allows them to be overridden if necessary.
9284 runpath_var
=LD_RUN_PATH
9285 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9286 export_dynamic_flag_spec
='$wl--export-dynamic'
9287 # ancient GNU ld didn't support --whole-archive et. al.
9288 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9289 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9291 whole_archive_flag_spec
=
9293 supports_anon_versioning
=no
9294 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9295 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9296 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9297 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9298 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9299 *\
2.11.
*) ;; # other 2.11 versions
9300 *) supports_anon_versioning
=yes ;;
9303 # See if GNU ld supports shared libraries.
9306 # On AIX/PPC, the GNU linker is very broken
9307 if test ia64
!= "$host_cpu"; then
9311 *** Warning: the GNU linker, at least up to release 2.19, is reported
9312 *** to be unable to reliably create shared libraries on AIX.
9313 *** Therefore, libtool is disabling shared libraries support. If you
9314 *** really care for shared libraries, you may want to install binutils
9315 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9316 *** You will then need to restart the configuration process.
9325 # see comment about AmigaOS4 .so support
9326 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9327 archive_expsym_cmds
=''
9330 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)'
9331 hardcode_libdir_flag_spec
='-L$libdir'
9332 hardcode_minus_L
=yes
9338 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9339 allow_undefined_flag
=unsupported
9340 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9341 # support --undefined. This deserves some investigation. FIXME
9342 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9348 cygwin
* | mingw
* | pw32
* | cegcc
*)
9349 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9350 # as there is no search path for DLLs.
9351 hardcode_libdir_flag_spec
='-L$libdir'
9352 export_dynamic_flag_spec
='$wl--export-all-symbols'
9353 allow_undefined_flag
=unsupported
9354 always_export_symbols
=no
9355 enable_shared_with_static_runtimes
=yes
9356 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'
9357 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9359 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9360 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9361 # If the export-symbols file already is a .def file, use it as
9362 # is; otherwise, prepend EXPORTS...
9363 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9364 cp $export_symbols $output_objdir/$soname.def;
9366 echo EXPORTS > $output_objdir/$soname.def;
9367 cat $export_symbols >> $output_objdir/$soname.def;
9369 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9376 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9377 link_all_deplibs
=yes
9381 hardcode_libdir_flag_spec
='-L$libdir'
9382 hardcode_minus_L
=yes
9383 allow_undefined_flag
=unsupported
9385 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9386 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9387 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9388 $ECHO EXPORTS >> $output_objdir/$libname.def~
9389 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9390 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9391 emximp -o $lib $output_objdir/$libname.def'
9392 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9393 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9394 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9395 $ECHO EXPORTS >> $output_objdir/$libname.def~
9397 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9398 prefix_cmds="$prefix_cmds -e 1d";
9400 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9401 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9402 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9403 emximp -o $lib $output_objdir/$libname.def'
9404 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9405 enable_shared_with_static_runtimes
=yes
9410 hardcode_shlibpath_var
=no
9411 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9412 export_dynamic_flag_spec
='$wl-E'
9413 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9414 # Instead, shared libraries are loaded at an image base (0x10000000 by
9415 # default) and relocated if they conflict, which is a slow very memory
9416 # consuming and fragmenting process. To avoid this, we pick a random,
9417 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9418 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9419 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9420 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'
9423 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9425 if test linux-dietlibc
= "$host_os"; then
9426 case $cc_basename in
9427 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9430 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9431 && test no
= "$tmp_diet"
9433 tmp_addflag
=' $pic_flag'
9434 tmp_sharedflag
='-shared'
9435 case $cc_basename,$host_cpu in
9436 pgcc
*) # Portland Group C compiler
9437 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'
9438 tmp_addflag
=' $pic_flag'
9440 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9441 # Portland Group f77 and f90 compilers
9442 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'
9443 tmp_addflag
=' $pic_flag -Mnomain' ;;
9444 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9445 tmp_addflag
=' -i_dynamic' ;;
9446 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9447 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9448 ifc
* | ifort
*) # Intel Fortran compiler
9449 tmp_addflag
=' -nofor_main' ;;
9450 lf95
*) # Lahey Fortran 8.1
9451 whole_archive_flag_spec
=
9452 tmp_sharedflag
='--shared' ;;
9453 nagfor
*) # NAGFOR 5.3
9454 tmp_sharedflag
='-Wl,-shared' ;;
9455 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9456 tmp_sharedflag
='-qmkshrobj'
9458 nvcc
*) # Cuda Compiler Driver 2.2
9459 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'
9460 compiler_needs_object
=yes
9463 case `$CC -V 2>&1 | sed 5q` in
9464 *Sun\ C
*) # Sun C 5.9
9465 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'
9466 compiler_needs_object
=yes
9467 tmp_sharedflag
='-G' ;;
9468 *Sun\ F
*) # Sun Fortran 8.3
9469 tmp_sharedflag
='-G' ;;
9471 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9473 if test yes = "$supports_anon_versioning"; then
9474 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9475 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9476 echo "local: *; };" >> $output_objdir/$libname.ver~
9477 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9480 case $cc_basename in
9482 export_dynamic_flag_spec
='-rdynamic'
9484 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9485 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9486 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9487 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9488 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9489 if test yes = "$supports_anon_versioning"; then
9490 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9491 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9492 echo "local: *; };" >> $output_objdir/$libname.ver~
9493 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9503 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9504 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9507 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9508 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9513 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9517 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9518 *** create shared libraries on Solaris systems. Therefore, libtool
9519 *** is disabling shared libraries support. We urge you to upgrade GNU
9520 *** binutils to release 2.9.1 or newer. Another option is to modify
9521 *** your PATH or compiler configuration so that the native linker is
9522 *** used, and then restart.
9525 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9526 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9527 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9533 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9534 case `$LD -v 2>&1` in
9535 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9539 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9540 *** reliably create shared libraries on SCO systems. Therefore, libtool
9541 *** is disabling shared libraries support. We urge you to upgrade GNU
9542 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9543 *** your PATH or compiler configuration so that the native linker is
9544 *** used, and then restart.
9549 # For security reasons, it is highly recommended that you always
9550 # use absolute paths for naming shared libraries, and exclude the
9551 # DT_RUNPATH tag from executables and libraries. But doing so
9552 # requires that you compile everything twice, which is a pain.
9553 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9554 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9555 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9556 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9565 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9568 hardcode_shlibpath_var
=no
9572 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9573 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9574 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9581 if test no
= "$ld_shlibs"; then
9583 hardcode_libdir_flag_spec
=
9584 export_dynamic_flag_spec
=
9585 whole_archive_flag_spec
=
9588 # PORTME fill in a description of your system's linker (not GNU ld)
9591 allow_undefined_flag
=unsupported
9592 always_export_symbols
=yes
9593 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'
9594 # Note: this linker hardcodes the directories in LIBPATH if there
9595 # are no directories specified by -L.
9596 hardcode_minus_L
=yes
9597 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9598 # Neither direct hardcoding nor static linking is supported with a
9600 hardcode_direct
=unsupported
9605 if test ia64
= "$host_cpu"; then
9606 # On IA64, the linker does run time linking by default, so we don't
9607 # have to do anything special.
9608 aix_use_runtimelinking
=no
9609 exp_sym_flag
='-Bexport'
9612 # If we're using GNU nm, then we don't want the "-C" option.
9613 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9614 # Without the "-l" option, or with the "-B" option, AIX nm treats
9615 # weak defined symbols like other global defined symbols, whereas
9616 # GNU nm marks them as "W".
9617 # While the 'weak' keyword is ignored in the Export File, we need
9618 # it in the Import File for the 'aix-soname' feature, so we have
9619 # to replace the "-B" option with "-P" for AIX nm.
9620 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9621 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9623 export_symbols_cmds
='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9625 aix_use_runtimelinking
=no
9627 # Test if we are trying to use run time linking or normal
9628 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9629 # have runtime linking enabled, and use it for executables.
9630 # For shared libraries, we enable/disable runtime linking
9631 # depending on the kind of the shared library created -
9632 # when "with_aix_soname,aix_use_runtimelinking" is:
9633 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9634 # "aix,yes" lib.so shared, rtl:yes, for executables
9635 # lib.a static archive
9636 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9637 # lib.a(lib.so.V) shared, rtl:no, for executables
9638 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9639 # lib.a(lib.so.V) shared, rtl:no
9640 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9641 # lib.a static archive
9642 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9643 for ld_flag
in $LDFLAGS; do
9644 if (test x-brtl
= "x$ld_flag" ||
test x-Wl
,-brtl = "x$ld_flag"); then
9645 aix_use_runtimelinking
=yes
9649 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9650 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9651 # so we don't have lib.a shared libs to link our executables.
9652 # We have to force runtime linking in this case.
9653 aix_use_runtimelinking
=yes
9654 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9659 exp_sym_flag
='-bexport'
9660 no_entry_flag
='-bnoentry'
9663 # When large executables or shared objects are built, AIX ld can
9664 # have problems creating the table of contents. If linking a library
9665 # or program results in "error TOC overflow" add -mminimal-toc to
9666 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9667 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9671 hardcode_direct_absolute
=yes
9672 hardcode_libdir_separator
=':'
9673 link_all_deplibs
=yes
9674 file_list_spec
='$wl-f,'
9675 case $with_aix_soname,$aix_use_runtimelinking in
9676 aix
,*) ;; # traditional, no import file
9677 svr4
,* |
*,yes) # use import file
9678 # The Import File defines what to hardcode.
9680 hardcode_direct_absolute
=no
9684 if test yes = "$GCC"; then
9685 case $host_os in aix4.
[012]|aix4.
[012].
*)
9686 # We only want to do this on AIX 4.2 and lower, the check
9687 # below for broken collect2 doesn't work under 4.3+
9688 collect2name
=`$CC -print-prog-name=collect2`
9689 if test -f "$collect2name" &&
9690 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9692 # We have reworked collect2
9695 # We have old collect2
9696 hardcode_direct
=unsupported
9697 # It fails to find uninstalled libraries when the uninstalled
9698 # path is not listed in the libpath. Setting hardcode_minus_L
9699 # to unsupported forces relinking
9700 hardcode_minus_L
=yes
9701 hardcode_libdir_flag_spec
='-L$libdir'
9702 hardcode_libdir_separator
=
9706 shared_flag
='-shared'
9707 if test yes = "$aix_use_runtimelinking"; then
9708 shared_flag
="$shared_flag "'$wl-G'
9710 # Need to ensure runtime linking is disabled for the traditional
9711 # shared library, or the linker may eventually find shared libraries
9712 # /with/ Import File - we do not want to mix them.
9713 shared_flag_aix
='-shared'
9714 shared_flag_svr4
='-shared $wl-G'
9717 if test ia64
= "$host_cpu"; then
9718 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9719 # chokes on -Wl,-G. The following line is correct:
9722 if test yes = "$aix_use_runtimelinking"; then
9725 shared_flag
='$wl-bM:SRE'
9727 shared_flag_aix
='$wl-bM:SRE'
9728 shared_flag_svr4
='$wl-G'
9732 export_dynamic_flag_spec
='$wl-bexpall'
9733 # It seems that -bexpall does not export symbols beginning with
9734 # underscore (_), so it is better to generate a list of symbols to export.
9735 always_export_symbols
=yes
9736 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9737 # Warning - without using the other runtime loading flags (-brtl),
9738 # -berok will link without error, but may produce a broken library.
9739 allow_undefined_flag
='-berok'
9740 # Determine the default libpath from the value encoded in an
9742 if test set = "${lt_cv_aix_libpath+set}"; then
9743 aix_libpath
=$lt_cv_aix_libpath
9745 if ${lt_cv_aix_libpath_+:} false
; then :
9746 $as_echo_n "(cached) " >&6
9748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9749 /* end confdefs.h. */
9759 if ac_fn_c_try_link
"$LINENO"; then :
9761 lt_aix_libpath_sed
='
9762 /Import File Strings/,/^$/ {
9764 s/^0 *\([^ ]*\) *$/\1/
9768 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9769 # Check for a 64-bit object if we didn't find anything.
9770 if test -z "$lt_cv_aix_libpath_"; then
9771 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9774 rm -f core conftest.err conftest.
$ac_objext \
9775 conftest
$ac_exeext conftest.
$ac_ext
9776 if test -z "$lt_cv_aix_libpath_"; then
9777 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9782 aix_libpath
=$lt_cv_aix_libpath_
9785 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9786 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\
$export_symbols' '$shared_flag
9788 if test ia64
= "$host_cpu"; then
9789 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
9790 allow_undefined_flag
="-z nodefs"
9791 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"
9793 # Determine the default libpath from the value encoded in an
9795 if test set = "${lt_cv_aix_libpath+set}"; then
9796 aix_libpath
=$lt_cv_aix_libpath
9798 if ${lt_cv_aix_libpath_+:} false
; then :
9799 $as_echo_n "(cached) " >&6
9801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9802 /* end confdefs.h. */
9812 if ac_fn_c_try_link
"$LINENO"; then :
9814 lt_aix_libpath_sed
='
9815 /Import File Strings/,/^$/ {
9817 s/^0 *\([^ ]*\) *$/\1/
9821 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9822 # Check for a 64-bit object if we didn't find anything.
9823 if test -z "$lt_cv_aix_libpath_"; then
9824 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9827 rm -f core conftest.err conftest.
$ac_objext \
9828 conftest
$ac_exeext conftest.
$ac_ext
9829 if test -z "$lt_cv_aix_libpath_"; then
9830 lt_cv_aix_libpath_
=/usr
/lib
:/lib
9835 aix_libpath
=$lt_cv_aix_libpath_
9838 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
9839 # Warning - without using the other run time loading flags,
9840 # -berok will link without error, but may produce a broken library.
9841 no_undefined_flag
=' $wl-bernotok'
9842 allow_undefined_flag
=' $wl-berok'
9843 if test yes = "$with_gnu_ld"; then
9844 # We only use this code for GNU lds that support --whole-archive.
9845 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
9847 # Exported symbols can be pulled into shared objects from archives
9848 whole_archive_flag_spec
='$convenience'
9850 archive_cmds_need_lc
=yes
9851 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9852 # -brtl affects multiple linker settings, -berok does not and is overridden later
9853 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9854 if test svr4
!= "$with_aix_soname"; then
9855 # This is similar to how AIX traditionally builds its shared libraries.
9856 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9858 if test aix
!= "$with_aix_soname"; then
9859 archive_expsym_cmds
="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9861 # used by -dlpreopen to get the symbols
9862 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
9864 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9872 # see comment about AmigaOS4 .so support
9873 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9874 archive_expsym_cmds
=''
9877 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)'
9878 hardcode_libdir_flag_spec
='-L$libdir'
9879 hardcode_minus_L
=yes
9885 export_dynamic_flag_spec
=-rdynamic
9888 cygwin
* | mingw
* | pw32
* | cegcc
*)
9889 # When not using gcc, we currently assume that we are using
9890 # Microsoft Visual C++.
9891 # hardcode_libdir_flag_spec is actually meaningless, as there is
9892 # no search path for DLLs.
9893 case $cc_basename in
9896 hardcode_libdir_flag_spec
=' '
9897 allow_undefined_flag
=unsupported
9898 always_export_symbols
=yes
9900 # Tell ltmain to make .lib files, not .a files.
9902 # Tell ltmain to make .dll files, not .so files.
9904 # FIXME: Setting linknames here is a bad hack.
9905 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9906 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9907 cp "$export_symbols" "$output_objdir/$soname.def";
9908 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9910 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9912 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9914 # The linker will not automatically build a static lib if we build a DLL.
9915 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9916 enable_shared_with_static_runtimes
=yes
9917 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9918 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9920 old_postinstall_cmds
='chmod 644 $oldlib'
9921 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9922 lt_tool_outputfile="@TOOL_OUTPUT@"~
9923 case $lt_outputfile in
9926 lt_outputfile=$lt_outputfile.exe
9927 lt_tool_outputfile=$lt_tool_outputfile.exe
9930 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9931 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9932 $RM "$lt_outputfile.manifest";
9936 # Assume MSVC wrapper
9937 hardcode_libdir_flag_spec
=' '
9938 allow_undefined_flag
=unsupported
9939 # Tell ltmain to make .lib files, not .a files.
9941 # Tell ltmain to make .dll files, not .so files.
9943 # FIXME: Setting linknames here is a bad hack.
9944 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9945 # The linker will automatically build a .lib file if we build a DLL.
9946 old_archive_from_new_cmds
='true'
9947 # FIXME: Should let the user specify the lib program.
9948 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9949 enable_shared_with_static_runtimes
=yes
9954 darwin
* | rhapsody
*)
9957 archive_cmds_need_lc
=no
9959 hardcode_automatic
=yes
9960 hardcode_shlibpath_var
=unsupported
9961 if test yes = "$lt_cv_ld_force_load"; then
9962 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\"`'
9965 whole_archive_flag_spec
=''
9967 link_all_deplibs
=yes
9968 allow_undefined_flag
=$_lt_dar_allow_undefined
9969 case $cc_basename in
9970 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
9971 *) _lt_dar_can_shared
=$GCC ;;
9973 if test yes = "$_lt_dar_can_shared"; then
9974 output_verbose_link_cmd
=func_echo_all
9975 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9976 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9977 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"
9978 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"
9987 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9988 hardcode_libdir_flag_spec
='-L$libdir'
9989 hardcode_shlibpath_var
=no
9992 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9993 # support. Future versions do this automatically, but an explicit c++rt0.o
9994 # does not break anything, and helps significantly (at the cost of a little
9997 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9998 hardcode_libdir_flag_spec
='-R$libdir'
10000 hardcode_shlibpath_var
=no
10003 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10005 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10006 hardcode_direct
=yes
10007 hardcode_minus_L
=yes
10008 hardcode_shlibpath_var
=no
10011 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10012 freebsd
* | dragonfly
*)
10013 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10014 hardcode_libdir_flag_spec
='-R$libdir'
10015 hardcode_direct
=yes
10016 hardcode_shlibpath_var
=no
10020 if test yes = "$GCC"; then
10021 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10023 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10025 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10026 hardcode_libdir_separator
=:
10027 hardcode_direct
=yes
10029 # hardcode_minus_L: Not really in the search PATH,
10030 # but as the default location of the library.
10031 hardcode_minus_L
=yes
10032 export_dynamic_flag_spec
='$wl-E'
10036 if test yes,no
= "$GCC,$with_gnu_ld"; then
10037 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10039 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10041 if test no
= "$with_gnu_ld"; then
10042 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10043 hardcode_libdir_separator
=:
10044 hardcode_direct
=yes
10045 hardcode_direct_absolute
=yes
10046 export_dynamic_flag_spec
='$wl-E'
10047 # hardcode_minus_L: Not really in the search PATH,
10048 # but as the default location of the library.
10049 hardcode_minus_L
=yes
10054 if test yes,no
= "$GCC,$with_gnu_ld"; then
10057 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10060 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10069 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10076 # Older versions of the 11.00 compiler do not understand -b yet
10077 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10079 $as_echo_n "checking if $CC understands -b... " >&6; }
10080 if ${lt_cv_prog_compiler__b+:} false
; then :
10081 $as_echo_n "(cached) " >&6
10083 lt_cv_prog_compiler__b
=no
10084 save_LDFLAGS
=$LDFLAGS
10085 LDFLAGS
="$LDFLAGS -b"
10086 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10087 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10088 # The linker can only warn and ignore the option if not recognized
10089 # So say no if there are warnings
10090 if test -s conftest.err
; then
10091 # Append any errors to the config.log.
10092 cat conftest.err
1>&5
10093 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10094 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10095 if diff conftest.exp conftest.er2
>/dev
/null
; then
10096 lt_cv_prog_compiler__b
=yes
10099 lt_cv_prog_compiler__b
=yes
10103 LDFLAGS
=$save_LDFLAGS
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10107 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10109 if test yes = "$lt_cv_prog_compiler__b"; then
10110 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10112 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10118 if test no
= "$with_gnu_ld"; then
10119 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10120 hardcode_libdir_separator
=:
10125 hardcode_shlibpath_var
=no
10128 hardcode_direct
=yes
10129 hardcode_direct_absolute
=yes
10130 export_dynamic_flag_spec
='$wl-E'
10132 # hardcode_minus_L: Not really in the search PATH,
10133 # but as the default location of the library.
10134 hardcode_minus_L
=yes
10140 irix5
* | irix6
* | nonstopux
*)
10141 if test yes = "$GCC"; then
10142 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'
10143 # Try to use the -exported_symbol ld option, if it does not
10144 # work, assume that -exports_file does not work either and
10145 # implicitly export all symbols.
10146 # This should be the same for all languages, so no per-tag cache variable.
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10148 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10149 if ${lt_cv_irix_exported_symbol+:} false
; then :
10150 $as_echo_n "(cached) " >&6
10152 save_LDFLAGS
=$LDFLAGS
10153 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10156 int foo (void) { return 0; }
10158 if ac_fn_c_try_link
"$LINENO"; then :
10159 lt_cv_irix_exported_symbol
=yes
10161 lt_cv_irix_exported_symbol
=no
10163 rm -f core conftest.err conftest.
$ac_objext \
10164 conftest
$ac_exeext conftest.
$ac_ext
10165 LDFLAGS
=$save_LDFLAGS
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10168 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10169 if test yes = "$lt_cv_irix_exported_symbol"; then
10170 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'
10173 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'
10174 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'
10176 archive_cmds_need_lc
='no'
10177 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10178 hardcode_libdir_separator
=:
10180 link_all_deplibs
=yes
10184 case $cc_basename in
10186 # Fabrice Bellard et al's Tiny C Compiler
10188 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10194 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10195 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10197 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10199 hardcode_libdir_flag_spec
='-R$libdir'
10200 hardcode_direct
=yes
10201 hardcode_shlibpath_var
=no
10205 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10206 hardcode_direct
=yes
10207 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10208 hardcode_libdir_separator
=:
10209 hardcode_shlibpath_var
=no
10215 openbsd
* | bitrig
*)
10216 if test -f /usr
/libexec
/ld.so
; then
10217 hardcode_direct
=yes
10218 hardcode_shlibpath_var
=no
10219 hardcode_direct_absolute
=yes
10220 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10221 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10222 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10223 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10224 export_dynamic_flag_spec
='$wl-E'
10226 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10227 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10235 hardcode_libdir_flag_spec
='-L$libdir'
10236 hardcode_minus_L
=yes
10237 allow_undefined_flag
=unsupported
10239 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10240 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10241 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10242 $ECHO EXPORTS >> $output_objdir/$libname.def~
10243 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10244 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10245 emximp -o $lib $output_objdir/$libname.def'
10246 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10247 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10248 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10249 $ECHO EXPORTS >> $output_objdir/$libname.def~
10250 prefix_cmds="$SED"~
10251 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10252 prefix_cmds="$prefix_cmds -e 1d";
10254 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10255 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10256 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10257 emximp -o $lib $output_objdir/$libname.def'
10258 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10259 enable_shared_with_static_runtimes
=yes
10263 if test yes = "$GCC"; then
10264 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10265 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'
10267 allow_undefined_flag
=' -expect_unresolved \*'
10268 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'
10270 archive_cmds_need_lc
='no'
10271 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10272 hardcode_libdir_separator
=:
10275 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10276 if test yes = "$GCC"; then
10277 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10278 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'
10279 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10281 allow_undefined_flag
=' -expect_unresolved \*'
10282 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'
10283 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~
10284 $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'
10286 # Both c and cxx compiler support -rpath directly
10287 hardcode_libdir_flag_spec
='-rpath $libdir'
10289 archive_cmds_need_lc
='no'
10290 hardcode_libdir_separator
=:
10294 no_undefined_flag
=' -z defs'
10295 if test yes = "$GCC"; then
10297 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10298 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10299 $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'
10301 case `$CC -V 2>&1` in
10304 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10305 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10306 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10310 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10311 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10312 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10316 hardcode_libdir_flag_spec
='-R$libdir'
10317 hardcode_shlibpath_var
=no
10319 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10321 # The compiler driver will combine and reorder linker options,
10322 # but understands '-z linker_flag'. GCC discards it without '$wl',
10323 # but is careful enough not to reorder.
10324 # Supported since Solaris 2.6 (maybe 2.5.1?)
10325 if test yes = "$GCC"; then
10326 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10328 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10332 link_all_deplibs
=yes
10336 if test sequent
= "$host_vendor"; then
10337 # Use $CC to link under sequent, because it throws in some extra .o
10338 # files that make .init and .fini sections work.
10339 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10341 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10343 hardcode_libdir_flag_spec
='-L$libdir'
10344 hardcode_direct
=yes
10345 hardcode_minus_L
=yes
10346 hardcode_shlibpath_var
=no
10350 case $host_vendor in
10352 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10353 hardcode_direct
=yes # is this really true???
10356 ## LD is ld it makes a PLAMLIB
10357 ## CC just makes a GrossModule.
10358 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10359 reload_cmds
='$CC -r -o $output$reload_objs'
10363 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10364 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10367 runpath_var
='LD_RUN_PATH'
10368 hardcode_shlibpath_var
=no
10372 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10373 hardcode_shlibpath_var
=no
10374 export_dynamic_flag_spec
='-Bexport'
10378 if test -d /usr
/nec
; then
10379 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10380 hardcode_shlibpath_var
=no
10381 runpath_var
=LD_RUN_PATH
10382 hardcode_runpath_var
=yes
10387 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10388 no_undefined_flag
='$wl-z,text'
10389 archive_cmds_need_lc
=no
10390 hardcode_shlibpath_var
=no
10391 runpath_var
='LD_RUN_PATH'
10393 if test yes = "$GCC"; then
10394 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10395 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10397 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10398 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10402 sysv5
* | sco3.2v5
* | sco5v6
*)
10403 # Note: We CANNOT use -z defs as we might desire, because we do not
10404 # link with -lc, and that would cause any symbols used from libc to
10405 # always be unresolved, which means just about no library would
10406 # ever link correctly. If we're not using GNU ld we use -z text
10407 # though, which does catch some bad symbols but isn't as heavy-handed
10409 no_undefined_flag
='$wl-z,text'
10410 allow_undefined_flag
='$wl-z,nodefs'
10411 archive_cmds_need_lc
=no
10412 hardcode_shlibpath_var
=no
10413 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10414 hardcode_libdir_separator
=':'
10415 link_all_deplibs
=yes
10416 export_dynamic_flag_spec
='$wl-Bexport'
10417 runpath_var
='LD_RUN_PATH'
10419 if test yes = "$GCC"; then
10420 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10421 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10423 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10424 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10429 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10430 hardcode_libdir_flag_spec
='-L$libdir'
10431 hardcode_shlibpath_var
=no
10439 if test sni
= "$host_vendor"; then
10441 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10442 export_dynamic_flag_spec
='$wl-Blargedynsym'
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10449 $as_echo "$ld_shlibs" >&6; }
10450 test no
= "$ld_shlibs" && can_build_shared
=no
10452 with_gnu_ld
=$with_gnu_ld
10469 # Do we need to explicitly link libc?
10471 case "x$archive_cmds_need_lc" in
10473 # Assume -lc should be added
10474 archive_cmds_need_lc
=yes
10476 if test yes,yes = "$GCC,$enable_shared"; then
10477 case $archive_cmds in
10479 # FIXME: we may have to deal with multi-command sequences.
10482 # Test whether the compiler implicitly links with -lc since on some
10483 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10484 # to ld, don't add -lc before -lgcc.
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10486 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10487 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10488 $as_echo_n "(cached) " >&6
10491 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10494 (eval $ac_compile) 2>&5
10496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10497 test $ac_status = 0; } 2>conftest.err
; then
10500 libobjs
=conftest.
$ac_objext
10502 wl
=$lt_prog_compiler_wl
10503 pic_flag
=$lt_prog_compiler_pic
10509 lt_save_allow_undefined_flag
=$allow_undefined_flag
10510 allow_undefined_flag
=
10511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10512 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10515 test $ac_status = 0; }
10517 lt_cv_archive_cmds_need_lc
=no
10519 lt_cv_archive_cmds_need_lc
=yes
10521 allow_undefined_flag
=$lt_save_allow_undefined_flag
10523 cat conftest.err
1>&5
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10529 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10530 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10689 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10691 if test yes = "$GCC"; then
10693 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
10694 *) lt_awk_arg
='/^libraries:/' ;;
10697 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
10698 *) lt_sed_strip_eq
='s|=/|/|g' ;;
10700 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10701 case $lt_search_path_spec in
10703 # if the path contains ";" then we assume it to be the separator
10704 # otherwise default to the standard path separator (i.e. ":") - it is
10705 # assumed that no part of a normal pathname contains ";" but that should
10706 # okay in the real world where ";" in dirpaths is itself problematic.
10707 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10710 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10713 # Ok, now we have the path, separated by spaces, we can step through it
10714 # and add multilib dir if necessary...
10715 lt_tmp_lt_search_path_spec
=
10716 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10717 # ...but if some path component already ends with the multilib dir we assume
10718 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10719 case "$lt_multi_os_dir; $lt_search_path_spec " in
10720 "/; "* |
"/.; "* |
"/./; "* |
*"$lt_multi_os_dir "* |
*"$lt_multi_os_dir/ "*)
10724 for lt_sys_path
in $lt_search_path_spec; do
10725 if test -d "$lt_sys_path$lt_multi_os_dir"; then
10726 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10727 elif test -n "$lt_multi_os_dir"; then
10728 test -d "$lt_sys_path" && \
10729 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10732 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10733 BEGIN {RS = " "; FS = "/|\n";} {
10736 for (lt_i = NF; lt_i > 0; lt_i--) {
10737 if ($lt_i != "" && $lt_i != ".") {
10738 if ($lt_i == "..") {
10741 if (lt_count == 0) {
10742 lt_foo = "/" $lt_i lt_foo;
10749 if (lt_foo != "") { lt_freq[lt_foo]++; }
10750 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10752 # AWK program above erroneously prepends '/' to C:/dos/paths
10755 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10756 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10758 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10760 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10762 library_names_spec
=
10763 libname_spec
='lib$name'
10767 postuninstall_cmds
=
10771 shlibpath_overrides_runpath
=unknown
10773 dynamic_linker
="$host_os ld.so"
10774 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10775 need_lib_prefix
=unknown
10776 hardcode_into_libs
=no
10778 # when you set need_version to no, make sure it does not cause -set_version
10779 # flags to be left without arguments
10780 need_version
=unknown
10786 version_type
=linux
# correct to gnu/linux during the next big refactor
10787 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
10788 shlibpath_var
=LIBPATH
10790 # AIX 3 has no versioning support, so we append a major version to the name.
10791 soname_spec
='$libname$release$shared_ext$major'
10795 version_type
=linux
# correct to gnu/linux during the next big refactor
10798 hardcode_into_libs
=yes
10799 if test ia64
= "$host_cpu"; then
10800 # AIX 5 supports IA64
10801 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10802 shlibpath_var
=LD_LIBRARY_PATH
10804 # With GCC up to 2.95.x, collect2 would create an import file
10805 # for dependence libraries. The import file would start with
10806 # the line '#! .'. This would cause the generated library to
10807 # depend on '.', always an invalid library. This was fixed in
10808 # development snapshots of GCC prior to 3.0.
10810 aix4 | aix4.
[01] | aix4.
[01].
*)
10811 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10813 echo '#endif'; } |
$CC -E - |
$GREP yes > /dev
/null
; then
10816 can_build_shared
=no
10820 # Using Import Files as archive members, it is possible to support
10821 # filename-based versioning of shared library archives on AIX. While
10822 # this would work for both with and without runtime linking, it will
10823 # prevent static linking of such archives. So we do filename-based
10824 # shared library versioning with .so extension only, which is used
10825 # when both runtime linking and shared linking is enabled.
10826 # Unfortunately, runtime linking may impact performance, so we do
10827 # not want this to be the default eventually. Also, we use the
10828 # versioned .so libs for executables only if there is the -brtl
10829 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10830 # To allow for filename-based versioning support, we need to create
10831 # libNAME.so.V as an archive file, containing:
10832 # *) an Import File, referring to the versioned filename of the
10833 # archive as well as the shared archive member, telling the
10834 # bitwidth (32 or 64) of that shared object, and providing the
10835 # list of exported symbols of that shared object, eventually
10836 # decorated with the 'weak' keyword
10837 # *) the shared object with the F_LOADONLY flag set, to really avoid
10838 # it being seen by the linker.
10839 # At run time we better use the real file rather than another symlink,
10840 # but for link time we create the symlink libNAME.so -> libNAME.so.V
10842 case $with_aix_soname,$aix_use_runtimelinking in
10843 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10844 # soname into executable. Probably we can add versioning support to
10845 # collect2, so additional links can be useful in future.
10846 aix
,yes) # traditional libtool
10847 dynamic_linker
='AIX unversionable lib.so'
10848 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10849 # instead of lib<name>.a to let people know that these are not
10850 # typical AIX shared libraries.
10851 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10853 aix
,no
) # traditional AIX only
10854 dynamic_linker
='AIX lib.a(lib.so.V)'
10855 # We preserve .a as extension for shared libraries through AIX4.2
10856 # and later when we are not doing run time linking.
10857 library_names_spec
='$libname$release.a $libname.a'
10858 soname_spec
='$libname$release$shared_ext$major'
10860 svr4
,*) # full svr4 only
10861 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
10862 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10863 # We do not specify a path in Import Files, so LIBPATH fires.
10864 shlibpath_overrides_runpath
=yes
10866 *,yes) # both, prefer svr4
10867 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10868 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
10869 # unpreferred sharedlib libNAME.a needs extra handling
10870 postinstall_cmds
='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10871 postuninstall_cmds
='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10872 # We do not specify a path in Import Files, so LIBPATH fires.
10873 shlibpath_overrides_runpath
=yes
10875 *,no
) # both, prefer aix
10876 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10877 library_names_spec
='$libname$release.a $libname.a'
10878 soname_spec
='$libname$release$shared_ext$major'
10879 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10880 postinstall_cmds
='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10881 postuninstall_cmds
='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10884 shlibpath_var
=LIBPATH
10891 # Since July 2007 AmigaOS4 officially supports .so libraries.
10892 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10893 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10896 library_names_spec
='$libname.ixlibrary $libname.a'
10897 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10898 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10904 library_names_spec
='$libname$shared_ext'
10905 dynamic_linker
="$host_os ld.so"
10906 shlibpath_var
=LIBRARY_PATH
10910 version_type
=linux
# correct to gnu/linux during the next big refactor
10912 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10913 soname_spec
='$libname$release$shared_ext$major'
10914 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10915 shlibpath_var
=LD_LIBRARY_PATH
10916 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10917 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10918 # the default ld.so.conf also contains /usr/contrib/lib and
10919 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10920 # libtool to hard-code these into programs
10923 cygwin
* | mingw
* | pw32
* | cegcc
*)
10924 version_type
=windows
10929 case $GCC,$cc_basename in
10932 library_names_spec
='$libname.dll.a'
10933 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10934 postinstall_cmds
='base_file=`basename \$file`~
10935 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10936 dldir=$destdir/`dirname \$dlpath`~
10937 test -d \$dldir || mkdir -p \$dldir~
10938 $install_prog $dir/$dlname \$dldir/$dlname~
10939 chmod a+x \$dldir/$dlname~
10940 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10941 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10943 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10944 dlpath=$dir/\$dldll~
10946 shlibpath_overrides_runpath
=yes
10950 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10951 soname_spec
='`echo $libname | sed -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10953 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10956 # MinGW DLLs use traditional 'lib' prefix
10957 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10960 # pw32 DLLs use 'pw' prefix rather than 'lib'
10961 library_names_spec
='`echo $libname | sed -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10964 dynamic_linker
='Win32 ld.exe'
10969 libname_spec
='$name'
10970 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
10971 library_names_spec
='$libname.dll.lib'
10975 sys_lib_search_path_spec
=
10978 for lt_path
in $LIB
10981 # Let DOS variable expansion print the short 8.3 style file name.
10982 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10983 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10986 # Convert to MSYS style.
10987 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10990 # Convert to unix form, then to dos form, then back to unix form
10991 # but this time dos style (no spaces!) so that the unix form looks
10992 # like /cygdrive/c/PROGRA~1:/cygdr...
10993 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10994 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10995 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10998 sys_lib_search_path_spec
=$LIB
10999 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11000 # It is most probably a Windows format PATH.
11001 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11003 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11005 # FIXME: find the short name or the path components, as spaces are
11006 # common. (e.g. "Program Files" -> "PROGRA~1")
11010 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11011 postinstall_cmds
='base_file=`basename \$file`~
11012 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11013 dldir=$destdir/`dirname \$dlpath`~
11014 test -d \$dldir || mkdir -p \$dldir~
11015 $install_prog $dir/$dlname \$dldir/$dlname'
11016 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11017 dlpath=$dir/\$dldll~
11019 shlibpath_overrides_runpath
=yes
11020 dynamic_linker
='Win32 link.exe'
11024 # Assume MSVC wrapper
11025 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11026 dynamic_linker
='Win32 ld.exe'
11029 # FIXME: first we should search . and the directory the executable is in
11033 darwin
* | rhapsody
*)
11034 dynamic_linker
="$host_os dyld"
11035 version_type
=darwin
11038 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11039 soname_spec
='$libname$release$major$shared_ext'
11040 shlibpath_overrides_runpath
=yes
11041 shlibpath_var
=DYLD_LIBRARY_PATH
11042 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11044 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11045 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11049 version_type
=linux
# correct to gnu/linux during the next big refactor
11052 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11053 soname_spec
='$libname$release$shared_ext$major'
11054 shlibpath_var
=LD_LIBRARY_PATH
11057 freebsd
* | dragonfly
*)
11058 # DragonFly does not have aout. When/if they implement a new
11059 # versioning mechanism, adjust this.
11060 if test -x /usr
/bin
/objformat
; then
11061 objformat
=`/usr/bin/objformat`
11064 freebsd
[23].
*) objformat
=aout
;;
11065 *) objformat
=elf
;;
11068 version_type
=freebsd-
$objformat
11069 case $version_type in
11071 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11072 soname_spec
='$libname$release$shared_ext$major'
11077 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11081 shlibpath_var
=LD_LIBRARY_PATH
11084 shlibpath_overrides_runpath
=yes
11086 freebsd3.
[01]* | freebsdelf3.
[01]*)
11087 shlibpath_overrides_runpath
=yes
11088 hardcode_into_libs
=yes
11090 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11091 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11092 shlibpath_overrides_runpath
=no
11093 hardcode_into_libs
=yes
11095 *) # from 4.6 on, and DragonFly
11096 shlibpath_overrides_runpath
=yes
11097 hardcode_into_libs
=yes
11103 version_type
=linux
# correct to gnu/linux during the next big refactor
11106 dynamic_linker
="$host_os runtime_loader"
11107 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11108 soname_spec
='$libname$release$shared_ext$major'
11109 shlibpath_var
=LIBRARY_PATH
11110 shlibpath_overrides_runpath
=no
11111 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11112 hardcode_into_libs
=yes
11115 hpux9
* | hpux10
* | hpux11
*)
11116 # Give a soname corresponding to the major version so that dld.sl refuses to
11117 # link against other versions.
11124 hardcode_into_libs
=yes
11125 dynamic_linker
="$host_os dld.so"
11126 shlibpath_var
=LD_LIBRARY_PATH
11127 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11128 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11129 soname_spec
='$libname$release$shared_ext$major'
11130 if test 32 = "$HPUX_IA64_MODE"; then
11131 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11132 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
11134 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11135 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
11140 hardcode_into_libs
=yes
11141 dynamic_linker
="$host_os dld.sl"
11142 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11143 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11144 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11145 soname_spec
='$libname$release$shared_ext$major'
11146 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11147 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11151 dynamic_linker
="$host_os dld.sl"
11152 shlibpath_var
=SHLIB_PATH
11153 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11154 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11155 soname_spec
='$libname$release$shared_ext$major'
11158 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11159 postinstall_cmds
='chmod 555 $lib'
11160 # or fails outright, so override atomically:
11161 install_override_mode
=555
11165 version_type
=linux
# correct to gnu/linux during the next big refactor
11168 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11169 soname_spec
='$libname$release$shared_ext$major'
11170 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11171 shlibpath_var
=LD_LIBRARY_PATH
11172 shlibpath_overrides_runpath
=no
11173 hardcode_into_libs
=yes
11176 irix5
* | irix6
* | nonstopux
*)
11178 nonstopux
*) version_type
=nonstopux
;;
11180 if test yes = "$lt_cv_prog_gnu_ld"; then
11181 version_type
=linux
# correct to gnu/linux during the next big refactor
11188 soname_spec
='$libname$release$shared_ext$major'
11189 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11191 irix5
* | nonstopux
*)
11192 libsuff
= shlibsuff
=
11195 case $LD in # libtool.m4 will add one of these switches to LD
11196 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11197 libsuff
= shlibsuff
= libmagic
=32-bit;;
11198 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11199 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11200 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11201 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11202 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11206 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11207 shlibpath_overrides_runpath
=no
11208 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11209 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11210 hardcode_into_libs
=yes
11213 # No shared lib support for Linux oldld, aout, or coff.
11214 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11219 version_type
=none
# Android doesn't support versioned libraries.
11222 library_names_spec
='$libname$release$shared_ext'
11223 soname_spec
='$libname$release$shared_ext'
11225 shlibpath_var
=LD_LIBRARY_PATH
11226 shlibpath_overrides_runpath
=yes
11228 # This implies no fast_install, which is unacceptable.
11229 # Some rework will be needed to allow for fast_install
11230 # before this can be enabled.
11231 hardcode_into_libs
=yes
11233 dynamic_linker
='Android linker'
11234 # Don't embed -rpath directories since the linker doesn't support them.
11235 hardcode_libdir_flag_spec
='-L$libdir'
11238 # This must be glibc/ELF.
11239 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11240 version_type
=linux
# correct to gnu/linux during the next big refactor
11243 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11244 soname_spec
='$libname$release$shared_ext$major'
11245 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11246 shlibpath_var
=LD_LIBRARY_PATH
11247 shlibpath_overrides_runpath
=no
11249 # Some binutils ld are patched to set DT_RUNPATH
11250 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11251 $as_echo_n "(cached) " >&6
11253 lt_cv_shlibpath_overrides_runpath
=no
11254 save_LDFLAGS
=$LDFLAGS
11255 save_libdir
=$libdir
11256 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11257 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11269 if ac_fn_c_try_link
"$LINENO"; then :
11270 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11271 lt_cv_shlibpath_overrides_runpath
=yes
11274 rm -f core conftest.err conftest.
$ac_objext \
11275 conftest
$ac_exeext conftest.
$ac_ext
11276 LDFLAGS
=$save_LDFLAGS
11277 libdir
=$save_libdir
11281 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11283 # This implies no fast_install, which is unacceptable.
11284 # Some rework will be needed to allow for fast_install
11285 # before this can be enabled.
11286 hardcode_into_libs
=yes
11288 # Add ABI-specific directories to the system library path.
11289 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
11291 # Ideally, we could use ldconfig to report *all* directores which are
11292 # searched for libraries, however this is still not possible. Aside from not
11293 # being certain /sbin/ldconfig is available, command
11294 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11295 # even though it is searched at run-time. Try to do the best guess by
11296 # appending ld.so.conf contents (and includes) to the search path.
11297 if test -f /etc
/ld.so.conf
; then
11298 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' ' '`
11299 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11302 # We used to test for /lib/ld.so.1 and disable shared libraries on
11303 # powerpc, because MkLinux only supported shared libraries with the
11304 # GNU dynamic linker. Since this was broken with cross compilers,
11305 # most powerpc-linux boxes support dynamic linking these days and
11306 # people can always --disable-shared, the test was removed, and we
11307 # assume the GNU/Linux dynamic linker is in use.
11308 dynamic_linker
='GNU/Linux ld.so'
11315 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11316 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11317 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11318 dynamic_linker
='NetBSD (a.out) ld.so'
11320 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11321 soname_spec
='$libname$release$shared_ext$major'
11322 dynamic_linker
='NetBSD ld.elf_so'
11324 shlibpath_var
=LD_LIBRARY_PATH
11325 shlibpath_overrides_runpath
=yes
11326 hardcode_into_libs
=yes
11330 version_type
=linux
# correct to gnu/linux during the next big refactor
11331 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11332 shlibpath_var
=LD_LIBRARY_PATH
11333 shlibpath_overrides_runpath
=yes
11340 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11341 soname_spec
='$libname$release$shared_ext$major'
11342 shlibpath_var
=LD_LIBRARY_PATH
11343 shlibpath_overrides_runpath
=no
11344 hardcode_into_libs
=yes
11345 dynamic_linker
='ldqnx.so'
11348 openbsd
* | bitrig
*)
11350 sys_lib_dlsearch_path_spec
=/usr
/lib
11352 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11357 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11358 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11359 shlibpath_var
=LD_LIBRARY_PATH
11360 shlibpath_overrides_runpath
=yes
11364 libname_spec
='$name'
11365 version_type
=windows
11369 # OS/2 can only load a DLL with a base name of 8 characters or less.
11370 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11371 v=$($ECHO $release$versuffix | tr -d .-);
11372 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11373 $ECHO $n$v`$shared_ext'
11374 library_names_spec
='${libname}_dll.$libext'
11375 dynamic_linker
='OS/2 ld.exe'
11376 shlibpath_var
=BEGINLIBPATH
11377 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11378 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11379 postinstall_cmds
='base_file=`basename \$file`~
11380 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11381 dldir=$destdir/`dirname \$dlpath`~
11382 test -d \$dldir || mkdir -p \$dldir~
11383 $install_prog $dir/$dlname \$dldir/$dlname~
11384 chmod a+x \$dldir/$dlname~
11385 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11386 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11388 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11389 dlpath=$dir/\$dldll~
11393 osf3
* | osf4
* | osf5
*)
11397 soname_spec
='$libname$release$shared_ext$major'
11398 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11399 shlibpath_var
=LD_LIBRARY_PATH
11400 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11401 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11409 version_type
=linux
# correct to gnu/linux during the next big refactor
11412 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11413 soname_spec
='$libname$release$shared_ext$major'
11414 shlibpath_var
=LD_LIBRARY_PATH
11415 shlibpath_overrides_runpath
=yes
11416 hardcode_into_libs
=yes
11417 # ldd complains unless libraries are executable
11418 postinstall_cmds
='chmod +x $lib'
11423 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11424 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11425 shlibpath_var
=LD_LIBRARY_PATH
11426 shlibpath_overrides_runpath
=yes
11427 if test yes = "$with_gnu_ld"; then
11434 version_type
=linux
# correct to gnu/linux during the next big refactor
11435 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11436 soname_spec
='$libname$release$shared_ext$major'
11437 shlibpath_var
=LD_LIBRARY_PATH
11438 case $host_vendor in
11440 shlibpath_overrides_runpath
=no
11442 runpath_var
=LD_RUN_PATH
11450 shlibpath_overrides_runpath
=no
11451 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11457 if test -d /usr
/nec
; then
11458 version_type
=linux
# correct to gnu/linux during the next big refactor
11459 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11460 soname_spec
='$libname$shared_ext.$major'
11461 shlibpath_var
=LD_LIBRARY_PATH
11465 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11469 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11470 soname_spec
='$libname$release$shared_ext$major'
11471 shlibpath_var
=LD_LIBRARY_PATH
11472 shlibpath_overrides_runpath
=yes
11473 hardcode_into_libs
=yes
11474 if test yes = "$with_gnu_ld"; then
11475 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11477 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11480 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11484 sys_lib_dlsearch_path_spec
='/usr/lib'
11488 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11489 version_type
=linux
# correct to gnu/linux during the next big refactor
11492 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11493 shlibpath_var
=LD_LIBRARY_PATH
11494 shlibpath_overrides_runpath
=no
11495 hardcode_into_libs
=yes
11499 version_type
=linux
# correct to gnu/linux during the next big refactor
11500 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11501 soname_spec
='$libname$release$shared_ext$major'
11502 shlibpath_var
=LD_LIBRARY_PATH
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11510 $as_echo "$dynamic_linker" >&6; }
11511 test no
= "$dynamic_linker" && can_build_shared
=no
11513 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11514 if test yes = "$GCC"; then
11515 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11518 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11519 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11522 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11523 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11526 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11527 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11529 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11530 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11532 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11533 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11632 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11634 if test -n "$hardcode_libdir_flag_spec" ||
11635 test -n "$runpath_var" ||
11636 test yes = "$hardcode_automatic"; then
11638 # We can hardcode non-existent directories.
11639 if test no
!= "$hardcode_direct" &&
11640 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11641 # have to relink, otherwise we might link with an installed library
11642 # when we should be linking with a yet-to-be-installed one
11643 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11644 test no
!= "$hardcode_minus_L"; then
11645 # Linking always hardcodes the temporary library directory.
11646 hardcode_action
=relink
11648 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11649 hardcode_action
=immediate
11652 # We cannot hardcode anything, or else we can only hardcode existing
11654 hardcode_action
=unsupported
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11657 $as_echo "$hardcode_action" >&6; }
11659 if test relink
= "$hardcode_action" ||
11660 test yes = "$inherit_rpath"; then
11661 # Fast installation is not supported
11662 enable_fast_install
=no
11663 elif test yes = "$shlibpath_overrides_runpath" ||
11664 test no
= "$enable_shared"; then
11665 # Fast installation is not necessary
11666 enable_fast_install
=needless
11674 if test yes != "$enable_dlopen"; then
11675 enable_dlopen
=unknown
11676 enable_dlopen_self
=unknown
11677 enable_dlopen_self_static
=unknown
11684 lt_cv_dlopen
=load_add_on
11686 lt_cv_dlopen_self
=yes
11689 mingw
* | pw32
* | cegcc
*)
11690 lt_cv_dlopen
=LoadLibrary
11695 lt_cv_dlopen
=dlopen
11700 # if libdl is installed we need to link against it
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11702 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11703 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11704 $as_echo_n "(cached) " >&6
11706 ac_check_lib_save_LIBS
=$LIBS
11708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11709 /* end confdefs.h. */
11711 /* Override any GCC internal prototype to avoid an error.
11712 Use char because int might match the return type of a GCC
11713 builtin and then its argument prototype would still apply. */
11726 if ac_fn_c_try_link
"$LINENO"; then :
11727 ac_cv_lib_dl_dlopen
=yes
11729 ac_cv_lib_dl_dlopen
=no
11731 rm -f core conftest.err conftest.
$ac_objext \
11732 conftest
$ac_exeext conftest.
$ac_ext
11733 LIBS
=$ac_check_lib_save_LIBS
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11736 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11737 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11738 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11743 lt_cv_dlopen_self
=yes
11750 # Don't try to run any link tests for TPF. We know it's impossible
11751 # because TPF is a cross-compiler, and we know how we open DSOs.
11752 lt_cv_dlopen
=dlopen
11754 lt_cv_dlopen_self
=no
11758 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11759 if test "x$ac_cv_func_shl_load" = xyes
; then :
11760 lt_cv_dlopen
=shl_load
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11763 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11764 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11765 $as_echo_n "(cached) " >&6
11767 ac_check_lib_save_LIBS
=$LIBS
11769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11772 /* Override any GCC internal prototype to avoid an error.
11773 Use char because int might match the return type of a GCC
11774 builtin and then its argument prototype would still apply. */
11782 return shl_load ();
11787 if ac_fn_c_try_link
"$LINENO"; then :
11788 ac_cv_lib_dld_shl_load
=yes
11790 ac_cv_lib_dld_shl_load
=no
11792 rm -f core conftest.err conftest.
$ac_objext \
11793 conftest
$ac_exeext conftest.
$ac_ext
11794 LIBS
=$ac_check_lib_save_LIBS
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11797 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11798 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11799 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
11801 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11802 if test "x$ac_cv_func_dlopen" = xyes
; then :
11803 lt_cv_dlopen
=dlopen
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11806 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11807 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11808 $as_echo_n "(cached) " >&6
11810 ac_check_lib_save_LIBS
=$LIBS
11812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11830 if ac_fn_c_try_link
"$LINENO"; then :
11831 ac_cv_lib_dl_dlopen
=yes
11833 ac_cv_lib_dl_dlopen
=no
11835 rm -f core conftest.err conftest.
$ac_objext \
11836 conftest
$ac_exeext conftest.
$ac_ext
11837 LIBS
=$ac_check_lib_save_LIBS
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11840 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11841 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11842 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11845 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11846 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11847 $as_echo_n "(cached) " >&6
11849 ac_check_lib_save_LIBS
=$LIBS
11850 LIBS
="-lsvld $LIBS"
11851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11852 /* end confdefs.h. */
11854 /* Override any GCC internal prototype to avoid an error.
11855 Use char because int might match the return type of a GCC
11856 builtin and then its argument prototype would still apply. */
11869 if ac_fn_c_try_link
"$LINENO"; then :
11870 ac_cv_lib_svld_dlopen
=yes
11872 ac_cv_lib_svld_dlopen
=no
11874 rm -f core conftest.err conftest.
$ac_objext \
11875 conftest
$ac_exeext conftest.
$ac_ext
11876 LIBS
=$ac_check_lib_save_LIBS
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11879 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11880 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11881 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11884 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11885 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11886 $as_echo_n "(cached) " >&6
11888 ac_check_lib_save_LIBS
=$LIBS
11890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11891 /* end confdefs.h. */
11893 /* Override any GCC internal prototype to avoid an error.
11894 Use char because int might match the return type of a GCC
11895 builtin and then its argument prototype would still apply. */
11903 return dld_link ();
11908 if ac_fn_c_try_link
"$LINENO"; then :
11909 ac_cv_lib_dld_dld_link
=yes
11911 ac_cv_lib_dld_dld_link
=no
11913 rm -f core conftest.err conftest.
$ac_objext \
11914 conftest
$ac_exeext conftest.
$ac_ext
11915 LIBS
=$ac_check_lib_save_LIBS
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11918 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11919 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11920 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
11941 if test no
= "$lt_cv_dlopen"; then
11947 case $lt_cv_dlopen in
11949 save_CPPFLAGS
=$CPPFLAGS
11950 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11952 save_LDFLAGS
=$LDFLAGS
11953 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11956 LIBS
="$lt_cv_dlopen_libs $LIBS"
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11959 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11960 if ${lt_cv_dlopen_self+:} false
; then :
11961 $as_echo_n "(cached) " >&6
11963 if test yes = "$cross_compiling"; then :
11964 lt_cv_dlopen_self
=cross
11966 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11967 lt_status
=$lt_dlunknown
11968 cat > conftest.
$ac_ext <<_LT_EOF
11969 #line $LINENO "configure"
11970 #include "confdefs.h"
11979 # define LT_DLGLOBAL RTLD_GLOBAL
11982 # define LT_DLGLOBAL DL_GLOBAL
11984 # define LT_DLGLOBAL 0
11988 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11989 find out it does not work in some platform. */
11990 #ifndef LT_DLLAZY_OR_NOW
11992 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11995 # define LT_DLLAZY_OR_NOW DL_LAZY
11998 # define LT_DLLAZY_OR_NOW RTLD_NOW
12001 # define LT_DLLAZY_OR_NOW DL_NOW
12003 # define LT_DLLAZY_OR_NOW 0
12010 /* When -fvisibility=hidden is used, assume the code has been annotated
12011 correspondingly for the symbols needed. */
12012 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12013 int fnord () __attribute__((visibility("default")));
12016 int fnord () { return 42; }
12019 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12020 int status = $lt_dlunknown;
12024 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12027 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12028 else puts (dlerror ());
12030 /* dlclose (self); */
12038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12039 (eval $ac_link) 2>&5
12041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12042 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12043 (.
/conftest
; exit; ) >&5 2>/dev
/null
12045 case x
$lt_status in
12046 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12047 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12048 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12051 # compilation failed
12052 lt_cv_dlopen_self
=no
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12060 $as_echo "$lt_cv_dlopen_self" >&6; }
12062 if test yes = "$lt_cv_dlopen_self"; then
12063 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12065 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12066 if ${lt_cv_dlopen_self_static+:} false
; then :
12067 $as_echo_n "(cached) " >&6
12069 if test yes = "$cross_compiling"; then :
12070 lt_cv_dlopen_self_static
=cross
12072 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12073 lt_status
=$lt_dlunknown
12074 cat > conftest.
$ac_ext <<_LT_EOF
12075 #line $LINENO "configure"
12076 #include "confdefs.h"
12085 # define LT_DLGLOBAL RTLD_GLOBAL
12088 # define LT_DLGLOBAL DL_GLOBAL
12090 # define LT_DLGLOBAL 0
12094 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12095 find out it does not work in some platform. */
12096 #ifndef LT_DLLAZY_OR_NOW
12098 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12101 # define LT_DLLAZY_OR_NOW DL_LAZY
12104 # define LT_DLLAZY_OR_NOW RTLD_NOW
12107 # define LT_DLLAZY_OR_NOW DL_NOW
12109 # define LT_DLLAZY_OR_NOW 0
12116 /* When -fvisibility=hidden is used, assume the code has been annotated
12117 correspondingly for the symbols needed. */
12118 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12119 int fnord () __attribute__((visibility("default")));
12122 int fnord () { return 42; }
12125 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12126 int status = $lt_dlunknown;
12130 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12133 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12134 else puts (dlerror ());
12136 /* dlclose (self); */
12144 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12145 (eval $ac_link) 2>&5
12147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12148 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12149 (.
/conftest
; exit; ) >&5 2>/dev
/null
12151 case x
$lt_status in
12152 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12153 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12154 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12157 # compilation failed
12158 lt_cv_dlopen_self_static
=no
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12166 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12169 CPPFLAGS
=$save_CPPFLAGS
12170 LDFLAGS
=$save_LDFLAGS
12175 case $lt_cv_dlopen_self in
12176 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12177 *) enable_dlopen_self
=unknown
;;
12180 case $lt_cv_dlopen_self_static in
12181 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12182 *) enable_dlopen_self_static
=unknown
;;
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12205 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12206 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12207 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12208 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12210 $as_echo "yes" >&6; }
12212 # FIXME - insert some real tests, host_os isn't really good enough
12215 if test -n "$STRIP"; then
12216 striplib
="$STRIP -x"
12217 old_striplib
="$STRIP -S"
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12219 $as_echo "yes" >&6; }
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12222 $as_echo "no" >&6; }
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12227 $as_echo "no" >&6; }
12243 # Report what library types will actually be built
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12245 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12247 $as_echo "$can_build_shared" >&6; }
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12250 $as_echo_n "checking whether to build shared libraries... " >&6; }
12251 test no
= "$can_build_shared" && enable_shared
=no
12253 # On AIX, shared libraries and static libraries use the same namespace, and
12254 # are all built from PIC.
12257 test yes = "$enable_shared" && enable_static
=no
12258 if test -n "$RANLIB"; then
12259 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12260 postinstall_cmds
='$RANLIB $lib'
12265 if test ia64
!= "$host_cpu"; then
12266 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12267 yes,aix
,yes) ;; # shared object as lib.so file only
12268 yes,svr4
,*) ;; # shared object as lib.so archive member only
12269 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12275 $as_echo "$enable_shared" >&6; }
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12278 $as_echo_n "checking whether to build static libraries... " >&6; }
12279 # Make sure either enable_shared or enable_static is yes.
12280 test yes = "$enable_shared" || enable_static
=yes
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12282 $as_echo "$enable_static" >&6; }
12289 ac_cpp
='$CPP $CPPFLAGS'
12290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12310 ac_config_commands
="$ac_config_commands libtool"
12315 # Only expand once:
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what extension is used for runtime loadable modules" >&5
12319 $as_echo_n "checking what extension is used for runtime loadable modules... " >&6; }
12320 if ${libltdl_cv_shlibext+:} false
; then :
12321 $as_echo_n "(cached) " >&6
12325 eval libltdl_cv_shlibext
=$shrext_cmds
12327 eval libltdl_cv_shrext
=$shrext_cmds
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
12331 $as_echo "$libltdl_cv_shlibext" >&6; }
12332 if test -n "$libltdl_cv_shlibext"; then
12334 cat >>confdefs.h
<<_ACEOF
12335 #define LT_MODULE_EXT "$libltdl_cv_shlibext"
12339 if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
12341 cat >>confdefs.h
<<_ACEOF
12342 #define LT_SHARED_EXT "$libltdl_cv_shrext"
12346 if test -n "$shared_archive_member_spec"; then
12348 cat >>confdefs.h
<<_ACEOF
12349 #define LT_SHARED_LIB_MEMBER "($shared_archive_member_spec.o)"
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what variable specifies run-time module search path" >&5
12355 $as_echo_n "checking what variable specifies run-time module search path... " >&6; }
12356 if ${lt_cv_module_path_var+:} false
; then :
12357 $as_echo_n "(cached) " >&6
12359 lt_cv_module_path_var
=$shlibpath_var
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
12362 $as_echo "$lt_cv_module_path_var" >&6; }
12363 if test -n "$lt_cv_module_path_var"; then
12365 cat >>confdefs.h
<<_ACEOF
12366 #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
12372 $as_echo_n "checking for the default library search path... " >&6; }
12373 if ${lt_cv_sys_dlsearch_path+:} false
; then :
12374 $as_echo_n "(cached) " >&6
12376 lt_cv_sys_dlsearch_path
=$sys_lib_dlsearch_path_spec
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
12379 $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
12380 if test -n "$lt_cv_sys_dlsearch_path"; then
12382 for dir
in $lt_cv_sys_dlsearch_path; do
12383 if test -z "$sys_dlsearch_path"; then
12384 sys_dlsearch_path
=$dir
12386 sys_dlsearch_path
=$sys_dlsearch_path$PATH_SEPARATOR$dir
12390 cat >>confdefs.h
<<_ACEOF
12391 #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
12401 ac_cpp
='$CPP $CPPFLAGS'
12402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12406 lt_dlload_save_LIBS
=$LIBS
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12410 $as_echo_n "checking for library containing dlopen... " >&6; }
12411 if ${ac_cv_search_dlopen+:} false
; then :
12412 $as_echo_n "(cached) " >&6
12414 ac_func_search_save_LIBS
=$LIBS
12415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12416 /* end confdefs.h. */
12418 /* Override any GCC internal prototype to avoid an error.
12419 Use char because int might match the return type of a GCC
12420 builtin and then its argument prototype would still apply. */
12433 for ac_lib
in '' dl
; do
12434 if test -z "$ac_lib"; then
12435 ac_res
="none required"
12438 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12440 if ac_fn_c_try_link
"$LINENO"; then :
12441 ac_cv_search_dlopen
=$ac_res
12443 rm -f core conftest.err conftest.
$ac_objext \
12445 if ${ac_cv_search_dlopen+:} false
; then :
12449 if ${ac_cv_search_dlopen+:} false
; then :
12452 ac_cv_search_dlopen
=no
12454 rm conftest.
$ac_ext
12455 LIBS
=$ac_func_search_save_LIBS
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12458 $as_echo "$ac_cv_search_dlopen" >&6; }
12459 ac_res
=$ac_cv_search_dlopen
12460 if test "$ac_res" != no
; then :
12461 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12463 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12465 if test "$ac_cv_search_dlopen" != "none required"; then
12468 libltdl_cv_lib_dl_dlopen
=yes
12469 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 # include <dlfcn.h>
12485 if ac_fn_c_try_link
"$LINENO"; then :
12487 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12489 libltdl_cv_func_dlopen
=yes
12490 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12493 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12494 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12495 $as_echo_n "(cached) " >&6
12497 ac_check_lib_save_LIBS
=$LIBS
12498 LIBS
="-lsvld $LIBS"
12499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12500 /* end confdefs.h. */
12502 /* Override any GCC internal prototype to avoid an error.
12503 Use char because int might match the return type of a GCC
12504 builtin and then its argument prototype would still apply. */
12517 if ac_fn_c_try_link
"$LINENO"; then :
12518 ac_cv_lib_svld_dlopen
=yes
12520 ac_cv_lib_svld_dlopen
=no
12522 rm -f core conftest.err conftest.
$ac_objext \
12523 conftest
$ac_exeext conftest.
$ac_ext
12524 LIBS
=$ac_check_lib_save_LIBS
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12527 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12528 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12530 $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
12532 LIBADD_DLOPEN
=-lsvld libltdl_cv_func_dlopen
=yes
12533 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
12537 rm -f core conftest.err conftest.
$ac_objext \
12538 conftest
$ac_exeext conftest.
$ac_ext
12541 if test yes = "$libltdl_cv_func_dlopen" ||
test yes = "$libltdl_cv_lib_dl_dlopen"
12544 LIBS
="$LIBS $LIBADD_DLOPEN"
12545 for ac_func
in dlerror
12547 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
12548 if test "x$ac_cv_func_dlerror" = xyes
; then :
12549 cat >>confdefs.h
<<_ACEOF
12550 #define HAVE_DLERROR 1
12561 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12562 if test "x$ac_cv_func_shl_load" = xyes
; then :
12564 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12566 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12569 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12570 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12571 $as_echo_n "(cached) " >&6
12573 ac_check_lib_save_LIBS
=$LIBS
12575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12588 return shl_load ();
12593 if ac_fn_c_try_link
"$LINENO"; then :
12594 ac_cv_lib_dld_shl_load
=yes
12596 ac_cv_lib_dld_shl_load
=no
12598 rm -f core conftest.err conftest.
$ac_objext \
12599 conftest
$ac_exeext conftest.
$ac_ext
12600 LIBS
=$ac_check_lib_save_LIBS
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12603 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12604 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12606 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
12608 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
12609 LIBADD_SHL_LOAD
=-ldld
12618 # We only want this for pre-Mac OS X 10.4.
12619 ac_fn_c_check_func
"$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
12620 if test "x$ac_cv_func__dyld_func_lookup" = xyes
; then :
12622 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
12624 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12629 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12631 cygwin
* | mingw
* | pw32
*)
12632 ac_fn_c_check_decl
"$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
12634 if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes
; then :
12640 cat >>confdefs.h
<<_ACEOF
12641 #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
12644 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12649 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12650 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12651 $as_echo_n "(cached) " >&6
12653 ac_check_lib_save_LIBS
=$LIBS
12655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12668 return dld_link ();
12673 if ac_fn_c_try_link
"$LINENO"; then :
12674 ac_cv_lib_dld_dld_link
=yes
12676 ac_cv_lib_dld_dld_link
=no
12678 rm -f core conftest.err conftest.
$ac_objext \
12679 conftest
$ac_exeext conftest.
$ac_ext
12680 LIBS
=$ac_check_lib_save_LIBS
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12683 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12684 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12686 $as_echo "#define HAVE_DLD 1" >>confdefs.h
12688 LT_DLLOADERS
="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12695 if test -n "$LT_DLLOADERS"
12697 for lt_loader
in $LT_DLLOADERS; do
12698 LT_DLPREOPEN
="$LT_DLPREOPEN-dlpreopen $lt_loader "
12701 $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
12706 LIBADD_DL
="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12709 LIBS
=$lt_dlload_save_LIBS
12711 ac_cpp
='$CPP $CPPFLAGS'
12712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
12718 $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12719 if ${lt_cv_sys_symbol_underscore+:} false
; then :
12720 $as_echo_n "(cached) " >&6
12722 lt_cv_sys_symbol_underscore
=no
12723 cat > conftest.
$ac_ext <<_LT_EOF
12724 void nm_test_func(){}
12725 int main(){nm_test_func;return 0;}
12727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12728 (eval $ac_compile) 2>&5
12730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12731 test $ac_status = 0; }; then
12732 # Now try to grab the symbols.
12733 ac_nlist
=conftest.nm
12734 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
12735 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $ac_nlist) 2>&5
12737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12738 test $ac_status = 0; } && test -s "$ac_nlist"; then
12739 # See whether the symbols have a leading underscore.
12740 if grep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
12741 lt_cv_sys_symbol_underscore
=yes
12743 if grep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
12746 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12750 echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12753 echo "configure: failed program was:" >&5
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
12760 $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12761 sys_symbol_underscore
=$lt_cv_sys_symbol_underscore
12764 if test yes = "$lt_cv_sys_symbol_underscore"; then
12765 if test yes = "$libltdl_cv_func_dlopen" ||
test yes = "$libltdl_cv_lib_dl_dlopen"; then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
12767 $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12768 if ${libltdl_cv_need_uscore+:} false
; then :
12769 $as_echo_n "(cached) " >&6
12771 libltdl_cv_need_uscore
=unknown
12772 dlsym_uscore_save_LIBS
=$LIBS
12773 LIBS
="$LIBS $LIBADD_DLOPEN"
12774 libname
=conftmod
# stay within 8.3 filename limits!
12775 cat >$libname.
$ac_ext <<_LT_EOF
12776 #line $LINENO "configure"
12777 #include "confdefs.h"
12778 /* When -fvisibility=hidden is used, assume the code has been annotated
12779 correspondingly for the symbols needed. */
12780 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12781 int fnord () __attribute__((visibility("default")));
12783 int fnord () { return 42; }
12786 # ltfn_module_cmds module_cmds
12787 # Execute tilde-delimited MODULE_CMDS with environment primed for
12788 # $module_cmds or $archive_cmds type content.
12789 ltfn_module_cmds
()
12790 {( # subshell avoids polluting parent global environment
12791 module_cmds_save_ifs
=$IFS; IFS
='~'
12793 IFS
=$module_cmds_save_ifs
12794 libobjs
=$libname.
$ac_objext; lib
=$libname$libltdl_cv_shlibext
12795 rpath
=/not-exists
; soname
=$libname$libltdl_cv_shlibext; output_objdir
=.
12796 major
=; versuffix
=; verstring
=; deplibs
=
12797 ECHO
=echo; wl
=$lt_prog_compiler_wl; allow_undefined_flag
=
12800 IFS
=$module_cmds_save_ifs
12803 # Compile a loadable module using libtool macro expansion results.
12804 $CC $pic_flag -c $libname.
$ac_ext
12805 ltfn_module_cmds
"${module_cmds:-$archive_cmds}"
12807 # Try to fetch fnord with dlsym().
12808 libltdl_dlunknown
=0; libltdl_dlnouscore
=1; libltdl_dluscore
=2
12809 cat >conftest.
$ac_ext <<_LT_EOF
12810 #line $LINENO "configure"
12811 #include "confdefs.h"
12816 #ifndef RTLD_GLOBAL
12818 # define RTLD_GLOBAL DL_GLOBAL
12820 # define RTLD_GLOBAL 0
12825 # define RTLD_NOW DL_NOW
12827 # define RTLD_NOW 0
12831 void *handle = dlopen ("`pwd`/$libname$libltdl_cv_shlibext", RTLD_GLOBAL|RTLD_NOW);
12832 int status = $libltdl_dlunknown;
12834 if (dlsym (handle, "fnord"))
12835 status = $libltdl_dlnouscore;
12837 if (dlsym (handle, "_fnord"))
12838 status = $libltdl_dluscore;
12848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12849 (eval $ac_link) 2>&5
12851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12852 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12853 (.
/conftest
; exit; ) >&5 2>/dev
/null
12855 case x
$libltdl_status in
12856 x
$libltdl_dlnouscore) libltdl_cv_need_uscore
=no
;;
12857 x
$libltdl_dluscore) libltdl_cv_need_uscore
=yes ;;
12858 x
*) libltdl_cv_need_uscore
=unknown
;;
12861 rm -rf conftest
* $libname*
12862 LIBS
=$dlsym_uscore_save_LIBS
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
12866 $as_echo "$libltdl_cv_need_uscore" >&6; }
12870 if test yes = "$libltdl_cv_need_uscore"; then
12872 $as_echo "#define NEED_USCORE 1" >>confdefs.h
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
12877 $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12878 if ${lt_cv_sys_dlopen_deplibs+:} false
; then :
12879 $as_echo_n "(cached) " >&6
12881 # PORTME does your system automatically load deplibs for dlopen?
12882 # or its logical equivalent (e.g. shl_load for HP-UX < 11)
12883 # For now, we just catch OSes we know something about -- in the
12884 # future, we'll try test this programmatically.
12885 lt_cv_sys_dlopen_deplibs
=unknown
12887 aix3
*|aix4.1.
*|aix4.2.
*)
12888 # Unknown whether this is true for these versions of AIX, but
12889 # we want this 'case' here to explicitly catch those versions.
12890 lt_cv_sys_dlopen_deplibs
=unknown
12893 lt_cv_sys_dlopen_deplibs
=yes
12898 lt_cv_sys_dlopen_deplibs
=no
12903 lt_cv_sys_dlopen_deplibs
=yes
12906 # Assuming the user has installed a libdl from somewhere, this is true
12907 # If you are looking for one http://www.opendarwin.org/projects/dlcompat
12908 lt_cv_sys_dlopen_deplibs
=yes
12910 freebsd
* | dragonfly
*)
12911 lt_cv_sys_dlopen_deplibs
=yes
12913 gnu
* | linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12914 # GNU and its variants, using gnu ld.so (Glibc)
12915 lt_cv_sys_dlopen_deplibs
=yes
12918 lt_cv_sys_dlopen_deplibs
=yes
12921 lt_cv_sys_dlopen_deplibs
=yes
12923 irix
[12345]*|irix6.
[01]*)
12924 # Catch all versions of IRIX before 6.2, and indicate that we don't
12925 # know how it worked for any of those versions.
12926 lt_cv_sys_dlopen_deplibs
=unknown
12929 # The case above catches anything before 6.2, and it's known that
12930 # at 6.2 and later dlopen does load deplibs.
12931 lt_cv_sys_dlopen_deplibs
=yes
12934 lt_cv_sys_dlopen_deplibs
=yes
12937 lt_cv_sys_dlopen_deplibs
=yes
12940 # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12941 # it did *not* use an RPATH in a shared library to find objects the
12942 # library depends on, so we explicitly say 'no'.
12943 lt_cv_sys_dlopen_deplibs
=no
12945 osf5.0|osf5.0a|osf5.1
)
12946 # dlopen *does* load deplibs and with the right loader patch applied
12947 # it even uses RPATH in a shared library to search for shared objects
12948 # that the library depends on, but there's no easy way to know if that
12949 # patch is installed. Since this is the case, all we can really
12950 # say is unknown -- it depends on the patch being installed. If
12951 # it is, this changes to 'yes'. Without it, it would be 'no'.
12952 lt_cv_sys_dlopen_deplibs
=unknown
12955 # the two cases above should catch all versions of osf <= 5.1. Read
12956 # the comments above for what we know about them.
12957 # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12958 # is used to find them so we can finally say 'yes'.
12959 lt_cv_sys_dlopen_deplibs
=yes
12962 lt_cv_sys_dlopen_deplibs
=yes
12965 lt_cv_sys_dlopen_deplibs
=yes
12967 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12968 libltdl_cv_sys_dlopen_deplibs
=yes
12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
12974 $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12975 if test yes != "$lt_cv_sys_dlopen_deplibs"; then
12977 $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
12982 for ac_header
in argz.h
12984 ac_fn_c_check_header_compile
"$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
12986 if test "x$ac_cv_header_argz_h" = xyes
; then :
12987 cat >>confdefs.h
<<_ACEOF
12988 #define HAVE_ARGZ_H 1
12996 ac_fn_c_check_type
"$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
13000 if test "x$ac_cv_type_error_t" = xyes
; then :
13002 cat >>confdefs.h
<<_ACEOF
13003 #define HAVE_ERROR_T 1
13009 $as_echo "#define error_t int" >>confdefs.h
13012 $as_echo "#define __error_t_defined 1" >>confdefs.h
13018 for ac_func
in argz_add argz_append argz_count argz_create_sep argz_insert \
13019 argz_next argz_stringify
13021 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13022 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13023 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13024 cat >>confdefs.h
<<_ACEOF
13025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13029 LT_ARGZ_H
=lt__argz.h
;
13031 _LT_LIBOBJS
="$_LT_LIBOBJS lt__argz.$ac_objext"
13037 if test -z "$LT_ARGZ_H"; then :
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
13039 $as_echo_n "checking if argz actually works... " >&6; }
13040 if ${lt_cv_sys_argz_works+:} false
; then :
13041 $as_echo_n "(cached) " >&6
13043 case $host_os in #(
13045 lt_cv_sys_argz_works
=no
13046 if test no
!= "$cross_compiling"; then
13047 lt_cv_sys_argz_works
="guessing no"
13049 lt_sed_extract_leading_digits
='s/^\([0-9\.]*\).*/\1/'
13052 set x
`uname -r | sed -e "$lt_sed_extract_leading_digits"`
13057 if test 1 -lt "$lt_os_major" \
13058 ||
{ test 1 -eq "$lt_os_major" \
13059 && { test 5 -lt "$lt_os_minor" \
13060 ||
{ test 5 -eq "$lt_os_minor" \
13061 && test 24 -lt "$lt_os_micro"; }; }; }; then
13062 lt_cv_sys_argz_works
=yes
13066 *) lt_cv_sys_argz_works
=yes ;;
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
13070 $as_echo "$lt_cv_sys_argz_works" >&6; }
13071 if test yes = "$lt_cv_sys_argz_works"; then :
13073 $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
13076 LT_ARGZ_H
=lt__argz.h
13079 _LT_LIBOBJS
="$_LT_LIBOBJS lt__argz.$ac_objext"
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
13087 $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
13088 if ${libltdl_cv_preloaded_symbols+:} false
; then :
13089 $as_echo_n "(cached) " >&6
13091 if test -n "$lt_cv_sys_global_symbol_pipe"; then
13092 libltdl_cv_preloaded_symbols
=yes
13094 libltdl_cv_preloaded_symbols
=no
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
13099 $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
13100 if test yes = "$libltdl_cv_preloaded_symbols"; then
13102 $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
13121 # Check whether --with-included_ltdl was given.
13122 if test "${with_included_ltdl+set}" = set; then :
13123 withval
=$with_included_ltdl;
13127 if test yes != "$with_included_ltdl"; then
13128 # We are not being forced to use the included libltdl sources, so
13129 # decide whether there is a useful installed version we can use.
13130 ac_fn_c_check_header_compile
"$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
13133 if test "x$ac_cv_header_ltdl_h" = xyes
; then :
13134 ac_fn_c_check_decl
"$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
13137 if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes
; then :
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
13139 $as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
13140 if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false
; then :
13141 $as_echo_n "(cached) " >&6
13143 ac_check_lib_save_LIBS
=$LIBS
13144 LIBS
="-lltdl $LIBS"
13145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13154 char lt_dladvise_preload ();
13158 return lt_dladvise_preload ();
13163 if ac_fn_c_try_link
"$LINENO"; then :
13164 ac_cv_lib_ltdl_lt_dladvise_preload
=yes
13166 ac_cv_lib_ltdl_lt_dladvise_preload
=no
13168 rm -f core conftest.err conftest.
$ac_objext \
13169 conftest
$ac_exeext conftest.
$ac_ext
13170 LIBS
=$ac_check_lib_save_LIBS
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
13173 $as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
13174 if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes
; then :
13175 with_included_ltdl
=no
13177 with_included_ltdl
=yes
13181 with_included_ltdl
=yes
13185 with_included_ltdl
=yes
13198 # Check whether --with-ltdl_include was given.
13199 if test "${with_ltdl_include+set}" = set; then :
13200 withval
=$with_ltdl_include;
13204 if test -n "$with_ltdl_include"; then
13205 if test -f "$with_ltdl_include/ltdl.h"; then :
13207 as_fn_error $?
"invalid ltdl include directory: '$with_ltdl_include'" "$LINENO" 5
13210 with_ltdl_include
=no
13214 # Check whether --with-ltdl_lib was given.
13215 if test "${with_ltdl_lib+set}" = set; then :
13216 withval
=$with_ltdl_lib;
13220 if test -n "$with_ltdl_lib"; then
13221 if test -f "$with_ltdl_lib/libltdl.la"; then :
13223 as_fn_error $?
"invalid ltdl library directory: '$with_ltdl_lib'" "$LINENO" 5
13229 case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
13231 case $enable_ltdl_convenience in
13232 no
) as_fn_error $?
"this package needs a convenience libltdl" "$LINENO" 5 ;;
13233 "") enable_ltdl_convenience
=yes
13234 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
13236 LIBLTDL
='$(top_build_prefix)'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
13238 LTDLINCL
='-I$(top_srcdir)'"${lt_ltdl_dir+/$lt_ltdl_dir}"
13244 # For backwards non-gettext consistent compatibility...
13250 # If the included ltdl is not to be used, then use the
13251 # preinstalled libltdl we found.
13253 $as_echo "#define HAVE_LTDL 1" >>confdefs.h
13260 as_fn_error $?
"'--with-ltdl-include' and '--with-ltdl-lib' options must be used together" "$LINENO" 5
13262 *) with_included_ltdl
=no
13263 LIBLTDL
="-L$with_ltdl_lib -lltdl"
13265 LTDLINCL
=-I$with_ltdl_include
13270 # Report our decision...
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
13272 $as_echo_n "checking where to find libltdl headers... " >&6; }
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
13274 $as_echo "$LTDLINCL" >&6; }
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
13276 $as_echo_n "checking where to find libltdl library... " >&6; }
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
13278 $as_echo "$LIBLTDL" >&6; }
13282 # Check whether --enable-ltdl-install was given.
13283 if test "${enable_ltdl_install+set}" = set; then :
13284 enableval
=$enable_ltdl_install;
13288 case ,$enable_ltdl_install,$enable_ltdl_convenience in
13290 *) enable_ltdl_convenience
=yes ;;
13293 if test no
!= "${enable_ltdl_install-no}"; then
13295 INSTALL_LTDL_FALSE
='#'
13297 INSTALL_LTDL_TRUE
='#'
13298 INSTALL_LTDL_FALSE
=
13301 if test no
!= "${enable_ltdl_convenience-no}"; then
13302 CONVENIENCE_LTDL_TRUE
=
13303 CONVENIENCE_LTDL_FALSE
='#'
13305 CONVENIENCE_LTDL_TRUE
='#'
13306 CONVENIENCE_LTDL_FALSE
=
13311 subdirs
="$subdirs libltdl"
13316 # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
13317 # the user used. This is so that ltdl.h can pick up the parent projects
13318 # config.h file, The first file in AC_CONFIG_HEADERS must contain the
13319 # definitions required by ltdl.c.
13320 # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
13324 for ac_header
in unistd.h dl.h sys
/dl.h dld.h mach-o
/dyld.h dirent.h
13326 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13327 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
13329 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
13330 cat >>confdefs.h
<<_ACEOF
13331 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13339 for ac_func
in closedir opendir readdir
13341 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13342 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13343 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13344 cat >>confdefs.h
<<_ACEOF
13345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13351 _LT_LIBOBJS
="$_LT_LIBOBJS lt__dirent.$ac_objext"
13356 for ac_func
in strlcat strlcpy
13358 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13359 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13360 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13361 cat >>confdefs.h
<<_ACEOF
13362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13368 _LT_LIBOBJS
="$_LT_LIBOBJS lt__strl.$ac_objext"
13375 cat >>confdefs.h
<<_ACEOF
13376 #define LT_LIBEXT "$libext"
13381 eval "lt_libprefix=\"$libname_spec\""
13383 cat >>confdefs.h
<<_ACEOF
13384 #define LT_LIBPREFIX "$lt_libprefix"
13389 eval "LTDLOPEN=\"$libname_spec\""
13398 # Only expand once:
13403 for ac_prog
in perl5 perl
13405 # Extract the first word of "$ac_prog", so it can be a program name with args.
13406 set dummy
$ac_prog; ac_word
=$2
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13408 $as_echo_n "checking for $ac_word... " >&6; }
13409 if ${ac_cv_path_PERL+:} false
; then :
13410 $as_echo_n "(cached) " >&6
13414 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
13417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13418 for as_dir
in $LPATH
13421 test -z "$as_dir" && as_dir
=.
13422 for ac_exec_ext
in '' $ac_executable_extensions; do
13423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13424 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
13425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13435 PERL
=$ac_cv_path_PERL
13436 if test -n "$PERL"; then
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
13438 $as_echo "$PERL" >&6; }
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13441 $as_echo "no" >&6; }
13445 test -n "$PERL" && break
13447 test -n "$PERL" || PERL
="perl"
13449 for ac_prog
in courier-config
13451 # Extract the first word of "$ac_prog", so it can be a program name with args.
13452 set dummy
$ac_prog; ac_word
=$2
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13454 $as_echo_n "checking for $ac_word... " >&6; }
13455 if ${ac_cv_path_COURIERCONFIG+:} false
; then :
13456 $as_echo_n "(cached) " >&6
13458 case $COURIERCONFIG in
13460 ac_cv_path_COURIERCONFIG
="$COURIERCONFIG" # Let the user override the test with a path.
13463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13464 for as_dir
in $LPATH
13467 test -z "$as_dir" && as_dir
=.
13468 for ac_exec_ext
in '' $ac_executable_extensions; do
13469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13470 ac_cv_path_COURIERCONFIG
="$as_dir/$ac_word$ac_exec_ext"
13471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13481 COURIERCONFIG
=$ac_cv_path_COURIERCONFIG
13482 if test -n "$COURIERCONFIG"; then
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COURIERCONFIG" >&5
13484 $as_echo "$COURIERCONFIG" >&6; }
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13487 $as_echo "no" >&6; }
13491 test -n "$COURIERCONFIG" && break
13493 test -n "$COURIERCONFIG" || COURIERCONFIG
="courier-config"
13496 ac_fn_c_check_header_mongrel
"$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
13497 if test "x$ac_cv_header_ltdl_h" = xyes
; then :
13500 as_fn_error $?
"Unable to find ltdl.h. Please install Libtool's ltdl library" "$LINENO" 5
13505 if test "$PERL" = "perl"
13507 as_fn_error $?
"Perl is required" "$LINENO" 5
13510 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13511 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13512 eval "prefix=$prefix"
13513 eval "exec_prefix=$exec_prefix"
13514 eval "sysconfdir=$sysconfdir"
13515 eval "bindir=$bindir"
13516 eval "sbindir=$sbindir"
13517 eval "localstatedir=$localstatedir"
13518 eval "libexecdir=$libexecdir"
13519 eval "datarootdir=$datarootdir"
13520 eval "datedir=$datadir"
13522 for ac_prog
in expect
13524 # Extract the first word of "$ac_prog", so it can be a program name with args.
13525 set dummy
$ac_prog; ac_word
=$2
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13527 $as_echo_n "checking for $ac_word... " >&6; }
13528 if ${ac_cv_path_EXPECT+:} false
; then :
13529 $as_echo_n "(cached) " >&6
13533 ac_cv_path_EXPECT
="$EXPECT" # Let the user override the test with a path.
13536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13537 for as_dir
in $LPATH
13540 test -z "$as_dir" && as_dir
=.
13541 for ac_exec_ext
in '' $ac_executable_extensions; do
13542 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13543 ac_cv_path_EXPECT
="$as_dir/$ac_word$ac_exec_ext"
13544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13554 EXPECT
=$ac_cv_path_EXPECT
13555 if test -n "$EXPECT"; then
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
13557 $as_echo "$EXPECT" >&6; }
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13560 $as_echo "no" >&6; }
13564 test -n "$EXPECT" && break
13566 test -n "$EXPECT" || EXPECT
="expect"
13569 if test "$EXPECT" = "expect"
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -----------------------------------------------------" >&5
13572 $as_echo "$as_me: WARNING: -----------------------------------------------------" >&2;}
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: expect not found - will not be able to change passwds" >&5
13574 $as_echo "$as_me: WARNING: expect not found - will not be able to change passwds" >&2;}
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: in webmail" >&5
13576 $as_echo "$as_me: WARNING: in webmail" >&2;}
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -----------------------------------------------------" >&5
13578 $as_echo "$as_me: WARNING: -----------------------------------------------------" >&2;}
13582 cat >>confdefs.h
<<_ACEOF
13583 #define HAVE_EXPECT 1
13588 for ac_prog
in passwd
13590 # Extract the first word of "$ac_prog", so it can be a program name with args.
13591 set dummy
$ac_prog; ac_word
=$2
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13593 $as_echo_n "checking for $ac_word... " >&6; }
13594 if ${ac_cv_path_PASSWD+:} false
; then :
13595 $as_echo_n "(cached) " >&6
13599 ac_cv_path_PASSWD
="$PASSWD" # Let the user override the test with a path.
13602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13603 for as_dir
in $LPATH
13606 test -z "$as_dir" && as_dir
=.
13607 for ac_exec_ext
in '' $ac_executable_extensions; do
13608 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13609 ac_cv_path_PASSWD
="$as_dir/$ac_word$ac_exec_ext"
13610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13620 PASSWD
=$ac_cv_path_PASSWD
13621 if test -n "$PASSWD"; then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PASSWD" >&5
13623 $as_echo "$PASSWD" >&6; }
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13626 $as_echo "no" >&6; }
13630 test -n "$PASSWD" && break
13632 test -n "$PASSWD" || PASSWD
="passwd"
13636 if test "$GCC" = "yes"
13638 CFLAGS
="$CFLAGS -Wall"
13641 CFLAGS
="$CFLAGS -Ilibs -I${srcdir}/libs"
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lm is needed for floor" >&5
13644 $as_echo_n "checking whether -lm is needed for floor... " >&6; }
13645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13648 /* Override any GCC internal prototype to avoid an error.
13649 Use char because int might match the return type of a GCC
13650 builtin and then its argument prototype would still apply. */
13663 if ac_fn_c_try_link
"$LINENO"; then :
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13665 $as_echo "no" >&6; }
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13669 $as_echo "yes" >&6; }
13671 rm -f core conftest.err conftest.
$ac_objext \
13672 conftest
$ac_exeext conftest.
$ac_ext
13675 # Check whether --with-pkgconfdir was given.
13676 if test "${with_pkgconfdir+set}" = set; then :
13677 withval
=$with_pkgconfdir; pkgconfdir
="$withval"
13679 pkgconfdir
="$sysconfdir/authlib"
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
13688 $as_echo_n "checking for socket in -lsocket... " >&6; }
13689 if ${ac_cv_lib_socket_socket+:} false
; then :
13690 $as_echo_n "(cached) " >&6
13692 ac_check_lib_save_LIBS
=$LIBS
13693 LIBS
="-lsocket $LIBS"
13694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13695 /* end confdefs.h. */
13697 /* Override any GCC internal prototype to avoid an error.
13698 Use char because int might match the return type of a GCC
13699 builtin and then its argument prototype would still apply. */
13712 if ac_fn_c_try_link
"$LINENO"; then :
13713 ac_cv_lib_socket_socket
=yes
13715 ac_cv_lib_socket_socket
=no
13717 rm -f core conftest.err conftest.
$ac_objext \
13718 conftest
$ac_exeext conftest.
$ac_ext
13719 LIBS
=$ac_check_lib_save_LIBS
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
13722 $as_echo "$ac_cv_lib_socket_socket" >&6; }
13723 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
13729 if test $result = yes; then
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
13733 $as_echo_n "checking for socket in -lsocket... " >&6; }
13734 if ${ac_cv_lib_socket_socket+:} false
; then :
13735 $as_echo_n "(cached) " >&6
13737 ac_check_lib_save_LIBS
=$LIBS
13738 LIBS
="-lsocket -lnsl $LIBS"
13739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13757 if ac_fn_c_try_link
"$LINENO"; then :
13758 ac_cv_lib_socket_socket
=yes
13760 ac_cv_lib_socket_socket
=no
13762 rm -f core conftest.err conftest.
$ac_objext \
13763 conftest
$ac_exeext conftest.
$ac_ext
13764 LIBS
=$ac_check_lib_save_LIBS
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
13767 $as_echo "$ac_cv_lib_socket_socket" >&6; }
13768 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
13774 if test $result = yes; then
13775 NETLIBS
= "-lsocket -lnsl"
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13779 $as_echo_n "checking for connect in -lsocket... " >&6; }
13780 if ${ac_cv_lib_socket_connect+:} false
; then :
13781 $as_echo_n "(cached) " >&6
13783 ac_check_lib_save_LIBS
=$LIBS
13784 LIBS
="-lsocket $LIBS"
13785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13786 /* end confdefs.h. */
13788 /* Override any GCC internal prototype to avoid an error.
13789 Use char because int might match the return type of a GCC
13790 builtin and then its argument prototype would still apply. */
13803 if ac_fn_c_try_link
"$LINENO"; then :
13804 ac_cv_lib_socket_connect
=yes
13806 ac_cv_lib_socket_connect
=no
13808 rm -f core conftest.err conftest.
$ac_objext \
13809 conftest
$ac_exeext conftest.
$ac_ext
13810 LIBS
=$ac_check_lib_save_LIBS
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13813 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13814 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
13820 if test $result = yes; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13824 $as_echo_n "checking for connect in -lsocket... " >&6; }
13825 if ${ac_cv_lib_socket_connect+:} false
; then :
13826 $as_echo_n "(cached) " >&6
13828 ac_check_lib_save_LIBS
=$LIBS
13829 LIBS
="-lsocket -lnsl $LIBS"
13830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13833 /* Override any GCC internal prototype to avoid an error.
13834 Use char because int might match the return type of a GCC
13835 builtin and then its argument prototype would still apply. */
13848 if ac_fn_c_try_link
"$LINENO"; then :
13849 ac_cv_lib_socket_connect
=yes
13851 ac_cv_lib_socket_connect
=no
13853 rm -f core conftest.err conftest.
$ac_objext \
13854 conftest
$ac_exeext conftest.
$ac_ext
13855 LIBS
=$ac_check_lib_save_LIBS
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13858 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13859 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
13865 if test $result = yes; then
13866 NETLIBS
="-lsocket -lnsl"
13873 if test $USENSL != yes; then
13874 LIBS
="$LIBS $NETLIBS"
13875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13878 /* Override any GCC internal prototype to avoid an error.
13879 Use char because int might match the return type of a GCC
13880 builtin and then its argument prototype would still apply. */
13888 return inet_addr ();
13893 if ac_fn_c_try_link
"$LINENO"; then :
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
13898 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
13899 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
13900 $as_echo_n "(cached) " >&6
13902 ac_check_lib_save_LIBS
=$LIBS
13904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13907 /* Override any GCC internal prototype to avoid an error.
13908 Use char because int might match the return type of a GCC
13909 builtin and then its argument prototype would still apply. */
13917 return inet_addr ();
13922 if ac_fn_c_try_link
"$LINENO"; then :
13923 ac_cv_lib_nsl_inet_addr
=yes
13925 ac_cv_lib_nsl_inet_addr
=no
13927 rm -f core conftest.err conftest.
$ac_objext \
13928 conftest
$ac_exeext conftest.
$ac_ext
13929 LIBS
=$ac_check_lib_save_LIBS
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
13932 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
13933 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
13939 if test $result = yes; then
13940 NETLIBS
="$NETLIBS -lnsl"
13944 rm -f core conftest.err conftest.
$ac_objext \
13945 conftest
$ac_exeext conftest.
$ac_ext
13952 LIBS
="-lcourier-unicode"
13953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13956 #include <courier-unicode.h>
13962 unicode_default_chset();
13968 if ac_fn_c_try_link
"$LINENO"; then :
13971 as_fn_error $?
"The Courier Unicode Library 1.2 appears not to be installed. You may need to install a separate development subpackage, in addition to the main package" "$LINENO" 5
13973 rm -f core conftest.err conftest.
$ac_objext \
13974 conftest
$ac_exeext conftest.
$ac_ext
13982 # Check whether --with-db was given.
13983 if test "${with_db+set}" = set; then :
13984 withval
=$with_db; db
="$withval"
13998 as_fn_error $?
"Invalid --with-db option." "$LINENO" 5
14004 if test "$db" != "db"
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
14007 $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; }
14008 if ${ac_cv_lib_gdbm_gdbm_open+:} false
; then :
14009 $as_echo_n "(cached) " >&6
14011 ac_check_lib_save_LIBS
=$LIBS
14012 LIBS
="-lgdbm $LIBS"
14013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14016 /* Override any GCC internal prototype to avoid an error.
14017 Use char because int might match the return type of a GCC
14018 builtin and then its argument prototype would still apply. */
14026 return gdbm_open ();
14031 if ac_fn_c_try_link
"$LINENO"; then :
14032 ac_cv_lib_gdbm_gdbm_open
=yes
14034 ac_cv_lib_gdbm_gdbm_open
=no
14036 rm -f core conftest.err conftest.
$ac_objext \
14037 conftest
$ac_exeext conftest.
$ac_ext
14038 LIBS
=$ac_check_lib_save_LIBS
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
14041 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; }
14042 if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes
; then :
14043 LIBGDBM
=-lgdbm ; LIBS
="-lgdbm $LIBS"
14046 ac_fn_c_check_func
"$LINENO" "gdbm_open" "ac_cv_func_gdbm_open"
14047 if test "x$ac_cv_func_gdbm_open" = xyes
; then :
14055 if test "$db" != "gdbm"
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbopen in -ldb" >&5
14058 $as_echo_n "checking for dbopen in -ldb... " >&6; }
14059 if ${ac_cv_lib_db_dbopen+:} false
; then :
14060 $as_echo_n "(cached) " >&6
14062 ac_check_lib_save_LIBS
=$LIBS
14064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14065 /* end confdefs.h. */
14067 /* Override any GCC internal prototype to avoid an error.
14068 Use char because int might match the return type of a GCC
14069 builtin and then its argument prototype would still apply. */
14082 if ac_fn_c_try_link
"$LINENO"; then :
14083 ac_cv_lib_db_dbopen
=yes
14085 ac_cv_lib_db_dbopen
=no
14087 rm -f core conftest.err conftest.
$ac_objext \
14088 conftest
$ac_exeext conftest.
$ac_ext
14089 LIBS
=$ac_check_lib_save_LIBS
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_db_dbopen" >&5
14092 $as_echo "$ac_cv_lib_db_dbopen" >&6; }
14093 if test "x$ac_cv_lib_db_dbopen" = xyes
; then :
14094 LIBDB
=-ldb ; LIBS
="-ldb $LIBS"
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for db_open in -ldb" >&5
14097 $as_echo_n "checking for db_open in -ldb... " >&6; }
14098 if ${ac_cv_lib_db_db_open+:} false
; then :
14099 $as_echo_n "(cached) " >&6
14101 ac_check_lib_save_LIBS
=$LIBS
14103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14104 /* end confdefs.h. */
14106 /* Override any GCC internal prototype to avoid an error.
14107 Use char because int might match the return type of a GCC
14108 builtin and then its argument prototype would still apply. */
14121 if ac_fn_c_try_link
"$LINENO"; then :
14122 ac_cv_lib_db_db_open
=yes
14124 ac_cv_lib_db_db_open
=no
14126 rm -f core conftest.err conftest.
$ac_objext \
14127 conftest
$ac_exeext conftest.
$ac_ext
14128 LIBS
=$ac_check_lib_save_LIBS
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_db_db_open" >&5
14131 $as_echo "$ac_cv_lib_db_db_open" >&6; }
14132 if test "x$ac_cv_lib_db_db_open" = xyes
; then :
14133 LIBDB
=-ldb ; LIBS
="-ldb $LIBS"
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for db_env_create in -ldb" >&5
14136 $as_echo_n "checking for db_env_create in -ldb... " >&6; }
14137 if ${ac_cv_lib_db_db_env_create+:} false
; then :
14138 $as_echo_n "(cached) " >&6
14140 ac_check_lib_save_LIBS
=$LIBS
14142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14145 /* Override any GCC internal prototype to avoid an error.
14146 Use char because int might match the return type of a GCC
14147 builtin and then its argument prototype would still apply. */
14151 char db_env_create ();
14155 return db_env_create ();
14160 if ac_fn_c_try_link
"$LINENO"; then :
14161 ac_cv_lib_db_db_env_create
=yes
14163 ac_cv_lib_db_db_env_create
=no
14165 rm -f core conftest.err conftest.
$ac_objext \
14166 conftest
$ac_exeext conftest.
$ac_ext
14167 LIBS
=$ac_check_lib_save_LIBS
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_db_db_env_create" >&5
14170 $as_echo "$ac_cv_lib_db_db_env_create" >&6; }
14171 if test "x$ac_cv_lib_db_db_env_create" = xyes
; then :
14172 LIBDB
=-ldb; LIBS
="-ldb $LIBS"
14181 ac_fn_c_check_func
"$LINENO" "dbopen" "ac_cv_func_dbopen"
14182 if test "x$ac_cv_func_dbopen" = xyes
; then :
14186 ac_fn_c_check_func
"$LINENO" "db_open" "ac_cv_func_db_open"
14187 if test "x$ac_cv_func_db_open" = xyes
; then :
14191 ac_fn_c_check_func
"$LINENO" "db_env_create" "ac_cv_func_db_env_create"
14192 if test "x$ac_cv_func_db_env_create" = xyes
; then :
14200 if test "$HAVE_GDBM$HAVE_BDB" = ""
14202 as_fn_error $?
"Cannot find either the gdbm or the db library." "$LINENO" 5
14208 if test "$HAVE_GDBM" = "y"
14212 if test "$needs_withdb" = 1
14214 ac_configure_args
="$ac_configure_args --with-db=gdbm"
14216 dblibrary
=libs
/gdbmobj
/libgdbmobj.la
14220 if test "$needs_withdb" = 1
14222 ac_configure_args
="$ac_configure_args --with-db=db"
14224 dblibrary
=libs
/bdbobj
/libbdbobj.la
14231 # Check whether --with-authuserdb was given.
14232 if test "${with_authuserdb+set}" = set; then :
14233 withval
=$with_authuserdb; doauthuserdb
="$withval"
14236 if test -d ${srcdir}/userdb
14243 if test "$doauthuserdb" = "no"
14247 AUTHUSERDB
="authuserdb"
14248 LIBAUTHUSERDB
="libauthuserdb.la"
14253 # Check whether --with-makedatprog was given.
14254 if test "${with_makedatprog+set}" = set; then :
14255 withval
=$with_makedatprog; :
14258 ac_configure_args
="$ac_configure_args --with-makedatprog=$libexecdir/courier-authlib/makedatprog"
14263 cat >dbobj.config
<<EOF
14266 dblibrary=$dblibrary
14277 userdb
="$pkgconfdir/userdb"
14279 # Check whether --with-userdb was given.
14280 if test "${with_userdb+set}" = set; then :
14281 withval
=$with_userdb; userdb
="$withval"
14283 ac_configure_args
="$ac_configure_args '--with-userdb=$userdb'"
14288 cat >>confdefs.h
<<_ACEOF
14289 #define USERDB "$userdb"
14294 for ac_header
in stdio.h
14296 ac_fn_c_check_header_mongrel
"$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
14297 if test "x$ac_cv_header_stdio_h" = xyes
; then :
14298 cat >>confdefs.h
<<_ACEOF
14299 #define HAVE_STDIO_H 1
14311 # Check whether --with-authpam was given.
14312 if test "${with_authpam+set}" = set; then :
14313 withval
=$with_authpam; doauthpam
="$withval"
14317 for ac_header
in security
/pam_appl.h Pam
/pam_appl.h
14319 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14320 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14321 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14322 cat >>confdefs.h
<<_ACEOF
14323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14330 if test "$doauthpam" = "no"
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14337 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14338 if ${ac_cv_lib_dl_dlopen+:} false
; then :
14339 $as_echo_n "(cached) " >&6
14341 ac_check_lib_save_LIBS
=$LIBS
14343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14344 /* end confdefs.h. */
14346 /* Override any GCC internal prototype to avoid an error.
14347 Use char because int might match the return type of a GCC
14348 builtin and then its argument prototype would still apply. */
14361 if ac_fn_c_try_link
"$LINENO"; then :
14362 ac_cv_lib_dl_dlopen
=yes
14364 ac_cv_lib_dl_dlopen
=no
14366 rm -f core conftest.err conftest.
$ac_objext \
14367 conftest
$ac_exeext conftest.
$ac_ext
14368 LIBS
=$ac_check_lib_save_LIBS
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14371 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14372 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
14379 $as_echo_n "checking for pam_start in -lpam... " >&6; }
14380 if ${ac_cv_lib_pam_pam_start+:} false
; then :
14381 $as_echo_n "(cached) " >&6
14383 ac_check_lib_save_LIBS
=$LIBS
14384 LIBS
="-lpam $LIBDL $LIBS"
14385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14386 /* end confdefs.h. */
14388 /* Override any GCC internal prototype to avoid an error.
14389 Use char because int might match the return type of a GCC
14390 builtin and then its argument prototype would still apply. */
14398 return pam_start ();
14403 if ac_fn_c_try_link
"$LINENO"; then :
14404 ac_cv_lib_pam_pam_start
=yes
14406 ac_cv_lib_pam_pam_start
=no
14408 rm -f core conftest.err conftest.
$ac_objext \
14409 conftest
$ac_exeext conftest.
$ac_ext
14410 LIBS
=$ac_check_lib_save_LIBS
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
14413 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
14414 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
14416 LIBS
="-lpam $LIBDL $LIBS"
14417 for ac_func
in pam_setcred
14419 ac_fn_c_check_func
"$LINENO" "pam_setcred" "ac_cv_func_pam_setcred"
14420 if test "x$ac_cv_func_pam_setcred" = xyes
; then :
14421 cat >>confdefs.h
<<_ACEOF
14422 #define HAVE_PAM_SETCRED 1
14437 if test "$HAVE_PAM" = 1
14439 LIBAUTHPAM
=libauthpam.la
14443 # Check whether --with-authpam-libraries was given.
14444 if test "${with_authpam_libraries+set}" = set; then :
14445 withval
=$with_authpam_libraries; authpamcrypt
="$withval"
14449 AUTHPAMCRYPT
="$authpamcrypt"
14457 # Check whether --with-authldap was given.
14458 if test "${with_authldap+set}" = set; then :
14459 withval
=$with_authldap; doauthldap
="$withval"
14465 for ac_header
in lber.h
14467 ac_fn_c_check_header_mongrel
"$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
14468 if test "x$ac_cv_header_lber_h" = xyes
; then :
14469 cat >>confdefs.h
<<_ACEOF
14470 #define HAVE_LBER_H 1
14477 for ac_header
in ldap.h
14479 ac_fn_c_check_header_mongrel
"$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
14480 if test "x$ac_cv_header_ldap_h" = xyes
; then :
14481 cat >>confdefs.h
<<_ACEOF
14482 #define HAVE_LDAP_H 1
14489 for ac_header
in netinet
/in.h
14491 ac_fn_c_check_header_mongrel
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
14492 if test "x$ac_cv_header_netinet_in_h" = xyes
; then :
14493 cat >>confdefs.h
<<_ACEOF
14494 #define HAVE_NETINET_IN_H 1
14502 if test "$doauthldap" = "no"
14507 LIBS
="$NETLIBS $LIBS"
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lresolv is needed for res_query" >&5
14511 $as_echo_n "checking whether -lresolv is needed for res_query... " >&6; }
14512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14515 #include <sys/types.h>
14516 #if HAVE_NETINET_IN_H
14517 #include <netinet/in.h>
14519 #include <resolv.h>
14521 void (*func)()= (void (*)())res_query;
14531 if ac_fn_c_try_link
"$LINENO"; then :
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14533 $as_echo "no" >&6; }
14536 LIBS
="-lresolv $LIBS"
14538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14539 /* end confdefs.h. */
14541 #include <sys/types.h>
14542 #if HAVE_NETINET_IN_H
14543 #include <netinet/in.h>
14545 #include <resolv.h>
14547 void (*func)()= (void (*)())res_query;
14557 if ac_fn_c_try_link
"$LINENO"; then :
14559 LDAPLIBS
="-lresolv $LDAPLIBS"
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14562 $as_echo "yes" >&6; }
14565 as_fn_error $?
"Cannot find function res_query" "$LINENO" 5
14567 rm -f core conftest.err conftest.
$ac_objext \
14568 conftest
$ac_exeext conftest.
$ac_ext
14571 rm -f core conftest.err conftest.
$ac_objext \
14572 conftest
$ac_exeext conftest.
$ac_ext
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_scanf in -llber" >&5
14575 $as_echo_n "checking for ber_scanf in -llber... " >&6; }
14576 if ${ac_cv_lib_lber_ber_scanf+:} false
; then :
14577 $as_echo_n "(cached) " >&6
14579 ac_check_lib_save_LIBS
=$LIBS
14580 LIBS
="-llber $LIBS"
14581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14584 /* Override any GCC internal prototype to avoid an error.
14585 Use char because int might match the return type of a GCC
14586 builtin and then its argument prototype would still apply. */
14594 return ber_scanf ();
14599 if ac_fn_c_try_link
"$LINENO"; then :
14600 ac_cv_lib_lber_ber_scanf
=yes
14602 ac_cv_lib_lber_ber_scanf
=no
14604 rm -f core conftest.err conftest.
$ac_objext \
14605 conftest
$ac_exeext conftest.
$ac_ext
14606 LIBS
=$ac_check_lib_save_LIBS
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_scanf" >&5
14609 $as_echo "$ac_cv_lib_lber_ber_scanf" >&6; }
14610 if test "x$ac_cv_lib_lber_ber_scanf" = xyes
; then :
14611 LDAPLIBS
="-llber $LDAPLIBS" LIBS
="-llber $LIBS"
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_open in -lldap" >&5
14615 $as_echo_n "checking for ldap_open in -lldap... " >&6; }
14616 if ${ac_cv_lib_ldap_ldap_open+:} false
; then :
14617 $as_echo_n "(cached) " >&6
14619 ac_check_lib_save_LIBS
=$LIBS
14620 LIBS
="-lldap $LIBS"
14621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14622 /* end confdefs.h. */
14624 /* Override any GCC internal prototype to avoid an error.
14625 Use char because int might match the return type of a GCC
14626 builtin and then its argument prototype would still apply. */
14634 return ldap_open ();
14639 if ac_fn_c_try_link
"$LINENO"; then :
14640 ac_cv_lib_ldap_ldap_open
=yes
14642 ac_cv_lib_ldap_ldap_open
=no
14644 rm -f core conftest.err conftest.
$ac_objext \
14645 conftest
$ac_exeext conftest.
$ac_ext
14646 LIBS
=$ac_check_lib_save_LIBS
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_open" >&5
14649 $as_echo "$ac_cv_lib_ldap_ldap_open" >&6; }
14650 if test "x$ac_cv_lib_ldap_ldap_open" = xyes
; then :
14651 LDAPLIBS
="-lldap $LDAPLIBS" ; LIBS
="-lldap $LIBS"
14654 ac_fn_c_check_func
"$LINENO" "ldap_search_st" "ac_cv_func_ldap_search_st"
14655 if test "x$ac_cv_func_ldap_search_st" = xyes
; then :
14661 ac_fn_c_check_func
"$LINENO" "ldap_start_tls_s" "ac_cv_func_ldap_start_tls_s"
14662 if test "x$ac_cv_func_ldap_start_tls_s" = xyes
; then :
14668 ac_fn_c_check_func
"$LINENO" "ldap_result2error" "ac_cv_func_ldap_result2error"
14669 if test "x$ac_cv_func_ldap_result2error" = xyes
; then :
14670 HAVE_LDAP_RESULT2ERROR
=1
14672 HAVE_LDAP_RESULT2ERROR
=0
14675 ac_fn_c_check_func
"$LINENO" "ldap_parse_result" "ac_cv_func_ldap_parse_result"
14676 if test "x$ac_cv_func_ldap_parse_result" = xyes
; then :
14677 HAVE_LDAP_PARSE_RESULT
=1
14679 HAVE_LDAP_PARSE_RESULT
=0
14686 # Check whether --with-authldaprc was given.
14687 if test "${with_authldaprc+set}" = set; then :
14688 withval
=$with_authldaprc; authldaprc
="$withval"
14690 authldaprc
="$pkgconfdir/authldaprc"
14696 if test "$HAVE_LDAP" = 1
14698 LIBAUTHLDAP
="libauthldap.la"
14705 if test "$HAVE_LDAP" = 1; then
14707 HAVE_LDAP_FALSE
='#'
14714 cat >>confdefs.h
<<_ACEOF
14715 #define HAVE_LDAP_TLS $HAVE_LDAP_TLS
14719 cat >>confdefs.h
<<_ACEOF
14720 #define HAVE_LDAP_RESULT2ERROR $HAVE_LDAP_RESULT2ERROR
14724 cat >>confdefs.h
<<_ACEOF
14725 #define HAVE_LDAP_PARSE_RESULT $HAVE_LDAP_PARSE_RESULT
14732 # Check whether --with-authpwd was given.
14733 if test "${with_authpwd+set}" = set; then :
14734 withval
=$with_authpwd; doauthpwd
="$withval"
14737 test "$HAVE_PAM" = 1 && doauthpwd
="no"
14738 test "$HAVE_LDAP" = 1 && doauthpwd
="no"
14744 if test "$doauthpwd" = "no"
14748 for ac_func
in endpwent
14750 ac_fn_c_check_func
"$LINENO" "endpwent" "ac_cv_func_endpwent"
14751 if test "x$ac_cv_func_endpwent" = xyes
; then :
14752 cat >>confdefs.h
<<_ACEOF
14753 #define HAVE_ENDPWENT 1
14764 # Check whether --with-authshadow was given.
14765 if test "${with_authshadow+set}" = set; then :
14766 withval
=$with_authshadow; doauthshadow
="$withval"
14769 test "$HAVE_PAM" = 1 && doauthshadow
="no"
14770 test "$HAVE_LDAP" = 1 && doauthshadow
="no"
14774 for ac_header
in shadow.h
14776 ac_fn_c_check_header_mongrel
"$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
14777 if test "x$ac_cv_header_shadow_h" = xyes
; then :
14778 cat >>confdefs.h
<<_ACEOF
14779 #define HAVE_SHADOW_H 1
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getspent in -lshadow" >&5
14789 $as_echo_n "checking for getspent in -lshadow... " >&6; }
14790 if ${ac_cv_lib_shadow_getspent+:} false
; then :
14791 $as_echo_n "(cached) " >&6
14793 ac_check_lib_save_LIBS
=$LIBS
14794 LIBS
="-lshadow $LIBS"
14795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14798 /* Override any GCC internal prototype to avoid an error.
14799 Use char because int might match the return type of a GCC
14800 builtin and then its argument prototype would still apply. */
14808 return getspent ();
14813 if ac_fn_c_try_link
"$LINENO"; then :
14814 ac_cv_lib_shadow_getspent
=yes
14816 ac_cv_lib_shadow_getspent
=no
14818 rm -f core conftest.err conftest.
$ac_objext \
14819 conftest
$ac_exeext conftest.
$ac_ext
14820 LIBS
=$ac_check_lib_save_LIBS
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shadow_getspent" >&5
14823 $as_echo "$ac_cv_lib_shadow_getspent" >&6; }
14824 if test "x$ac_cv_lib_shadow_getspent" = xyes
; then :
14825 SHADOWLIBS
="-lshadow" ; LIBS
="-lshadow $LIBS"
14828 for ac_func
in endspent getspent
14830 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14831 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14832 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14833 cat >>confdefs.h
<<_ACEOF
14834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14842 if test "$doauthshadow" = "no"
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getspent in -lshadow" >&5
14849 $as_echo_n "checking for getspent in -lshadow... " >&6; }
14850 if ${ac_cv_lib_shadow_getspent+:} false
; then :
14851 $as_echo_n "(cached) " >&6
14853 ac_check_lib_save_LIBS
=$LIBS
14854 LIBS
="-lshadow $LIBS"
14855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 /* Override any GCC internal prototype to avoid an error.
14859 Use char because int might match the return type of a GCC
14860 builtin and then its argument prototype would still apply. */
14868 return getspent ();
14873 if ac_fn_c_try_link
"$LINENO"; then :
14874 ac_cv_lib_shadow_getspent
=yes
14876 ac_cv_lib_shadow_getspent
=no
14878 rm -f core conftest.err conftest.
$ac_objext \
14879 conftest
$ac_exeext conftest.
$ac_ext
14880 LIBS
=$ac_check_lib_save_LIBS
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shadow_getspent" >&5
14883 $as_echo "$ac_cv_lib_shadow_getspent" >&6; }
14884 if test "x$ac_cv_lib_shadow_getspent" = xyes
; then :
14885 cat >>confdefs.h
<<_ACEOF
14886 #define HAVE_LIBSHADOW 1
14889 LIBS
="-lshadow $LIBS"
14893 ac_fn_c_check_func
"$LINENO" "getspent" "ac_cv_func_getspent"
14894 if test "x$ac_cv_func_getspent" = xyes
; then :
14904 if test "$HAVE_SHADOW" = 1
14906 LIBAUTHSHADOW
="libauthshadow.la"
14912 if test "$HAVE_PWD" = 1
14914 LIBAUTHPWD
="libauthpwd.la"
14922 # Check whether --with-authpgsqlrc was given.
14923 if test "${with_authpgsqlrc+set}" = set; then :
14924 withval
=$with_authpgsqlrc; authpgsqlrc
="$withval"
14926 authpgsqlrc
="$pkgconfdir/authpgsqlrc"
14932 # Check whether --with-authpgsql was given.
14933 if test "${with_authpgsql+set}" = set; then :
14934 withval
=$with_authpgsql; doauthpgsql
="$withval"
14938 for ac_prog
in pg_config
14940 # Extract the first word of "$ac_prog", so it can be a program name with args.
14941 set dummy
$ac_prog; ac_word
=$2
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14943 $as_echo_n "checking for $ac_word... " >&6; }
14944 if ${ac_cv_path_PG_CONFIG+:} false
; then :
14945 $as_echo_n "(cached) " >&6
14949 ac_cv_path_PG_CONFIG
="$PG_CONFIG" # Let the user override the test with a path.
14952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14953 for as_dir
in $LPATH
14956 test -z "$as_dir" && as_dir
=.
14957 for ac_exec_ext
in '' $ac_executable_extensions; do
14958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14959 ac_cv_path_PG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
14960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14970 PG_CONFIG
=$ac_cv_path_PG_CONFIG
14971 if test -n "$PG_CONFIG"; then
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PG_CONFIG" >&5
14973 $as_echo "$PG_CONFIG" >&6; }
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14976 $as_echo "no" >&6; }
14980 test -n "$PG_CONFIG" && break
14982 test -n "$PG_CONFIG" || PG_CONFIG
="pg_config"
14987 # Check whether --with-pgsql-libs was given.
14988 if test "${with_pgsql_libs+set}" = set; then :
14989 withval
=$with_pgsql_libs; PGSQL_LIBS
="-L$withval $PGSQL_LIBS"
14991 if test -x $PG_CONFIG
14993 PGSQL_LIBS
="-L`$PG_CONFIG --libdir` $PGSQL_LIBS"
14999 # Check whether --with-pgsql-includes was given.
15000 if test "${with_pgsql_includes+set}" = set; then :
15001 withval
=$with_pgsql_includes; PGSQL_CFLAGS
="-I$withval"
15003 if test -x $PG_CONFIG
15005 PGSQL_CFLAGS
="-I`$PG_CONFIG --includedir`"
15011 if test "$doauthpgsql" = ""
15013 LIBS
="$PGSQL_LIBS $LIBS"
15014 ac_fn_c_check_func
"$LINENO" "PQsetdbLogin" "ac_cv_func_PQsetdbLogin"
15015 if test "x$ac_cv_func_PQsetdbLogin" = xyes
; then :
15023 if test "$doauthpgsql" != "yes"
15029 LIBS
="$PGSQL_LIBS $LIBS"
15030 ac_fn_c_check_func
"$LINENO" "PQsetdbLogin" "ac_cv_func_PQsetdbLogin"
15031 if test "x$ac_cv_func_PQsetdbLogin" = xyes
; then :
15032 AUTHPGSQL
="authpgsql"
15035 as_fn_error $?
"--with-authpgsql specified but no libpq.so" "$LINENO" 5
15040 CFLAGS
="$PGSQL_CFLAGS $CFLAGS"
15041 LIBAUTHPGSQL
="libauthpgsql.la"
15046 if test "$HAVE_AUTHPGSQL" = 1; then
15047 HAVE_AUTHPGSQL_TRUE
=
15048 HAVE_AUTHPGSQL_FALSE
='#'
15050 HAVE_AUTHPGSQL_TRUE
='#'
15051 HAVE_AUTHPGSQL_FALSE
=
15059 # Check whether --with-authmysqlrc was given.
15060 if test "${with_authmysqlrc+set}" = set; then :
15061 withval
=$with_authmysqlrc; authmysqlrc
="$withval"
15063 authmysqlrc
="$pkgconfdir/authmysqlrc"
15069 # Check whether --with-authmysql was given.
15070 if test "${with_authmysql+set}" = set; then :
15071 withval
=$with_authmysql; doauthmysql
="$withval"
15075 # Check whether --with-mysql-libs was given.
15076 if test "${with_mysql_libs+set}" = set; then :
15077 withval
=$with_mysql_libs; MYSQL_LIBS
="-L$withval -lmysqlclient"
15082 # Check whether --with-mysql-includes was given.
15083 if test "${with_mysql_includes+set}" = set; then :
15084 withval
=$with_mysql_includes; MYSQL_CFLAGS
="-I$withval"
15089 for ac_prog
in mysql_config
15091 # Extract the first word of "$ac_prog", so it can be a program name with args.
15092 set dummy
$ac_prog; ac_word
=$2
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15094 $as_echo_n "checking for $ac_word... " >&6; }
15095 if ${ac_cv_path_MYSQL_CONFIG+:} false
; then :
15096 $as_echo_n "(cached) " >&6
15098 case $MYSQL_CONFIG in
15100 ac_cv_path_MYSQL_CONFIG
="$MYSQL_CONFIG" # Let the user override the test with a path.
15103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15104 for as_dir
in $LPATH
15107 test -z "$as_dir" && as_dir
=.
15108 for ac_exec_ext
in '' $ac_executable_extensions; do
15109 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15110 ac_cv_path_MYSQL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15121 MYSQL_CONFIG
=$ac_cv_path_MYSQL_CONFIG
15122 if test -n "$MYSQL_CONFIG"; then
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQL_CONFIG" >&5
15124 $as_echo "$MYSQL_CONFIG" >&6; }
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15127 $as_echo "no" >&6; }
15131 test -n "$MYSQL_CONFIG" && break
15133 test -n "$MYSQL_CONFIG" || MYSQL_CONFIG
="mysql_config"
15136 if test -x "$MYSQL_CONFIG"
15138 MYSQL_CFLAGS
="`$MYSQL_CONFIG --cflags`"
15139 MYSQL_LIBS
="`$MYSQL_CONFIG --libs`"
15141 eval "MYSQL_CFLAGS=\"\`echo $MYSQL_CFLAGS\`\""
15142 eval "MYSQL_LIBS=\"\`echo $MYSQL_LIBS\`\""
15145 if test "$doauthmysql" = ""
15147 LIBS
="$MYSQL_LIBS $LIBS"
15148 ac_fn_c_check_func
"$LINENO" "mysql_connect" "ac_cv_func_mysql_connect"
15149 if test "x$ac_cv_func_mysql_connect" = xyes
; then :
15154 ac_fn_c_check_func
"$LINENO" "mysql_real_connect" "ac_cv_func_mysql_real_connect"
15155 if test "x$ac_cv_func_mysql_real_connect" = xyes
; then :
15163 if test "$doauthmysql" != "yes"
15169 LIBS
="$MYSQL_LIBS $LIBS"
15170 ac_fn_c_check_func
"$LINENO" "mysql_connect" "ac_cv_func_mysql_connect"
15171 if test "x$ac_cv_func_mysql_connect" = xyes
; then :
15172 LIBAUTHMYSQL
="libauthmysql.la"
15176 ac_fn_c_check_func
"$LINENO" "mysql_real_connect" "ac_cv_func_mysql_real_connect"
15177 if test "x$ac_cv_func_mysql_real_connect" = xyes
; then :
15178 LIBAUTHMYSQL
="libauthmysql.la"
15181 as_fn_error $?
"--with-authmysql specified but no mysqlclient.so" "$LINENO" 5
15191 CFLAGS
="$MYSQL_CFLAGS $CFLAGS"
15195 if test "$HAVE_AUTHMYSQL" = 1; then
15196 HAVE_AUTHMYSQL_TRUE
=
15197 HAVE_AUTHMYSQL_FALSE
='#'
15199 HAVE_AUTHMYSQL_TRUE
='#'
15200 HAVE_AUTHMYSQL_FALSE
=
15208 # Check whether --with-authsqliterc was given.
15209 if test "${with_authsqliterc+set}" = set; then :
15210 withval
=$with_authsqliterc; authsqliterc
="$withval"
15212 authsqliterc
="$pkgconfdir/authsqliterc"
15218 # Check whether --with-authsqlite was given.
15219 if test "${with_authsqlite+set}" = set; then :
15220 withval
=$with_authsqlite; doauthsqlite
="$withval"
15225 # Check whether --with-sqlite-libs was given.
15226 if test "${with_sqlite_libs+set}" = set; then :
15227 withval
=$with_sqlite_libs; SQLITE_LIBS
="-lsqlite3"
15232 # Check whether --with-sqlite-includes was given.
15233 if test "${with_sqlite_includes+set}" = set; then :
15234 withval
=$with_sqlite_includes; SQLITE_CFLAGS
="-I$withval"
15239 if test "$doauthsqlite" = ""
15241 SQLITE_CFLAGS
="`pkg-config --cflags sqlite3 2>/dev/null`"
15242 SQLITE_LIBS
="`pkg-config --libs sqlite3 2>/dev/null`"
15244 LIBS
="$SQLITE_LIBS $LIBS"
15245 ac_fn_c_check_func
"$LINENO" "sqlite3_version" "ac_cv_func_sqlite3_version"
15246 if test "x$ac_cv_func_sqlite3_version" = xyes
; then :
15254 if test "$doauthsqlite" != "yes"
15262 LIBS
="$SQLITE_LIBS $LIBS"
15263 ac_fn_c_check_func
"$LINENO" "sqlite3_version" "ac_cv_func_sqlite3_version"
15264 if test "x$ac_cv_func_sqlite3_version" = xyes
; then :
15267 as_fn_error $?
"Cannot link with $SQLITE_LIBS" "$LINENO" 5
15273 CFLAGS
="$SQLITE_CFLAGS $CFLAGS"
15274 LIBAUTHSQLITE
="libauthsqlite.la"
15279 if test "$HAVE_AUTHSQLITE" = 1; then
15280 HAVE_AUTHSQLITE_TRUE
=
15281 HAVE_AUTHSQLITE_FALSE
='#'
15283 HAVE_AUTHSQLITE_TRUE
='#'
15284 HAVE_AUTHSQLITE_FALSE
=
15293 # Check whether --with-authcustom was given.
15294 if test "${with_authcustom+set}" = set; then :
15295 withval
=$with_authcustom; doauthcustom
="$withval"
15303 if test "$doauthcustom" = "yes"
15305 LIBAUTHCUSTOM
="libauthcustom.la"
15308 if test "$AUTHCUSTOM" != ""; then
15310 HAVE_CUSTOM_FALSE
='#'
15312 HAVE_CUSTOM_TRUE
='#'
15324 # Check whether --with-pipeprog was given.
15325 if test "${with_pipeprog+set}" = set; then :
15326 withval
=$with_pipeprog; authProg
="$withval"
15328 authProg
="$pkgconfdir/authProg"
15334 # Check whether --with-authpipe was given.
15335 if test "${with_authpipe+set}" = set; then :
15336 withval
=$with_authpipe; doauthpipe
="$withval"
15344 if test "$doauthpipe" = "yes"
15346 LIBAUTHPIPE
="libauthpipe.la"
15349 if test "$AUTHPIPE" != ""; then
15351 HAVE_PIPE_FALSE
='#'
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15362 $as_echo_n "checking for ANSI C header files... " >&6; }
15363 if ${ac_cv_header_stdc+:} false
; then :
15364 $as_echo_n "(cached) " >&6
15366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15367 /* end confdefs.h. */
15368 #include <stdlib.h>
15369 #include <stdarg.h>
15370 #include <string.h>
15381 if ac_fn_c_try_compile
"$LINENO"; then :
15382 ac_cv_header_stdc
=yes
15384 ac_cv_header_stdc
=no
15386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15388 if test $ac_cv_header_stdc = yes; then
15389 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15391 /* end confdefs.h. */
15392 #include <string.h>
15395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15396 $EGREP "memchr" >/dev
/null
2>&1; then :
15399 ac_cv_header_stdc
=no
15405 if test $ac_cv_header_stdc = yes; then
15406 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15408 /* end confdefs.h. */
15409 #include <stdlib.h>
15412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15413 $EGREP "free" >/dev
/null
2>&1; then :
15416 ac_cv_header_stdc
=no
15422 if test $ac_cv_header_stdc = yes; then
15423 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15424 if test "$cross_compiling" = yes; then :
15427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15428 /* end confdefs.h. */
15430 #include <stdlib.h>
15431 #if ((' ' & 0x0FF) == 0x020)
15432 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15433 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15435 # define ISLOWER(c) \
15436 (('a' <= (c) && (c) <= 'i') \
15437 || ('j' <= (c) && (c) <= 'r') \
15438 || ('s' <= (c) && (c) <= 'z'))
15439 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15442 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15447 for (i = 0; i < 256; i++)
15448 if (XOR (islower (i), ISLOWER (i))
15449 || toupper (i) != TOUPPER (i))
15454 if ac_fn_c_try_run
"$LINENO"; then :
15457 ac_cv_header_stdc
=no
15459 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15460 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15466 $as_echo "$ac_cv_header_stdc" >&6; }
15467 if test $ac_cv_header_stdc = yes; then
15469 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
15474 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
15475 if ${ac_cv_header_sys_wait_h+:} false
; then :
15476 $as_echo_n "(cached) " >&6
15478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15479 /* end confdefs.h. */
15480 #include <sys/types.h>
15481 #include <sys/wait.h>
15482 #ifndef WEXITSTATUS
15483 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
15486 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
15494 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
15499 if ac_fn_c_try_compile
"$LINENO"; then :
15500 ac_cv_header_sys_wait_h
=yes
15502 ac_cv_header_sys_wait_h
=no
15504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
15507 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
15508 if test $ac_cv_header_sys_wait_h = yes; then
15510 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
15514 for ac_header
in sys
/stat.h sys
/time.h sys
/wait.h sys
/select.h unistd.h fcntl.h
crypt.h termios.h
15516 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15517 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15518 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15519 cat >>confdefs.h
<<_ACEOF
15520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15529 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15530 if ${ac_cv_c_const+:} false
; then :
15531 $as_echo_n "(cached) " >&6
15533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15534 /* end confdefs.h. */
15540 #ifndef __cplusplus
15541 /* Ultrix mips cc rejects this sort of thing. */
15542 typedef int charset[2];
15543 const charset cs = { 0, 0 };
15544 /* SunOS 4.1.1 cc rejects this. */
15545 char const *const *pcpcc;
15547 /* NEC SVR4.0.2 mips cc rejects this. */
15548 struct point {int x, y;};
15549 static struct point const zero = {0,0};
15550 /* AIX XL C 1.02.0.0 rejects this.
15551 It does not let you subtract one const X* pointer from another in
15552 an arm of an if-expression whose if-part is not a constant
15554 const char *g = "string";
15555 pcpcc = &g + (g ? g-g : 0);
15556 /* HPUX 7.0 cc rejects these. */
15558 ppc = (char**) pcpcc;
15559 pcpcc = (char const *const *) ppc;
15560 { /* SCO 3.2v4 cc rejects this sort of thing. */
15563 char const *s = 0 ? (char *) 0 : (char const *) 0;
15568 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15569 int x[] = {25, 17};
15570 const int *foo = &x[0];
15573 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15574 typedef const int *iptr;
15578 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
15579 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15580 struct s { int j; const int *ap[3]; } bx;
15581 struct s *b = &bx; b->j = 5;
15583 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15584 const int foo = 10;
15585 if (!foo) return 0;
15587 return !cs[0] && !zero.x;
15594 if ac_fn_c_try_compile
"$LINENO"; then :
15599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15602 $as_echo "$ac_cv_c_const" >&6; }
15603 if test $ac_cv_c_const = no
; then
15605 $as_echo "#define const /**/" >>confdefs.h
15609 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15610 if test "x$ac_cv_type_pid_t" = xyes
; then :
15614 cat >>confdefs.h
<<_ACEOF
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
15621 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
15622 if ${ac_cv_type_uid_t+:} false
; then :
15623 $as_echo_n "(cached) " >&6
15625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15627 #include <sys/types.h>
15630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15631 $EGREP "uid_t" >/dev
/null
2>&1; then :
15632 ac_cv_type_uid_t
=yes
15634 ac_cv_type_uid_t
=no
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
15640 $as_echo "$ac_cv_type_uid_t" >&6; }
15641 if test $ac_cv_type_uid_t = no
; then
15643 $as_echo "#define uid_t int" >>confdefs.h
15646 $as_echo "#define gid_t int" >>confdefs.h
15650 for ac_func
in setsid setlogin
15652 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15653 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
15654 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
15655 cat >>confdefs.h
<<_ACEOF
15656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
15663 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
15664 if ${ac_cv_lib_crypt_crypt+:} false
; then :
15665 $as_echo_n "(cached) " >&6
15667 ac_check_lib_save_LIBS
=$LIBS
15668 LIBS
="-lcrypt $LIBS"
15669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15670 /* end confdefs.h. */
15672 /* Override any GCC internal prototype to avoid an error.
15673 Use char because int might match the return type of a GCC
15674 builtin and then its argument prototype would still apply. */
15687 if ac_fn_c_try_link
"$LINENO"; then :
15688 ac_cv_lib_crypt_crypt
=yes
15690 ac_cv_lib_crypt_crypt
=no
15692 rm -f core conftest.err conftest.
$ac_objext \
15693 conftest
$ac_exeext conftest.
$ac_ext
15694 LIBS
=$ac_check_lib_save_LIBS
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
15697 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
15698 if test "x$ac_cv_lib_crypt_crypt" = xyes
; then :
15699 CRYPTLIBS
="-lcrypt"
15703 LIBS
="$CRYPTLIBS $LIBS"
15704 ac_fn_c_check_func
"$LINENO" "crypt" "ac_cv_func_crypt"
15705 if test "x$ac_cv_func_crypt" = xyes
; then :
15707 cat >>confdefs.h
<<_ACEOF
15708 #define HAVE_CRYPT 1
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt() prototype" >&5
15715 $as_echo_n "checking for crypt() prototype... " >&6; }
15716 if ${userdb_cv_NEED_CRYPT_PROTOTYPE+:} false
; then :
15717 $as_echo_n "(cached) " >&6
15719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15726 #include <unistd.h>
15728 int crypt(int, int);
15739 if ac_fn_c_try_compile
"$LINENO"; then :
15740 userdb_cv_NEED_CRYPT_PROTOTYPE
=1
15742 userdb_cv_NEED_CRYPT_PROTOTYPE
=0
15744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
15749 $as_echo "$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6; }
15752 cat >>confdefs.h
<<_ACEOF
15753 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
15762 # Check whether --with-authdaemonrc was given.
15763 if test "${with_authdaemonrc+set}" = set; then :
15764 withval
=$with_authdaemonrc; authdaemonrc
="$withval"
15766 authdaemonrc
="$pkgconfdir/authdaemonrc"
15772 # Check whether --with-authdaemonvar was given.
15773 if test "${with_authdaemonvar+set}" = set; then :
15774 withval
=$with_authdaemonvar; authdaemonvar
="$withval"
15776 authdaemonvar
="$localstatedir/spool/authdaemon"
15784 rm -f authdaemonrc.h authldaprc.h authmysqlrc.h authpgsqlrc.h vpopmail_config.h
15789 if test -x "$COURIERCONFIG"
15791 $COURIERCONFIG >conftest.out ||
exit 1
15792 sed -n '/^mail/p' <conftest.out
>conftest2.out ||
exit 1
15794 rm -f conftest.out conftest2.out
15796 cmailuser
="$mailuser"
15797 cmailgroup
="$mailgroup"
15798 result
=" (from courier-config)"
15801 if test -x "$bindir/courierauthconfig"
15803 $bindir/courierauthconfig
--configfiles >conftest.out ||
exit 1
15804 sed -n '/^mail/p' <conftest.out
>conftest2.out ||
exit 1
15806 rm -f conftest.out conftest2.out
15808 cmailuser
="$mailuser"
15809 cmailgroup
="$mailgroup"
15810 result
=" (from previous courierauthconfig)"
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mail userid" >&5
15821 $as_echo_n "checking for mail userid... " >&6; }
15824 # Check whether --with-mailuser was given.
15825 if test "${with_mailuser+set}" = set; then :
15826 withval
=$with_mailuser; mailuser
="$withval"
15828 if test "$cmailuser" = ""
15830 if test "$cross_compiling" = yes; then :
15831 as_fn_error $?
"Must use --with-mailuser when cross compiling." "$LINENO" 5
15833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15834 /* end confdefs.h. */
15838 #include <stdlib.h>
15840 static const char *ids $LB $RB={"courier","daemon","adm","bin","root", 0};
15848 for (i=0; ids $LB i $RB; i++)
15849 if (getpwnam(ids $LB i $RB)) break;
15851 f=fopen("conftest.out", "w");
15852 if (f && ids $LB i $RB)
15854 fprintf(f, "%s\n", ids $LB i $RB);
15864 if ac_fn_c_try_run
"$LINENO"; then :
15865 mailuser
=`cat conftest.out`
15867 as_fn_error use
--with-mailuser.
"Cannot determine mail user" "$LINENO" 5
15869 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15870 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15874 mailuser
="$cmailuser"
15876 ac_configure_args
="$ac_configure_args --with-mailuser=$mailuser"
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mailuser $result" >&5
15881 $as_echo "$mailuser $result" >&6; }
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mail group id" >&5
15884 $as_echo_n "checking for mail group id... " >&6; }
15887 # Check whether --with-mailgroup was given.
15888 if test "${with_mailgroup+set}" = set; then :
15889 withval
=$with_mailgroup; mailgroup
="$withval"
15891 if test "$cmailgroup" = ""
15893 if test "$cross_compiling" = yes; then :
15894 as_fn_error $?
"Must use --with-mailgroup when cross compiling." "$LINENO" 5
15896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15901 #include <stdlib.h>
15903 static const char *ids $LB $RB={"courier", "daemon","sys","adm", "root", 0};
15910 for (i=0; ids $LB i $RB; i++)
15911 if (getgrnam(ids $LB i $RB)) break;
15913 f=fopen("conftest.out", "w");
15914 if (f && ids $LB i $RB)
15916 fprintf(f, "%s\n", ids $LB i $RB);
15926 if ac_fn_c_try_run
"$LINENO"; then :
15927 mailgroup
=`cat conftest.out`
15929 as_fn_error use
--with-mailgroup.
"Cannot determine mail group" "$LINENO" 5
15931 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
15932 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
15936 mailgroup
="$cmailgroup"
15938 ac_configure_args
="$ac_configure_args --with-mailgroup=$mailgroup"
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mailgroup $result" >&5
15943 $as_echo "$mailgroup $result" >&6; }
15949 # Check whether --with-stdheaderdir was given.
15950 if test "${with_stdheaderdir+set}" = set; then :
15951 withval
=$with_stdheaderdir;
15952 if test "$withval" = "no"
15955 cat >>confdefs.h
<<_ACEOF
15956 #define HAVE_NOSTDHEADERDIR 1
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
15965 $as_echo_n "checking for socklen_t... " >&6; }
15966 if ${authlib_cv_hassocklen_t+:} false
; then :
15967 $as_echo_n "(cached) " >&6
15969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15970 /* end confdefs.h. */
15973 #include <sys/types.h>
15974 #include <sys/socket.h>
15979 if ac_fn_c_try_compile
"$LINENO"; then :
15980 authlib_cv_hassocklen_t
=yes
15982 authlib_cv_hassocklen_t
=no
15984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $authlib_cv_hassocklen_t" >&5
15988 $as_echo "$authlib_cv_hassocklen_t" >&6; }
15992 if test $authlib_cv_hassocklen_t = yes
15997 cat >>confdefs.h
<<_ACEOF
15998 #define socklen_t int
16004 # Check whether --with-repository was given.
16005 if test "${with_repository+set}" = set; then :
16006 withval
=$with_repository; REPOSITORY
="$withval"
16011 if test -d ${srcdir}/libs
/docbook
; then
16013 HAVE_SGML_FALSE
='#'
16020 # This gets built by the make rule, and is not in the git repo
16022 for f
in authdaemonrc.
in
16024 if test ! -f "$srcdir/$f"
16026 cp -p "$srcdir/$f.git" "$srcdir/$f"
16027 touch "$srcdir/$f.git"
16031 subdirs
="$subdirs libs/bdbobj libs/gdbmobj libs/md5 libs/sha1 libs/libhmac libs/numlib libs/makedat userdb libs/rfc822 libs/random128 libs/liblock liblog"
16034 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"
16036 cat >confcache
<<\_ACEOF
16037 # This file is a shell script that caches the results of configure
16038 # tests run on this system so they can be shared between configure
16039 # scripts and configure runs, see configure's option --config-cache.
16040 # It is not useful on other systems. If it contains results you don't
16041 # want to keep, you may remove or edit it.
16043 # config.status only pays attention to the cache file if you give it
16044 # the --recheck option to rerun configure.
16046 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16048 # following values.
16052 # The following way of writing the cache mishandles newlines in values,
16053 # but we know of no workaround that is simple, portable, and efficient.
16054 # So, we kill variables containing newlines.
16055 # Ultrix sh set writes to stderr and can't be redirected directly,
16056 # and sets the high bit in the cache file unless we assign to the vars.
16058 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16059 eval ac_val
=\$
$ac_var
16063 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16067 _ | IFS | as_nl
) ;; #(
16068 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16069 *) { eval $ac_var=; unset $ac_var;} ;;
16075 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16076 *${as_nl}ac_space
=\
*)
16077 # `set' does not quote correctly, so add quotes: double-quote
16078 # substitution turns \\\\ into \\, and sed turns \\ into \.
16081 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16084 # `set' quotes correctly as required by POSIX, so do not add quotes.
16085 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16096 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16098 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16099 if test -w "$cache_file"; then
16100 if test "x$cache_file" != "x/dev/null"; then
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16102 $as_echo "$as_me: updating cache $cache_file" >&6;}
16103 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16104 cat confcache
>"$cache_file"
16106 case $cache_file in #(
16108 mv -f confcache
"$cache_file"$$
&&
16109 mv -f "$cache_file"$$
"$cache_file" ;; #(
16111 mv -f confcache
"$cache_file" ;;
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16117 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16122 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16123 # Let make expand exec_prefix.
16124 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16126 DEFS
=-DHAVE_CONFIG_H
16131 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16132 # 1. Remove the extension, and $U if already installed.
16133 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16134 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16135 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16136 # will be set to the directory where LIBOBJS objects are built.
16137 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16138 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16140 LIBOBJS
=$ac_libobjs
16142 LTLIBOBJS
=$ac_ltlibobjs
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16146 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16147 if test -n "$am_sleep_pid"; then
16148 # Hide warnings about reused PIDs.
16149 wait $am_sleep_pid 2>/dev
/null
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16152 $as_echo "done" >&6; }
16153 if test -n "$EXEEXT"; then
16155 am__EXEEXT_FALSE
='#'
16157 am__EXEEXT_TRUE
='#'
16161 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16162 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16165 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16166 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16169 if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
16170 as_fn_error $?
"conditional \"INSTALL_LTDL\" was never defined.
16171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16173 if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
16174 as_fn_error $?
"conditional \"CONVENIENCE_LTDL\" was never defined.
16175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16177 LT_CONFIG_H
=courier_auth_config.h
16181 if test -n "$_LT_LIBOBJS"; then
16182 # Remove the extension.
16183 _lt_sed_drop_objext
='s/\.o$//;s/\.obj$//'
16184 for i
in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
16185 _ltdl_libobjs
="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
16186 _ltdl_ltlibobjs
="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
16189 ltdl_LIBOBJS
=$_ltdl_libobjs
16191 ltdl_LTLIBOBJS
=$_ltdl_ltlibobjs
16194 if test -z "${HAVE_LDAP_TRUE}" && test -z "${HAVE_LDAP_FALSE}"; then
16195 as_fn_error $?
"conditional \"HAVE_LDAP\" was never defined.
16196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16198 if test -z "${HAVE_AUTHPGSQL_TRUE}" && test -z "${HAVE_AUTHPGSQL_FALSE}"; then
16199 as_fn_error $?
"conditional \"HAVE_AUTHPGSQL\" was never defined.
16200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16202 if test -z "${HAVE_AUTHMYSQL_TRUE}" && test -z "${HAVE_AUTHMYSQL_FALSE}"; then
16203 as_fn_error $?
"conditional \"HAVE_AUTHMYSQL\" was never defined.
16204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16206 if test -z "${HAVE_AUTHSQLITE_TRUE}" && test -z "${HAVE_AUTHSQLITE_FALSE}"; then
16207 as_fn_error $?
"conditional \"HAVE_AUTHSQLITE\" was never defined.
16208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16210 if test -z "${HAVE_CUSTOM_TRUE}" && test -z "${HAVE_CUSTOM_FALSE}"; then
16211 as_fn_error $?
"conditional \"HAVE_CUSTOM\" was never defined.
16212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16214 if test -z "${HAVE_PIPE_TRUE}" && test -z "${HAVE_PIPE_FALSE}"; then
16215 as_fn_error $?
"conditional \"HAVE_PIPE\" was never defined.
16216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16218 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
16219 as_fn_error $?
"conditional \"HAVE_SGML\" was never defined.
16220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16223 : "${CONFIG_STATUS=./config.status}"
16225 ac_clean_files_save
=$ac_clean_files
16226 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16228 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16230 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16232 # Generated by $as_me.
16233 # Run this file to recreate the current configuration.
16234 # Compiler output produced by configure, useful for debugging
16235 # configure, is in config.log if it exists.
16238 ac_cs_recheck=false
16241 SHELL=\${CONFIG_SHELL-$SHELL}
16244 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16245 ## -------------------- ##
16246 ## M4sh Initialization. ##
16247 ## -------------------- ##
16249 # Be more Bourne compatible
16250 DUALCASE
=1; export DUALCASE
# for MKS sh
16251 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16254 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16255 # is contrary to our usage. Disable this feature.
16256 alias -g '${1+"$@"}'='"$@"'
16257 setopt NO_GLOB_SUBST
16259 case `(set -o) 2>/dev/null` in #(
16271 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16272 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16273 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16274 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16275 # Prefer a ksh shell builtin over an external printf program on Solaris,
16276 # but without wasting forks for bash or zsh.
16277 if test -z "$BASH_VERSION$ZSH_VERSION" \
16278 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16279 as_echo='print
-r --'
16280 as_echo_n='print
-rn --'
16281 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16282 as_echo='printf %s
\n'
16283 as_echo_n='printf %s
'
16285 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16286 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16287 as_echo_n='/usr
/ucb
/echo -n'
16289 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16290 as_echo_n_body='eval
16294 expr "X$arg" : "X\\(.*\\)$as_nl";
16295 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16297 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16299 export as_echo_n_body
16300 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16302 export as_echo_body
16303 as_echo='sh
-c $as_echo_body as_echo
'
16306 # The user is always right.
16307 if test "${PATH_SEPARATOR+set}" != set; then
16309 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16310 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16317 # We need space, tab and new line, in precisely that order. Quoting is
16318 # there to prevent editors from complaining about space-tab.
16319 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16320 # splitting by setting IFS to empty value.)
16323 # Find who we are. Look in the path if we contain no directory separator.
16326 *[\\/]* ) as_myself=$0 ;;
16327 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16328 for as_dir in $PATH
16331 test -z "$as_dir" && as_dir=.
16332 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16338 # We did not find ourselves, most probably we were run as `sh COMMAND'
16339 # in which case we are not to be found in the path.
16340 if test "x$as_myself" = x
; then
16343 if test ! -f "$as_myself"; then
16344 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16348 # Unset variables that we do not need and which cause bugs (e.g. in
16349 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16350 # suppresses any "Segmentation fault" message there. '((' could
16351 # trigger a bug in pdksh 5.2.14.
16352 for as_var
in BASH_ENV ENV MAIL MAILPATH
16353 do eval test x\
${$as_var+set} = xset \
16354 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16367 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16371 # ----------------------------------------
16372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16374 # script with STATUS, using 1 if that was 0.
16377 as_status
=$1; test $as_status -eq 0 && as_status
=1
16379 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16382 $as_echo "$as_me: error: $2" >&2
16383 as_fn_exit
$as_status
16387 # as_fn_set_status STATUS
16388 # -----------------------
16389 # Set $? to STATUS, without forking.
16390 as_fn_set_status
()
16393 } # as_fn_set_status
16395 # as_fn_exit STATUS
16396 # -----------------
16397 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16401 as_fn_set_status
$1
16407 # Portably unset VAR.
16410 { eval $1=; unset $1;}
16412 as_unset
=as_fn_unset
16413 # as_fn_append VAR VALUE
16414 # ----------------------
16415 # Append the text in VALUE to the end of the definition contained in VAR. Take
16416 # advantage of any shell optimizations that allow amortized linear growth over
16417 # repeated appends, instead of the typical quadratic growth present in naive
16419 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16420 eval 'as_fn_append ()
16431 # as_fn_arith ARG...
16432 # ------------------
16433 # Perform arithmetic evaluation on the ARGs, and store the result in the
16434 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16435 # must be portable across $(()) and expr.
16436 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16437 eval 'as_fn_arith ()
16444 as_val
=`expr "$@" || test $? -eq 1`
16449 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16450 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16456 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16457 as_basename
=basename
16462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16468 as_me
=`$as_basename -- "$0" ||
16469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16470 X"$0" : 'X\(//\)$' \| \
16471 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16473 sed '/^.*\/\([^/][^/]*\)\/*$/{
16487 # Avoid depending upon Character Ranges.
16488 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16489 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16490 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16491 as_cr_digits
='0123456789'
16492 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16494 ECHO_C
= ECHO_N
= ECHO_T
=
16495 case `echo -n x` in #(((((
16497 case `echo 'xy\c'` in
16498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16500 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16507 rm -f conf$$ conf$$.exe conf$$.
file
16508 if test -d conf$$.dir
; then
16509 rm -f conf$$.dir
/conf$$.
file
16512 mkdir conf$$.dir
2>/dev
/null
16514 if (echo >conf$$.
file) 2>/dev
/null
; then
16515 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16517 # ... but there are two gotchas:
16518 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16519 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16520 # In both cases, we have to default to `cp -pR'.
16521 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16523 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16531 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16532 rmdir conf$$.dir
2>/dev
/null
16537 # Create "$as_dir" as a directory, including parents if necessary.
16542 -*) as_dir
=.
/$as_dir;;
16544 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16548 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16549 *) as_qdir
=$as_dir;;
16551 as_dirs
="'$as_qdir' $as_dirs"
16552 as_dir
=`$as_dirname -- "$as_dir" ||
16553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16554 X"$as_dir" : 'X\(//\)[^/]' \| \
16555 X"$as_dir" : 'X\(//\)$' \| \
16556 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16557 $as_echo X"$as_dir" |
16558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16562 /^X\(\/\/\)[^/].*/{
16575 test -d "$as_dir" && break
16577 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16578 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16582 if mkdir
-p .
2>/dev
/null
; then
16583 as_mkdir_p
='mkdir -p "$as_dir"'
16585 test -d .
/-p && rmdir .
/-p
16590 # as_fn_executable_p FILE
16591 # -----------------------
16592 # Test if FILE is an executable regular file.
16593 as_fn_executable_p
()
16595 test -f "$1" && test -x "$1"
16596 } # as_fn_executable_p
16597 as_test_x
='test -x'
16598 as_executable_p
=as_fn_executable_p
16600 # Sed expression to map a string onto a valid CPP name.
16601 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16603 # Sed expression to map a string onto a valid variable name.
16604 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16608 ## ----------------------------------- ##
16609 ## Main body of $CONFIG_STATUS script. ##
16610 ## ----------------------------------- ##
16612 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16615 # Save the log message, to keep $0 and so on meaningful, and to
16616 # report actual input values of CONFIG_FILES etc. instead of their
16617 # values after options handling.
16619 This file was extended by courier-authlib $as_me 0.66.4, which was
16620 generated by GNU Autoconf 2.69. Invocation command line was
16622 CONFIG_FILES = $CONFIG_FILES
16623 CONFIG_HEADERS = $CONFIG_HEADERS
16624 CONFIG_LINKS = $CONFIG_LINKS
16625 CONFIG_COMMANDS = $CONFIG_COMMANDS
16628 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16633 case $ac_config_files in *"
16634 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16637 case $ac_config_headers in *"
16638 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16643 # Files that config.status was made for.
16644 config_files="$ac_config_files"
16645 config_headers="$ac_config_headers"
16646 config_commands="$ac_config_commands"
16650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16652 \`$as_me' instantiates files and other configuration actions
16653 from templates according to the current configuration. Unless the files
16654 and actions are specified as TAGs, all are instantiated by default.
16656 Usage: $0 [OPTION]... [TAG]...
16658 -h, --help print this help, then exit
16659 -V, --version print version number and configuration settings, then exit
16660 --config print configuration, then exit
16661 -q, --quiet, --silent
16662 do not print progress messages
16663 -d, --debug don't remove temporary files
16664 --recheck update $as_me by reconfiguring in the same conditions
16665 --file=FILE[:TEMPLATE]
16666 instantiate the configuration file FILE
16667 --header=FILE[:TEMPLATE]
16668 instantiate the configuration header FILE
16670 Configuration files:
16673 Configuration headers:
16676 Configuration commands:
16679 Report bugs to <courier-users@lists.sourceforge.net>."
16682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16683 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16685 courier-authlib config.status 0.66.4
16686 configured by $0, generated by GNU Autoconf 2.69,
16687 with options \\"\$ac_cs_config\\"
16689 Copyright (C) 2012 Free Software Foundation, Inc.
16690 This config.status script is free software; the Free Software Foundation
16691 gives unlimited permission to copy, distribute and modify it."
16698 test -n "\$AWK" || AWK=awk
16701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16702 # The default lists apply if the user does not specify any file.
16708 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16709 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16713 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16725 # Handling of the options.
16726 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16728 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16729 $as_echo "$ac_cs_version"; exit ;;
16730 --config |
--confi |
--conf |
--con |
--co |
--c )
16731 $as_echo "$ac_cs_config"; exit ;;
16732 --debug |
--debu |
--deb |
--de |
--d |
-d )
16734 --file |
--fil |
--fi |
--f )
16737 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16738 '') as_fn_error $?
"missing file argument" ;;
16740 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16741 ac_need_defaults
=false
;;
16742 --header |
--heade |
--head |
--hea )
16745 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16747 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16748 ac_need_defaults
=false
;;
16750 # Conflict between --help and --header
16751 as_fn_error $?
"ambiguous option: \`$1'
16752 Try \`$0 --help' for more information.";;
16753 --help |
--hel |
-h )
16754 $as_echo "$ac_cs_usage"; exit ;;
16755 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16756 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16759 # This is an error.
16760 -*) as_fn_error $?
"unrecognized option: \`$1'
16761 Try \`$0 --help' for more information." ;;
16763 *) as_fn_append ac_config_targets
" $1"
16764 ac_need_defaults
=false
;;
16770 ac_configure_extra_args
=
16772 if $ac_cs_silent; then
16774 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16779 if \$ac_cs_recheck; then
16780 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16782 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16783 CONFIG_SHELL='$SHELL'
16784 export CONFIG_SHELL
16789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16793 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16794 ## Running $as_me. ##
16800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16804 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16807 # The HP-UX ksh and POSIX shell print the target directory to stdout
16808 # if CDPATH is set.
16809 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16811 sed_quote_subst='$sed_quote_subst'
16812 double_quote_subst='$double_quote_subst'
16813 delay_variable_subst='$delay_variable_subst'
16814 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16815 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16816 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16817 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16818 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16819 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16820 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16821 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16822 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16823 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16824 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16825 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16826 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16827 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16828 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16829 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16830 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16831 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16832 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16833 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16834 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16835 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16836 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16837 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16838 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16839 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16840 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16841 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16842 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16843 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16844 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16845 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16846 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16847 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16848 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16849 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16850 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16851 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16852 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16853 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16854 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16855 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16856 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16857 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16858 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16859 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16860 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16861 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16862 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16863 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16864 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16865 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16866 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16867 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16868 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16869 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16870 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16871 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16872 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"`'
16873 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16874 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16875 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16876 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16877 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16878 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16879 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16880 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16881 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16882 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16883 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16884 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16885 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16886 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16887 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16888 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16889 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16890 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16891 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16892 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16893 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16894 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16895 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16896 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16897 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16898 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16899 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16900 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16901 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16902 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16903 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16904 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16905 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16906 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16907 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16908 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16909 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16910 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16911 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16912 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16913 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16914 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16915 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16916 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16917 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16918 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16919 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16920 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16921 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16922 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16923 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16924 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16925 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16926 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16927 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16928 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16929 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16930 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16931 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16932 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16933 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16934 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16935 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16936 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16937 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16938 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16939 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16940 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16941 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16942 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16943 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16944 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16945 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16946 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16947 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16948 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16951 LTCFLAGS='$LTCFLAGS'
16952 compiler='$compiler_DEFAULT'
16954 # A function that is used when there is no print builtin or printf.
16955 func_fallback_echo ()
16957 eval 'cat <<_LTECHO_EOF
16962 # Quote evaled strings.
16977 deplibs_check_method \
16982 sharedlib_from_linklib_cmd \
16985 archiver_list_spec \
16991 lt_cv_sys_global_symbol_pipe \
16992 lt_cv_sys_global_symbol_to_cdecl \
16993 lt_cv_sys_global_symbol_to_import \
16994 lt_cv_sys_global_symbol_to_c_name_address \
16995 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16996 lt_cv_nm_interface \
16997 nm_file_list_spec \
16998 lt_cv_truncate_bin \
16999 lt_prog_compiler_no_builtin_flag \
17000 lt_prog_compiler_pic \
17001 lt_prog_compiler_wl \
17002 lt_prog_compiler_static \
17003 lt_cv_prog_compiler_c_o \
17012 export_dynamic_flag_spec \
17013 whole_archive_flag_spec \
17014 compiler_needs_object \
17016 allow_undefined_flag \
17017 no_undefined_flag \
17018 hardcode_libdir_flag_spec \
17019 hardcode_libdir_separator \
17023 variables_saved_for_relink \
17025 library_names_spec \
17027 install_override_mode \
17031 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17032 *[\\\\\\\`\\"\\\$]*)
17033 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17036 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17041 # Double-quote double-evaled strings.
17042 for var in reload_cmds \
17043 old_postinstall_cmds \
17044 old_postuninstall_cmds \
17046 extract_expsyms_cmds \
17047 old_archive_from_new_cmds \
17048 old_archive_from_expsyms_cmds \
17050 archive_expsym_cmds \
17052 module_expsym_cmds \
17053 export_symbols_cmds \
17057 postuninstall_cmds \
17059 sys_lib_search_path_spec \
17060 configure_time_dlsearch_path \
17061 configure_time_lt_sys_library_path; do
17062 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17063 *[\\\\\\\`\\"\\\$]*)
17064 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17067 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17072 ac_aux_dir='$ac_aux_dir'
17074 # See if we are running on zsh, and set the options that allow our
17075 # commands through without removal of \ escapes INIT.
17076 if test -n "\${ZSH_VERSION+set}"; then
17077 setopt NO_GLOB_SUBST
17091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17093 # Handling of arguments.
17094 for ac_config_target
in $ac_config_targets
17096 case $ac_config_target in
17097 "courier_auth_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS courier_auth_config.h" ;;
17098 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17099 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
17100 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17101 "authdaemond") CONFIG_FILES
="$CONFIG_FILES authdaemond" ;;
17102 "authdaemonrc") CONFIG_FILES
="$CONFIG_FILES authdaemonrc" ;;
17103 "authsystem.passwd") CONFIG_FILES
="$CONFIG_FILES authsystem.passwd" ;;
17104 "README.authdebug.html") CONFIG_FILES
="$CONFIG_FILES README.authdebug.html" ;;
17105 "dbobj.config") CONFIG_FILES
="$CONFIG_FILES dbobj.config" ;;
17106 "dbobj.h") CONFIG_FILES
="$CONFIG_FILES dbobj.h" ;;
17107 "authmigrate") CONFIG_FILES
="$CONFIG_FILES authmigrate" ;;
17108 "courier-authlib.spec") CONFIG_FILES
="$CONFIG_FILES courier-authlib.spec" ;;
17109 "courier-authlib.lpspec") CONFIG_FILES
="$CONFIG_FILES courier-authlib.lpspec" ;;
17110 "courier-authlib.sysvinit") CONFIG_FILES
="$CONFIG_FILES courier-authlib.sysvinit" ;;
17111 "courier-authlib.service") CONFIG_FILES
="$CONFIG_FILES courier-authlib.service" ;;
17112 "userdb-test-cram-md5.pl") CONFIG_FILES
="$CONFIG_FILES userdb-test-cram-md5.pl" ;;
17114 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17119 # If the user did not use the arguments to specify the items to instantiate,
17120 # then the envvar interface is used. Set only those that are not.
17121 # We use the long form for the default assignment because of an extremely
17122 # bizarre bug on SunOS 4.1.3.
17123 if $ac_need_defaults; then
17124 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17125 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17126 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17129 # Have a temporary directory for convenience. Make it in the build tree
17130 # simply because there is no reason against having it here, and in addition,
17131 # creating and moving files from /tmp can sometimes cause problems.
17132 # Hook for its removal unless debugging.
17133 # Note that there is a small window in which the directory will not be cleaned:
17134 # after its creation but before its name has been assigned to `$tmp'.
17138 trap 'exit_status=$?
17139 : "${ac_tmp:=$tmp}"
17140 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17142 trap 'as_fn_exit 1' 1 2 13 15
17144 # Create a (secure) tmp directory for tmp files.
17147 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17151 tmp
=.
/conf$$
-$RANDOM
17152 (umask 077 && mkdir
"$tmp")
17153 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17156 # Set up the scripts for CONFIG_FILES section.
17157 # No need to generate them if there are no CONFIG_FILES.
17158 # This happens for instance with `./config.status config.h'.
17159 if test -n "$CONFIG_FILES"; then
17162 ac_cr
=`echo X | tr X '\015'`
17163 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17164 # But we know of no other shell where ac_cr would be empty at this
17165 # point, so we can use a bashism as a fallback.
17166 if test "x$ac_cr" = x
; then
17167 eval ac_cr
=\$
\'\\r
\'
17169 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17170 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17173 ac_cs_awk_cr
=$ac_cr
17176 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17181 echo "cat >conf$$subs.awk <<_ACEOF" &&
17182 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17184 } >conf$$subs.sh ||
17185 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17186 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17188 for ac_last_try in false false false false false :; do
17189 . ./conf$$subs.sh ||
17190 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17192 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17193 if test $ac_delim_n = $ac_delim_num; then
17195 elif $ac_last_try; then
17196 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17198 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17201 rm -f conf$$subs.sh
17203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17204 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17208 s/^/S["/; s
/!.
*/"]=/
17218 s/\(.\{148\}\)..*/\1/
17220 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17225 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17232 s/\(.\{148\}\)..*/\1/
17234 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17238 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17243 ' <conf$$subs.awk | sed '
17248 ' >>$CONFIG_STATUS || ac_write_fail=1
17249 rm -f conf$$subs.awk
17250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17252 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17253 for (key in S) S_is_set[key] = 1
17259 nfields = split(line, field, "@
")
17261 len = length(field[1])
17262 for (i = 2; i < nfields; i++) {
17264 keylen = length(key)
17265 if (S_is_set[key]) {
17267 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17268 len += length(value) + length(field[++i])
17279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17280 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17281 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17284 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17285 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17288 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17289 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17290 # trailing colons and then remove the whole line if VPATH becomes empty
17291 # (actually we leave an empty line to preserve line numbers).
17292 if test "x
$srcdir" = x.; then
17293 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17312 fi # test -n "$CONFIG_FILES"
17314 # Set up the scripts for CONFIG_HEADERS section.
17315 # No need to generate them if there are no CONFIG_HEADERS.
17316 # This happens for instance with `./config.status Makefile'.
17317 if test -n "$CONFIG_HEADERS"; then
17318 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17322 # Transform confdefs.h into an awk script `defines.awk', embedded as
17323 # here-document in config.status, that substitutes the proper values into
17324 # config.h.in to produce config.h.
17326 # Create a delimiter string that does not exist in confdefs.h, to ease
17327 # handling of long lines.
17329 for ac_last_try in false false :; do
17330 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17331 if test -z "$ac_tt"; then
17333 elif $ac_last_try; then
17334 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17336 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17340 # For the awk script, D is an array of macro values keyed by name,
17341 # likewise P contains macro parameters if any. Preserve backslash
17342 # newline sequences.
17344 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17346 s/.\{148\}/&'"$ac_delim"'/g
17349 s/^[ ]*#[ ]*define[ ][ ]*/ /
17356 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17358 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17362 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17363 D["\
1"]=" \
3\\\\\\n
"\\/p
17365 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17370 s/.\{148\}/&'"$ac_delim"'/g
17375 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17378 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17380 ' <confdefs.h | sed '
17381 s/'"$ac_delim"'/"\\\
17382 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17385 for (key in D) D_is_set[key] = 1
17388 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17390 split(line, arg, " ")
17391 if (arg[1] == "#") {
17395 defundef
= substr
(arg
[1], 2)
17398 split(mac1
, mac2
, "(") #)
17400 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17401 if (D_is_set
[macro
]) {
17402 # Preserve the white space surrounding the "#".
17403 print prefix
"define", macro P
[macro
] D
[macro
]
17406 # Replace #undef with comments. This is necessary, for example,
17407 # in the case of _POSIX_SOURCE, which is predefined and required
17408 # on some systems where configure will not decide to define it.
17409 if (defundef
== "undef") {
17410 print
"/*", prefix defundef
, macro
, "*/"
17418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17419 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17420 fi # test -n "$CONFIG_HEADERS"
17423 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17428 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17430 case $ac_mode$ac_tag in
17432 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17433 :[FH
]-) ac_tag
=-:-;;
17434 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17451 -) ac_f
="$ac_tmp/stdin";;
17452 *) # Look for the file first in the build tree, then in the source tree
17453 # (if the path is not absolute). The absolute path cannot be DOS-style,
17454 # because $ac_f cannot contain `:'.
17458 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17460 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17462 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17463 as_fn_append ac_file_inputs
" '$ac_f'"
17466 # Let's still pretend it is `configure' which instantiates (i.e., don't
17467 # use $as_me), people would be surprised to read:
17468 # /* config.h. Generated by config.status. */
17469 configure_input
='Generated from '`
17470 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17472 if test x
"$ac_file" != x-
; then
17473 configure_input
="$ac_file. $configure_input"
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17475 $as_echo "$as_me: creating $ac_file" >&6;}
17477 # Neutralize special characters interpreted by sed in replacement strings.
17478 case $configure_input in #(
17479 *\
&* |
*\|
* |
*\\* )
17480 ac_sed_conf_input
=`$as_echo "$configure_input" |
17481 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17482 *) ac_sed_conf_input
=$configure_input;;
17486 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17487 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17492 ac_dir
=`$as_dirname -- "$ac_file" ||
17493 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17494 X"$ac_file" : 'X\(//\)[^/]' \| \
17495 X"$ac_file" : 'X\(//\)$' \| \
17496 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17497 $as_echo X"$ac_file" |
17498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17502 /^X\(\/\/\)[^/].*/{
17515 as_dir
="$ac_dir"; as_fn_mkdir_p
17519 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17521 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17522 # A ".." for each directory in $ac_dir_suffix.
17523 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17524 case $ac_top_builddir_sub in
17525 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17526 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17529 ac_abs_top_builddir
=$ac_pwd
17530 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17531 # for backward compatibility:
17532 ac_top_builddir
=$ac_top_build_prefix
17535 .
) # We are building in place.
17537 ac_top_srcdir
=$ac_top_builddir_sub
17538 ac_abs_top_srcdir
=$ac_pwd ;;
17539 [\\/]* | ?
:[\\/]* ) # Absolute name.
17540 ac_srcdir
=$srcdir$ac_dir_suffix;
17541 ac_top_srcdir
=$srcdir
17542 ac_abs_top_srcdir
=$srcdir ;;
17543 *) # Relative name.
17544 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17545 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17546 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17548 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17558 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17559 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17561 ac_MKDIR_P
=$MKDIR_P
17563 [\\/$
]* | ?
:[\\/]* ) ;;
17564 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17569 # If the template does not know about datarootdir, expand it.
17570 # FIXME: This hack should be removed a few years after 2.60.
17571 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17582 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17583 *datarootdir
*) ac_datarootdir_seen
=yes;;
17584 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17586 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17589 ac_datarootdir_hack='
17590 s&@datadir@&$datadir&g
17591 s&@docdir@&$docdir&g
17592 s&@infodir@&$infodir&g
17593 s&@localedir@&$localedir&g
17594 s&@mandir@&$mandir&g
17595 s&\\\${datarootdir}&$datarootdir&g' ;;
17599 # Neutralize VPATH when `$srcdir' = `.'.
17600 # Shell code in configure.ac might set extrasub.
17601 # FIXME: do we really want to maintain this feature?
17602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17603 ac_sed_extra="$ac_vpsub
17606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17608 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17609 s|@configure_input@|
$ac_sed_conf_input|
;t t
17610 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17611 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17612 s
&@srcdir@
&$ac_srcdir&;t t
17613 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17614 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17615 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17616 s
&@builddir@
&$ac_builddir&;t t
17617 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17618 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17619 s
&@INSTALL@
&$ac_INSTALL&;t t
17620 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17621 $ac_datarootdir_hack
17623 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17624 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17626 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17627 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17628 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17629 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17631 which seems to be undefined. Please make sure it is defined" >&5
17632 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17633 which seems to be undefined. Please make sure it is defined" >&2;}
17635 rm -f "$ac_tmp/stdin"
17637 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17638 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17640 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17646 if test x"$ac_file" != x-; then
17648 $as_echo "/* $configure_input */" \
17649 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17650 } >"$ac_tmp/config.h" \
17651 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17652 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17654 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17657 mv "$ac_tmp/config.h" "$ac_file" \
17658 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17661 $as_echo "/* $configure_input */" \
17662 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17663 || as_fn_error $? "could not create -" "$LINENO" 5
17665 # Compute "$ac_file"'s index
in $config_headers.
17668 for _am_header
in $config_headers :; do
17669 case $_am_header in
17670 $_am_arg |
$_am_arg:* )
17673 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17676 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17677 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17678 X"$_am_arg" : 'X\(//\)[^/]' \| \
17679 X"$_am_arg" : 'X\(//\)$' \| \
17680 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17681 $as_echo X"$_am_arg" |
17682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17686 /^X\(\/\/\)[^/].*/{
17698 s/.*/./; q'`/stamp-h
$_am_stamp_count
17701 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17702 $as_echo "$as_me: executing $ac_file commands" >&6;}
17707 case $ac_file$ac_mode in
17708 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17709 # Older Autoconf quotes --file arguments for eval, but not when files
17710 # are listed without --file. Let's play safe and only enable the eval
17711 # if we detect the quoting.
17712 case $CONFIG_FILES in
17713 *\'*) eval set x
"$CONFIG_FILES" ;;
17714 *) set x
$CONFIG_FILES ;;
17719 # Strip MF so we end up with the name of the file.
17720 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17721 # Check whether this is an Automake generated Makefile or not.
17722 # We used to match only the files named 'Makefile.in', but
17723 # some people rename them; so instead we look at the file content.
17724 # Grep'ing the first line is not enough: some people post-process
17725 # each Makefile.in and add a new line on top of each file to say so.
17726 # Grep'ing the whole file is not good either: AIX grep has a line
17727 # limit of 2048, but all sed's we know have understand at least 4000.
17728 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17729 dirpart
=`$as_dirname -- "$mf" ||
17730 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17731 X"$mf" : 'X\(//\)[^/]' \| \
17732 X"$mf" : 'X\(//\)$' \| \
17733 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17739 /^X\(\/\/\)[^/].*/{
17755 # Extract the definition of DEPDIR, am__include, and am__quote
17756 # from the Makefile without running 'make'.
17757 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17758 test -z "$DEPDIR" && continue
17759 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17760 test -z "$am__include" && continue
17761 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17762 # Find all dependency output files, they are included files with
17763 # $(DEPDIR) in their names. We invoke sed twice because it is the
17764 # simplest approach to changing $(DEPDIR) to its actual value in the
17766 for file in `sed -n "
17767 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17768 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17769 # Make sure the directory exists.
17770 test -f "$dirpart/$file" && continue
17771 fdir
=`$as_dirname -- "$file" ||
17772 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17773 X"$file" : 'X\(//\)[^/]' \| \
17774 X"$file" : 'X\(//\)$' \| \
17775 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17776 $as_echo X"$file" |
17777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17781 /^X\(\/\/\)[^/].*/{
17794 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17795 # echo "creating $dirpart/$file"
17796 echo '# dummy' > "$dirpart/$file"
17803 # See if we are running on zsh, and set the options that allow our
17804 # commands through without removal of \ escapes.
17805 if test -n "${ZSH_VERSION+set}"; then
17806 setopt NO_GLOB_SUBST
17810 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17813 cat <<_LT_EOF >> "$cfgfile"
17815 # Generated automatically by $as_me ($PACKAGE) $VERSION
17816 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17817 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17819 # Provide generalized library-building support services.
17820 # Written by Gordon Matzigkeit, 1996
17822 # Copyright (C) 2014 Free Software Foundation, Inc.
17823 # This is free software; see the source for copying conditions. There is NO
17824 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17826 # GNU Libtool is free software; you can redistribute it and/or modify
17827 # it under the terms of the GNU General Public License as published by
17828 # the Free Software Foundation; either version 2 of of the License, or
17829 # (at your option) any later version.
17831 # As a special exception to the GNU General Public License, if you
17832 # distribute this file as part of a program or library that is built
17833 # using GNU Libtool, you may include this file under the same
17834 # distribution terms that you use for the rest of that program.
17836 # GNU Libtool is distributed in the hope that it will be useful, but
17837 # WITHOUT ANY WARRANTY; without even the implied warranty of
17838 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17839 # GNU General Public License for more details.
17841 # You should have received a copy of the GNU General Public License
17842 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17845 # The names of the tagged configurations supported by this script.
17848 # Configured defaults for sys_lib_dlsearch_path munging.
17849 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17851 # ### BEGIN LIBTOOL CONFIG
17853 # Which release of libtool.m4 was used?
17854 macro_version=$macro_version
17855 macro_revision=$macro_revision
17857 # Whether or not to build shared libraries.
17858 build_libtool_libs=$enable_shared
17860 # Whether or not to build static libraries.
17861 build_old_libs=$enable_static
17863 # What type of objects to build.
17866 # Whether or not to optimize for fast installation.
17867 fast_install=$enable_fast_install
17869 # Shared archive member basename,for filename based shared library versioning on AIX.
17870 shared_archive_member_spec=$shared_archive_member_spec
17872 # Shell to use when invoking shell scripts.
17875 # An echo program that protects backslashes.
17878 # The PATH separator for the build system.
17879 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17882 host_alias=$host_alias
17886 # The build system.
17887 build_alias=$build_alias
17891 # A sed program that does not truncate output.
17894 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17895 Xsed="\$SED -e 1s/^X//"
17897 # A grep program that handles long lines.
17903 # A literal string matcher.
17906 # A BSD- or MS-compatible name lister.
17909 # Whether we need soft or hard links.
17912 # What is the maximum length of a command?
17913 max_cmd_len=$max_cmd_len
17915 # Object file suffix (normally "o").
17918 # Executable file suffix (normally "").
17921 # whether the shell understands "unset".
17924 # turn spaces into newlines.
17927 # turn newlines into spaces.
17930 # convert \$build file names to \$host format.
17931 to_host_file_cmd=$lt_cv_to_host_file_cmd
17933 # convert \$build files to toolchain format.
17934 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17936 # An object symbol dumper.
17937 OBJDUMP=$lt_OBJDUMP
17939 # Method to check whether dependent libraries are shared objects.
17940 deplibs_check_method=$lt_deplibs_check_method
17942 # Command to use when deplibs_check_method = "file_magic".
17943 file_magic_cmd=$lt_file_magic_cmd
17945 # How to find potential files when deplibs_check_method = "file_magic".
17946 file_magic_glob=$lt_file_magic_glob
17948 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17949 want_nocaseglob=$lt_want_nocaseglob
17951 # DLL creation program.
17952 DLLTOOL=$lt_DLLTOOL
17954 # Command to associate shared and link libraries.
17955 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17960 # Flags to create an archive.
17961 AR_FLAGS=$lt_AR_FLAGS
17963 # How to feed a file listing to the archiver.
17964 archiver_list_spec=$lt_archiver_list_spec
17966 # A symbol stripping program.
17969 # Commands used to install an old-style archive.
17971 old_postinstall_cmds=$lt_old_postinstall_cmds
17972 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17974 # Whether to use a lock for old archive extraction.
17975 lock_old_archive_extraction=$lock_old_archive_extraction
17980 # LTCC compiler flags.
17981 LTCFLAGS=$lt_CFLAGS
17983 # Take the output of nm and produce a listing of raw symbols and C names.
17984 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17986 # Transform the output of nm in a proper C declaration.
17987 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17989 # Transform the output of nm into a list of symbols to manually relocate.
17990 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17992 # Transform the output of nm in a C name address pair.
17993 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17995 # Transform the output of nm in a C name address pair when lib prefix is needed.
17996 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17998 # The name lister interface.
17999 nm_interface=$lt_lt_cv_nm_interface
18001 # Specify filename containing input files for \$NM.
18002 nm_file_list_spec=$lt_nm_file_list_spec
18004 # The root where to search for dependent libraries,and where our libraries should be installed.
18005 lt_sysroot=$lt_sysroot
18007 # Command to truncate a binary pipe.
18008 lt_truncate_bin=$lt_lt_cv_truncate_bin
18010 # The name of the directory that contains temporary libtool files.
18013 # Used to examine libraries when file_magic_cmd begins with "file".
18014 MAGIC_CMD=$MAGIC_CMD
18016 # Must we lock files when doing compilation?
18017 need_locks=$lt_need_locks
18020 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18022 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18023 DSYMUTIL=$lt_DSYMUTIL
18025 # Tool to change global to local symbols on Mac OS X.
18028 # Tool to manipulate fat objects and archives on Mac OS X.
18031 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18034 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18035 OTOOL64=$lt_OTOOL64
18037 # Old archive suffix (normally "a").
18040 # Shared library suffix (normally ".so").
18041 shrext_cmds=$lt_shrext_cmds
18043 # The commands to extract the exported symbol list from a shared archive.
18044 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18046 # Variables whose values should be saved in libtool wrapper scripts and
18047 # restored at link time.
18048 variables_saved_for_relink=$lt_variables_saved_for_relink
18050 # Do we need the "lib" prefix for modules?
18051 need_lib_prefix=$need_lib_prefix
18053 # Do we need a version for libraries?
18054 need_version=$need_version
18056 # Library versioning type.
18057 version_type=$version_type
18059 # Shared library runtime path variable.
18060 runpath_var=$runpath_var
18062 # Shared library path variable.
18063 shlibpath_var=$shlibpath_var
18065 # Is shlibpath searched before the hard-coded library search path?
18066 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18068 # Format of library name prefix.
18069 libname_spec=$lt_libname_spec
18071 # List of archive names. First name is the real one, the rest are links.
18072 # The last name is the one that the linker finds with -lNAME
18073 library_names_spec=$lt_library_names_spec
18075 # The coded name of the library, if different from the real name.
18076 soname_spec=$lt_soname_spec
18078 # Permission mode override for installation of shared libraries.
18079 install_override_mode=$lt_install_override_mode
18081 # Command to use after installation of a shared archive.
18082 postinstall_cmds=$lt_postinstall_cmds
18084 # Command to use after uninstallation of a shared archive.
18085 postuninstall_cmds=$lt_postuninstall_cmds
18087 # Commands used to finish a libtool library installation in a directory.
18088 finish_cmds=$lt_finish_cmds
18090 # As "finish_cmds", except a single script fragment to be evaled but
18092 finish_eval=$lt_finish_eval
18094 # Whether we should hardcode library paths into libraries.
18095 hardcode_into_libs=$hardcode_into_libs
18097 # Compile-time system search path for libraries.
18098 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18100 # Detected run-time system search path for libraries.
18101 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18103 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18104 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18106 # Whether dlopen is supported.
18107 dlopen_support=$enable_dlopen
18109 # Whether dlopen of programs is supported.
18110 dlopen_self=$enable_dlopen_self
18112 # Whether dlopen of statically linked programs is supported.
18113 dlopen_self_static=$enable_dlopen_self_static
18115 # Commands to strip libraries.
18116 old_striplib=$lt_old_striplib
18117 striplib=$lt_striplib
18120 # The linker used to build libraries.
18123 # How to create reloadable object files.
18124 reload_flag=$lt_reload_flag
18125 reload_cmds=$lt_reload_cmds
18127 # Commands used to build an old-style archive.
18128 old_archive_cmds=$lt_old_archive_cmds
18130 # A language specific compiler.
18133 # Is the compiler the GNU compiler?
18136 # Compiler flag to turn off builtin functions.
18137 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18139 # Additional compiler flags for building library objects.
18140 pic_flag=$lt_lt_prog_compiler_pic
18142 # How to pass a linker flag through the compiler.
18143 wl=$lt_lt_prog_compiler_wl
18145 # Compiler flag to prevent dynamic linking.
18146 link_static_flag=$lt_lt_prog_compiler_static
18148 # Does compiler simultaneously support -c and -o options?
18149 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18151 # Whether or not to add -lc for building shared libraries.
18152 build_libtool_need_lc=$archive_cmds_need_lc
18154 # Whether or not to disallow shared libs when runtime libs are static.
18155 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18157 # Compiler flag to allow reflexive dlopens.
18158 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18160 # Compiler flag to generate shared objects directly from archives.
18161 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18163 # Whether the compiler copes with passing no objects directly.
18164 compiler_needs_object=$lt_compiler_needs_object
18166 # Create an old-style archive from a shared archive.
18167 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18169 # Create a temporary old-style archive to link instead of a shared archive.
18170 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18172 # Commands used to build a shared archive.
18173 archive_cmds=$lt_archive_cmds
18174 archive_expsym_cmds=$lt_archive_expsym_cmds
18176 # Commands used to build a loadable module if different from building
18177 # a shared archive.
18178 module_cmds=$lt_module_cmds
18179 module_expsym_cmds=$lt_module_expsym_cmds
18181 # Whether we are building with GNU ld or not.
18182 with_gnu_ld=$lt_with_gnu_ld
18184 # Flag that allows shared libraries with undefined symbols to be built.
18185 allow_undefined_flag=$lt_allow_undefined_flag
18187 # Flag that enforces no undefined symbols.
18188 no_undefined_flag=$lt_no_undefined_flag
18190 # Flag to hardcode \$libdir into a binary during linking.
18191 # This must work even if \$libdir does not exist
18192 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18194 # Whether we need a single "-rpath" flag with a separated argument.
18195 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18197 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18198 # DIR into the resulting binary.
18199 hardcode_direct=$hardcode_direct
18201 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18202 # DIR into the resulting binary and the resulting library dependency is
18203 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18204 # library is relocated.
18205 hardcode_direct_absolute=$hardcode_direct_absolute
18207 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18208 # into the resulting binary.
18209 hardcode_minus_L=$hardcode_minus_L
18211 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18212 # into the resulting binary.
18213 hardcode_shlibpath_var=$hardcode_shlibpath_var
18215 # Set to "yes" if building a shared library automatically hardcodes DIR
18216 # into the library and all subsequent libraries and executables linked
18218 hardcode_automatic=$hardcode_automatic
18220 # Set to yes if linker adds runtime paths of dependent libraries
18221 # to runtime path list.
18222 inherit_rpath=$inherit_rpath
18224 # Whether libtool must link a program against all its dependency libraries.
18225 link_all_deplibs=$link_all_deplibs
18227 # Set to "yes" if exported symbols are required.
18228 always_export_symbols=$always_export_symbols
18230 # The commands to list exported symbols.
18231 export_symbols_cmds=$lt_export_symbols_cmds
18233 # Symbols that should not be listed in the preloaded symbols.
18234 exclude_expsyms=$lt_exclude_expsyms
18236 # Symbols that must always be exported.
18237 include_expsyms=$lt_include_expsyms
18239 # Commands necessary for linking programs (against libraries) with templates.
18240 prelink_cmds=$lt_prelink_cmds
18242 # Commands necessary for finishing linking programs.
18243 postlink_cmds=$lt_postlink_cmds
18245 # Specify filename containing input files.
18246 file_list_spec=$lt_file_list_spec
18248 # How to hardcode a shared library path into an executable.
18249 hardcode_action=$hardcode_action
18251 # ### END LIBTOOL CONFIG
18255 cat <<'_LT_EOF' >> "$cfgfile"
18257 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18259 # func_munge_path_list VARIABLE PATH
18260 # -----------------------------------
18261 # VARIABLE is name of variable containing _space_ separated list of
18262 # directories to be munged by the contents of PATH, which is string
18265 # string "DIR[ DIR]" will be prepended to VARIABLE
18267 # string "DIR[ DIR]" will be appended to VARIABLE
18268 # "DIRP[:DIRP]::[DIRA:]DIRA"
18269 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18270 # "DIRA[ DIRA]" will be appended to VARIABLE
18272 # VARIABLE will be replaced by "DIR[ DIR]"
18273 func_munge_path_list ()
18279 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18282 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18285 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18286 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18289 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18295 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
18296 func_cc_basename ()
18298 for cc_temp in $*""; do
18300 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18301 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18306 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18310 # ### END FUNCTIONS SHARED WITH CONFIGURE
18316 cat <<\_LT_EOF
>> "$cfgfile"
18317 # AIX sometimes has problems with the GCC collect2 program. For some
18318 # reason, if we set the COLLECT_NAMES environment variable, the problems
18319 # vanish in a puff of smoke.
18320 if test set != "${COLLECT_NAMES+set}"; then
18322 export COLLECT_NAMES
18329 ltmain
=$ac_aux_dir/ltmain.sh
18332 # We use sed instead of cat because bash on DJGPP gets confused if
18333 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18334 # text mode, it properly converts lines to CR/LF. This bash problem
18335 # is reportedly fixed, but why not run on old versions too?
18336 sed '$q' "$ltmain" >> "$cfgfile" \
18337 ||
(rm -f "$cfgfile"; exit 1)
18339 mv -f "$cfgfile" "$ofile" ||
18340 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18351 ac_clean_files
=$ac_clean_files_save
18353 test $ac_write_fail = 0 ||
18354 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18357 # configure is writing to config.log, and then calls config.status.
18358 # config.status does its own redirection, appending to config.log.
18359 # Unfortunately, on DOS this fails, as config.log is still kept open
18360 # by configure, so config.status won't be able to write to it; its
18361 # output is simply discarded. So we exec the FD to /dev/null,
18362 # effectively closing config.log, so it can be properly (re)opened and
18363 # appended to by config.status. When coming back to configure, we
18364 # need to make the FD available again.
18365 if test "$no_create" != yes; then
18367 ac_config_status_args
=
18368 test "$silent" = yes &&
18369 ac_config_status_args
="$ac_config_status_args --quiet"
18371 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18373 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18374 # would make configure fail if this is the last instruction.
18375 $ac_cs_success || as_fn_exit
1
18379 # CONFIG_SUBDIRS section.
18381 if test "$no_recursion" != yes; then
18383 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
18384 # so they do not pile up.
18385 ac_sub_configure_args
=
18387 eval "set x $ac_configure_args"
18391 if test -n "$ac_prev"; then
18396 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
18397 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
18398 ac_prev
=cache_file
;;
18399 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
18400 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
18403 --config-cache |
-C)
18405 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
18407 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
18409 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
18411 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
18413 --disable-option-checking)
18417 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18419 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
18423 # Always prepend --prefix to ensure using the same prefix
18424 # in subdir configurations.
18425 ac_arg
="--prefix=$prefix"
18427 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
18429 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
18432 if test "$silent" = yes; then
18433 ac_sub_configure_args
="--silent $ac_sub_configure_args"
18436 # Always prepend --disable-option-checking to silence warnings, since
18437 # different subdirs can have different --enable and --with options.
18438 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
18441 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
18443 # Do not complain, so a configure script can configure whichever
18444 # parts of a large source tree are present.
18445 test -d "$srcdir/$ac_dir" ||
continue
18447 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
18448 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
18449 $as_echo "$ac_msg" >&6
18450 as_dir
="$ac_dir"; as_fn_mkdir_p
18454 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18456 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18457 # A ".." for each directory in $ac_dir_suffix.
18458 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18459 case $ac_top_builddir_sub in
18460 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18461 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18464 ac_abs_top_builddir
=$ac_pwd
18465 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18466 # for backward compatibility:
18467 ac_top_builddir
=$ac_top_build_prefix
18470 .
) # We are building in place.
18472 ac_top_srcdir
=$ac_top_builddir_sub
18473 ac_abs_top_srcdir
=$ac_pwd ;;
18474 [\\/]* | ?
:[\\/]* ) # Absolute name.
18475 ac_srcdir
=$srcdir$ac_dir_suffix;
18476 ac_top_srcdir
=$srcdir
18477 ac_abs_top_srcdir
=$srcdir ;;
18478 *) # Relative name.
18479 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18480 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18481 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18483 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18488 # Check for guested configure; otherwise get Cygnus style configure.
18489 if test -f "$ac_srcdir/configure.gnu"; then
18490 ac_sub_configure
=$ac_srcdir/configure.gnu
18491 elif test -f "$ac_srcdir/configure"; then
18492 ac_sub_configure
=$ac_srcdir/configure
18493 elif test -f "$ac_srcdir/configure.in"; then
18494 # This should be Cygnus configure.
18495 ac_sub_configure
=$ac_aux_dir/configure
18497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
18498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
18502 # The recursion is here.
18503 if test -n "$ac_sub_configure"; then
18504 # Make the cache file name correct relative to the subdirectory.
18505 case $cache_file in
18506 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
18507 *) # Relative name.
18508 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
18511 { $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
18512 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
18513 # The eval makes quoting arguments work.
18514 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
18515 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
18516 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
18522 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18524 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}