2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libuserdb 0.10.
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}
570 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix
=/usr
/local
583 ac_config_libobj_dir
=.
590 # Identity of this package.
591 PACKAGE_NAME
='libuserdb'
592 PACKAGE_TARNAME
='libuserdb'
593 PACKAGE_VERSION
='0.10'
594 PACKAGE_STRING
='libuserdb 0.10'
595 PACKAGE_BUGREPORT
='courier-users@lists.sourceforge.net'
598 ac_unique_file
="userdb.c"
599 # Factoring default headers for most tests.
600 ac_includes_default
="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
710 INSTALL_STRIP_PROGRAM
752 program_transform_name
765 enable_option_checking
767 enable_dependency_tracking
782 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 ac_unrecognized_opts
=
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
807 program_transform_name
=s
,x
,x
,
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir
='${exec_prefix}/bin'
822 sbindir
='${exec_prefix}/sbin'
823 libexecdir
='${exec_prefix}/libexec'
824 datarootdir
='${prefix}/share'
825 datadir
='${datarootdir}'
826 sysconfdir
='${prefix}/etc'
827 sharedstatedir
='${prefix}/com'
828 localstatedir
='${prefix}/var'
829 includedir
='${prefix}/include'
830 oldincludedir
='/usr/include'
831 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir
='${datarootdir}/info'
837 libdir
='${exec_prefix}/lib'
838 localedir
='${datarootdir}/locale'
839 mandir
='${datarootdir}/man'
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\
$ac_option
853 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
864 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
866 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
869 -build |
--build |
--buil |
--bui |
--bu)
870 ac_prev
=build_alias
;;
871 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
872 build_alias
=$ac_optarg ;;
874 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
875 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
876 ac_prev
=cache_file
;;
877 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
878 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
879 cache_file
=$ac_optarg ;;
882 cache_file
=config.cache
;;
884 -datadir |
--datadir |
--datadi |
--datad)
886 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
887 datadir
=$ac_optarg ;;
889 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
890 |
--dataroo |
--dataro |
--datar)
891 ac_prev
=datarootdir
;;
892 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
893 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
894 datarootdir
=$ac_optarg ;;
896 -disable-* |
--disable-*)
897 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
900 as_fn_error $?
"invalid feature name: $ac_useropt"
901 ac_useropt_orig
=$ac_useropt
902 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903 case $ac_user_opts in
907 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
908 ac_unrecognized_sep
=', ';;
910 eval enable_
$ac_useropt=no
;;
912 -docdir |
--docdir |
--docdi |
--doc |
--do)
914 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
917 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
919 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
922 -enable-* |
--enable-*)
923 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
926 as_fn_error $?
"invalid feature name: $ac_useropt"
927 ac_useropt_orig
=$ac_useropt
928 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
933 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
934 ac_unrecognized_sep
=', ';;
936 eval enable_
$ac_useropt=\
$ac_optarg ;;
938 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
939 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
940 |
--exec |
--exe |
--ex)
941 ac_prev
=exec_prefix
;;
942 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
943 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
944 |
--exec=* |
--exe=* |
--ex=*)
945 exec_prefix
=$ac_optarg ;;
947 -gas |
--gas |
--ga |
--g)
948 # Obsolete; use --with-gas.
951 -help |
--help |
--hel |
--he |
-h)
953 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
954 ac_init_help
=recursive
;;
955 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
956 ac_init_help
=short
;;
958 -host |
--host |
--hos |
--ho)
959 ac_prev
=host_alias
;;
960 -host=* |
--host=* |
--hos=* |
--ho=*)
961 host_alias
=$ac_optarg ;;
963 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
965 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
967 htmldir
=$ac_optarg ;;
969 -includedir |
--includedir |
--includedi |
--included |
--include \
970 |
--includ |
--inclu |
--incl |
--inc)
971 ac_prev
=includedir
;;
972 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
973 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
974 includedir
=$ac_optarg ;;
976 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
978 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
979 infodir
=$ac_optarg ;;
981 -libdir |
--libdir |
--libdi |
--libd)
983 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
986 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
987 |
--libexe |
--libex |
--libe)
988 ac_prev
=libexecdir
;;
989 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
990 |
--libexe=* |
--libex=* |
--libe=*)
991 libexecdir
=$ac_optarg ;;
993 -localedir |
--localedir |
--localedi |
--localed |
--locale)
995 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
996 localedir
=$ac_optarg ;;
998 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
999 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1000 ac_prev
=localstatedir
;;
1001 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1002 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1003 localstatedir
=$ac_optarg ;;
1005 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1007 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1008 mandir
=$ac_optarg ;;
1010 -nfp |
--nfp |
--nf)
1011 # Obsolete; use --without-fp.
1014 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1015 |
--no-cr |
--no-c |
-n)
1018 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1019 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1022 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1023 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1024 |
--oldin |
--oldi |
--old |
--ol |
--o)
1025 ac_prev
=oldincludedir
;;
1026 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1027 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1028 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1029 oldincludedir
=$ac_optarg ;;
1031 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1033 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1034 prefix
=$ac_optarg ;;
1036 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1037 |
--program-pre |
--program-pr |
--program-p)
1038 ac_prev
=program_prefix
;;
1039 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1040 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1041 program_prefix
=$ac_optarg ;;
1043 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1044 |
--program-suf |
--program-su |
--program-s)
1045 ac_prev
=program_suffix
;;
1046 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1047 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1048 program_suffix
=$ac_optarg ;;
1050 -program-transform-name |
--program-transform-name \
1051 |
--program-transform-nam |
--program-transform-na \
1052 |
--program-transform-n |
--program-transform- \
1053 |
--program-transform |
--program-transfor \
1054 |
--program-transfo |
--program-transf \
1055 |
--program-trans |
--program-tran \
1056 |
--progr-tra |
--program-tr |
--program-t)
1057 ac_prev
=program_transform_name
;;
1058 -program-transform-name=* |
--program-transform-name=* \
1059 |
--program-transform-nam=* |
--program-transform-na=* \
1060 |
--program-transform-n=* |
--program-transform-=* \
1061 |
--program-transform=* |
--program-transfor=* \
1062 |
--program-transfo=* |
--program-transf=* \
1063 |
--program-trans=* |
--program-tran=* \
1064 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1065 program_transform_name
=$ac_optarg ;;
1067 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1069 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1070 pdfdir
=$ac_optarg ;;
1072 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1074 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1077 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1078 |
-silent |
--silent |
--silen |
--sile |
--sil)
1081 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1083 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1085 sbindir
=$ac_optarg ;;
1087 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1088 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1089 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1091 ac_prev
=sharedstatedir
;;
1092 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1093 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1094 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1096 sharedstatedir
=$ac_optarg ;;
1098 -site |
--site |
--sit)
1100 -site=* |
--site=* |
--sit=*)
1103 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1105 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1106 srcdir
=$ac_optarg ;;
1108 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1109 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1110 ac_prev
=sysconfdir
;;
1111 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1112 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1113 sysconfdir
=$ac_optarg ;;
1115 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1116 ac_prev
=target_alias
;;
1117 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1118 target_alias
=$ac_optarg ;;
1120 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1123 -version |
--version |
--versio |
--versi |
--vers |
-V)
1124 ac_init_version
=: ;;
1127 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1130 as_fn_error $?
"invalid package name: $ac_useropt"
1131 ac_useropt_orig
=$ac_useropt
1132 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133 case $ac_user_opts in
1137 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1138 ac_unrecognized_sep
=', ';;
1140 eval with_
$ac_useropt=\
$ac_optarg ;;
1142 -without-* |
--without-*)
1143 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1144 # Reject names that are not valid shell variable names.
1145 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1146 as_fn_error $?
"invalid package name: $ac_useropt"
1147 ac_useropt_orig
=$ac_useropt
1148 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149 case $ac_user_opts in
1153 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1154 ac_unrecognized_sep
=', ';;
1156 eval with_
$ac_useropt=no
;;
1159 # Obsolete; use --with-x.
1162 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1163 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1164 ac_prev
=x_includes
;;
1165 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1166 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1167 x_includes
=$ac_optarg ;;
1169 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1170 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1171 ac_prev
=x_libraries
;;
1172 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1173 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1174 x_libraries
=$ac_optarg ;;
1176 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1177 Try \`$0 --help' for more information"
1181 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1182 # Reject names that are not valid shell variable names.
1183 case $ac_envvar in #(
1184 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1185 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1187 eval $ac_envvar=\
$ac_optarg
1188 export $ac_envvar ;;
1191 # FIXME: should be removed in autoconf 3.0.
1192 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1193 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1194 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1195 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1201 if test -n "$ac_prev"; then
1202 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1203 as_fn_error $?
"missing argument to $ac_option"
1206 if test -n "$ac_unrecognized_opts"; then
1207 case $enable_option_checking in
1209 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1210 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1214 # Check all directory arguments for consistency.
1215 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1216 datadir sysconfdir sharedstatedir localstatedir includedir \
1217 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1218 libdir localedir mandir
1220 eval ac_val
=\$
$ac_var
1221 # Remove trailing slashes.
1224 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1225 eval $ac_var=\
$ac_val;;
1227 # Be sure to have absolute directory names.
1229 [\\/$
]* | ?
:[\\/]* ) continue;;
1230 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1232 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1235 # There might be people who depend on the old broken behavior: `$host'
1236 # used to hold the argument of --host etc.
1237 # FIXME: To remove some day.
1240 target
=$target_alias
1242 # FIXME: To remove some day.
1243 if test "x$host_alias" != x
; then
1244 if test "x$build_alias" = x
; then
1245 cross_compiling
=maybe
1246 elif test "x$build_alias" != "x$host_alias"; then
1252 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1254 test "$silent" = yes && exec 6>/dev
/null
1257 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1258 ac_ls_di
=`ls -di .` &&
1259 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1260 as_fn_error $?
"working directory cannot be determined"
1261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1262 as_fn_error $?
"pwd does not report name of working directory"
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267 ac_srcdir_defaulted
=yes
1268 # Try the directory containing this script, then the parent directory.
1269 ac_confdir
=`$as_dirname -- "$as_myself" ||
1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271 X"$as_myself" : 'X\(//\)[^/]' \| \
1272 X"$as_myself" : 'X\(//\)$' \| \
1273 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1274 $as_echo X"$as_myself" |
1275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1297 ac_srcdir_defaulted
=no
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1301 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1303 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1307 # When building in place, set srcdir=.
1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
1311 # Remove unnecessary trailing slashes from srcdir.
1312 # Double slashes in file names in object file debugging info
1313 # mess up M-x gdb in Emacs.
1315 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317 for ac_var
in $ac_precious_vars; do
1318 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1319 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1320 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1321 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1325 # Report the --help message.
1327 if test "$ac_init_help" = "long"; then
1328 # Omit some internal or obsolete options to make the list less imposing.
1329 # This message is too long to be a string in the A/UX 3.1 sh.
1331 \`configure' configures libuserdb 0.10 to adapt to many kinds of systems.
1333 Usage: $0 [OPTION]... [VAR=VALUE]...
1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1336 VAR=VALUE. See below for descriptions of some of the useful variables.
1338 Defaults for the options are specified in brackets.
1341 -h, --help display this help and exit
1342 --help=short display options specific to this package
1343 --help=recursive display the short help of all the included packages
1344 -V, --version display version information and exit
1345 -q, --quiet, --silent do not print \`checking ...' messages
1346 --cache-file=FILE cache test results in FILE [disabled]
1347 -C, --config-cache alias for \`--cache-file=config.cache'
1348 -n, --no-create do not create output files
1349 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1351 Installation directories:
1352 --prefix=PREFIX install architecture-independent files in PREFIX
1353 [$ac_default_prefix]
1354 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1357 By default, \`make install' will install all the files in
1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1360 for instance \`--prefix=\$HOME'.
1362 For better control, use the options below.
1364 Fine tuning of the installation directories:
1365 --bindir=DIR user executables [EPREFIX/bin]
1366 --sbindir=DIR system admin executables [EPREFIX/sbin]
1367 --libexecdir=DIR program executables [EPREFIX/libexec]
1368 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1369 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1370 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1371 --libdir=DIR object code libraries [EPREFIX/lib]
1372 --includedir=DIR C header files [PREFIX/include]
1373 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1374 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1375 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1376 --infodir=DIR info documentation [DATAROOTDIR/info]
1377 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1378 --mandir=DIR man documentation [DATAROOTDIR/man]
1379 --docdir=DIR documentation root [DATAROOTDIR/doc/libuserdb]
1380 --htmldir=DIR html documentation [DOCDIR]
1381 --dvidir=DIR dvi documentation [DOCDIR]
1382 --pdfdir=DIR pdf documentation [DOCDIR]
1383 --psdir=DIR ps documentation [DOCDIR]
1389 --program-prefix=PREFIX prepend PREFIX to installed program names
1390 --program-suffix=SUFFIX append SUFFIX to installed program names
1391 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1394 --build=BUILD configure
for building on BUILD
[guessed
]
1395 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1399 if test -n "$ac_init_help"; then
1400 case $ac_init_help in
1401 short | recursive
) echo "Configuration of libuserdb 0.10:";;
1406 --disable-option-checking ignore unrecognized
--enable/--with options
1407 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1408 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1409 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1410 --disable-silent-rules verbose build output
(undo
: "make V=0")
1411 --enable-dependency-tracking
1412 do not reject slow dependency extractors
1413 --disable-dependency-tracking
1414 speeds up one-time build
1415 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1416 --enable-static[=PKGS
] build static libraries
[default
=yes]
1417 --enable-fast-install[=PKGS
]
1418 optimize
for fast installation
[default
=yes]
1419 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1420 --disable-largefile omit support
for large files
1423 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1424 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1425 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1427 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1428 --with-sysroot=DIR Search
for dependent libraries within DIR
1429 (or the compiler
's sysroot if not specified).
1431 --with-random=/dev/urandom - location of the system random file generator
1432 --without-random - there is no system random file generator
1434 Some influential environment variables:
1435 CC C compiler command
1436 CFLAGS C compiler flags
1437 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1438 nonstandard directory <lib dir>
1439 LIBS libraries to pass to the linker, e.g. -l<library>
1440 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1441 you have headers in a nonstandard directory <include dir>
1444 Use these variables to override the choices made by `configure' or to
help
1445 it to
find libraries and programs with nonstandard names
/locations.
1447 Report bugs to
<courier-users@lists.sourceforge.net
>.
1452 if test "$ac_init_help" = "recursive"; then
1453 # If there are subdirs, report their specific --help.
1454 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1455 test -d "$ac_dir" ||
1456 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1461 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1463 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1464 # A ".." for each directory in $ac_dir_suffix.
1465 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1466 case $ac_top_builddir_sub in
1467 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1468 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1471 ac_abs_top_builddir
=$ac_pwd
1472 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1473 # for backward compatibility:
1474 ac_top_builddir
=$ac_top_build_prefix
1477 .
) # We are building in place.
1479 ac_top_srcdir
=$ac_top_builddir_sub
1480 ac_abs_top_srcdir
=$ac_pwd ;;
1481 [\\/]* | ?
:[\\/]* ) # Absolute name.
1482 ac_srcdir
=$srcdir$ac_dir_suffix;
1483 ac_top_srcdir
=$srcdir
1484 ac_abs_top_srcdir
=$srcdir ;;
1486 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1487 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1488 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1490 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1492 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1493 # Check for guested configure.
1494 if test -f "$ac_srcdir/configure.gnu"; then
1496 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1497 elif test -f "$ac_srcdir/configure"; then
1499 $SHELL "$ac_srcdir/configure" --help=recursive
1501 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1503 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1507 test -n "$ac_init_help" && exit $ac_status
1508 if $ac_init_version; then
1510 libuserdb configure
0.10
1511 generated by GNU Autoconf
2.69
1513 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1514 This configure
script is free software
; the Free Software Foundation
1515 gives unlimited permission to copy
, distribute and modify it.
1520 ## ------------------------ ##
1521 ## Autoconf initialization. ##
1522 ## ------------------------ ##
1524 # ac_fn_c_try_compile LINENO
1525 # --------------------------
1526 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1527 ac_fn_c_try_compile
()
1529 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1530 rm -f conftest.
$ac_objext
1531 if { { ac_try
="$ac_compile"
1533 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1534 *) ac_try_echo=$ac_try;;
1536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1537 $as_echo "$ac_try_echo"; } >&5
1538 (eval "$ac_compile") 2>conftest.err
1540 if test -s conftest.err; then
1541 grep -v '^ *+' conftest.err >conftest.er1
1542 cat conftest.er1 >&5
1543 mv -f conftest.er1 conftest.err
1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1546 test $ac_status = 0; } && {
1547 test -z "$ac_c_werror_flag" ||
1548 test ! -s conftest.err
1549 } && test -s conftest.$ac_objext; then :
1552 $as_echo "$as_me: failed program was:" >&5
1553 sed 's/^/| /' conftest.$ac_ext >&5
1557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1558 as_fn_set_status $ac_retval
1560 } # ac_fn_c_try_compile
1562 # ac_fn_c_try_link LINENO
1563 # -----------------------
1564 # Try to link conftest.$ac_ext, and return whether this succeeded.
1567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568 rm -f conftest.$ac_objext conftest$ac_exeext
1569 if { { ac_try="$ac_link"
1571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1572 *) ac_try_echo
=$ac_try;;
1574 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575 $as_echo "$ac_try_echo"; } >&5
1576 (eval "$ac_link") 2>conftest.err
1578 if test -s conftest.err
; then
1579 grep -v '^ *+' conftest.err
>conftest.er1
1580 cat conftest.er1
>&5
1581 mv -f conftest.er1 conftest.err
1583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584 test $ac_status = 0; } && {
1585 test -z "$ac_c_werror_flag" ||
1586 test ! -s conftest.err
1587 } && test -s conftest
$ac_exeext && {
1588 test "$cross_compiling" = yes ||
1589 test -x conftest
$ac_exeext
1593 $as_echo "$as_me: failed program was:" >&5
1594 sed 's/^/| /' conftest.
$ac_ext >&5
1598 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1599 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1600 # interfere with the next link command; also delete a directory that is
1601 # left behind by Apple's compiler. We do this before executing the actions.
1602 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1603 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604 as_fn_set_status
$ac_retval
1606 } # ac_fn_c_try_link
1608 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1609 # -------------------------------------------------------
1610 # Tests whether HEADER exists and can be compiled using the include files in
1611 # INCLUDES, setting the cache variable VAR accordingly.
1612 ac_fn_c_check_header_compile
()
1614 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1616 $as_echo_n "checking for $2... " >&6; }
1617 if eval \
${$3+:} false
; then :
1618 $as_echo_n "(cached) " >&6
1620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1621 /* end confdefs.h. */
1625 if ac_fn_c_try_compile
"$LINENO"; then :
1630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1634 $as_echo "$ac_res" >&6; }
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 } # ac_fn_c_check_header_compile
1639 # ac_fn_c_try_cpp LINENO
1640 # ----------------------
1641 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1644 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1645 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1654 if test -s conftest.err; then
1655 grep -v '^ *+' conftest.err >conftest.er1
1656 cat conftest.er1 >&5
1657 mv -f conftest.er1 conftest.err
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } > conftest.i && {
1661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1662 test ! -s conftest.err
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.$ac_ext >&5
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672 as_fn_set_status $ac_retval
1676 # ac_fn_c_try_run LINENO
1677 # ----------------------
1678 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1679 # that executables *can* be run.
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 if { { ac_try="$ac_link"
1685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1686 *) ac_try_echo
=$ac_try;;
1688 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_link") 2>&5
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1694 { { case "(($ac_try" in
1695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_try") 2>&5
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; }; }; then :
1706 $as_echo "$as_me: program exited with status $ac_status" >&5
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1710 ac_retval=$ac_status
1712 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1713 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1714 as_fn_set_status $ac_retval
1718 # ac_fn_c_check_func LINENO FUNC VAR
1719 # ----------------------------------
1720 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1721 ac_fn_c_check_func ()
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1725 $as_echo_n "checking for $2... " >&6; }
1726 if eval \${$3+:} false; then :
1727 $as_echo_n "(cached) " >&6
1729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1730 /* end confdefs.h. */
1731 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1733 #define $2 innocuous_$2
1735 /* System header to define __stub macros and hopefully few prototypes,
1736 which can conflict with char $2 (); below.
1737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1738 <limits.h> exists even on freestanding compilers. */
1741 # include <limits.h>
1743 # include <assert.h>
1748 /* Override any GCC internal prototype to avoid an error.
1749 Use char because int might match the return type of a GCC
1750 builtin and then its argument prototype would still apply. */
1755 /* The GNU C library defines this for functions which it implements
1756 to always fail with ENOSYS. Some functions are actually named
1757 something starting with __ and the normal name is an alias. */
1758 #if defined __stub_$2 || defined __stub___$2
1770 if ac_fn_c_try_link "$LINENO"; then :
1775 rm -f core conftest.err conftest.$ac_objext \
1776 conftest$ac_exeext conftest.$ac_ext
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1781 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 } # ac_fn_c_check_func
1785 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1786 # -------------------------------------------------------
1787 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1788 # the include files in INCLUDES and setting the cache variable VAR
1790 ac_fn_c_check_header_mongrel ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 if eval \${$3+:} false; then :
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795 $as_echo_n "checking for $2... " >&6; }
1796 if eval \${$3+:} false; then :
1797 $as_echo_n "(cached) " >&6
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1801 $as_echo "$ac_res" >&6; }
1803 # Is the header compilable?
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1805 $as_echo_n "checking $2 usability... " >&6; }
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1811 if ac_fn_c_try_compile "$LINENO"; then :
1812 ac_header_compiler=yes
1814 ac_header_compiler=no
1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1818 $as_echo "$ac_header_compiler" >&6; }
1820 # Is the header present?
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1822 $as_echo_n "checking $2 presence... " >&6; }
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1827 if ac_fn_c_try_cpp "$LINENO"; then :
1828 ac_header_preproc=yes
1830 ac_header_preproc=no
1832 rm -f conftest.err conftest.i conftest.$ac_ext
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1834 $as_echo "$ac_header_preproc" >&6; }
1836 # So? What about this header?
1837 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1840 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1842 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1846 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1848 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1850 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1852 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1854 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1855 ( $as_echo "## -------------------------------------------------- ##
1856 ## Report this to courier-users@lists.sourceforge.net ##
1857 ## -------------------------------------------------- ##"
1858 ) | sed "s/^/$as_me: WARNING: /" >&2
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if eval \${$3+:} false; then :
1864 $as_echo_n "(cached) " >&6
1866 eval "$3=\$ac_header_compiler"
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870 $as_echo "$ac_res" >&6; }
1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874 } # ac_fn_c_check_header_mongrel
1876 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1877 # -------------------------------------------
1878 # Tests whether TYPE exists after having included INCLUDES, setting cache
1879 # variable VAR accordingly.
1880 ac_fn_c_check_type ()
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1884 $as_echo_n "checking for $2... " >&6; }
1885 if eval \${$3+:} false; then :
1886 $as_echo_n "(cached) " >&6
1889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890 /* end confdefs.h. */
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903 /* end confdefs.h. */
1914 if ac_fn_c_try_compile "$LINENO"; then :
1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925 $as_echo "$ac_res" >&6; }
1926 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928 } # ac_fn_c_check_type
1929 cat >config.log <<_ACEOF
1930 This file contains any messages produced by compilers while
1931 running configure, to aid debugging if configure makes a mistake.
1933 It was created by libuserdb $as_me 0.10, which was
1934 generated by GNU Autoconf 2.69. Invocation command line was
1946 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1947 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1948 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1949 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1950 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1952 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1953 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1955 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1956 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1957 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1958 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1959 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1960 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1961 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969 test -z "$as_dir" && as_dir=.
1970 $as_echo "PATH: $as_dir"
1986 # Keep a trace of the command line.
1987 # Strip out --no-create and --no-recursion so they do not pile up.
1988 # Strip out --silent because we don't want to record it for future runs.
1989 # Also quote any args containing shell meta-characters.
1990 # Make two passes to allow for proper duplicate-argument suppression.
1994 ac_must_keep_next=false
2000 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2002 | -silent | --silent | --silen | --sile | --sil)
2005 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2008 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2010 as_fn_append ac_configure_args1 " '$ac_arg'"
2011 if test $ac_must_keep_next = true; then
2012 ac_must_keep_next=false # Got value, back to normal.
2015 *=* | --config-cache | -C | -disable-* | --disable-* \
2016 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2017 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2018 | -with-* | --with-* | -without-* | --without-* | --x)
2019 case "$ac_configure_args0 " in
2020 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2023 -* ) ac_must_keep_next=true ;;
2026 as_fn_append ac_configure_args " '$ac_arg'"
2031 { ac_configure_args0=; unset ac_configure_args0;}
2032 { ac_configure_args1=; unset ac_configure_args1;}
2034 # When interrupted or exit'd, cleanup temporary files, and complete
2035 # config.log. We remove comments because anyway the quotes in there
2036 # would cause problems or look ugly.
2037 # WARNING: Use '\'' to represent an apostrophe within the trap.
2038 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2039 trap 'exit_status=$?
2040 # Save into config.log some information that might help in debugging.
2044 $as_echo "## ---------------- ##
2045 ## Cache variables. ##
2046 ## ---------------- ##"
2048 # The following way of writing the cache mishandles newlines in values,
2050 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2051 eval ac_val=\$$ac_var
2055 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2059 _ | IFS | as_nl) ;; #(
2060 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2061 *) { eval $ac_var=; unset $ac_var;} ;;
2066 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2067 *${as_nl}ac_space=\ *)
2069 "s/'\''/'\''\\\\'\'''\''/g;
2070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2080 $as_echo "## ----------------- ##
2081 ## Output variables. ##
2082 ## ----------------- ##"
2084 for ac_var in $ac_subst_vars
2086 eval ac_val=\$$ac_var
2088 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2090 $as_echo "$ac_var='\''$ac_val'\''"
2094 if test -n "$ac_subst_files"; then
2095 $as_echo "## ------------------- ##
2096 ## File substitutions. ##
2097 ## ------------------- ##"
2099 for ac_var in $ac_subst_files
2101 eval ac_val=\$$ac_var
2103 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2105 $as_echo "$ac_var='\''$ac_val'\''"
2110 if test -s confdefs.h; then
2111 $as_echo "## ----------- ##
2118 test "$ac_signal" != 0 &&
2119 $as_echo "$as_me: caught signal $ac_signal"
2120 $as_echo "$as_me: exit $exit_status"
2122 rm -f core *.core core.conftest.* &&
2123 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2126 for ac_signal in 1 2 13 15; do
2127 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2131 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2132 rm -f -r conftest* confdefs.h
2134 $as_echo "/* confdefs.h */" > confdefs.h
2136 # Predefined preprocessor variables.
2138 cat >>confdefs.h <<_ACEOF
2139 #define PACKAGE_NAME "$PACKAGE_NAME"
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_STRING "$PACKAGE_STRING"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_URL "$PACKAGE_URL"
2163 # Let the site file select an alternate cache file if it wants to.
2164 # Prefer an explicitly selected file to automatically selected ones.
2167 if test -n "$CONFIG_SITE"; then
2168 # We do not want a PATH search for config.site.
2169 case $CONFIG_SITE in #((
2170 -*) ac_site_file1=./$CONFIG_SITE;;
2171 */*) ac_site_file1=$CONFIG_SITE;;
2172 *) ac_site_file1=./$CONFIG_SITE;;
2174 elif test "x$prefix" != xNONE; then
2175 ac_site_file1=$prefix/share/config.site
2176 ac_site_file2=$prefix/etc/config.site
2178 ac_site_file1=$ac_default_prefix/share/config.site
2179 ac_site_file2=$ac_default_prefix/etc/config.site
2181 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2183 test "x$ac_site_file" = xNONE && continue
2184 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2186 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2187 sed 's/^/| /' "$ac_site_file" >&5
2189 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191 as_fn_error $? "failed to load site
script $ac_site_file
2192 See \
`config.log' for more details" "$LINENO" 5; }
2196 if test -r "$cache_file"; then
2197 # Some versions of bash will fail to source /dev/null (special files
2198 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2199 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2201 $as_echo "$as_me: loading cache $cache_file" >&6;}
2203 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2204 *) . "./$cache_file";;
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2209 $as_echo "$as_me: creating cache $cache_file" >&6;}
2213 # Check that the precious variables saved in the cache have kept the same
2215 ac_cache_corrupted=false
2216 for ac_var in $ac_precious_vars; do
2217 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2218 eval ac_new_set=\$ac_env_${ac_var}_set
2219 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2220 eval ac_new_val=\$ac_env_${ac_var}_value
2221 case $ac_old_set,$ac_new_set in
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2224 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2225 ac_cache_corrupted=: ;;
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2228 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2229 ac_cache_corrupted=: ;;
2232 if test "x$ac_old_val" != "x$ac_new_val"; then
2233 # differences in whitespace do not lead to failure.
2234 ac_old_val_w=`echo x
$ac_old_val`
2235 ac_new_val_w=`echo x
$ac_new_val`
2236 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2238 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2239 ac_cache_corrupted=:
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2242 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2243 eval $ac_var=\$ac_old_val
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2246 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2248 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2251 # Pass precious variables to config.status.
2252 if test "$ac_new_set" = set; then
2254 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2255 *) ac_arg=$ac_var=$ac_new_val ;;
2257 case " $ac_configure_args " in
2258 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2259 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2263 if $ac_cache_corrupted; then
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2267 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2268 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2270 ## -------------------- ##
2271 ## Main body of script. ##
2272 ## -------------------- ##
2275 ac_cpp='$CPP $CPPFLAGS'
2276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2282 >confdefs.h # Kill PACKAGE_ macros.
2284 LPATH="$PATH:/usr/local/bin"
2288 for ac_dir in .. "$srcdir"/..; do
2289 if test -f "$ac_dir/install-sh"; then
2291 ac_install_sh="$ac_aux_dir/install-sh -c"
2293 elif test -f "$ac_dir/install.sh"; then
2295 ac_install_sh="$ac_aux_dir/install.sh -c"
2297 elif test -f "$ac_dir/shtool"; then
2299 ac_install_sh="$ac_aux_dir/shtool install -c"
2303 if test -z "$ac_aux_dir"; then
2304 as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5
2307 # These three variables are undocumented and unsupported,
2308 # and are intended to be withdrawn in a future Autoconf release.
2309 # They can cause serious problems if a builder's source tree is in a directory
2310 # whose full name contains unusual characters.
2311 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2312 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2313 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2316 am__api_version='1.13'
2318 # Find a good install program. We prefer a C program (faster),
2319 # so one script is as good as another. But avoid the broken or
2320 # incompatible versions:
2321 # SysV /etc/install, /usr/sbin/install
2322 # SunOS /usr/etc/install
2323 # IRIX /sbin/install
2325 # AmigaOS /C/install, which installs bootblocks on floppy discs
2326 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2327 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2328 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2329 # OS/2's system install, which has a completely different semantic
2330 # ./install, which can be erroneously created by make from ./install.sh.
2331 # Reject install programs that cannot install multiple files.
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2333 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2334 if test -z "$INSTALL"; then
2335 if ${ac_cv_path_install+:} false; then :
2336 $as_echo_n "(cached) " >&6
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir=.
2343 # Account for people who put trailing slashes in PATH elements.
2344 case $as_dir/ in #((
2345 ./ | .// | /[cC]/* | \
2346 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2347 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2350 # OSF1 and SCO ODT 3.0 have their own names for install.
2351 # Don't use installbsd from OSF since it installs stuff as root
2353 for ac_prog in ginstall scoinst install; do
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2356 if test $ac_prog = install &&
2357 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2358 # AIX install. It has an incompatible calling convention.
2360 elif test $ac_prog = install &&
2361 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2362 # program-specific install script used by HP pwplus--don't use.
2365 rm -rf conftest.one conftest.two conftest.dir
2366 echo one > conftest.one
2367 echo two > conftest.two
2369 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2370 test -s conftest.one && test -s conftest.two &&
2371 test -s conftest.dir/conftest.one &&
2372 test -s conftest.dir/conftest.two
2374 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2387 rm -rf conftest.one conftest.two conftest.dir
2390 if test "${ac_cv_path_install+set}" = set; then
2391 INSTALL=$ac_cv_path_install
2393 # As a last resort, use the slow shell script. Don't cache a
2394 # value for INSTALL within a source directory, because that will
2395 # break other packages using the cache if that directory is
2396 # removed, or if the value is a relative name.
2397 INSTALL=$ac_install_sh
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2401 $as_echo "$INSTALL" >&6; }
2403 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2404 # It thinks the first close brace ends the variable substitution.
2405 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2407 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2409 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2412 $as_echo_n "checking whether build environment is sane... " >&6; }
2413 # Reject unsafe characters in $srcdir or the absolute working directory
2414 # name. Accept space and tab only in the latter.
2418 *[\\\"\#\$\&\'\`$am_lf]*)
2419 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2422 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2423 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2426 # Do 'set' in a subshell so we don't clobber the current shell's
2427 # arguments. Must try -L first in case configure is actually a
2428 # symlink; some systems play weird games with the mod time of symlinks
2429 # (eg FreeBSD returns the mod time of the symlink's containing
2433 for am_try
in 1 2; do
2434 echo "timestamp, slept: $am_has_slept" > conftest.
file
2435 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2436 if test "$*" = "X"; then
2438 set X
`ls -t "$srcdir/configure" conftest.file`
2440 if test "$*" != "X $srcdir/configure conftest.file" \
2441 && test "$*" != "X conftest.file $srcdir/configure"; then
2443 # If neither matched, then we have a broken ls. This can happen
2444 # if, for instance, CONFIG_SHELL is bash and it inherits a
2445 # broken ls alias from the environment. This has actually
2446 # happened. Such a system could not be considered "sane".
2447 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2448 alias in your environment" "$LINENO" 5
2450 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2457 test "$2" = conftest.
file
2463 as_fn_error $?
"newly created file is older than distributed files!
2464 Check your system clock" "$LINENO" 5
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2467 $as_echo "yes" >&6; }
2468 # If we didn't sleep, we still need to ensure time stamps of config.status and
2469 # generated files are strictly newer.
2471 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2478 test "$program_prefix" != NONE
&&
2479 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2480 # Use a double $ so make ignores it.
2481 test "$program_suffix" != NONE
&&
2482 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2483 # Double any \ or $.
2484 # By default was `s,x,x', remove it if useless.
2485 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2486 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2488 # expand $ac_aux_dir to an absolute path
2489 am_aux_dir
=`cd $ac_aux_dir && pwd`
2491 if test x
"${MISSING+set}" != xset
; then
2494 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2496 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2499 # Use eval to expand $SHELL
2500 if eval "$MISSING --is-lightweight"; then
2501 am_missing_run
="$MISSING "
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2505 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2508 if test x
"${install_sh}" != xset
; then
2511 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2513 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2517 # Installed binaries are usually stripped using 'strip' when the user
2518 # run "make install-strip". However 'strip' might not be the right
2519 # tool to use in cross-compilation environments, therefore Automake
2520 # will honor the 'STRIP' environment variable to overrule this program.
2521 if test "$cross_compiling" != no
; then
2522 if test -n "$ac_tool_prefix"; then
2523 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2524 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_STRIP+:} false
; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$STRIP"; then
2531 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir
=.
2538 for ac_exec_ext
in '' $ac_executable_extensions; do
2539 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 STRIP
=$ac_cv_prog_STRIP
2551 if test -n "$STRIP"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2553 $as_echo "$STRIP" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2561 if test -z "$ac_cv_prog_STRIP"; then
2563 # Extract the first word of "strip", so it can be a program name with args.
2564 set dummy strip
; ac_word
=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$ac_ct_STRIP"; then
2571 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir
=.
2578 for ac_exec_ext
in '' $ac_executable_extensions; do
2579 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2580 ac_cv_prog_ac_ct_STRIP
="strip"
2581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2591 if test -n "$ac_ct_STRIP"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2593 $as_echo "$ac_ct_STRIP" >&6; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2599 if test "x$ac_ct_STRIP" = x
; then
2602 case $cross_compiling:$ac_tool_warned in
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2606 ac_tool_warned
=yes ;;
2611 STRIP
="$ac_cv_prog_STRIP"
2615 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2618 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2619 if test -z "$MKDIR_P"; then
2620 if ${ac_cv_path_mkdir+:} false
; then :
2621 $as_echo_n "(cached) " >&6
2623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2624 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2627 test -z "$as_dir" && as_dir
=.
2628 for ac_prog
in mkdir gmkdir
; do
2629 for ac_exec_ext
in '' $ac_executable_extensions; do
2630 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2631 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2632 'mkdir (GNU coreutils) '* | \
2633 'mkdir (coreutils) '* | \
2634 'mkdir (fileutils) '4.1*)
2635 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2645 test -d .
/--version && rmdir .
/--version
2646 if test "${ac_cv_path_mkdir+set}" = set; then
2647 MKDIR_P
="$ac_cv_path_mkdir -p"
2649 # As a last resort, use the slow shell script. Don't cache a
2650 # value for MKDIR_P within a source directory, because that will
2651 # break other packages using the cache if that directory is
2652 # removed, or if the value is a relative name.
2653 MKDIR_P
="$ac_install_sh -d"
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2657 $as_echo "$MKDIR_P" >&6; }
2659 for ac_prog
in gawk mawk nawk
awk
2661 # Extract the first word of "$ac_prog", so it can be a program name with args.
2662 set dummy
$ac_prog; ac_word
=$2
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if ${ac_cv_prog_AWK+:} false
; then :
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$AWK"; then
2669 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir
=.
2676 for ac_exec_ext
in '' $ac_executable_extensions; do
2677 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2678 ac_cv_prog_AWK
="$ac_prog"
2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 if test -n "$AWK"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2691 $as_echo "$AWK" >&6; }
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694 $as_echo "no" >&6; }
2698 test -n "$AWK" && break
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2702 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2704 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2705 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2706 $as_echo_n "(cached) " >&6
2708 cat >conftest.
make <<\_ACEOF
2711 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2713 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2714 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2716 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2718 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2722 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2724 $as_echo "yes" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2729 SET_MAKE
="MAKE=${MAKE-make}"
2732 rm -rf .tst
2>/dev
/null
2733 mkdir .tst
2>/dev
/null
2734 if test -d .tst
; then
2739 rmdir .tst
2>/dev
/null
2741 # Check whether --enable-silent-rules was given.
2742 if test "${enable_silent_rules+set}" = set; then :
2743 enableval
=$enable_silent_rules;
2746 case $enable_silent_rules in # (((
2747 yes) AM_DEFAULT_VERBOSITY
=0;;
2748 no
) AM_DEFAULT_VERBOSITY
=1;;
2749 *) AM_DEFAULT_VERBOSITY
=1;;
2751 am_make
=${MAKE-make}
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2753 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2754 if ${am_cv_make_support_nested_variables+:} false
; then :
2755 $as_echo_n "(cached) " >&6
2757 if $as_echo 'TRUE=$(BAR$(V))
2763 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2764 am_cv_make_support_nested_variables
=yes
2766 am_cv_make_support_nested_variables
=no
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2770 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2771 if test $am_cv_make_support_nested_variables = yes; then
2773 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2775 AM_V
=$AM_DEFAULT_VERBOSITY
2776 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2780 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2781 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2782 # is not polluted with repeated "-I."
2783 am__isrc
=' -I$(srcdir)'
2784 # test to see if srcdir already configured
2785 if test -f $srcdir/config.status
; then
2786 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2790 # test whether we have cygpath
2791 if test -z "$CYGPATH_W"; then
2792 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2793 CYGPATH_W
='cygpath -w'
2800 # Define the identity of the package.
2805 # Some tools Automake needs.
2807 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2810 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2813 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2816 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2819 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2821 # For better backward compatibility. To be removed once Automake 1.9.x
2822 # dies out for good. For more background, see:
2823 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2824 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2825 mkdir_p
='$(MKDIR_P)'
2827 # We need awk for the "check" target. The system "awk" is bad on
2829 # Always define AMTAR for backward compatibility. Yes, it's still used
2830 # in the wild :-( We should find a proper way to deprecate it ...
2834 # We'll loop over all known methods to create a tar archive until one works.
2835 _am_tools
='gnutar pax cpio none'
2837 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
2844 ac_config_headers
="$ac_config_headers config.h"
2847 for ac_prog
in gawk mawk nawk
awk
2849 # Extract the first word of "$ac_prog", so it can be a program name with args.
2850 set dummy
$ac_prog; ac_word
=$2
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2852 $as_echo_n "checking for $ac_word... " >&6; }
2853 if ${ac_cv_prog_AWK+:} false
; then :
2854 $as_echo_n "(cached) " >&6
2856 if test -n "$AWK"; then
2857 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2863 test -z "$as_dir" && as_dir
=.
2864 for ac_exec_ext
in '' $ac_executable_extensions; do
2865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2866 ac_cv_prog_AWK
="$ac_prog"
2867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2877 if test -n "$AWK"; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2879 $as_echo "$AWK" >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2886 test -n "$AWK" && break
2890 ac_cpp
='$CPP $CPPFLAGS'
2891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2894 if test -n "$ac_tool_prefix"; then
2895 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2896 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898 $as_echo_n "checking for $ac_word... " >&6; }
2899 if ${ac_cv_prog_CC+:} false
; then :
2900 $as_echo_n "(cached) " >&6
2902 if test -n "$CC"; then
2903 ac_cv_prog_CC
="$CC" # Let the user override the test.
2905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir
=.
2910 for ac_exec_ext
in '' $ac_executable_extensions; do
2911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2912 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 if test -n "$CC"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2925 $as_echo "$CC" >&6; }
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928 $as_echo "no" >&6; }
2933 if test -z "$ac_cv_prog_CC"; then
2935 # Extract the first word of "gcc", so it can be a program name with args.
2936 set dummy gcc
; ac_word
=$2
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938 $as_echo_n "checking for $ac_word... " >&6; }
2939 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2940 $as_echo_n "(cached) " >&6
2942 if test -n "$ac_ct_CC"; then
2943 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2949 test -z "$as_dir" && as_dir
=.
2950 for ac_exec_ext
in '' $ac_executable_extensions; do
2951 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2952 ac_cv_prog_ac_ct_CC
="gcc"
2953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2963 if test -n "$ac_ct_CC"; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2965 $as_echo "$ac_ct_CC" >&6; }
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968 $as_echo "no" >&6; }
2971 if test "x$ac_ct_CC" = x
; then
2974 case $cross_compiling:$ac_tool_warned in
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2978 ac_tool_warned
=yes ;;
2986 if test -z "$CC"; then
2987 if test -n "$ac_tool_prefix"; then
2988 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2989 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if ${ac_cv_prog_CC+:} false
; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$CC"; then
2996 ac_cv_prog_CC
="$CC" # Let the user override the test.
2998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir
=.
3003 for ac_exec_ext
in '' $ac_executable_extensions; do
3004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3005 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 if test -n "$CC"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018 $as_echo "$CC" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3027 if test -z "$CC"; then
3028 # Extract the first word of "cc", so it can be a program name with args.
3029 set dummy cc
; ac_word
=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_CC+:} false
; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$CC"; then
3036 ac_cv_prog_CC
="$CC" # Let the user override the test.
3039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3043 test -z "$as_dir" && as_dir
=.
3044 for ac_exec_ext
in '' $ac_executable_extensions; do
3045 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3046 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3047 ac_prog_rejected
=yes
3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3058 if test $ac_prog_rejected = yes; then
3059 # We found a bogon in the path, so make sure we never use it.
3060 set dummy
$ac_cv_prog_CC
3062 if test $# != 0; then
3063 # We chose a different compiler from the bogus one.
3064 # However, it has the same basename, so the bogon will be chosen
3065 # first if we set CC to just the basename; use the full file name.
3067 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3073 if test -n "$CC"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3075 $as_echo "$CC" >&6; }
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078 $as_echo "no" >&6; }
3083 if test -z "$CC"; then
3084 if test -n "$ac_tool_prefix"; then
3085 for ac_prog
in cl.exe
3087 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3088 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if ${ac_cv_prog_CC+:} false
; then :
3092 $as_echo_n "(cached) " >&6
3094 if test -n "$CC"; then
3095 ac_cv_prog_CC
="$CC" # Let the user override the test.
3097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3101 test -z "$as_dir" && as_dir
=.
3102 for ac_exec_ext
in '' $ac_executable_extensions; do
3103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3104 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3115 if test -n "$CC"; then
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3117 $as_echo "$CC" >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3124 test -n "$CC" && break
3127 if test -z "$CC"; then
3129 for ac_prog
in cl.exe
3131 # Extract the first word of "$ac_prog", so it can be a program name with args.
3132 set dummy
$ac_prog; ac_word
=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$ac_ct_CC"; then
3139 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir
=.
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_ac_ct_CC
="$ac_prog"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3159 if test -n "$ac_ct_CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3161 $as_echo "$ac_ct_CC" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3168 test -n "$ac_ct_CC" && break
3171 if test "x$ac_ct_CC" = x
; then
3174 case $cross_compiling:$ac_tool_warned in
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3177 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3178 ac_tool_warned
=yes ;;
3187 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189 as_fn_error $?
"no acceptable C compiler found in \$PATH
3190 See \`config.log' for more details" "$LINENO" 5; }
3192 # Provide some information about the compiler.
3193 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3196 for ac_option
in --version -v -V -qversion; do
3197 { { ac_try
="$ac_compiler $ac_option >&5"
3199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3200 *) ac_try_echo=$ac_try;;
3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203 $as_echo "$ac_try_echo"; } >&5
3204 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3206 if test -s conftest.err; then
3208 ... rest of stderr output deleted ...
3209 10q' conftest.err >conftest.er1
3210 cat conftest.er1 >&5
3212 rm -f conftest.er1 conftest.err
3213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214 test $ac_status = 0; }
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3228 ac_clean_files_save=$ac_clean_files
3229 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3230 # Try to create an executable without -o first, disregard a.out.
3231 # It will help us diagnose broken compilers, and finding out an intuition
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3234 $as_echo_n "checking whether the C compiler works... " >&6; }
3235 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3237 # The possible output files:
3238 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3241 for ac_file in $ac_files
3244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3245 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3250 if { { ac_try="$ac_link_default"
3252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3253 *) ac_try_echo
=$ac_try;;
3255 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3256 $as_echo "$ac_try_echo"; } >&5
3257 (eval "$ac_link_default") 2>&5
3259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3260 test $ac_status = 0; }; then :
3261 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3262 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3263 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3264 # so that the user can short-circuit this test for compilers unknown to
3266 for ac_file
in $ac_files ''
3268 test -f "$ac_file" ||
continue
3270 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3273 # We found the default executable, but exeext='' is most
3277 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3279 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3281 # We set ac_cv_exeext here because the later test for it is not
3282 # safe: cross compilers may not add the suffix if given an `-o'
3283 # argument, so we may need to know it at that point already.
3284 # Even if this section looks crufty: it has the advantage of
3291 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3296 if test -z "$ac_file"; then :
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298 $as_echo "no" >&6; }
3299 $as_echo "$as_me: failed program was:" >&5
3300 sed 's/^/| /' conftest.
$ac_ext >&5
3302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3304 as_fn_error
77 "C compiler cannot create executables
3305 See \`config.log' for more details" "$LINENO" 5; }
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3308 $as_echo "yes" >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3311 $as_echo_n "checking for C compiler default output file name... " >&6; }
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3313 $as_echo "$ac_file" >&6; }
3314 ac_exeext
=$ac_cv_exeext
3316 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3317 ac_clean_files
=$ac_clean_files_save
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3319 $as_echo_n "checking for suffix of executables... " >&6; }
3320 if { { ac_try
="$ac_link"
3322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326 $as_echo "$ac_try_echo"; } >&5
3327 (eval "$ac_link") 2>&5
3329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3330 test $ac_status = 0; }; then :
3331 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3332 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3333 # work properly (i.e., refer to `conftest.exe'), while it won't with
3335 for ac_file
in conftest.exe conftest conftest.
*; do
3336 test -f "$ac_file" ||
continue
3338 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3339 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3348 See \`config.log' for more details" "$LINENO" 5; }
3350 rm -f conftest conftest
$ac_cv_exeext
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3352 $as_echo "$ac_cv_exeext" >&6; }
3354 rm -f conftest.
$ac_ext
3355 EXEEXT
=$ac_cv_exeext
3357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3363 FILE *f = fopen ("conftest.out", "w");
3364 return ferror (f) || fclose (f) != 0;
3370 ac_clean_files
="$ac_clean_files conftest.out"
3371 # Check that the compiler produces executables we can run. If not, either
3372 # the compiler is broken, or we cross compile.
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3374 $as_echo_n "checking whether we are cross compiling... " >&6; }
3375 if test "$cross_compiling" != yes; then
3376 { { ac_try
="$ac_link"
3378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3382 $as_echo "$ac_try_echo"; } >&5
3383 (eval "$ac_link") 2>&5
3385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3386 test $ac_status = 0; }
3387 if { ac_try='./conftest$ac_cv_exeext'
3388 { { case "(($ac_try" in
3389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3390 *) ac_try_echo
=$ac_try;;
3392 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3393 $as_echo "$ac_try_echo"; } >&5
3394 (eval "$ac_try") 2>&5
3396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397 test $ac_status = 0; }; }; then
3400 if test "$cross_compiling" = maybe
; then
3403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3405 as_fn_error $?
"cannot run C compiled programs.
3406 If you meant to cross compile, use \`--host'.
3407 See \`config.log' for more details" "$LINENO" 5; }
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3412 $as_echo "$cross_compiling" >&6; }
3414 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3415 ac_clean_files
=$ac_clean_files_save
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3417 $as_echo_n "checking for suffix of object files... " >&6; }
3418 if ${ac_cv_objext+:} false
; then :
3419 $as_echo_n "(cached) " >&6
3421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3432 rm -f conftest.o conftest.obj
3433 if { { ac_try
="$ac_compile"
3435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3436 *) ac_try_echo=$ac_try;;
3438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3439 $as_echo "$ac_try_echo"; } >&5
3440 (eval "$ac_compile") 2>&5
3442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3443 test $ac_status = 0; }; then :
3444 for ac_file in conftest.o conftest.obj conftest.*; do
3445 test -f "$ac_file" || continue;
3447 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3448 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3453 $as_echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.$ac_ext >&5
3456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3459 See \
`config.log' for more details" "$LINENO" 5; }
3461 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3464 $as_echo "$ac_cv_objext" >&6; }
3465 OBJEXT=$ac_cv_objext
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3468 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3469 if ${ac_cv_c_compiler_gnu+:} false; then :
3470 $as_echo_n "(cached) " >&6
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3486 if ac_fn_c_try_compile "$LINENO"; then :
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3496 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3497 if test $ac_compiler_gnu = yes; then
3502 ac_test_CFLAGS=${CFLAGS+set}
3503 ac_save_CFLAGS=$CFLAGS
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3505 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3506 if ${ac_cv_prog_cc_g+:} false; then :
3507 $as_echo_n "(cached) " >&6
3509 ac_save_c_werror_flag=$ac_c_werror_flag
3510 ac_c_werror_flag=yes
3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h. */
3524 if ac_fn_c_try_compile "$LINENO"; then :
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3539 if ac_fn_c_try_compile "$LINENO"; then :
3542 ac_c_werror_flag=$ac_save_c_werror_flag
3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545 /* end confdefs.h. */
3555 if ac_fn_c_try_compile "$LINENO"; then :
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 ac_c_werror_flag=$ac_save_c_werror_flag
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3566 $as_echo "$ac_cv_prog_cc_g" >&6; }
3567 if test "$ac_test_CFLAGS" = set; then
3568 CFLAGS=$ac_save_CFLAGS
3569 elif test $ac_cv_prog_cc_g = yes; then
3570 if test "$GCC" = yes; then
3576 if test "$GCC" = yes; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3583 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3584 if ${ac_cv_prog_cc_c89+:} false; then :
3585 $as_echo_n "(cached) " >&6
3587 ac_cv_prog_cc_c89=no
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3594 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3595 struct buf { int x; };
3596 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3597 static char *e (p, i)
3603 static char *f (char * (*g) (char **, int), char **p, ...)
3608 s = g (p, va_arg (v,int));
3613 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3614 function prototypes and stuff, but not '\xHH' hex character constants.
3615 These don't provoke an error unfortunately, instead are silently treated
3616 as 'x'. The following induces an error, until -std is added to get
3617 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3618 array size at least. It's necessary to write '\x00'==0 to get something
3619 that's true only with -std. */
3620 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3622 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3623 inside strings and character constants. */
3625 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3627 int test (int i, double x);
3628 struct s1 {int (*f) (int a);};
3629 struct s2 {int (*f) (double a);};
3630 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3636 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3641 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3642 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3644 CC="$ac_save_CC $ac_arg"
3645 if ac_fn_c_try_compile "$LINENO"; then :
3646 ac_cv_prog_cc_c89=$ac_arg
3648 rm -f core conftest.err conftest.$ac_objext
3649 test "x$ac_cv_prog_cc_c89" != "xno" && break
3651 rm -f conftest.$ac_ext
3656 case "x$ac_cv_prog_cc_c89" in
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3659 $as_echo "none needed" >&6; } ;;
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3662 $as_echo "unsupported" >&6; } ;;
3664 CC="$CC $ac_cv_prog_cc_c89"
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3666 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3668 if test "x$ac_cv_prog_cc_c89" != xno; then :
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677 DEPDIR="${am__leading_dot}deps"
3679 ac_config_commands="$ac_config_commands depfiles"
3682 am_make=${MAKE-make}
3683 cat > confinc << 'END'
3685 @echo this is the am__doit target
3688 # If we don't find an include directive, just comment out the code.
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3690 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3694 # First try GNU make style include.
3695 echo "include confinc" > confmf
3696 # Ignore all kinds of additional output from 'make'.
3697 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3698 *the\ am__doit\ target*)
3704 # Now try BSD make style include.
3705 if test "$am__include" = "#"; then
3706 echo '.include "confinc"' > confmf
3707 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3708 *the\ am__doit\ target*)
3709 am__include=.include
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3718 $as_echo "$_am_result" >&6; }
3719 rm -f confinc confmf
3721 # Check whether --enable-dependency-tracking was given.
3722 if test "${enable_dependency_tracking+set}" = set; then :
3723 enableval=$enable_dependency_tracking;
3726 if test "x$enable_dependency_tracking" != xno; then
3727 am_depcomp="$ac_aux_dir/depcomp"
3731 if test "x$enable_dependency_tracking" != xno; then
3741 depcc="$CC" am_compiler_list=
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3744 $as_echo_n "checking dependency style of $depcc... " >&6; }
3745 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3746 $as_echo_n "(cached) " >&6
3748 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3749 # We make a subdir and do the tests there. Otherwise we can end up
3750 # making bogus files that we don't know about and never remove. For
3751 # instance it was reported that on HP-UX the gcc test will end up
3752 # making a dummy file named 'D' -- because '-MD' means "put the output
3756 # Copy depcomp to subdir because otherwise we won't find it if we're
3757 # using a relative directory.
3758 cp "$am_depcomp" conftest.dir
3760 # We will build objects and dependencies in a subdirectory because
3761 # it helps to detect inapplicable dependency modes. For instance
3762 # both Tru64's cc and ICC support -MD to output dependencies as a
3763 # side effect of compilation, but ICC will put the dependencies in
3764 # the current directory while Tru64 will put them in the object
3768 am_cv_CC_dependencies_compiler_type=none
3769 if test "$am_compiler_list" = ""; then
3770 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3773 case " $depcc " in #(
3774 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3777 for depmode in $am_compiler_list; do
3778 # Setup a source with many dependencies, because some compilers
3779 # like to wrap large dependency lists on column 80 (with \), and
3780 # we should not choose a depcomp mode which is confused by this.
3782 # We need to recreate these files for each test, as the compiler may
3783 # overwrite some of them when testing with obscure command lines.
3784 # This happens at least with the AIX C compiler.
3786 for i in 1 2 3 4 5 6; do
3787 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3788 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3789 # Solaris 10 /bin/sh.
3790 echo '/* dummy */' > sub/conftst$i.h
3792 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3794 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3795 # mode. It turns out that the SunPro C++ compiler does not properly
3796 # handle '-M -o', and we need to detect this. Also, some Intel
3797 # versions had trouble with output in subdirs.
3798 am__obj=sub/conftest.${OBJEXT-o}
3799 am__minus_obj="-o $am__obj"
3802 # This depmode causes a compiler race in universal mode.
3803 test "$am__universal" = false || continue
3806 # After this tag, mechanisms are not by side-effect, so they'll
3807 # only be used when explicitly requested.
3808 if test "x$enable_dependency_tracking" = xyes; then
3814 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3815 # This compiler won't grok '-c -o', but also, the minuso test has
3816 # not run yet. These depmodes are late enough in the game, and
3817 # so weak that their functioning should not be impacted.
3818 am__obj=conftest.${OBJEXT-o}
3823 if depmode=$depmode \
3824 source=sub/conftest.c object=$am__obj \
3825 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3826 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3827 >/dev/null 2>conftest.err &&
3828 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3829 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3830 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3831 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3832 # icc doesn't choke on unknown options, it will just issue warnings
3833 # or remarks (even with -Werror). So we grep stderr for any message
3834 # that says an option was ignored or not supported.
3835 # When given -MP, icc 7.0 and 7.1 complain thusly:
3836 # icc: Command line warning: ignoring option '-M'; no argument required
3837 # The diagnosis changed in icc 8.0:
3838 # icc: Command line remark: option '-MP' not supported
3839 if (grep 'ignoring option' conftest.err ||
3840 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3841 am_cv_CC_dependencies_compiler_type=$depmode
3850 am_cv_CC_dependencies_compiler_type=none
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3855 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3856 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3859 test "x$enable_dependency_tracking" != xno \
3860 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3862 am__fastdepCC_FALSE='#'
3864 am__fastdepCC_TRUE='#'
3865 am__fastdepCC_FALSE=
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3871 $as_echo_n "checking whether ln -s works... " >&6; }
3873 if test "$LN_S" = "ln -s"; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3875 $as_echo "yes" >&6; }
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3878 $as_echo "no, using $LN_S" >&6; }
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
3884 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
3889 macro_version='2.4.2'
3890 macro_revision='1.3337'
3904 ltmain="$ac_aux_dir/ltmain.sh"
3906 # Make sure we can run config.sub.
3907 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3908 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3911 $as_echo_n "checking build system type... " >&6; }
3912 if ${ac_cv_build+:} false; then :
3913 $as_echo_n "(cached) " >&6
3915 ac_build_alias=$build_alias
3916 test "x$ac_build_alias" = x &&
3917 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3918 test "x$ac_build_alias" = x &&
3919 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3920 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3921 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3925 $as_echo "$ac_cv_build" >&6; }
3926 case $ac_cv_build in
3928 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3931 ac_save_IFS=$IFS; IFS='-'
3937 # Remember, the first character of IFS is used to create $*,
3938 # except with old shells:
3941 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3945 $as_echo_n "checking host system type... " >&6; }
3946 if ${ac_cv_host+:} false; then :
3947 $as_echo_n "(cached) " >&6
3949 if test "x$host_alias" = x; then
3950 ac_cv_host=$ac_cv_build
3952 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3953 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3958 $as_echo "$ac_cv_host" >&6; }
3961 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3964 ac_save_IFS=$IFS; IFS='-'
3970 # Remember, the first character of IFS is used to create $*,
3971 # except with old shells:
3974 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
3977 # Backslashify metacharacters that are still active within
3978 # double-quoted strings.
3979 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
3981 # Same as above, but do not quote variable references.
3982 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
3984 # Sed substitution to delay expansion of an escaped shell variable in a
3985 # double_quote_subst'ed string.
3986 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3988 # Sed substitution to delay expansion of an escaped single quote.
3989 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3991 # Sed substitution to avoid accidental globbing in evaled expressions
3992 no_glob_subst='s/\*/\\\*/g'
3994 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3995 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3996 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
3999 $as_echo_n "checking how to print
strings...
" >&6; }
4000 # Test print first, because it will be a builtin if present.
4001 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4002 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4004 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4007 # Use this function as a fallback that always works.
4008 func_fallback_echo ()
4010 eval 'cat <<_LTECHO_EOF
4014 ECHO='func_fallback_echo'
4017 # func_echo_all arg...
4018 # Invoke $ECHO with all args, space-separated.
4025 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4026 $as_echo "printf" >&6; } ;;
4027 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4028 $as_echo "print
-r" >&6; } ;;
4029 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4030 $as_echo "cat" >&6; } ;;
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4047 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4048 if ${ac_cv_path_SED+:} false; then :
4049 $as_echo_n "(cached
) " >&6
4051 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4052 for ac_i in 1 2 3 4 5 6 7; do
4053 ac_script="$ac_script$as_nl$ac_script"
4055 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4056 { ac_script=; unset ac_script;}
4057 if test -z "$SED"; then
4058 ac_path_SED_found=false
4059 # Loop through the user's path and test for each of PROGNAME-LIST
4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 test -z "$as_dir" && as_dir=.
4065 for ac_prog in sed gsed; do
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4068 as_fn_executable_p "$ac_path_SED" || continue
4069 # Check for GNU ac_path_SED and select it if it is found.
4070 # Check for GNU $ac_path_SED
4071 case `"$ac_path_SED" --version 2>&1` in
4073 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4076 $as_echo_n 0123456789 >"conftest.
in"
4079 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4080 mv "conftest.tmp
" "conftest.
in"
4081 cp "conftest.
in" "conftest.
nl"
4082 $as_echo '' >> "conftest.
nl"
4083 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4084 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4085 as_fn_arith $ac_count + 1 && ac_count=$as_val
4086 if test $ac_count -gt ${ac_path_SED_max-0}; then
4087 # Best one so far, save it but keep looking for a better one
4088 ac_cv_path_SED="$ac_path_SED"
4089 ac_path_SED_max=$ac_count
4091 # 10*(2^10) chars as input seems more than enough
4092 test $ac_count -gt 10 && break
4094 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4097 $ac_path_SED_found && break 3
4102 if test -z "$ac_cv_path_SED"; then
4103 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4111 $as_echo "$ac_cv_path_SED" >&6; }
4112 SED="$ac_cv_path_SED"
4115 test -z "$SED" && SED=sed
4116 Xsed="$SED -e 1s
/^X
//"
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4129 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
4130 if ${ac_cv_path_GREP+:} false; then :
4131 $as_echo_n "(cached
) " >&6
4133 if test -z "$GREP"; then
4134 ac_path_GREP_found=false
4135 # Loop through the user's path and test for each of PROGNAME-LIST
4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4137 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4140 test -z "$as_dir" && as_dir=.
4141 for ac_prog in grep ggrep; do
4142 for ac_exec_ext in '' $ac_executable_extensions; do
4143 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4144 as_fn_executable_p "$ac_path_GREP" || continue
4145 # Check for GNU ac_path_GREP and select it if it is found.
4146 # Check for GNU $ac_path_GREP
4147 case `"$ac_path_GREP" --version 2>&1` in
4149 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4152 $as_echo_n 0123456789 >"conftest.
in"
4155 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4156 mv "conftest.tmp
" "conftest.
in"
4157 cp "conftest.
in" "conftest.
nl"
4158 $as_echo 'GREP' >> "conftest.
nl"
4159 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4160 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4161 as_fn_arith $ac_count + 1 && ac_count=$as_val
4162 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4163 # Best one so far, save it but keep looking for a better one
4164 ac_cv_path_GREP="$ac_path_GREP"
4165 ac_path_GREP_max=$ac_count
4167 # 10*(2^10) chars as input seems more than enough
4168 test $ac_count -gt 10 && break
4170 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4173 $ac_path_GREP_found && break 3
4178 if test -z "$ac_cv_path_GREP"; then
4179 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4182 ac_cv_path_GREP=$GREP
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4187 $as_echo "$ac_cv_path_GREP" >&6; }
4188 GREP="$ac_cv_path_GREP"
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4192 $as_echo_n "checking
for egrep...
" >&6; }
4193 if ${ac_cv_path_EGREP+:} false; then :
4194 $as_echo_n "(cached
) " >&6
4196 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4197 then ac_cv_path_EGREP="$GREP -E"
4199 if test -z "$EGREP"; then
4200 ac_path_EGREP_found=false
4201 # Loop through the user's path and test for each of PROGNAME-LIST
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4206 test -z "$as_dir" && as_dir=.
4207 for ac_prog in egrep; do
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4210 as_fn_executable_p "$ac_path_EGREP" || continue
4211 # Check for GNU ac_path_EGREP and select it if it is found.
4212 # Check for GNU $ac_path_EGREP
4213 case `"$ac_path_EGREP" --version 2>&1` in
4215 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4218 $as_echo_n 0123456789 >"conftest.
in"
4221 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4222 mv "conftest.tmp
" "conftest.
in"
4223 cp "conftest.
in" "conftest.
nl"
4224 $as_echo 'EGREP' >> "conftest.
nl"
4225 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4226 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4227 as_fn_arith $ac_count + 1 && ac_count=$as_val
4228 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4229 # Best one so far, save it but keep looking for a better one
4230 ac_cv_path_EGREP="$ac_path_EGREP"
4231 ac_path_EGREP_max=$ac_count
4233 # 10*(2^10) chars as input seems more than enough
4234 test $ac_count -gt 10 && break
4236 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4239 $ac_path_EGREP_found && break 3
4244 if test -z "$ac_cv_path_EGREP"; then
4245 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4248 ac_cv_path_EGREP=$EGREP
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4254 $as_echo "$ac_cv_path_EGREP" >&6; }
4255 EGREP="$ac_cv_path_EGREP"
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4259 $as_echo_n "checking
for fgrep...
" >&6; }
4260 if ${ac_cv_path_FGREP+:} false; then :
4261 $as_echo_n "(cached
) " >&6
4263 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4264 then ac_cv_path_FGREP="$GREP -F"
4266 if test -z "$FGREP"; then
4267 ac_path_FGREP_found=false
4268 # Loop through the user's path and test for each of PROGNAME-LIST
4269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4273 test -z "$as_dir" && as_dir=.
4274 for ac_prog in fgrep; do
4275 for ac_exec_ext in '' $ac_executable_extensions; do
4276 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4277 as_fn_executable_p "$ac_path_FGREP" || continue
4278 # Check for GNU ac_path_FGREP and select it if it is found.
4279 # Check for GNU $ac_path_FGREP
4280 case `"$ac_path_FGREP" --version 2>&1` in
4282 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4285 $as_echo_n 0123456789 >"conftest.
in"
4288 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4289 mv "conftest.tmp
" "conftest.
in"
4290 cp "conftest.
in" "conftest.
nl"
4291 $as_echo 'FGREP' >> "conftest.
nl"
4292 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4293 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4294 as_fn_arith $ac_count + 1 && ac_count=$as_val
4295 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4296 # Best one so far, save it but keep looking for a better one
4297 ac_cv_path_FGREP="$ac_path_FGREP"
4298 ac_path_FGREP_max=$ac_count
4300 # 10*(2^10) chars as input seems more than enough
4301 test $ac_count -gt 10 && break
4303 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4306 $ac_path_FGREP_found && break 3
4311 if test -z "$ac_cv_path_FGREP"; then
4312 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4315 ac_cv_path_FGREP=$FGREP
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4321 $as_echo "$ac_cv_path_FGREP" >&6; }
4322 FGREP="$ac_cv_path_FGREP"
4325 test -z "$GREP" && GREP=grep
4345 # Check whether --with-gnu-ld was given.
4346 if test "${with_gnu_ld+set}" = set; then :
4347 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4353 if test "$GCC" = yes; then
4354 # Check if gcc -print-prog-name=ld gives a path.
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4356 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
4359 # gcc leaves a trailing carriage return which upsets mingw
4360 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4362 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4365 # Accept absolute paths.
4367 re_direlt='/[^/][^/]*/\.\./'
4368 # Canonicalize the pathname of ld
4369 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4370 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4371 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
4373 test -z "$LD" && LD="$ac_prog"
4376 # If it fails, then pretend we aren't using GCC.
4380 # If it is relative, then search for the first ld in PATH.
4384 elif test "$with_gnu_ld" = yes; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
4386 $as_echo_n "checking
for GNU ld...
" >&6; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
4389 $as_echo_n "checking
for non-GNU ld...
" >&6; }
4391 if ${lt_cv_path_LD+:} false; then :
4392 $as_echo_n "(cached
) " >&6
4394 if test -z "$LD"; then
4395 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4396 for ac_dir in $PATH; do
4398 test -z "$ac_dir" && ac_dir=.
4399 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4400 lt_cv_path_LD="$ac_dir/$ac_prog"
4401 # Check to see if the program is GNU ld. I'd rather use --version,
4402 # but apparently some variants of GNU ld only accept -v.
4403 # Break only if it was the GNU/non-GNU ld that we prefer.
4404 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4405 *GNU* | *'with BFD'*)
4406 test "$with_gnu_ld" != no && break
4409 test "$with_gnu_ld" != yes && break
4416 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4421 if test -n "$LD"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
4423 $as_echo "$LD" >&6; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4426 $as_echo "no
" >&6; }
4428 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
4430 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
4431 if ${lt_cv_prog_gnu_ld+:} false; then :
4432 $as_echo_n "(cached
) " >&6
4434 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4435 case `$LD -v 2>&1 </dev/null` in
4436 *GNU* | *'with BFD'*)
4437 lt_cv_prog_gnu_ld=yes
4440 lt_cv_prog_gnu_ld=no
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
4445 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4446 with_gnu_ld=$lt_cv_prog_gnu_ld
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
4457 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
4458 if ${lt_cv_path_NM+:} false; then :
4459 $as_echo_n "(cached
) " >&6
4461 if test -n "$NM"; then
4462 # Let the user override the test.
4465 lt_nm_to_check="${ac_tool_prefix}nm
"
4466 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4467 lt_nm_to_check="$lt_nm_to_check nm
"
4469 for lt_tmp_nm in $lt_nm_to_check; do
4470 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4471 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4473 test -z "$ac_dir" && ac_dir=.
4474 tmp_nm="$ac_dir/$lt_tmp_nm"
4475 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4476 # Check to see if the nm accepts a BSD-compat flag.
4477 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4478 # nm: unknown option "B
" ignored
4479 # Tru64's nm complains that /dev/null is an invalid object file
4480 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4481 */dev/null* | *'Invalid file or object type'*)
4482 lt_cv_path_NM="$tmp_nm -B"
4486 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4488 lt_cv_path_NM="$tmp_nm -p"
4492 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4493 continue # so that we can try to find one that supports BSD flags
4502 : ${lt_cv_path_NM=no}
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
4506 $as_echo "$lt_cv_path_NM" >&6; }
4507 if test "$lt_cv_path_NM" != "no
"; then
4510 # Didn't find any BSD compatible name lister, look for dumpbin.
4511 if test -n "$DUMPBIN"; then :
4512 # Let the user override the test.
4514 if test -n "$ac_tool_prefix"; then
4515 for ac_prog in dumpbin "link
-dump"
4517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4520 $as_echo_n "checking
for $ac_word...
" >&6; }
4521 if ${ac_cv_prog_DUMPBIN+:} false; then :
4522 $as_echo_n "(cached
) " >&6
4524 if test -n "$DUMPBIN"; then
4525 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4544 DUMPBIN=$ac_cv_prog_DUMPBIN
4545 if test -n "$DUMPBIN"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
4547 $as_echo "$DUMPBIN" >&6; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4550 $as_echo "no
" >&6; }
4554 test -n "$DUMPBIN" && break
4557 if test -z "$DUMPBIN"; then
4558 ac_ct_DUMPBIN=$DUMPBIN
4559 for ac_prog in dumpbin "link
-dump"
4561 # Extract the first word of "$ac_prog", so it can be a program name with args.
4562 set dummy $ac_prog; ac_word=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4564 $as_echo_n "checking
for $ac_word...
" >&6; }
4565 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4566 $as_echo_n "(cached
) " >&6
4568 if test -n "$ac_ct_DUMPBIN"; then
4569 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir=.
4576 for ac_exec_ext in '' $ac_executable_extensions; do
4577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4578 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4588 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4589 if test -n "$ac_ct_DUMPBIN"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
4591 $as_echo "$ac_ct_DUMPBIN" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4594 $as_echo "no
" >&6; }
4598 test -n "$ac_ct_DUMPBIN" && break
4601 if test "x
$ac_ct_DUMPBIN" = x; then
4604 case $cross_compiling:$ac_tool_warned in
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4607 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4608 ac_tool_warned=yes ;;
4610 DUMPBIN=$ac_ct_DUMPBIN
4614 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4616 DUMPBIN="$DUMPBIN -symbols"
4624 if test "$DUMPBIN" != ":"; then
4628 test -z "$NM" && NM=nm
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
4636 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
4637 if ${lt_cv_nm_interface+:} false; then :
4638 $as_echo_n "(cached
) " >&6
4640 lt_cv_nm_interface="BSD nm
"
4641 echo "int some_variable
= 0;" > conftest.$ac_ext
4642 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
4643 (eval "$ac_compile" 2>conftest.err)
4644 cat conftest.err >&5
4645 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
4646 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
4647 cat conftest.err >&5
4648 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
4649 cat conftest.out >&5
4650 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4651 lt_cv_nm_interface="MS dumpbin
"
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
4656 $as_echo "$lt_cv_nm_interface" >&6; }
4658 # find the maximum length of command line arguments
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
4660 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
4661 if ${lt_cv_sys_max_cmd_len+:} false; then :
4662 $as_echo_n "(cached
) " >&6
4669 # On DJGPP, this test can blow up pretty badly due to problems in libc
4670 # (any single argument exceeding 2000 bytes causes a buffer overrun
4671 # during glob expansion). Even if it were fixed, the result of this
4672 # check would be larger than it should be.
4673 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4677 # Under GNU Hurd, this test is not required because there is
4678 # no limit to the length of command line arguments.
4679 # Libtool will interpret -1 as no limit whatsoever
4680 lt_cv_sys_max_cmd_len=-1;
4683 cygwin* | mingw* | cegcc*)
4684 # On Win9x/ME, this test blows up -- it succeeds, but takes
4685 # about 5 minutes as the teststring grows exponentially.
4686 # Worse, since 9x/ME are not pre-emptively multitasking,
4687 # you end up with a "frozen
" computer, even though with patience
4688 # the test eventually succeeds (with a max line length of 256k).
4689 # Instead, let's just punt: use the minimum linelength reported by
4690 # all of the supported platforms: 8192 (on NT/2K/XP).
4691 lt_cv_sys_max_cmd_len=8192;
4695 # On MiNT this can take a long time and run out of memory.
4696 lt_cv_sys_max_cmd_len=8192;
4700 # On AmigaOS with pdksh, this test takes hours, literally.
4701 # So we just punt and use a minimum line length of 8192.
4702 lt_cv_sys_max_cmd_len=8192;
4705 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4706 # This has been around since 386BSD, at least. Likely further.
4707 if test -x /sbin/sysctl; then
4708 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4709 elif test -x /usr/sbin/sysctl; then
4710 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4712 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4714 # And add a safety zone
4715 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4716 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4720 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4721 lt_cv_sys_max_cmd_len=196608
4725 # The test takes a long time on OS/2.
4726 lt_cv_sys_max_cmd_len=8192
4730 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4731 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4732 # nice to cause kernel panics so lets avoid the loop below.
4733 # First set a reasonable default.
4734 lt_cv_sys_max_cmd_len=16384
4736 if test -x /sbin/sysconfig; then
4737 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4738 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4743 lt_cv_sys_max_cmd_len=102400
4745 sysv5* | sco5v6* | sysv4.2uw2*)
4746 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4747 if test -n "$kargmax"; then
4748 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4750 lt_cv_sys_max_cmd_len=32768
4754 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4755 if test -n "$lt_cv_sys_max_cmd_len"; then
4756 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4757 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4759 # Make teststring a little bigger before we do anything with it.
4760 # a 1K string should be a reasonable start.
4761 for i in 1 2 3 4 5 6 7 8 ; do
4762 teststring=$teststring$teststring
4764 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4765 # If test is not a shell built-in, we'll probably end up computing a
4766 # maximum length that is only half of the actual maximum length, but
4768 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
4769 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
4770 test $i != 17 # 1/2 MB should be enough
4773 teststring=$teststring$teststring
4775 # Only check the string length outside the loop.
4776 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
4778 # Add a significant safety factor because C++ compilers can tack on
4779 # massive amounts of additional arguments before passing them to the
4780 # linker. It appears as though 1/2 is a usable value.
4781 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4788 if test -n $lt_cv_sys_max_cmd_len ; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
4790 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
4793 $as_echo "none
" >&6; }
4795 max_cmd_len=$lt_cv_sys_max_cmd_len
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
4807 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
4808 # Try some XSI features
4811 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4813 && eval 'test $(( 1 + 1 )) -eq 2 \
4814 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4817 $as_echo "$xsi_shell" >&6; }
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4821 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4823 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
4825 && lt_shell_append
=yes
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4827 $as_echo "$lt_shell_append" >&6; }
4830 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4840 # test EBCDIC or ASCII
4841 case `echo X|tr X '\101'` in
4842 A
) # ASCII based system
4843 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4844 lt_SP2NL
='tr \040 \012'
4845 lt_NL2SP
='tr \015\012 \040\040'
4847 *) # EBCDIC based system
4848 lt_SP2NL
='tr \100 \n'
4849 lt_NL2SP
='tr \r\n \100\100'
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4862 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4863 if ${lt_cv_to_host_file_cmd+:} false
; then :
4864 $as_echo_n "(cached) " >&6
4869 *-*-mingw* ) # actually msys
4870 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
4873 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
4875 * ) # otherwise, assume *nix
4876 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
4882 *-*-mingw* ) # actually msys
4883 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
4886 lt_cv_to_host_file_cmd
=func_convert_file_noop
4888 * ) # otherwise, assume *nix
4889 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
4893 * ) # unhandled hosts (and "normal" native builds)
4894 lt_cv_to_host_file_cmd
=func_convert_file_noop
4900 to_host_file_cmd
=$lt_cv_to_host_file_cmd
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4902 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4909 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4910 if ${lt_cv_to_tool_file_cmd+:} false
; then :
4911 $as_echo_n "(cached) " >&6
4913 #assume ordinary cross tools, or native build.
4914 lt_cv_to_tool_file_cmd
=func_convert_file_noop
4918 *-*-mingw* ) # actually msys
4919 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
4927 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4929 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4936 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4937 if ${lt_cv_ld_reload_flag+:} false
; then :
4938 $as_echo_n "(cached) " >&6
4940 lt_cv_ld_reload_flag
='-r'
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4943 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4944 reload_flag
=$lt_cv_ld_reload_flag
4945 case $reload_flag in
4947 *) reload_flag
=" $reload_flag" ;;
4949 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4951 cygwin
* | mingw
* | pw32
* | cegcc
*)
4952 if test "$GCC" != yes; then
4957 if test "$GCC" = yes; then
4958 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4960 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4973 if test -n "$ac_tool_prefix"; then
4974 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4975 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 $as_echo_n "checking for $ac_word... " >&6; }
4978 if ${ac_cv_prog_OBJDUMP+:} false
; then :
4979 $as_echo_n "(cached) " >&6
4981 if test -n "$OBJDUMP"; then
4982 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
4984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4988 test -z "$as_dir" && as_dir
=.
4989 for ac_exec_ext
in '' $ac_executable_extensions; do
4990 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4991 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
4992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 OBJDUMP
=$ac_cv_prog_OBJDUMP
5002 if test -n "$OBJDUMP"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5004 $as_echo "$OBJDUMP" >&6; }
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 $as_echo "no" >&6; }
5012 if test -z "$ac_cv_prog_OBJDUMP"; then
5013 ac_ct_OBJDUMP
=$OBJDUMP
5014 # Extract the first word of "objdump", so it can be a program name with args.
5015 set dummy objdump
; ac_word
=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5019 $as_echo_n "(cached) " >&6
5021 if test -n "$ac_ct_OBJDUMP"; then
5022 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5028 test -z "$as_dir" && as_dir
=.
5029 for ac_exec_ext
in '' $ac_executable_extensions; do
5030 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5031 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5042 if test -n "$ac_ct_OBJDUMP"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5044 $as_echo "$ac_ct_OBJDUMP" >&6; }
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5050 if test "x$ac_ct_OBJDUMP" = x
; then
5053 case $cross_compiling:$ac_tool_warned in
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5057 ac_tool_warned
=yes ;;
5059 OBJDUMP
=$ac_ct_OBJDUMP
5062 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5065 test -z "$OBJDUMP" && OBJDUMP
=objdump
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5076 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5077 if ${lt_cv_deplibs_check_method+:} false
; then :
5078 $as_echo_n "(cached) " >&6
5080 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5081 lt_cv_file_magic_test_file
=
5082 lt_cv_deplibs_check_method
='unknown'
5083 # Need to set the preceding variable on all platforms that support
5084 # interlibrary dependencies.
5085 # 'none' -- dependencies not supported.
5086 # `unknown' -- same as none, but documents that we really don't know.
5087 # 'pass_all' -- all dependencies passed with no checks.
5088 # 'test_compile' -- check by making test program.
5089 # 'file_magic [[regex]]' -- check by looking for files in library path
5090 # which responds to the $file_magic_cmd with a given extended regex.
5091 # If you have `file' or equivalent on your system and you're not sure
5092 # whether `pass_all' will *always* work, you probably want this one.
5096 lt_cv_deplibs_check_method
=pass_all
5100 lt_cv_deplibs_check_method
=pass_all
5104 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5105 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5106 lt_cv_file_magic_test_file
=/shlib
/libc.so
5110 # func_win32_libid is a shell function defined in ltmain.sh
5111 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5112 lt_cv_file_magic_cmd
='func_win32_libid'
5116 # Base MSYS/MinGW do not provide the 'file' command needed by
5117 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5118 # unless we find 'file', for example because we are cross-compiling.
5119 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5120 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
5121 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5122 lt_cv_file_magic_cmd
='func_win32_libid'
5124 # Keep this pattern in sync with the one in func_win32_libid.
5125 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5126 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5131 # use the weaker test based on 'objdump'. See mingw*.
5132 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5133 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5136 darwin
* | rhapsody
*)
5137 lt_cv_deplibs_check_method
=pass_all
5140 freebsd
* | dragonfly
*)
5141 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5144 # Not sure whether the presence of OpenBSD here was a mistake.
5145 # Let's accept both of them until this is cleared up.
5146 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5147 lt_cv_file_magic_cmd
=/usr
/bin
/file
5148 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5152 lt_cv_deplibs_check_method
=pass_all
5157 lt_cv_deplibs_check_method
=pass_all
5161 lt_cv_deplibs_check_method
=pass_all
5164 hpux10.20
* | hpux11
*)
5165 lt_cv_file_magic_cmd
=/usr
/bin
/file
5168 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5169 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5172 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]'
5173 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5176 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5177 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5183 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5184 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
5187 irix5
* | irix6
* | nonstopux
*)
5189 *-32|
*"-32 ") libmagic
=32-bit;;
5190 *-n32|
*"-n32 ") libmagic
=N32
;;
5191 *-64|
*"-64 ") libmagic
=64-bit;;
5192 *) libmagic
=never-match
;;
5194 lt_cv_deplibs_check_method
=pass_all
5197 # This must be glibc/ELF.
5198 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
5199 lt_cv_deplibs_check_method
=pass_all
5203 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
5204 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5206 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5211 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5212 lt_cv_file_magic_cmd
=/usr
/bin
/file
5213 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5217 lt_cv_deplibs_check_method
=pass_all
5221 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5222 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5224 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5228 osf3
* | osf4
* | osf5
*)
5229 lt_cv_deplibs_check_method
=pass_all
5233 lt_cv_deplibs_check_method
=pass_all
5237 lt_cv_deplibs_check_method
=pass_all
5240 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
5241 lt_cv_deplibs_check_method
=pass_all
5245 case $host_vendor in
5247 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]'
5248 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5251 lt_cv_deplibs_check_method
=pass_all
5254 lt_cv_file_magic_cmd
='/bin/file'
5255 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5258 lt_cv_file_magic_cmd
='/bin/file'
5259 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5260 lt_cv_file_magic_test_file
=/lib
/libc.so
5263 lt_cv_deplibs_check_method
=pass_all
5266 lt_cv_deplibs_check_method
=pass_all
5272 lt_cv_deplibs_check_method
=pass_all
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5278 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5282 if test "$build" = "$host"; then
5285 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
5288 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5294 file_magic_cmd
=$lt_cv_file_magic_cmd
5295 deplibs_check_method
=$lt_cv_deplibs_check_method
5296 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5319 if test -n "$ac_tool_prefix"; then
5320 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5321 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5323 $as_echo_n "checking for $ac_word... " >&6; }
5324 if ${ac_cv_prog_DLLTOOL+:} false
; then :
5325 $as_echo_n "(cached) " >&6
5327 if test -n "$DLLTOOL"; then
5328 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5334 test -z "$as_dir" && as_dir
=.
5335 for ac_exec_ext
in '' $ac_executable_extensions; do
5336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5337 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5347 DLLTOOL
=$ac_cv_prog_DLLTOOL
5348 if test -n "$DLLTOOL"; then
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5350 $as_echo "$DLLTOOL" >&6; }
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5358 if test -z "$ac_cv_prog_DLLTOOL"; then
5359 ac_ct_DLLTOOL
=$DLLTOOL
5360 # Extract the first word of "dlltool", so it can be a program name with args.
5361 set dummy dlltool
; ac_word
=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
5365 $as_echo_n "(cached) " >&6
5367 if test -n "$ac_ct_DLLTOOL"; then
5368 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5374 test -z "$as_dir" && as_dir
=.
5375 for ac_exec_ext
in '' $ac_executable_extensions; do
5376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5388 if test -n "$ac_ct_DLLTOOL"; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5390 $as_echo "$ac_ct_DLLTOOL" >&6; }
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5396 if test "x$ac_ct_DLLTOOL" = x
; then
5399 case $cross_compiling:$ac_tool_warned in
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5403 ac_tool_warned
=yes ;;
5405 DLLTOOL
=$ac_ct_DLLTOOL
5408 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5411 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5423 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5424 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
5425 $as_echo_n "(cached) " >&6
5427 lt_cv_sharedlib_from_linklib_cmd
='unknown'
5430 cygwin
* | mingw
* | pw32
* | cegcc
*)
5431 # two different shell functions defined in ltmain.sh
5432 # decide which to use based on capabilities of $DLLTOOL
5433 case `$DLLTOOL --help 2>&1` in
5434 *--identify-strict*)
5435 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
5438 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
5443 # fallback: assume linklib IS sharedlib
5444 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5450 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5451 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
5452 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
5461 if test -n "$ac_tool_prefix"; then
5464 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5465 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5467 $as_echo_n "checking for $ac_word... " >&6; }
5468 if ${ac_cv_prog_AR+:} false
; then :
5469 $as_echo_n "(cached) " >&6
5471 if test -n "$AR"; then
5472 ac_cv_prog_AR
="$AR" # Let the user override the test.
5474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5478 test -z "$as_dir" && as_dir
=.
5479 for ac_exec_ext
in '' $ac_executable_extensions; do
5480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5481 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
5482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 if test -n "$AR"; then
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5494 $as_echo "$AR" >&6; }
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }
5501 test -n "$AR" && break
5504 if test -z "$AR"; then
5508 # Extract the first word of "$ac_prog", so it can be a program name with args.
5509 set dummy
$ac_prog; ac_word
=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5513 $as_echo_n "(cached) " >&6
5515 if test -n "$ac_ct_AR"; then
5516 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5522 test -z "$as_dir" && as_dir
=.
5523 for ac_exec_ext
in '' $ac_executable_extensions; do
5524 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_ac_ct_AR
="$ac_prog"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5536 if test -n "$ac_ct_AR"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5538 $as_echo "$ac_ct_AR" >&6; }
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5545 test -n "$ac_ct_AR" && break
5548 if test "x$ac_ct_AR" = x
; then
5551 case $cross_compiling:$ac_tool_warned in
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5555 ac_tool_warned
=yes ;;
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5575 $as_echo_n "checking for archiver @FILE support... " >&6; }
5576 if ${lt_cv_ar_at_file+:} false
; then :
5577 $as_echo_n "(cached) " >&6
5580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5581 /* end confdefs.h. */
5591 if ac_fn_c_try_compile
"$LINENO"; then :
5592 echo conftest.
$ac_objext > conftest.lst
5593 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5594 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5595 (eval $lt_ar_try) 2>&5
5597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5598 test $ac_status = 0; }
5599 if test "$ac_status" -eq 0; then
5600 # Ensure the archiver fails upon bogus file names.
5601 rm -f conftest.
$ac_objext libconftest.a
5602 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5603 (eval $lt_ar_try) 2>&5
5605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5606 test $ac_status = 0; }
5607 if test "$ac_status" -ne 0; then
5611 rm -f conftest.
* libconftest.a
5614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5618 $as_echo "$lt_cv_ar_at_file" >&6; }
5620 if test "x$lt_cv_ar_at_file" = xno
; then
5623 archiver_list_spec
=$lt_cv_ar_at_file
5632 if test -n "$ac_tool_prefix"; then
5633 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5634 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; }
5637 if ${ac_cv_prog_STRIP+:} false
; then :
5638 $as_echo_n "(cached) " >&6
5640 if test -n "$STRIP"; then
5641 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir
=.
5648 for ac_exec_ext
in '' $ac_executable_extensions; do
5649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 STRIP
=$ac_cv_prog_STRIP
5661 if test -n "$STRIP"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5663 $as_echo "$STRIP" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5671 if test -z "$ac_cv_prog_STRIP"; then
5673 # Extract the first word of "strip", so it can be a program name with args.
5674 set dummy strip
; ac_word
=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
5678 $as_echo_n "(cached) " >&6
5680 if test -n "$ac_ct_STRIP"; then
5681 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5687 test -z "$as_dir" && as_dir
=.
5688 for ac_exec_ext
in '' $ac_executable_extensions; do
5689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5690 ac_cv_prog_ac_ct_STRIP
="strip"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5701 if test -n "$ac_ct_STRIP"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5703 $as_echo "$ac_ct_STRIP" >&6; }
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5709 if test "x$ac_ct_STRIP" = x
; then
5712 case $cross_compiling:$ac_tool_warned in
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5716 ac_tool_warned
=yes ;;
5721 STRIP
="$ac_cv_prog_STRIP"
5724 test -z "$STRIP" && STRIP
=:
5731 if test -n "$ac_tool_prefix"; then
5732 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5733 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if ${ac_cv_prog_RANLIB+:} false
; then :
5737 $as_echo_n "(cached) " >&6
5739 if test -n "$RANLIB"; then
5740 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5746 test -z "$as_dir" && as_dir
=.
5747 for ac_exec_ext
in '' $ac_executable_extensions; do
5748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 RANLIB
=$ac_cv_prog_RANLIB
5760 if test -n "$RANLIB"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5762 $as_echo "$RANLIB" >&6; }
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5770 if test -z "$ac_cv_prog_RANLIB"; then
5771 ac_ct_RANLIB
=$RANLIB
5772 # Extract the first word of "ranlib", so it can be a program name with args.
5773 set dummy ranlib
; ac_word
=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5777 $as_echo_n "(cached) " >&6
5779 if test -n "$ac_ct_RANLIB"; then
5780 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5786 test -z "$as_dir" && as_dir
=.
5787 for ac_exec_ext
in '' $ac_executable_extensions; do
5788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5800 if test -n "$ac_ct_RANLIB"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5802 $as_echo "$ac_ct_RANLIB" >&6; }
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5808 if test "x$ac_ct_RANLIB" = x
; then
5811 case $cross_compiling:$ac_tool_warned in
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5815 ac_tool_warned
=yes ;;
5817 RANLIB
=$ac_ct_RANLIB
5820 RANLIB
="$ac_cv_prog_RANLIB"
5823 test -z "$RANLIB" && RANLIB
=:
5830 # Determine commands to create old-style static archives.
5831 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
5832 old_postinstall_cmds
='chmod 644 $oldlib'
5833 old_postuninstall_cmds
=
5835 if test -n "$RANLIB"; then
5838 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5841 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5844 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5849 lock_old_archive_extraction
=yes ;;
5851 lock_old_archive_extraction
=no
;;
5892 # If no C compiler was specified, use CC.
5895 # If no C compiler flags were specified, use CFLAGS.
5896 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
5898 # Allow CC to be a program name with arguments.
5902 # Check for command to grab the raw symbol name followed by C symbol from nm.
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5904 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5905 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
5906 $as_echo_n "(cached) " >&6
5909 # These are sane defaults that work on at least a few old systems.
5910 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5912 # Character class describing NM global symbol codes.
5913 symcode
='[BCDEGRST]'
5915 # Regexp to match symbols that can be accessed directly from C.
5916 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
5918 # Define system-specific variables.
5923 cygwin
* | mingw
* | pw32
* | cegcc
*)
5924 symcode
='[ABCDGISTW]'
5927 if test "$host_cpu" = ia64
; then
5928 symcode
='[ABCDEGRST]'
5932 symcode
='[BCDEGRST]'
5935 symcode
='[BCDEGQRST]'
5946 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
5954 # If we're using GNU nm, then use its standard symbol codes.
5955 case `$NM -V 2>&1` in
5956 *GNU
* |
*'with BFD'*)
5957 symcode
='[ABCDGIRSTW]' ;;
5960 # Transform an extracted symbol line into a proper C declaration.
5961 # Some systems (esp. on ia64) link data and code symbols differently,
5962 # so use this general approach.
5963 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5965 # Transform an extracted symbol line into symbol name and symbol address
5966 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5967 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5969 # Handle CRLF in mingw tool chain
5973 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5977 # Try without a prefix underscore, then with it.
5978 for ac_symprfx
in "" "_"; do
5980 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5981 symxfrm
="\\1 $ac_symprfx\\2 \\2"
5983 # Write the raw and C identifiers.
5984 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5985 # Fake it for dumpbin and say T for any non-static function
5986 # and D for any global variable.
5987 # Also find C++ and __fastcall symbols from MSVC++,
5988 # which start with @ or ?.
5989 lt_cv_sys_global_symbol_pipe
="$AWK '"\
5990 " {last_section=section; section=\$ 3};"\
5991 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5992 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5993 " \$ 0!~/External *\|/{next};"\
5994 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5995 " {if(hide[section]) next};"\
5996 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5997 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5998 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5999 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6000 " ' prfx=^$ac_symprfx"
6002 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6004 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6006 # Check to see that the pipe works correctly.
6010 cat > conftest.
$ac_ext <<_LT_EOF
6015 void nm_test_func(void);
6016 void nm_test_func(void){}
6020 int main(){nm_test_var='a';nm_test_func();return(0);}
6023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6024 (eval $ac_compile) 2>&5
6026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6027 test $ac_status = 0; }; then
6028 # Now try to grab the symbols.
6030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6031 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6034 test $ac_status = 0; } && test -s "$nlist"; then
6035 # Try sorting and uniquifying the output.
6036 if sort "$nlist" |
uniq > "$nlist"T
; then
6037 mv -f "$nlist"T
"$nlist"
6042 # Make sure that we snagged all the symbols we need.
6043 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6044 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6045 cat <<_LT_EOF > conftest.$ac_ext
6046 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6047 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6048 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6049 relocations are performed -- see ld's documentation on pseudo-relocs. */
6050 # define LT_DLSYM_CONST
6051 #elif defined(__osf__)
6052 /* This system does not cope well with relocations in const data. */
6053 # define LT_DLSYM_CONST
6055 # define LT_DLSYM_CONST const
6063 # Now generate the symbol file.
6064 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6066 cat <<_LT_EOF >> conftest.$ac_ext
6068 /* The mapping between symbol names and symbols. */
6069 LT_DLSYM_CONST struct {
6073 lt__PROGRAM__LTX_preloaded_symbols[] =
6075 { "@PROGRAM@", (void *) 0 },
6077 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6078 cat <<\_LT_EOF
>> conftest.
$ac_ext
6082 /* This works around a problem
in FreeBSD linker
*/
6083 #ifdef FREEBSD_WORKAROUND
6084 static const void
*lt_preloaded_setup
() {
6085 return lt__PROGRAM__LTX_preloaded_symbols
;
6093 # Now try linking the two files.
6094 mv conftest.
$ac_objext conftstm.
$ac_objext
6095 lt_globsym_save_LIBS
=$LIBS
6096 lt_globsym_save_CFLAGS
=$CFLAGS
6097 LIBS
="conftstm.$ac_objext"
6098 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6100 (eval $ac_link) 2>&5
6102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6103 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6106 LIBS
=$lt_globsym_save_LIBS
6107 CFLAGS
=$lt_globsym_save_CFLAGS
6109 echo "cannot find nm_test_func in $nlist" >&5
6112 echo "cannot find nm_test_var in $nlist" >&5
6115 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6118 echo "$progname: failed program was:" >&5
6119 cat conftest.
$ac_ext >&5
6121 rm -rf conftest
* conftst
*
6123 # Do not use the global_symbol_pipe unless it works.
6124 if test "$pipe_works" = yes; then
6127 lt_cv_sys_global_symbol_pipe
=
6133 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6134 lt_cv_sys_global_symbol_to_cdecl
=
6136 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6138 $as_echo "failed" >&6; }
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6141 $as_echo "ok" >&6; }
6144 # Response file support.
6145 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6146 nm_file_list_spec
='@'
6147 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
6148 nm_file_list_spec
='@'
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6178 $as_echo_n "checking for sysroot... " >&6; }
6180 # Check whether --with-sysroot was given.
6181 if test "${with_sysroot+set}" = set; then :
6182 withval
=$with_sysroot;
6189 case ${with_sysroot} in #(
6191 if test "$GCC" = yes; then
6192 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
6196 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6202 $as_echo "${with_sysroot}" >&6; }
6203 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6208 $as_echo "${lt_sysroot:-no}" >&6; }
6214 # Check whether --enable-libtool-lock was given.
6215 if test "${enable_libtool_lock+set}" = set; then :
6216 enableval
=$enable_libtool_lock;
6219 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
6221 # Some flags need to be propagated to the compiler or linker for good
6225 # Find out which ABI we are using.
6226 echo 'int i;' > conftest.
$ac_ext
6227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6228 (eval $ac_compile) 2>&5
6230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6231 test $ac_status = 0; }; then
6232 case `/usr/bin/file conftest.$ac_objext` in
6244 # Find out which ABI we are using.
6245 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
6246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6247 (eval $ac_compile) 2>&5
6249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6250 test $ac_status = 0; }; then
6251 if test "$lt_cv_prog_gnu_ld" = yes; then
6252 case `/usr/bin/file conftest.$ac_objext` in
6254 LD
="${LD-ld} -melf32bsmip"
6257 LD
="${LD-ld} -melf32bmipn32"
6260 LD
="${LD-ld} -melf64bmip"
6264 case `/usr/bin/file conftest.$ac_objext` in
6280 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
6281 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
6282 # Find out which ABI we are using.
6283 echo 'int i;' > conftest.
$ac_ext
6284 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6285 (eval $ac_compile) 2>&5
6287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6288 test $ac_status = 0; }; then
6289 case `/usr/bin/file conftest.o` in
6292 x86_64-
*kfreebsd
*-gnu)
6293 LD
="${LD-ld} -m elf_i386_fbsd"
6296 LD
="${LD-ld} -m elf_i386"
6298 ppc64-
*linux
*|powerpc64-
*linux
*)
6299 LD
="${LD-ld} -m elf32ppclinux"
6302 LD
="${LD-ld} -m elf_s390"
6305 LD
="${LD-ld} -m elf32_sparc"
6311 x86_64-
*kfreebsd
*-gnu)
6312 LD
="${LD-ld} -m elf_x86_64_fbsd"
6315 LD
="${LD-ld} -m elf_x86_64"
6317 ppc
*-*linux
*|powerpc
*-*linux
*)
6318 LD
="${LD-ld} -m elf64ppc"
6320 s390
*-*linux
*|s390
*-*tpf
*)
6321 LD
="${LD-ld} -m elf64_s390"
6324 LD
="${LD-ld} -m elf64_sparc"
6334 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6335 SAVE_CFLAGS
="$CFLAGS"
6336 CFLAGS
="$CFLAGS -belf"
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6338 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6339 if ${lt_cv_cc_needs_belf+:} false
; then :
6340 $as_echo_n "(cached) " >&6
6343 ac_cpp
='$CPP $CPPFLAGS'
6344 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6345 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6346 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6349 /* end confdefs.h. */
6359 if ac_fn_c_try_link
"$LINENO"; then :
6360 lt_cv_cc_needs_belf
=yes
6362 lt_cv_cc_needs_belf
=no
6364 rm -f core conftest.err conftest.
$ac_objext \
6365 conftest
$ac_exeext conftest.
$ac_ext
6367 ac_cpp
='$CPP $CPPFLAGS'
6368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6374 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6375 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
6376 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6377 CFLAGS
="$SAVE_CFLAGS"
6381 # Find out which ABI we are using.
6382 echo 'int i;' > conftest.
$ac_ext
6383 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6384 (eval $ac_compile) 2>&5
6386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6387 test $ac_status = 0; }; then
6388 case `/usr/bin/file conftest.o` in
6390 case $lt_cv_prog_gnu_ld in
6394 LD
="${LD-ld} -m elf_x86_64"
6397 LD
="${LD-ld} -m elf64_sparc"
6400 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6401 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
6406 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
6418 need_locks
="$enable_libtool_lock"
6420 if test -n "$ac_tool_prefix"; then
6421 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6422 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
6426 $as_echo_n "(cached) " >&6
6428 if test -n "$MANIFEST_TOOL"; then
6429 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
6431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6435 test -z "$as_dir" && as_dir
=.
6436 for ac_exec_ext
in '' $ac_executable_extensions; do
6437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6448 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
6449 if test -n "$MANIFEST_TOOL"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6451 $as_echo "$MANIFEST_TOOL" >&6; }
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6454 $as_echo "no" >&6; }
6459 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6460 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
6461 # Extract the first word of "mt", so it can be a program name with args.
6462 set dummy mt
; ac_word
=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
6466 $as_echo_n "(cached) " >&6
6468 if test -n "$ac_ct_MANIFEST_TOOL"; then
6469 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6475 test -z "$as_dir" && as_dir
=.
6476 for ac_exec_ext
in '' $ac_executable_extensions; do
6477 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6478 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6489 if test -n "$ac_ct_MANIFEST_TOOL"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6491 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6497 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
6500 case $cross_compiling:$ac_tool_warned in
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6504 ac_tool_warned
=yes ;;
6506 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
6509 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
6512 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6514 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6515 if ${lt_cv_path_mainfest_tool+:} false
; then :
6516 $as_echo_n "(cached) " >&6
6518 lt_cv_path_mainfest_tool
=no
6519 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6520 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
6521 cat conftest.err
>&5
6522 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
6523 lt_cv_path_mainfest_tool
=yes
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6528 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6529 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
6539 rhapsody
* | darwin
*)
6540 if test -n "$ac_tool_prefix"; then
6541 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6542 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6544 $as_echo_n "checking for $ac_word... " >&6; }
6545 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
6546 $as_echo_n "(cached) " >&6
6548 if test -n "$DSYMUTIL"; then
6549 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
6551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6555 test -z "$as_dir" && as_dir
=.
6556 for ac_exec_ext
in '' $ac_executable_extensions; do
6557 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6558 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
6559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6568 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
6569 if test -n "$DSYMUTIL"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6571 $as_echo "$DSYMUTIL" >&6; }
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 $as_echo "no" >&6; }
6579 if test -z "$ac_cv_prog_DSYMUTIL"; then
6580 ac_ct_DSYMUTIL
=$DSYMUTIL
6581 # Extract the first word of "dsymutil", so it can be a program name with args.
6582 set dummy dsymutil
; ac_word
=$2
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6584 $as_echo_n "checking for $ac_word... " >&6; }
6585 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
6586 $as_echo_n "(cached) " >&6
6588 if test -n "$ac_ct_DSYMUTIL"; then
6589 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
6591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6595 test -z "$as_dir" && as_dir
=.
6596 for ac_exec_ext
in '' $ac_executable_extensions; do
6597 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
6599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6608 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
6609 if test -n "$ac_ct_DSYMUTIL"; then
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6611 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 $as_echo "no" >&6; }
6617 if test "x$ac_ct_DSYMUTIL" = x
; then
6620 case $cross_compiling:$ac_tool_warned in
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6624 ac_tool_warned
=yes ;;
6626 DSYMUTIL
=$ac_ct_DSYMUTIL
6629 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
6632 if test -n "$ac_tool_prefix"; then
6633 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6634 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6636 $as_echo_n "checking for $ac_word... " >&6; }
6637 if ${ac_cv_prog_NMEDIT+:} false
; then :
6638 $as_echo_n "(cached) " >&6
6640 if test -n "$NMEDIT"; then
6641 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
6643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6647 test -z "$as_dir" && as_dir
=.
6648 for ac_exec_ext
in '' $ac_executable_extensions; do
6649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6650 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
6651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 NMEDIT
=$ac_cv_prog_NMEDIT
6661 if test -n "$NMEDIT"; then
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6663 $as_echo "$NMEDIT" >&6; }
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6666 $as_echo "no" >&6; }
6671 if test -z "$ac_cv_prog_NMEDIT"; then
6672 ac_ct_NMEDIT
=$NMEDIT
6673 # Extract the first word of "nmedit", so it can be a program name with args.
6674 set dummy nmedit
; ac_word
=$2
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676 $as_echo_n "checking for $ac_word... " >&6; }
6677 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
6678 $as_echo_n "(cached) " >&6
6680 if test -n "$ac_ct_NMEDIT"; then
6681 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
6683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6687 test -z "$as_dir" && as_dir
=.
6688 for ac_exec_ext
in '' $ac_executable_extensions; do
6689 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6690 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
6691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
6701 if test -n "$ac_ct_NMEDIT"; then
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6703 $as_echo "$ac_ct_NMEDIT" >&6; }
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706 $as_echo "no" >&6; }
6709 if test "x$ac_ct_NMEDIT" = x
; then
6712 case $cross_compiling:$ac_tool_warned in
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6716 ac_tool_warned
=yes ;;
6718 NMEDIT
=$ac_ct_NMEDIT
6721 NMEDIT
="$ac_cv_prog_NMEDIT"
6724 if test -n "$ac_tool_prefix"; then
6725 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6726 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6728 $as_echo_n "checking for $ac_word... " >&6; }
6729 if ${ac_cv_prog_LIPO+:} false
; then :
6730 $as_echo_n "(cached) " >&6
6732 if test -n "$LIPO"; then
6733 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
6735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6739 test -z "$as_dir" && as_dir
=.
6740 for ac_exec_ext
in '' $ac_executable_extensions; do
6741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6742 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
6743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6752 LIPO
=$ac_cv_prog_LIPO
6753 if test -n "$LIPO"; then
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6755 $as_echo "$LIPO" >&6; }
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6758 $as_echo "no" >&6; }
6763 if test -z "$ac_cv_prog_LIPO"; then
6765 # Extract the first word of "lipo", so it can be a program name with args.
6766 set dummy lipo
; ac_word
=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768 $as_echo_n "checking for $ac_word... " >&6; }
6769 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
6770 $as_echo_n "(cached) " >&6
6772 if test -n "$ac_ct_LIPO"; then
6773 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
6775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6779 test -z "$as_dir" && as_dir
=.
6780 for ac_exec_ext
in '' $ac_executable_extensions; do
6781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6782 ac_cv_prog_ac_ct_LIPO
="lipo"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6792 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
6793 if test -n "$ac_ct_LIPO"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6795 $as_echo "$ac_ct_LIPO" >&6; }
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 $as_echo "no" >&6; }
6801 if test "x$ac_ct_LIPO" = x
; then
6804 case $cross_compiling:$ac_tool_warned in
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6808 ac_tool_warned
=yes ;;
6813 LIPO
="$ac_cv_prog_LIPO"
6816 if test -n "$ac_tool_prefix"; then
6817 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6818 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6820 $as_echo_n "checking for $ac_word... " >&6; }
6821 if ${ac_cv_prog_OTOOL+:} false
; then :
6822 $as_echo_n "(cached) " >&6
6824 if test -n "$OTOOL"; then
6825 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
6827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir
=.
6832 for ac_exec_ext
in '' $ac_executable_extensions; do
6833 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6834 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6844 OTOOL
=$ac_cv_prog_OTOOL
6845 if test -n "$OTOOL"; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6847 $as_echo "$OTOOL" >&6; }
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 $as_echo "no" >&6; }
6855 if test -z "$ac_cv_prog_OTOOL"; then
6857 # Extract the first word of "otool", so it can be a program name with args.
6858 set dummy otool
; ac_word
=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 $as_echo_n "checking for $ac_word... " >&6; }
6861 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
6862 $as_echo_n "(cached) " >&6
6864 if test -n "$ac_ct_OTOOL"; then
6865 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
6867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir
=.
6872 for ac_exec_ext
in '' $ac_executable_extensions; do
6873 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_ac_ct_OTOOL
="otool"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6884 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
6885 if test -n "$ac_ct_OTOOL"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6887 $as_echo "$ac_ct_OTOOL" >&6; }
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890 $as_echo "no" >&6; }
6893 if test "x$ac_ct_OTOOL" = x
; then
6896 case $cross_compiling:$ac_tool_warned in
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6900 ac_tool_warned
=yes ;;
6905 OTOOL
="$ac_cv_prog_OTOOL"
6908 if test -n "$ac_tool_prefix"; then
6909 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6910 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6912 $as_echo_n "checking for $ac_word... " >&6; }
6913 if ${ac_cv_prog_OTOOL64+:} false
; then :
6914 $as_echo_n "(cached) " >&6
6916 if test -n "$OTOOL64"; then
6917 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
6919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6923 test -z "$as_dir" && as_dir
=.
6924 for ac_exec_ext
in '' $ac_executable_extensions; do
6925 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6926 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
6927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6936 OTOOL64
=$ac_cv_prog_OTOOL64
6937 if test -n "$OTOOL64"; then
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6939 $as_echo "$OTOOL64" >&6; }
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6942 $as_echo "no" >&6; }
6947 if test -z "$ac_cv_prog_OTOOL64"; then
6948 ac_ct_OTOOL64
=$OTOOL64
6949 # Extract the first word of "otool64", so it can be a program name with args.
6950 set dummy otool64
; ac_word
=$2
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6952 $as_echo_n "checking for $ac_word... " >&6; }
6953 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
6954 $as_echo_n "(cached) " >&6
6956 if test -n "$ac_ct_OTOOL64"; then
6957 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
6959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6963 test -z "$as_dir" && as_dir
=.
6964 for ac_exec_ext
in '' $ac_executable_extensions; do
6965 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6966 ac_cv_prog_ac_ct_OTOOL64
="otool64"
6967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6976 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
6977 if test -n "$ac_ct_OTOOL64"; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6979 $as_echo "$ac_ct_OTOOL64" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982 $as_echo "no" >&6; }
6985 if test "x$ac_ct_OTOOL64" = x
; then
6988 case $cross_compiling:$ac_tool_warned in
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6992 ac_tool_warned
=yes ;;
6994 OTOOL64
=$ac_ct_OTOOL64
6997 OTOOL64
="$ac_cv_prog_OTOOL64"
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7027 $as_echo_n "checking for -single_module linker flag... " >&6; }
7028 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7029 $as_echo_n "(cached) " >&6
7031 lt_cv_apple_cc_single_mod
=no
7032 if test -z "${LT_MULTI_MODULE}"; then
7033 # By default we will add the -single_module flag. You can override
7034 # by either setting the environment variable LT_MULTI_MODULE
7035 # non-empty at configure time, or by adding -multi_module to the
7037 rm -rf libconftest.dylib
*
7038 echo "int foo(void){return 1;}" > conftest.c
7039 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7040 -dynamiclib -Wl,-single_module conftest.c" >&5
7041 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7042 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7044 # If there is a non-empty error log, and "single_module"
7045 # appears in it, assume the flag caused a linker warning
7046 if test -s conftest.err
&& $GREP single_module conftest.err
; then
7047 cat conftest.err
>&5
7048 # Otherwise, if the output was created with a 0 exit code from
7049 # the compiler, it worked.
7050 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
7051 lt_cv_apple_cc_single_mod
=yes
7053 cat conftest.err
>&5
7055 rm -rf libconftest.dylib
*
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7060 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7063 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7064 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7065 $as_echo_n "(cached) " >&6
7067 lt_cv_ld_exported_symbols_list
=no
7068 save_LDFLAGS
=$LDFLAGS
7069 echo "_main" > conftest.sym
7070 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7072 /* end confdefs.h. */
7082 if ac_fn_c_try_link
"$LINENO"; then :
7083 lt_cv_ld_exported_symbols_list
=yes
7085 lt_cv_ld_exported_symbols_list
=no
7087 rm -f core conftest.err conftest.
$ac_objext \
7088 conftest
$ac_exeext conftest.
$ac_ext
7089 LDFLAGS
="$save_LDFLAGS"
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7093 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7096 $as_echo_n "checking for -force_load linker flag... " >&6; }
7097 if ${lt_cv_ld_force_load+:} false
; then :
7098 $as_echo_n "(cached) " >&6
7100 lt_cv_ld_force_load
=no
7101 cat > conftest.c
<< _LT_EOF
7102 int forced_loaded() { return 2;}
7104 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7105 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7106 echo "$AR cru libconftest.a conftest.o" >&5
7107 $AR cru libconftest.a conftest.o
2>&5
7108 echo "$RANLIB libconftest.a" >&5
7109 $RANLIB libconftest.a
2>&5
7110 cat > conftest.c
<< _LT_EOF
7111 int main() { return 0;}
7113 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7114 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
7116 if test -s conftest.err
&& $GREP force_load conftest.err
; then
7117 cat conftest.err
>&5
7118 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
7119 lt_cv_ld_force_load
=yes
7121 cat conftest.err
>&5
7123 rm -f conftest.err libconftest.a conftest conftest.c
7124 rm -rf conftest.dSYM
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7128 $as_echo "$lt_cv_ld_force_load" >&6; }
7130 rhapsody
* | darwin1.
[012])
7131 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
7133 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7134 darwin
*) # darwin 5.x on
7135 # if running on 10.5 or later, the deployment target defaults
7136 # to the OS version, if on x86, and 10.4, the deployment
7137 # target defaults to 10.4. Don't you love it?
7138 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7139 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
7140 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7142 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7144 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
7148 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7149 _lt_dar_single_mod
='$single_module'
7151 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7152 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7154 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7156 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7157 _lt_dsymutil
='~$DSYMUTIL $lib || :'
7165 ac_cpp
='$CPP $CPPFLAGS'
7166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7170 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7171 # On Suns, sometimes $CPP names a directory.
7172 if test -n "$CPP" && test -d "$CPP"; then
7175 if test -z "$CPP"; then
7176 if ${ac_cv_prog_CPP+:} false
; then :
7177 $as_echo_n "(cached) " >&6
7179 # Double quotes because CPP needs to be expanded
7180 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7183 for ac_c_preproc_warn_flag
in '' yes
7185 # Use a header file that comes with gcc, so configuring glibc
7186 # with a fresh cross-compiler works.
7187 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7188 # <limits.h> exists even on freestanding compilers.
7189 # On the NeXT, cc -E runs the code through the compiler's parser,
7190 # not just through cpp. "Syntax error" is here to catch this case.
7191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7192 /* end confdefs.h. */
7194 # include <limits.h>
7196 # include <assert.h>
7200 if ac_fn_c_try_cpp
"$LINENO"; then :
7203 # Broken: fails on valid input.
7206 rm -f conftest.err conftest.i conftest.
$ac_ext
7208 # OK, works on sane cases. Now check whether nonexistent headers
7209 # can be detected and how.
7210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7212 #include <ac_nonexistent.h>
7214 if ac_fn_c_try_cpp
"$LINENO"; then :
7215 # Broken: success on invalid input.
7218 # Passes both tests.
7222 rm -f conftest.err conftest.i conftest.
$ac_ext
7225 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7226 rm -f conftest.i conftest.err conftest.
$ac_ext
7227 if $ac_preproc_ok; then :
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7240 $as_echo "$CPP" >&6; }
7242 for ac_c_preproc_warn_flag
in '' yes
7244 # Use a header file that comes with gcc, so configuring glibc
7245 # with a fresh cross-compiler works.
7246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7247 # <limits.h> exists even on freestanding compilers.
7248 # On the NeXT, cc -E runs the code through the compiler's parser,
7249 # not just through cpp. "Syntax error" is here to catch this case.
7250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7251 /* end confdefs.h. */
7253 # include <limits.h>
7255 # include <assert.h>
7259 if ac_fn_c_try_cpp
"$LINENO"; then :
7262 # Broken: fails on valid input.
7265 rm -f conftest.err conftest.i conftest.
$ac_ext
7267 # OK, works on sane cases. Now check whether nonexistent headers
7268 # can be detected and how.
7269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7270 /* end confdefs.h. */
7271 #include <ac_nonexistent.h>
7273 if ac_fn_c_try_cpp
"$LINENO"; then :
7274 # Broken: success on invalid input.
7277 # Passes both tests.
7281 rm -f conftest.err conftest.i conftest.
$ac_ext
7284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7285 rm -f conftest.i conftest.err conftest.
$ac_ext
7286 if $ac_preproc_ok; then :
7289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7291 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
7292 See \`config.log' for more details" "$LINENO" 5; }
7296 ac_cpp
='$CPP $CPPFLAGS'
7297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7303 $as_echo_n "checking for ANSI C header files... " >&6; }
7304 if ${ac_cv_header_stdc+:} false
; then :
7305 $as_echo_n "(cached) " >&6
7307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7308 /* end confdefs.h. */
7322 if ac_fn_c_try_compile
"$LINENO"; then :
7323 ac_cv_header_stdc
=yes
7325 ac_cv_header_stdc
=no
7327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7329 if test $ac_cv_header_stdc = yes; then
7330 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7332 /* end confdefs.h. */
7336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7337 $EGREP "memchr" >/dev
/null
2>&1; then :
7340 ac_cv_header_stdc
=no
7346 if test $ac_cv_header_stdc = yes; then
7347 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7349 /* end confdefs.h. */
7353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7354 $EGREP "free" >/dev
/null
2>&1; then :
7357 ac_cv_header_stdc
=no
7363 if test $ac_cv_header_stdc = yes; then
7364 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7365 if test "$cross_compiling" = yes; then :
7368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7369 /* end confdefs.h. */
7372 #if ((' ' & 0x0FF) == 0x020)
7373 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7374 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7376 # define ISLOWER(c) \
7377 (('a' <= (c) && (c) <= 'i') \
7378 || ('j' <= (c) && (c) <= 'r') \
7379 || ('s' <= (c) && (c) <= 'z'))
7380 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7383 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7388 for (i = 0; i < 256; i++)
7389 if (XOR (islower (i), ISLOWER (i))
7390 || toupper (i) != TOUPPER (i))
7395 if ac_fn_c_try_run
"$LINENO"; then :
7398 ac_cv_header_stdc
=no
7400 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7401 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7407 $as_echo "$ac_cv_header_stdc" >&6; }
7408 if test $ac_cv_header_stdc = yes; then
7410 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7414 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7415 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7416 inttypes.h stdint.h unistd.h
7418 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7419 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7421 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7422 cat >>confdefs.h
<<_ACEOF
7423 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7431 for ac_header
in dlfcn.h
7433 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7435 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7436 cat >>confdefs.h
<<_ACEOF
7437 #define HAVE_DLFCN_H 1
7458 # Check whether --enable-shared was given.
7459 if test "${enable_shared+set}" = set; then :
7460 enableval
=$enable_shared; p
=${PACKAGE-default}
7462 yes) enable_shared
=yes ;;
7463 no
) enable_shared
=no
;;
7466 # Look at the argument we got. We use all the common list separators.
7467 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7468 for pkg
in $enableval; do
7470 if test "X$pkg" = "X$p"; then
7489 # Check whether --enable-static was given.
7490 if test "${enable_static+set}" = set; then :
7491 enableval
=$enable_static; p
=${PACKAGE-default}
7493 yes) enable_static
=yes ;;
7494 no
) enable_static
=no
;;
7497 # Look at the argument we got. We use all the common list separators.
7498 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7499 for pkg
in $enableval; do
7501 if test "X$pkg" = "X$p"; then
7521 # Check whether --with-pic was given.
7522 if test "${with_pic+set}" = set; then :
7523 withval
=$with_pic; lt_p
=${PACKAGE-default}
7525 yes|no
) pic_mode
=$withval ;;
7528 # Look at the argument we got. We use all the common list separators.
7529 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7530 for lt_pkg
in $withval; do
7532 if test "X$lt_pkg" = "X$lt_p"; then
7544 test -z "$pic_mode" && pic_mode
=default
7552 # Check whether --enable-fast-install was given.
7553 if test "${enable_fast_install+set}" = set; then :
7554 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7556 yes) enable_fast_install
=yes ;;
7557 no
) enable_fast_install
=no
;;
7559 enable_fast_install
=no
7560 # Look at the argument we got. We use all the common list separators.
7561 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7562 for pkg
in $enableval; do
7564 if test "X$pkg" = "X$p"; then
7565 enable_fast_install
=yes
7572 enable_fast_install
=yes
7585 # This can be used to rebuild libtool when needed
7586 LIBTOOL_DEPS
="$ltmain"
7588 # Always use our own libtool.
7589 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7620 test -z "$LN_S" && LN_S
="ln -s"
7635 if test -n "${ZSH_VERSION+set}" ; then
7636 setopt NO_GLOB_SUBST
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7640 $as_echo_n "checking for objdir... " >&6; }
7641 if ${lt_cv_objdir+:} false
; then :
7642 $as_echo_n "(cached) " >&6
7644 rm -f .libs
2>/dev
/null
7645 mkdir .libs
2>/dev
/null
7646 if test -d .libs
; then
7649 # MS-DOS does not allow filenames that begin with a dot.
7652 rmdir .libs
2>/dev
/null
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7655 $as_echo "$lt_cv_objdir" >&6; }
7656 objdir
=$lt_cv_objdir
7662 cat >>confdefs.h
<<_ACEOF
7663 #define LT_OBJDIR "$lt_cv_objdir/"
7671 # AIX sometimes has problems with the GCC collect2 program. For some
7672 # reason, if we set the COLLECT_NAMES environment variable, the problems
7673 # vanish in a puff of smoke.
7674 if test "X${COLLECT_NAMES+set}" != Xset
; then
7676 export COLLECT_NAMES
7683 can_build_shared
=yes
7685 # All known linkers require a `.a' archive for static linking (except MSVC,
7686 # which needs '.lib').
7689 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7692 old_CFLAGS
="$CFLAGS"
7694 # Set sane defaults for various variables
7695 test -z "$CC" && CC
=cc
7696 test -z "$LTCC" && LTCC
=$CC
7697 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7698 test -z "$LD" && LD
=ld
7699 test -z "$ac_objext" && ac_objext
=o
7701 for cc_temp
in $compiler""; do
7703 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7704 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7709 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7712 # Only perform the check for file, if the check method requires it
7713 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7714 case $deplibs_check_method in
7716 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7718 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7719 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7720 $as_echo_n "(cached) " >&6
7724 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7727 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7728 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7729 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7730 for ac_dir
in $ac_dummy; do
7732 test -z "$ac_dir" && ac_dir
=.
7733 if test -f $ac_dir/${ac_tool_prefix}file; then
7734 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7735 if test -n "$file_magic_test_file"; then
7736 case $deplibs_check_method in
7738 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7739 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7740 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7741 $EGREP "$file_magic_regex" > /dev
/null
; then
7746 *** Warning: the command libtool uses to detect shared libraries,
7747 *** $file_magic_cmd, produces output that libtool cannot recognize.
7748 *** The result is that libtool may fail to recognize shared libraries
7749 *** as such. This will affect the creation of libtool libraries that
7750 *** depend on shared libraries, but programs linked with such libtool
7751 *** libraries will work regardless of this problem. Nevertheless, you
7752 *** may want to report the problem to your system manager and/or to
7753 *** bug-libtool@gnu.org
7763 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7768 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7769 if test -n "$MAGIC_CMD"; then
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7771 $as_echo "$MAGIC_CMD" >&6; }
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7774 $as_echo "no" >&6; }
7781 if test -z "$lt_cv_path_MAGIC_CMD"; then
7782 if test -n "$ac_tool_prefix"; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7784 $as_echo_n "checking for file... " >&6; }
7785 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
7786 $as_echo_n "(cached) " >&6
7790 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7793 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7794 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7795 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7796 for ac_dir
in $ac_dummy; do
7798 test -z "$ac_dir" && ac_dir
=.
7799 if test -f $ac_dir/file; then
7800 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7801 if test -n "$file_magic_test_file"; then
7802 case $deplibs_check_method in
7804 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7805 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7806 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7807 $EGREP "$file_magic_regex" > /dev
/null
; then
7812 *** Warning: the command libtool uses to detect shared libraries,
7813 *** $file_magic_cmd, produces output that libtool cannot recognize.
7814 *** The result is that libtool may fail to recognize shared libraries
7815 *** as such. This will affect the creation of libtool libraries that
7816 *** depend on shared libraries, but programs linked with such libtool
7817 *** libraries will work regardless of this problem. Nevertheless, you
7818 *** may want to report the problem to your system manager and/or to
7819 *** bug-libtool@gnu.org
7829 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7834 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7835 if test -n "$MAGIC_CMD"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7837 $as_echo "$MAGIC_CMD" >&6; }
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7853 # Use C for the default configuration in the libtool script
7857 ac_cpp
='$CPP $CPPFLAGS'
7858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7863 # Source file extension for C test sources.
7866 # Object file extension for compiled C test sources.
7870 # Code to be used in simple compile tests
7871 lt_simple_compile_test_code
="int some_variable = 0;"
7873 # Code to be used in simple link tests
7874 lt_simple_link_test_code
='int main(){return(0);}'
7882 # If no C compiler was specified, use CC.
7885 # If no C compiler flags were specified, use CFLAGS.
7886 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7888 # Allow CC to be a program name with arguments.
7891 # Save the default compiler, since it gets overwritten when the other
7892 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7893 compiler_DEFAULT
=$CC
7895 # save warnings/boilerplate of simple test code
7896 ac_outfile
=conftest.
$ac_objext
7897 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7898 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7899 _lt_compiler_boilerplate
=`cat conftest.err`
7902 ac_outfile
=conftest.
$ac_objext
7903 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7904 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7905 _lt_linker_boilerplate
=`cat conftest.err`
7909 if test -n "$compiler"; then
7911 lt_prog_compiler_no_builtin_flag
=
7913 if test "$GCC" = yes; then
7914 case $cc_basename in
7916 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
7918 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7922 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7923 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
7924 $as_echo_n "(cached) " >&6
7926 lt_cv_prog_compiler_rtti_exceptions
=no
7927 ac_outfile
=conftest.
$ac_objext
7928 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7929 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7930 # Insert the option either (1) after the last *FLAGS variable, or
7931 # (2) before a word containing "conftest.", or (3) at the end.
7932 # Note that $ac_compile itself does not contain backslashes and begins
7933 # with a dollar sign (not a hyphen), so the echo should work correctly.
7934 # The option is referenced via a variable to avoid confusing sed.
7935 lt_compile
=`echo "$ac_compile" | $SED \
7936 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7937 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7938 -e 's:$: $lt_compiler_flag:'`
7939 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7940 (eval "$lt_compile" 2>conftest.err
)
7942 cat conftest.err
>&5
7943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7944 if (exit $ac_status) && test -s "$ac_outfile"; then
7945 # The compiler can only warn and ignore the option if not recognized
7946 # So say no if there are warnings other than the usual output.
7947 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
7948 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7949 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7950 lt_cv_prog_compiler_rtti_exceptions
=yes
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7957 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7959 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7960 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7972 lt_prog_compiler_wl
=
7973 lt_prog_compiler_pic
=
7974 lt_prog_compiler_static
=
7977 if test "$GCC" = yes; then
7978 lt_prog_compiler_wl
='-Wl,'
7979 lt_prog_compiler_static
='-static'
7983 # All AIX code is PIC.
7984 if test "$host_cpu" = ia64
; then
7985 # AIX 5 now supports IA64 processor
7986 lt_prog_compiler_static
='-Bstatic'
7993 # see comment about AmigaOS4 .so support
7994 lt_prog_compiler_pic
='-fPIC'
7997 # FIXME: we need at least 68020 code to build shared libraries, but
7998 # adding the `-m68020' flag to GCC prevents building anything better,
8000 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8005 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8006 # PIC is the default for these OSes.
8009 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8010 # This hack is so that the source file can tell whether it is being
8011 # built for inclusion in a dll (and should export symbols for example).
8012 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8013 # (--disable-auto-import) libraries
8014 lt_prog_compiler_pic
='-DDLL_EXPORT'
8017 darwin
* | rhapsody
*)
8018 # PIC is the default on this platform
8019 # Common symbols not allowed in MH_DYLIB files
8020 lt_prog_compiler_pic
='-fno-common'
8024 # PIC is the default for Haiku.
8025 # The "-static" flag exists, but is broken.
8026 lt_prog_compiler_static
=
8030 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8031 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8032 # sets the default TLS model and affects inlining.
8038 lt_prog_compiler_pic
='-fPIC'
8044 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8045 # Instead, we relocate shared libraries at runtime.
8049 # Just because we use GCC doesn't mean we suddenly get shared libraries
8050 # on systems that don't support them.
8051 lt_prog_compiler_can_build_shared
=no
8056 # QNX uses GNU C++, but need to define -shared option too, otherwise
8058 lt_prog_compiler_pic
='-fPIC -shared'
8062 if test -d /usr
/nec
; then
8063 lt_prog_compiler_pic
=-Kconform_pic
8068 lt_prog_compiler_pic
='-fPIC'
8072 case $cc_basename in
8073 nvcc
*) # Cuda Compiler Driver 2.2
8074 lt_prog_compiler_wl
='-Xlinker '
8075 if test -n "$lt_prog_compiler_pic"; then
8076 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8081 # PORTME Check for flag to pass linker flags through the system compiler.
8084 lt_prog_compiler_wl
='-Wl,'
8085 if test "$host_cpu" = ia64
; then
8086 # AIX 5 now supports IA64 processor
8087 lt_prog_compiler_static
='-Bstatic'
8089 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8093 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8094 # This hack is so that the source file can tell whether it is being
8095 # built for inclusion in a dll (and should export symbols for example).
8096 lt_prog_compiler_pic
='-DDLL_EXPORT'
8099 hpux9
* | hpux10
* | hpux11
*)
8100 lt_prog_compiler_wl
='-Wl,'
8101 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8108 lt_prog_compiler_pic
='+Z'
8111 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8112 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8115 irix5
* | irix6
* | nonstopux
*)
8116 lt_prog_compiler_wl
='-Wl,'
8117 # PIC (with -KPIC) is the default.
8118 lt_prog_compiler_static
='-non_shared'
8121 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8122 case $cc_basename in
8123 # old Intel for x86_64 which still supported -KPIC.
8125 lt_prog_compiler_wl
='-Wl,'
8126 lt_prog_compiler_pic
='-KPIC'
8127 lt_prog_compiler_static
='-static'
8129 # icc used to be incompatible with GCC.
8130 # ICC 10 doesn't accept -KPIC any more.
8132 lt_prog_compiler_wl
='-Wl,'
8133 lt_prog_compiler_pic
='-fPIC'
8134 lt_prog_compiler_static
='-static'
8136 # Lahey Fortran 8.1.
8138 lt_prog_compiler_wl
='-Wl,'
8139 lt_prog_compiler_pic
='--shared'
8140 lt_prog_compiler_static
='--static'
8143 # NAG Fortran compiler
8144 lt_prog_compiler_wl
='-Wl,-Wl,,'
8145 lt_prog_compiler_pic
='-PIC'
8146 lt_prog_compiler_static
='-Bstatic'
8148 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8149 # Portland Group compilers (*not* the Pentium gcc compiler,
8150 # which looks to be a dead project)
8151 lt_prog_compiler_wl
='-Wl,'
8152 lt_prog_compiler_pic
='-fpic'
8153 lt_prog_compiler_static
='-Bstatic'
8156 lt_prog_compiler_wl
='-Wl,'
8157 # All Alpha code is PIC.
8158 lt_prog_compiler_static
='-non_shared'
8160 xl
* | bgxl
* | bgf
* | mpixl
*)
8161 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8162 lt_prog_compiler_wl
='-Wl,'
8163 lt_prog_compiler_pic
='-qpic'
8164 lt_prog_compiler_static
='-qstaticlink'
8167 case `$CC -V 2>&1 | sed 5q` in
8168 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
8169 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8170 lt_prog_compiler_pic
='-KPIC'
8171 lt_prog_compiler_static
='-Bstatic'
8172 lt_prog_compiler_wl
=''
8174 *Sun\ F
* |
*Sun
*Fortran
*)
8175 lt_prog_compiler_pic
='-KPIC'
8176 lt_prog_compiler_static
='-Bstatic'
8177 lt_prog_compiler_wl
='-Qoption ld '
8181 lt_prog_compiler_pic
='-KPIC'
8182 lt_prog_compiler_static
='-Bstatic'
8183 lt_prog_compiler_wl
='-Wl,'
8185 *Intel
*\
[CF
]*Compiler
*)
8186 lt_prog_compiler_wl
='-Wl,'
8187 lt_prog_compiler_pic
='-fPIC'
8188 lt_prog_compiler_static
='-static'
8191 lt_prog_compiler_wl
='-Wl,'
8192 lt_prog_compiler_pic
='-fpic'
8193 lt_prog_compiler_static
='-Bstatic'
8201 lt_prog_compiler_pic
='-KPIC'
8202 lt_prog_compiler_static
='-Bstatic'
8206 # QNX uses GNU C++, but need to define -shared option too, otherwise
8208 lt_prog_compiler_pic
='-fPIC -shared'
8211 osf3
* | osf4
* | osf5
*)
8212 lt_prog_compiler_wl
='-Wl,'
8213 # All OSF/1 code is PIC.
8214 lt_prog_compiler_static
='-non_shared'
8218 lt_prog_compiler_static
='-non_shared'
8222 lt_prog_compiler_pic
='-KPIC'
8223 lt_prog_compiler_static
='-Bstatic'
8224 case $cc_basename in
8225 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
8226 lt_prog_compiler_wl
='-Qoption ld ';;
8228 lt_prog_compiler_wl
='-Wl,';;
8233 lt_prog_compiler_wl
='-Qoption ld '
8234 lt_prog_compiler_pic
='-PIC'
8235 lt_prog_compiler_static
='-Bstatic'
8238 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8239 lt_prog_compiler_wl
='-Wl,'
8240 lt_prog_compiler_pic
='-KPIC'
8241 lt_prog_compiler_static
='-Bstatic'
8245 if test -d /usr
/nec
;then
8246 lt_prog_compiler_pic
='-Kconform_pic'
8247 lt_prog_compiler_static
='-Bstatic'
8251 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8252 lt_prog_compiler_wl
='-Wl,'
8253 lt_prog_compiler_pic
='-KPIC'
8254 lt_prog_compiler_static
='-Bstatic'
8258 lt_prog_compiler_wl
='-Wl,'
8259 lt_prog_compiler_can_build_shared
=no
8263 lt_prog_compiler_pic
='-pic'
8264 lt_prog_compiler_static
='-Bstatic'
8268 lt_prog_compiler_can_build_shared
=no
8274 # For platforms which do not support PIC, -DPIC is meaningless:
8276 lt_prog_compiler_pic
=
8279 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8284 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8285 if ${lt_cv_prog_compiler_pic+:} false
; then :
8286 $as_echo_n "(cached) " >&6
8288 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8291 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8292 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
8295 # Check to make sure the PIC flag actually works.
8297 if test -n "$lt_prog_compiler_pic"; then
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8299 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8300 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8301 $as_echo_n "(cached) " >&6
8303 lt_cv_prog_compiler_pic_works
=no
8304 ac_outfile
=conftest.
$ac_objext
8305 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8306 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8307 # Insert the option either (1) after the last *FLAGS variable, or
8308 # (2) before a word containing "conftest.", or (3) at the end.
8309 # Note that $ac_compile itself does not contain backslashes and begins
8310 # with a dollar sign (not a hyphen), so the echo should work correctly.
8311 # The option is referenced via a variable to avoid confusing sed.
8312 lt_compile
=`echo "$ac_compile" | $SED \
8313 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8314 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8315 -e 's:$: $lt_compiler_flag:'`
8316 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8317 (eval "$lt_compile" 2>conftest.err
)
8319 cat conftest.err
>&5
8320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321 if (exit $ac_status) && test -s "$ac_outfile"; then
8322 # The compiler can only warn and ignore the option if not recognized
8323 # So say no if there are warnings other than the usual output.
8324 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8325 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8326 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8327 lt_cv_prog_compiler_pic_works
=yes
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8334 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8336 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8337 case $lt_prog_compiler_pic in
8339 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8342 lt_prog_compiler_pic
=
8343 lt_prog_compiler_can_build_shared
=no
8359 # Check to make sure the static flag actually works.
8361 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8363 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8364 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8365 $as_echo_n "(cached) " >&6
8367 lt_cv_prog_compiler_static_works
=no
8368 save_LDFLAGS
="$LDFLAGS"
8369 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8370 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8371 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8372 # The linker can only warn and ignore the option if not recognized
8373 # So say no if there are warnings
8374 if test -s conftest.err
; then
8375 # Append any errors to the config.log.
8376 cat conftest.err
1>&5
8377 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
8378 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8379 if diff conftest.exp conftest.er2
>/dev
/null
; then
8380 lt_cv_prog_compiler_static_works
=yes
8383 lt_cv_prog_compiler_static_works
=yes
8387 LDFLAGS
="$save_LDFLAGS"
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8391 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8393 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8396 lt_prog_compiler_static
=
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8406 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8407 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8408 $as_echo_n "(cached) " >&6
8410 lt_cv_prog_compiler_c_o
=no
8411 $RM -r conftest
2>/dev
/null
8415 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8417 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8418 # Insert the option either (1) after the last *FLAGS variable, or
8419 # (2) before a word containing "conftest.", or (3) at the end.
8420 # Note that $ac_compile itself does not contain backslashes and begins
8421 # with a dollar sign (not a hyphen), so the echo should work correctly.
8422 lt_compile
=`echo "$ac_compile" | $SED \
8423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8425 -e 's:$: $lt_compiler_flag:'`
8426 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8427 (eval "$lt_compile" 2>out
/conftest.err
)
8429 cat out
/conftest.err
>&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8433 # The compiler can only warn and ignore the option if not recognized
8434 # So say no if there are warnings
8435 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8436 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8437 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8438 lt_cv_prog_compiler_c_o
=yes
8443 # SGI C++ compiler will create directory out/ii_files/ for
8444 # template instantiation
8445 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8446 $RM out
/* && rmdir out
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8453 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8461 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8462 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8463 $as_echo_n "(cached) " >&6
8465 lt_cv_prog_compiler_c_o
=no
8466 $RM -r conftest
2>/dev
/null
8470 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8472 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8473 # Insert the option either (1) after the last *FLAGS variable, or
8474 # (2) before a word containing "conftest.", or (3) at the end.
8475 # Note that $ac_compile itself does not contain backslashes and begins
8476 # with a dollar sign (not a hyphen), so the echo should work correctly.
8477 lt_compile
=`echo "$ac_compile" | $SED \
8478 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8480 -e 's:$: $lt_compiler_flag:'`
8481 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8482 (eval "$lt_compile" 2>out
/conftest.err
)
8484 cat out
/conftest.err
>&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8488 # The compiler can only warn and ignore the option if not recognized
8489 # So say no if there are warnings
8490 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
8491 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8492 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8493 lt_cv_prog_compiler_c_o
=yes
8498 # SGI C++ compiler will create directory out/ii_files/ for
8499 # template instantiation
8500 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8501 $RM out
/* && rmdir out
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8508 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8513 hard_links
="nottested"
8514 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8515 # do not overwrite the value of need_locks provided by the user
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8517 $as_echo_n "checking if we can lock with hard links... " >&6; }
8520 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8522 ln conftest.a conftest.b
2>&5 || hard_links
=no
8523 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8525 $as_echo "$hard_links" >&6; }
8526 if test "$hard_links" = no
; then
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8528 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8541 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8544 allow_undefined_flag
=
8545 always_export_symbols
=no
8547 archive_expsym_cmds
=
8548 compiler_needs_object
=no
8549 enable_shared_with_static_runtimes
=no
8550 export_dynamic_flag_spec
=
8551 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8552 hardcode_automatic
=no
8554 hardcode_direct_absolute
=no
8555 hardcode_libdir_flag_spec
=
8556 hardcode_libdir_separator
=
8558 hardcode_shlibpath_var
=unsupported
8560 link_all_deplibs
=unknown
8563 old_archive_from_new_cmds
=
8564 old_archive_from_expsyms_cmds
=
8565 thread_safe_flag_spec
=
8566 whole_archive_flag_spec
=
8567 # include_expsyms should be a list of space-separated symbols to be *always*
8568 # included in the symbol list
8570 # exclude_expsyms can be an extended regexp of symbols to exclude
8571 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8572 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8573 # as well as any symbol that contains `d'.
8574 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8575 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8576 # platforms (ab)use it in PIC code, but their linkers get confused if
8577 # the symbol is explicitly referenced. Since portable code cannot
8578 # rely on this symbol name, it's probably fine to never include it in
8579 # preloaded symbol tables.
8580 # Exclude shared library initialization/finalization symbols.
8581 extract_expsyms_cmds
=
8584 cygwin
* | mingw
* | pw32
* | cegcc
*)
8585 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8586 # When not using gcc, we currently assume that we are using
8587 # Microsoft Visual C++.
8588 if test "$GCC" != yes; then
8593 # we just hope/assume this is gcc and not c89 (= MSVC++)
8603 # On some targets, GNU ld is compatible enough with the native linker
8604 # that we're better off using the native interface for both.
8605 lt_use_gnu_ld_interface
=no
8606 if test "$with_gnu_ld" = yes; then
8609 # The AIX port of GNU ld has always aspired to compatibility
8610 # with the native linker. However, as the warning in the GNU ld
8611 # block says, versions before 2.19.5* couldn't really create working
8612 # shared libraries, regardless of the interface used.
8613 case `$LD -v 2>&1` in
8614 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
8615 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
8616 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
8618 lt_use_gnu_ld_interface
=yes
8623 lt_use_gnu_ld_interface
=yes
8628 if test "$lt_use_gnu_ld_interface" = yes; then
8629 # If archive_cmds runs LD, not CC, wlarc should be empty
8632 # Set some defaults for GNU ld with shared library support. These
8633 # are reset later if shared libraries are not supported. Putting them
8634 # here allows them to be overridden if necessary.
8635 runpath_var
=LD_RUN_PATH
8636 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8637 export_dynamic_flag_spec
='${wl}--export-dynamic'
8638 # ancient GNU ld didn't support --whole-archive et. al.
8639 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8640 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8642 whole_archive_flag_spec
=
8644 supports_anon_versioning
=no
8645 case `$LD -v 2>&1` in
8646 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8647 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8648 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8649 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8650 *\
2.11.
*) ;; # other 2.11 versions
8651 *) supports_anon_versioning
=yes ;;
8654 # See if GNU ld supports shared libraries.
8657 # On AIX/PPC, the GNU linker is very broken
8658 if test "$host_cpu" != ia64
; then
8662 *** Warning: the GNU linker, at least up to release 2.19, is reported
8663 *** to be unable to reliably create shared libraries on AIX.
8664 *** Therefore, libtool is disabling shared libraries support. If you
8665 *** really care for shared libraries, you may want to install binutils
8666 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8667 *** You will then need to restart the configuration process.
8676 # see comment about AmigaOS4 .so support
8677 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8678 archive_expsym_cmds
=''
8681 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)'
8682 hardcode_libdir_flag_spec
='-L$libdir'
8683 hardcode_minus_L
=yes
8689 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8690 allow_undefined_flag
=unsupported
8691 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8692 # support --undefined. This deserves some investigation. FIXME
8693 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8699 cygwin
* | mingw
* | pw32
* | cegcc
*)
8700 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8701 # as there is no search path for DLLs.
8702 hardcode_libdir_flag_spec
='-L$libdir'
8703 export_dynamic_flag_spec
='${wl}--export-all-symbols'
8704 allow_undefined_flag
=unsupported
8705 always_export_symbols
=no
8706 enable_shared_with_static_runtimes
=yes
8707 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'
8708 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8710 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8711 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8712 # If the export-symbols file already is a .def file (1st line
8713 # is EXPORTS), use it as is; otherwise, prepend...
8714 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8715 cp $export_symbols $output_objdir/$soname.def;
8717 echo EXPORTS > $output_objdir/$soname.def;
8718 cat $export_symbols >> $output_objdir/$soname.def;
8720 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8727 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8728 link_all_deplibs
=yes
8733 hardcode_shlibpath_var
=no
8734 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8735 export_dynamic_flag_spec
='${wl}-E'
8736 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8737 # Instead, shared libraries are loaded at an image base (0x10000000 by
8738 # default) and relocated if they conflict, which is a slow very memory
8739 # consuming and fragmenting process. To avoid this, we pick a random,
8740 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8741 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8742 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8743 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'
8746 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8748 if test "$host_os" = linux-dietlibc
; then
8749 case $cc_basename in
8750 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8753 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8754 && test "$tmp_diet" = no
8756 tmp_addflag
=' $pic_flag'
8757 tmp_sharedflag
='-shared'
8758 case $cc_basename,$host_cpu in
8759 pgcc
*) # Portland Group C compiler
8760 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'
8761 tmp_addflag
=' $pic_flag'
8763 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
8764 # Portland Group f77 and f90 compilers
8765 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'
8766 tmp_addflag
=' $pic_flag -Mnomain' ;;
8767 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8768 tmp_addflag
=' -i_dynamic' ;;
8769 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8770 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8771 ifc
* | ifort
*) # Intel Fortran compiler
8772 tmp_addflag
=' -nofor_main' ;;
8773 lf95
*) # Lahey Fortran 8.1
8774 whole_archive_flag_spec
=
8775 tmp_sharedflag
='--shared' ;;
8776 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8777 tmp_sharedflag
='-qmkshrobj'
8779 nvcc
*) # Cuda Compiler Driver 2.2
8780 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'
8781 compiler_needs_object
=yes
8784 case `$CC -V 2>&1 | sed 5q` in
8785 *Sun\ C
*) # Sun C 5.9
8786 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'
8787 compiler_needs_object
=yes
8788 tmp_sharedflag
='-G' ;;
8789 *Sun\ F
*) # Sun Fortran 8.3
8790 tmp_sharedflag
='-G' ;;
8792 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8794 if test "x$supports_anon_versioning" = xyes
; then
8795 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8796 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8797 echo "local: *; };" >> $output_objdir/$libname.ver~
8798 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8801 case $cc_basename in
8802 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
8803 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8804 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8805 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8806 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8807 if test "x$supports_anon_versioning" = xyes
; then
8808 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8809 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8810 echo "local: *; };" >> $output_objdir/$libname.ver~
8811 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8821 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8822 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8825 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8826 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8831 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8835 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8836 *** create shared libraries on Solaris systems. Therefore, libtool
8837 *** is disabling shared libraries support. We urge you to upgrade GNU
8838 *** binutils to release 2.9.1 or newer. Another option is to modify
8839 *** your PATH or compiler configuration so that the native linker is
8840 *** used, and then restart.
8843 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8844 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8845 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8851 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8852 case `$LD -v 2>&1` in
8853 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8857 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8858 *** reliably create shared libraries on SCO systems. Therefore, libtool
8859 *** is disabling shared libraries support. We urge you to upgrade GNU
8860 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8861 *** your PATH or compiler configuration so that the native linker is
8862 *** used, and then restart.
8867 # For security reasons, it is highly recommended that you always
8868 # use absolute paths for naming shared libraries, and exclude the
8869 # DT_RUNPATH tag from executables and libraries. But doing so
8870 # requires that you compile everything twice, which is a pain.
8871 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8872 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8873 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8874 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8883 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8886 hardcode_shlibpath_var
=no
8890 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8891 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8892 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8899 if test "$ld_shlibs" = no
; then
8901 hardcode_libdir_flag_spec
=
8902 export_dynamic_flag_spec
=
8903 whole_archive_flag_spec
=
8906 # PORTME fill in a description of your system's linker (not GNU ld)
8909 allow_undefined_flag
=unsupported
8910 always_export_symbols
=yes
8911 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'
8912 # Note: this linker hardcodes the directories in LIBPATH if there
8913 # are no directories specified by -L.
8914 hardcode_minus_L
=yes
8915 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8916 # Neither direct hardcoding nor static linking is supported with a
8918 hardcode_direct
=unsupported
8923 if test "$host_cpu" = ia64
; then
8924 # On IA64, the linker does run time linking by default, so we don't
8925 # have to do anything special.
8926 aix_use_runtimelinking
=no
8927 exp_sym_flag
='-Bexport'
8930 # If we're using GNU nm, then we don't want the "-C" option.
8931 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8932 # Also, AIX nm treats weak defined symbols like other global
8933 # defined symbols, whereas GNU nm marks them as "W".
8934 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8935 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8937 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8939 aix_use_runtimelinking
=no
8941 # Test if we are trying to use run time linking or normal
8942 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8943 # need to do runtime linking.
8944 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8945 for ld_flag
in $LDFLAGS; do
8946 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8947 aix_use_runtimelinking
=yes
8954 exp_sym_flag
='-bexport'
8955 no_entry_flag
='-bnoentry'
8958 # When large executables or shared objects are built, AIX ld can
8959 # have problems creating the table of contents. If linking a library
8960 # or program results in "error TOC overflow" add -mminimal-toc to
8961 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8962 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8966 hardcode_direct_absolute
=yes
8967 hardcode_libdir_separator
=':'
8968 link_all_deplibs
=yes
8969 file_list_spec
='${wl}-f,'
8971 if test "$GCC" = yes; then
8972 case $host_os in aix4.
[012]|aix4.
[012].
*)
8973 # We only want to do this on AIX 4.2 and lower, the check
8974 # below for broken collect2 doesn't work under 4.3+
8975 collect2name
=`${CC} -print-prog-name=collect2`
8976 if test -f "$collect2name" &&
8977 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8979 # We have reworked collect2
8982 # We have old collect2
8983 hardcode_direct
=unsupported
8984 # It fails to find uninstalled libraries when the uninstalled
8985 # path is not listed in the libpath. Setting hardcode_minus_L
8986 # to unsupported forces relinking
8987 hardcode_minus_L
=yes
8988 hardcode_libdir_flag_spec
='-L$libdir'
8989 hardcode_libdir_separator
=
8993 shared_flag
='-shared'
8994 if test "$aix_use_runtimelinking" = yes; then
8995 shared_flag
="$shared_flag "'${wl}-G'
8999 if test "$host_cpu" = ia64
; then
9000 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9001 # chokes on -Wl,-G. The following line is correct:
9004 if test "$aix_use_runtimelinking" = yes; then
9005 shared_flag
='${wl}-G'
9007 shared_flag
='${wl}-bM:SRE'
9012 export_dynamic_flag_spec
='${wl}-bexpall'
9013 # It seems that -bexpall does not export symbols beginning with
9014 # underscore (_), so it is better to generate a list of symbols to export.
9015 always_export_symbols
=yes
9016 if test "$aix_use_runtimelinking" = yes; then
9017 # Warning - without using the other runtime loading flags (-brtl),
9018 # -berok will link without error, but may produce a broken library.
9019 allow_undefined_flag
='-berok'
9020 # Determine the default libpath from the value encoded in an
9022 if test "${lt_cv_aix_libpath+set}" = set; then
9023 aix_libpath
=$lt_cv_aix_libpath
9025 if ${lt_cv_aix_libpath_+:} false
; then :
9026 $as_echo_n "(cached) " >&6
9028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9029 /* end confdefs.h. */
9039 if ac_fn_c_try_link
"$LINENO"; then :
9041 lt_aix_libpath_sed
='
9042 /Import File Strings/,/^$/ {
9044 s/^0 *\([^ ]*\) *$/\1/
9048 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9049 # Check for a 64-bit object if we didn't find anything.
9050 if test -z "$lt_cv_aix_libpath_"; then
9051 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9054 rm -f core conftest.err conftest.
$ac_objext \
9055 conftest
$ac_exeext conftest.
$ac_ext
9056 if test -z "$lt_cv_aix_libpath_"; then
9057 lt_cv_aix_libpath_
="/usr/lib:/lib"
9062 aix_libpath
=$lt_cv_aix_libpath_
9065 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9066 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9068 if test "$host_cpu" = ia64
; then
9069 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9070 allow_undefined_flag
="-z nodefs"
9071 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"
9073 # Determine the default libpath from the value encoded in an
9075 if test "${lt_cv_aix_libpath+set}" = set; then
9076 aix_libpath
=$lt_cv_aix_libpath
9078 if ${lt_cv_aix_libpath_+:} false
; then :
9079 $as_echo_n "(cached) " >&6
9081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9082 /* end confdefs.h. */
9092 if ac_fn_c_try_link
"$LINENO"; then :
9094 lt_aix_libpath_sed
='
9095 /Import File Strings/,/^$/ {
9097 s/^0 *\([^ ]*\) *$/\1/
9101 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9102 # Check for a 64-bit object if we didn't find anything.
9103 if test -z "$lt_cv_aix_libpath_"; then
9104 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9107 rm -f core conftest.err conftest.
$ac_objext \
9108 conftest
$ac_exeext conftest.
$ac_ext
9109 if test -z "$lt_cv_aix_libpath_"; then
9110 lt_cv_aix_libpath_
="/usr/lib:/lib"
9115 aix_libpath
=$lt_cv_aix_libpath_
9118 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9119 # Warning - without using the other run time loading flags,
9120 # -berok will link without error, but may produce a broken library.
9121 no_undefined_flag
=' ${wl}-bernotok'
9122 allow_undefined_flag
=' ${wl}-berok'
9123 if test "$with_gnu_ld" = yes; then
9124 # We only use this code for GNU lds that support --whole-archive.
9125 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9127 # Exported symbols can be pulled into shared objects from archives
9128 whole_archive_flag_spec
='$convenience'
9130 archive_cmds_need_lc
=yes
9131 # This is similar to how AIX traditionally builds its shared libraries.
9132 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9140 # see comment about AmigaOS4 .so support
9141 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9142 archive_expsym_cmds
=''
9145 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)'
9146 hardcode_libdir_flag_spec
='-L$libdir'
9147 hardcode_minus_L
=yes
9153 export_dynamic_flag_spec
=-rdynamic
9156 cygwin
* | mingw
* | pw32
* | cegcc
*)
9157 # When not using gcc, we currently assume that we are using
9158 # Microsoft Visual C++.
9159 # hardcode_libdir_flag_spec is actually meaningless, as there is
9160 # no search path for DLLs.
9161 case $cc_basename in
9164 hardcode_libdir_flag_spec
=' '
9165 allow_undefined_flag
=unsupported
9166 always_export_symbols
=yes
9168 # Tell ltmain to make .lib files, not .a files.
9170 # Tell ltmain to make .dll files, not .so files.
9172 # FIXME: Setting linknames here is a bad hack.
9173 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9174 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9175 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
9177 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
9179 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9181 # The linker will not automatically build a static lib if we build a DLL.
9182 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9183 enable_shared_with_static_runtimes
=yes
9184 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9185 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9187 old_postinstall_cmds
='chmod 644 $oldlib'
9188 postlink_cmds
='lt_outputfile="@OUTPUT@"~
9189 lt_tool_outputfile="@TOOL_OUTPUT@"~
9190 case $lt_outputfile in
9193 lt_outputfile="$lt_outputfile.exe"
9194 lt_tool_outputfile="$lt_tool_outputfile.exe"
9197 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9198 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9199 $RM "$lt_outputfile.manifest";
9203 # Assume MSVC wrapper
9204 hardcode_libdir_flag_spec
=' '
9205 allow_undefined_flag
=unsupported
9206 # Tell ltmain to make .lib files, not .a files.
9208 # Tell ltmain to make .dll files, not .so files.
9210 # FIXME: Setting linknames here is a bad hack.
9211 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9212 # The linker will automatically build a .lib file if we build a DLL.
9213 old_archive_from_new_cmds
='true'
9214 # FIXME: Should let the user specify the lib program.
9215 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9216 enable_shared_with_static_runtimes
=yes
9221 darwin
* | rhapsody
*)
9224 archive_cmds_need_lc
=no
9226 hardcode_automatic
=yes
9227 hardcode_shlibpath_var
=unsupported
9228 if test "$lt_cv_ld_force_load" = "yes"; then
9229 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\"`'
9232 whole_archive_flag_spec
=''
9234 link_all_deplibs
=yes
9235 allow_undefined_flag
="$_lt_dar_allow_undefined"
9236 case $cc_basename in
9237 ifort
*) _lt_dar_can_shared
=yes ;;
9238 *) _lt_dar_can_shared
=$GCC ;;
9240 if test "$_lt_dar_can_shared" = "yes"; then
9241 output_verbose_link_cmd
=func_echo_all
9242 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9243 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9244 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}"
9245 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}"
9254 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9255 hardcode_libdir_flag_spec
='-L$libdir'
9256 hardcode_shlibpath_var
=no
9259 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9260 # support. Future versions do this automatically, but an explicit c++rt0.o
9261 # does not break anything, and helps significantly (at the cost of a little
9264 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9265 hardcode_libdir_flag_spec
='-R$libdir'
9267 hardcode_shlibpath_var
=no
9270 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9272 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9274 hardcode_minus_L
=yes
9275 hardcode_shlibpath_var
=no
9278 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9279 freebsd
* | dragonfly
*)
9280 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9281 hardcode_libdir_flag_spec
='-R$libdir'
9283 hardcode_shlibpath_var
=no
9287 if test "$GCC" = yes; then
9288 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9290 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9292 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9293 hardcode_libdir_separator
=:
9296 # hardcode_minus_L: Not really in the search PATH,
9297 # but as the default location of the library.
9298 hardcode_minus_L
=yes
9299 export_dynamic_flag_spec
='${wl}-E'
9303 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9304 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9306 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9308 if test "$with_gnu_ld" = no
; then
9309 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9310 hardcode_libdir_separator
=:
9312 hardcode_direct_absolute
=yes
9313 export_dynamic_flag_spec
='${wl}-E'
9314 # hardcode_minus_L: Not really in the search PATH,
9315 # but as the default location of the library.
9316 hardcode_minus_L
=yes
9321 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
9324 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9327 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9330 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9336 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9339 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9343 # Older versions of the 11.00 compiler do not understand -b yet
9344 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9346 $as_echo_n "checking if $CC understands -b... " >&6; }
9347 if ${lt_cv_prog_compiler__b+:} false
; then :
9348 $as_echo_n "(cached) " >&6
9350 lt_cv_prog_compiler__b
=no
9351 save_LDFLAGS
="$LDFLAGS"
9352 LDFLAGS
="$LDFLAGS -b"
9353 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9354 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9355 # The linker can only warn and ignore the option if not recognized
9356 # So say no if there are warnings
9357 if test -s conftest.err
; then
9358 # Append any errors to the config.log.
9359 cat conftest.err
1>&5
9360 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9361 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9362 if diff conftest.exp conftest.er2
>/dev
/null
; then
9363 lt_cv_prog_compiler__b
=yes
9366 lt_cv_prog_compiler__b
=yes
9370 LDFLAGS
="$save_LDFLAGS"
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9374 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9376 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
9377 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9379 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9385 if test "$with_gnu_ld" = no
; then
9386 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9387 hardcode_libdir_separator
=:
9392 hardcode_shlibpath_var
=no
9396 hardcode_direct_absolute
=yes
9397 export_dynamic_flag_spec
='${wl}-E'
9399 # hardcode_minus_L: Not really in the search PATH,
9400 # but as the default location of the library.
9401 hardcode_minus_L
=yes
9407 irix5
* | irix6
* | nonstopux
*)
9408 if test "$GCC" = yes; then
9409 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'
9410 # Try to use the -exported_symbol ld option, if it does not
9411 # work, assume that -exports_file does not work either and
9412 # implicitly export all symbols.
9413 # This should be the same for all languages, so no per-tag cache variable.
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9415 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9416 if ${lt_cv_irix_exported_symbol+:} false
; then :
9417 $as_echo_n "(cached) " >&6
9419 save_LDFLAGS
="$LDFLAGS"
9420 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9422 /* end confdefs.h. */
9423 int foo (void) { return 0; }
9425 if ac_fn_c_try_link
"$LINENO"; then :
9426 lt_cv_irix_exported_symbol
=yes
9428 lt_cv_irix_exported_symbol
=no
9430 rm -f core conftest.err conftest.
$ac_objext \
9431 conftest
$ac_exeext conftest.
$ac_ext
9432 LDFLAGS
="$save_LDFLAGS"
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9435 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9436 if test "$lt_cv_irix_exported_symbol" = yes; then
9437 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'
9440 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'
9441 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'
9443 archive_cmds_need_lc
='no'
9444 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9445 hardcode_libdir_separator
=:
9447 link_all_deplibs
=yes
9451 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9452 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9454 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9456 hardcode_libdir_flag_spec
='-R$libdir'
9458 hardcode_shlibpath_var
=no
9462 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9464 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9465 hardcode_libdir_separator
=:
9466 hardcode_shlibpath_var
=no
9473 if test -f /usr
/libexec
/ld.so
; then
9475 hardcode_shlibpath_var
=no
9476 hardcode_direct_absolute
=yes
9477 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9478 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9479 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9480 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9481 export_dynamic_flag_spec
='${wl}-E'
9484 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9485 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9486 hardcode_libdir_flag_spec
='-R$libdir'
9489 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9490 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9500 hardcode_libdir_flag_spec
='-L$libdir'
9501 hardcode_minus_L
=yes
9502 allow_undefined_flag
=unsupported
9503 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9504 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9508 if test "$GCC" = yes; then
9509 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9510 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'
9512 allow_undefined_flag
=' -expect_unresolved \*'
9513 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'
9515 archive_cmds_need_lc
='no'
9516 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9517 hardcode_libdir_separator
=:
9520 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9521 if test "$GCC" = yes; then
9522 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9523 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'
9524 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9526 allow_undefined_flag
=' -expect_unresolved \*'
9527 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'
9528 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~
9529 $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'
9531 # Both c and cxx compiler support -rpath directly
9532 hardcode_libdir_flag_spec
='-rpath $libdir'
9534 archive_cmds_need_lc
='no'
9535 hardcode_libdir_separator
=:
9539 no_undefined_flag
=' -z defs'
9540 if test "$GCC" = yes; then
9542 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9543 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9544 $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'
9546 case `$CC -V 2>&1` in
9549 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9550 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9551 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9555 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9556 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9557 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9561 hardcode_libdir_flag_spec
='-R$libdir'
9562 hardcode_shlibpath_var
=no
9564 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9566 # The compiler driver will combine and reorder linker options,
9567 # but understands `-z linker_flag'. GCC discards it without `$wl',
9568 # but is careful enough not to reorder.
9569 # Supported since Solaris 2.6 (maybe 2.5.1?)
9570 if test "$GCC" = yes; then
9571 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9573 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9577 link_all_deplibs
=yes
9581 if test "x$host_vendor" = xsequent
; then
9582 # Use $CC to link under sequent, because it throws in some extra .o
9583 # files that make .init and .fini sections work.
9584 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9586 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9588 hardcode_libdir_flag_spec
='-L$libdir'
9590 hardcode_minus_L
=yes
9591 hardcode_shlibpath_var
=no
9595 case $host_vendor in
9597 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9598 hardcode_direct
=yes # is this really true???
9601 ## LD is ld it makes a PLAMLIB
9602 ## CC just makes a GrossModule.
9603 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9604 reload_cmds
='$CC -r -o $output$reload_objs'
9608 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9609 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9612 runpath_var
='LD_RUN_PATH'
9613 hardcode_shlibpath_var
=no
9617 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9618 hardcode_shlibpath_var
=no
9619 export_dynamic_flag_spec
='-Bexport'
9623 if test -d /usr
/nec
; then
9624 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9625 hardcode_shlibpath_var
=no
9626 runpath_var
=LD_RUN_PATH
9627 hardcode_runpath_var
=yes
9632 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9633 no_undefined_flag
='${wl}-z,text'
9634 archive_cmds_need_lc
=no
9635 hardcode_shlibpath_var
=no
9636 runpath_var
='LD_RUN_PATH'
9638 if test "$GCC" = yes; then
9639 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9640 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9642 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9647 sysv5
* | sco3.2v5
* | sco5v6
*)
9648 # Note: We can NOT use -z defs as we might desire, because we do not
9649 # link with -lc, and that would cause any symbols used from libc to
9650 # always be unresolved, which means just about no library would
9651 # ever link correctly. If we're not using GNU ld we use -z text
9652 # though, which does catch some bad symbols but isn't as heavy-handed
9654 no_undefined_flag
='${wl}-z,text'
9655 allow_undefined_flag
='${wl}-z,nodefs'
9656 archive_cmds_need_lc
=no
9657 hardcode_shlibpath_var
=no
9658 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9659 hardcode_libdir_separator
=':'
9660 link_all_deplibs
=yes
9661 export_dynamic_flag_spec
='${wl}-Bexport'
9662 runpath_var
='LD_RUN_PATH'
9664 if test "$GCC" = yes; then
9665 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9666 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9668 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9669 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9674 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_libdir_flag_spec
='-L$libdir'
9676 hardcode_shlibpath_var
=no
9684 if test x
$host_vendor = xsni
; then
9686 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9687 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9694 $as_echo "$ld_shlibs" >&6; }
9695 test "$ld_shlibs" = no
&& can_build_shared
=no
9697 with_gnu_ld
=$with_gnu_ld
9714 # Do we need to explicitly link libc?
9716 case "x$archive_cmds_need_lc" in
9718 # Assume -lc should be added
9719 archive_cmds_need_lc
=yes
9721 if test "$enable_shared" = yes && test "$GCC" = yes; then
9722 case $archive_cmds in
9724 # FIXME: we may have to deal with multi-command sequences.
9727 # Test whether the compiler implicitly links with -lc since on some
9728 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9729 # to ld, don't add -lc before -lgcc.
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9731 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9732 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
9733 $as_echo_n "(cached) " >&6
9736 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9739 (eval $ac_compile) 2>&5
9741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9742 test $ac_status = 0; } 2>conftest.err
; then
9745 libobjs
=conftest.
$ac_objext
9747 wl
=$lt_prog_compiler_wl
9748 pic_flag
=$lt_prog_compiler_pic
9754 lt_save_allow_undefined_flag
=$allow_undefined_flag
9755 allow_undefined_flag
=
9756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9757 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9760 test $ac_status = 0; }
9762 lt_cv_archive_cmds_need_lc
=no
9764 lt_cv_archive_cmds_need_lc
=yes
9766 allow_undefined_flag
=$lt_save_allow_undefined_flag
9768 cat conftest.err
1>&5
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9774 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9775 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9934 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9936 if test "$GCC" = yes; then
9938 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9939 *) lt_awk_arg
="/^libraries:/" ;;
9942 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
9943 *) lt_sed_strip_eq
="s,=/,/,g" ;;
9945 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9946 case $lt_search_path_spec in
9948 # if the path contains ";" then we assume it to be the separator
9949 # otherwise default to the standard path separator (i.e. ":") - it is
9950 # assumed that no part of a normal pathname contains ";" but that should
9951 # okay in the real world where ";" in dirpaths is itself problematic.
9952 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9955 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9958 # Ok, now we have the path, separated by spaces, we can step through it
9959 # and add multilib dir if necessary.
9960 lt_tmp_lt_search_path_spec
=
9961 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9962 for lt_sys_path
in $lt_search_path_spec; do
9963 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9964 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9966 test -d "$lt_sys_path" && \
9967 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9970 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9971 BEGIN {RS=" "; FS="/|\n";} {
9974 for (lt_i = NF; lt_i > 0; lt_i--) {
9975 if ($lt_i != "" && $lt_i != ".") {
9976 if ($lt_i == "..") {
9979 if (lt_count == 0) {
9980 lt_foo="/" $lt_i lt_foo;
9987 if (lt_foo != "") { lt_freq[lt_foo]++; }
9988 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9990 # AWK program above erroneously prepends '/' to C:/dos/paths
9993 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
9994 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9996 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9998 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10000 library_names_spec
=
10001 libname_spec
='lib$name'
10005 postuninstall_cmds
=
10009 shlibpath_overrides_runpath
=unknown
10011 dynamic_linker
="$host_os ld.so"
10012 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10013 need_lib_prefix
=unknown
10014 hardcode_into_libs
=no
10016 # when you set need_version to no, make sure it does not cause -set_version
10017 # flags to be left without arguments
10018 need_version
=unknown
10022 version_type
=linux
# correct to gnu/linux during the next big refactor
10023 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10024 shlibpath_var
=LIBPATH
10026 # AIX 3 has no versioning support, so we append a major version to the name.
10027 soname_spec
='${libname}${release}${shared_ext}$major'
10031 version_type
=linux
# correct to gnu/linux during the next big refactor
10034 hardcode_into_libs
=yes
10035 if test "$host_cpu" = ia64
; then
10036 # AIX 5 supports IA64
10037 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10038 shlibpath_var
=LD_LIBRARY_PATH
10040 # With GCC up to 2.95.x, collect2 would create an import file
10041 # for dependence libraries. The import file would start with
10042 # the line `#! .'. This would cause the generated library to
10043 # depend on `.', always an invalid library. This was fixed in
10044 # development snapshots of GCC prior to 3.0.
10046 aix4 | aix4.
[01] | aix4.
[01].
*)
10047 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10049 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10052 can_build_shared
=no
10056 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10057 # soname into executable. Probably we can add versioning support to
10058 # collect2, so additional links can be useful in future.
10059 if test "$aix_use_runtimelinking" = yes; then
10060 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10061 # instead of lib<name>.a to let people know that these are not
10062 # typical AIX shared libraries.
10063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10065 # We preserve .a as extension for shared libraries through AIX4.2
10066 # and later when we are not doing run time linking.
10067 library_names_spec
='${libname}${release}.a $libname.a'
10068 soname_spec
='${libname}${release}${shared_ext}$major'
10070 shlibpath_var
=LIBPATH
10077 # Since July 2007 AmigaOS4 officially supports .so libraries.
10078 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10082 library_names_spec
='$libname.ixlibrary $libname.a'
10083 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10084 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10090 library_names_spec
='${libname}${shared_ext}'
10091 dynamic_linker
="$host_os ld.so"
10092 shlibpath_var
=LIBRARY_PATH
10096 version_type
=linux
# correct to gnu/linux during the next big refactor
10098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10099 soname_spec
='${libname}${release}${shared_ext}$major'
10100 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10101 shlibpath_var
=LD_LIBRARY_PATH
10102 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10103 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10104 # the default ld.so.conf also contains /usr/contrib/lib and
10105 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10106 # libtool to hard-code these into programs
10109 cygwin
* | mingw
* | pw32
* | cegcc
*)
10110 version_type
=windows
10115 case $GCC,$cc_basename in
10118 library_names_spec
='$libname.dll.a'
10119 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10120 postinstall_cmds
='base_file=`basename \${file}`~
10121 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10122 dldir=$destdir/`dirname \$dlpath`~
10123 test -d \$dldir || mkdir -p \$dldir~
10124 $install_prog $dir/$dlname \$dldir/$dlname~
10125 chmod a+x \$dldir/$dlname~
10126 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10127 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10129 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10130 dlpath=$dir/\$dldll~
10132 shlibpath_overrides_runpath
=yes
10136 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10137 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10139 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
10142 # MinGW DLLs use traditional 'lib' prefix
10143 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10146 # pw32 DLLs use 'pw' prefix rather than 'lib'
10147 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10150 dynamic_linker
='Win32 ld.exe'
10155 libname_spec
='$name'
10156 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10157 library_names_spec
='${libname}.dll.lib'
10161 sys_lib_search_path_spec
=
10164 for lt_path
in $LIB
10167 # Let DOS variable expansion print the short 8.3 style file name.
10168 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10169 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
10172 # Convert to MSYS style.
10173 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10176 # Convert to unix form, then to dos form, then back to unix form
10177 # but this time dos style (no spaces!) so that the unix form looks
10178 # like /cygdrive/c/PROGRA~1:/cygdr...
10179 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
10180 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10181 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10184 sys_lib_search_path_spec
="$LIB"
10185 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10186 # It is most probably a Windows format PATH.
10187 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10189 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10191 # FIXME: find the short name or the path components, as spaces are
10192 # common. (e.g. "Program Files" -> "PROGRA~1")
10196 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10197 postinstall_cmds
='base_file=`basename \${file}`~
10198 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10199 dldir=$destdir/`dirname \$dlpath`~
10200 test -d \$dldir || mkdir -p \$dldir~
10201 $install_prog $dir/$dlname \$dldir/$dlname'
10202 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10203 dlpath=$dir/\$dldll~
10205 shlibpath_overrides_runpath
=yes
10206 dynamic_linker
='Win32 link.exe'
10210 # Assume MSVC wrapper
10211 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10212 dynamic_linker
='Win32 ld.exe'
10215 # FIXME: first we should search . and the directory the executable is in
10219 darwin
* | rhapsody
*)
10220 dynamic_linker
="$host_os dyld"
10221 version_type
=darwin
10224 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10225 soname_spec
='${libname}${release}${major}$shared_ext'
10226 shlibpath_overrides_runpath
=yes
10227 shlibpath_var
=DYLD_LIBRARY_PATH
10228 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10230 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10231 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10235 version_type
=linux
# correct to gnu/linux during the next big refactor
10238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10239 soname_spec
='${libname}${release}${shared_ext}$major'
10240 shlibpath_var
=LD_LIBRARY_PATH
10243 freebsd
* | dragonfly
*)
10244 # DragonFly does not have aout. When/if they implement a new
10245 # versioning mechanism, adjust this.
10246 if test -x /usr
/bin
/objformat
; then
10247 objformat
=`/usr/bin/objformat`
10250 freebsd
[23].
*) objformat
=aout
;;
10251 *) objformat
=elf
;;
10254 version_type
=freebsd-
$objformat
10255 case $version_type in
10257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10262 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10266 shlibpath_var
=LD_LIBRARY_PATH
10269 shlibpath_overrides_runpath
=yes
10271 freebsd3.
[01]* | freebsdelf3.
[01]*)
10272 shlibpath_overrides_runpath
=yes
10273 hardcode_into_libs
=yes
10275 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10276 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10277 shlibpath_overrides_runpath
=no
10278 hardcode_into_libs
=yes
10280 *) # from 4.6 on, and DragonFly
10281 shlibpath_overrides_runpath
=yes
10282 hardcode_into_libs
=yes
10288 version_type
=linux
# correct to gnu/linux during the next big refactor
10291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10292 soname_spec
='${libname}${release}${shared_ext}$major'
10293 shlibpath_var
=LD_LIBRARY_PATH
10294 shlibpath_overrides_runpath
=no
10295 hardcode_into_libs
=yes
10299 version_type
=linux
# correct to gnu/linux during the next big refactor
10302 dynamic_linker
="$host_os runtime_loader"
10303 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10304 soname_spec
='${libname}${release}${shared_ext}$major'
10305 shlibpath_var
=LIBRARY_PATH
10306 shlibpath_overrides_runpath
=yes
10307 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10308 hardcode_into_libs
=yes
10311 hpux9
* | hpux10
* | hpux11
*)
10312 # Give a soname corresponding to the major version so that dld.sl refuses to
10313 # link against other versions.
10320 hardcode_into_libs
=yes
10321 dynamic_linker
="$host_os dld.so"
10322 shlibpath_var
=LD_LIBRARY_PATH
10323 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10325 soname_spec
='${libname}${release}${shared_ext}$major'
10326 if test "X$HPUX_IA64_MODE" = X32
; then
10327 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10329 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10331 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10335 hardcode_into_libs
=yes
10336 dynamic_linker
="$host_os dld.sl"
10337 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10338 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 soname_spec
='${libname}${release}${shared_ext}$major'
10341 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10342 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10346 dynamic_linker
="$host_os dld.sl"
10347 shlibpath_var
=SHLIB_PATH
10348 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10350 soname_spec
='${libname}${release}${shared_ext}$major'
10353 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10354 postinstall_cmds
='chmod 555 $lib'
10355 # or fails outright, so override atomically:
10356 install_override_mode
=555
10360 version_type
=linux
# correct to gnu/linux during the next big refactor
10363 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10364 soname_spec
='${libname}${release}${shared_ext}$major'
10365 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10366 shlibpath_var
=LD_LIBRARY_PATH
10367 shlibpath_overrides_runpath
=no
10368 hardcode_into_libs
=yes
10371 irix5
* | irix6
* | nonstopux
*)
10373 nonstopux
*) version_type
=nonstopux
;;
10375 if test "$lt_cv_prog_gnu_ld" = yes; then
10376 version_type
=linux
# correct to gnu/linux during the next big refactor
10383 soname_spec
='${libname}${release}${shared_ext}$major'
10384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10386 irix5
* | nonstopux
*)
10387 libsuff
= shlibsuff
=
10390 case $LD in # libtool.m4 will add one of these switches to LD
10391 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10392 libsuff
= shlibsuff
= libmagic
=32-bit;;
10393 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10394 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10395 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10396 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10397 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10401 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10402 shlibpath_overrides_runpath
=no
10403 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10404 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10405 hardcode_into_libs
=yes
10408 # No shared lib support for Linux oldld, aout, or coff.
10409 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10413 # This must be glibc/ELF.
10414 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10415 version_type
=linux
# correct to gnu/linux during the next big refactor
10418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10419 soname_spec
='${libname}${release}${shared_ext}$major'
10420 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10421 shlibpath_var
=LD_LIBRARY_PATH
10422 shlibpath_overrides_runpath
=no
10424 # Some binutils ld are patched to set DT_RUNPATH
10425 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
10426 $as_echo_n "(cached) " >&6
10428 lt_cv_shlibpath_overrides_runpath
=no
10429 save_LDFLAGS
=$LDFLAGS
10430 save_libdir
=$libdir
10431 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10432 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10444 if ac_fn_c_try_link
"$LINENO"; then :
10445 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10446 lt_cv_shlibpath_overrides_runpath
=yes
10449 rm -f core conftest.err conftest.
$ac_objext \
10450 conftest
$ac_exeext conftest.
$ac_ext
10451 LDFLAGS
=$save_LDFLAGS
10452 libdir
=$save_libdir
10456 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
10458 # This implies no fast_install, which is unacceptable.
10459 # Some rework will be needed to allow for fast_install
10460 # before this can be enabled.
10461 hardcode_into_libs
=yes
10463 # Add ABI-specific directories to the system library path.
10464 sys_lib_dlsearch_path_spec
="/lib64 /usr/lib64 /lib /usr/lib"
10466 # Append ld.so.conf contents to the search path
10467 if test -f /etc
/ld.so.conf
; then
10468 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' ' '`
10469 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10473 # We used to test for /lib/ld.so.1 and disable shared libraries on
10474 # powerpc, because MkLinux only supported shared libraries with the
10475 # GNU dynamic linker. Since this was broken with cross compilers,
10476 # most powerpc-linux boxes support dynamic linking these days and
10477 # people can always --disable-shared, the test was removed, and we
10478 # assume the GNU/Linux dynamic linker is in use.
10479 dynamic_linker
='GNU/Linux ld.so'
10486 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10488 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10489 dynamic_linker
='NetBSD (a.out) ld.so'
10491 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10492 soname_spec
='${libname}${release}${shared_ext}$major'
10493 dynamic_linker
='NetBSD ld.elf_so'
10495 shlibpath_var
=LD_LIBRARY_PATH
10496 shlibpath_overrides_runpath
=yes
10497 hardcode_into_libs
=yes
10501 version_type
=linux
# correct to gnu/linux during the next big refactor
10502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 shlibpath_var
=LD_LIBRARY_PATH
10504 shlibpath_overrides_runpath
=yes
10511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512 soname_spec
='${libname}${release}${shared_ext}$major'
10513 shlibpath_var
=LD_LIBRARY_PATH
10514 shlibpath_overrides_runpath
=no
10515 hardcode_into_libs
=yes
10516 dynamic_linker
='ldqnx.so'
10521 sys_lib_dlsearch_path_spec
="/usr/lib"
10523 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10525 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10526 *) need_version
=no
;;
10528 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10529 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10530 shlibpath_var
=LD_LIBRARY_PATH
10531 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10533 openbsd2.
[89] | openbsd2.
[89].
*)
10534 shlibpath_overrides_runpath
=no
10537 shlibpath_overrides_runpath
=yes
10541 shlibpath_overrides_runpath
=yes
10546 libname_spec
='$name'
10549 library_names_spec
='$libname${shared_ext} $libname.a'
10550 dynamic_linker
='OS/2 ld.exe'
10551 shlibpath_var
=LIBPATH
10554 osf3
* | osf4
* | osf5
*)
10558 soname_spec
='${libname}${release}${shared_ext}$major'
10559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10560 shlibpath_var
=LD_LIBRARY_PATH
10561 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10562 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10570 version_type
=linux
# correct to gnu/linux during the next big refactor
10573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10574 soname_spec
='${libname}${release}${shared_ext}$major'
10575 shlibpath_var
=LD_LIBRARY_PATH
10576 shlibpath_overrides_runpath
=yes
10577 hardcode_into_libs
=yes
10578 # ldd complains unless libraries are executable
10579 postinstall_cmds
='chmod +x $lib'
10584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10585 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10586 shlibpath_var
=LD_LIBRARY_PATH
10587 shlibpath_overrides_runpath
=yes
10588 if test "$with_gnu_ld" = yes; then
10595 version_type
=linux
# correct to gnu/linux during the next big refactor
10596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10597 soname_spec
='${libname}${release}${shared_ext}$major'
10598 shlibpath_var
=LD_LIBRARY_PATH
10599 case $host_vendor in
10601 shlibpath_overrides_runpath
=no
10603 runpath_var
=LD_RUN_PATH
10611 shlibpath_overrides_runpath
=no
10612 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10618 if test -d /usr
/nec
;then
10619 version_type
=linux
# correct to gnu/linux during the next big refactor
10620 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10621 soname_spec
='$libname${shared_ext}.$major'
10622 shlibpath_var
=LD_LIBRARY_PATH
10626 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10627 version_type
=freebsd-elf
10630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10631 soname_spec
='${libname}${release}${shared_ext}$major'
10632 shlibpath_var
=LD_LIBRARY_PATH
10633 shlibpath_overrides_runpath
=yes
10634 hardcode_into_libs
=yes
10635 if test "$with_gnu_ld" = yes; then
10636 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10638 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10641 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10645 sys_lib_dlsearch_path_spec
='/usr/lib'
10649 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10650 version_type
=linux
# correct to gnu/linux during the next big refactor
10653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10654 shlibpath_var
=LD_LIBRARY_PATH
10655 shlibpath_overrides_runpath
=no
10656 hardcode_into_libs
=yes
10660 version_type
=linux
# correct to gnu/linux during the next big refactor
10661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10662 soname_spec
='${libname}${release}${shared_ext}$major'
10663 shlibpath_var
=LD_LIBRARY_PATH
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10671 $as_echo "$dynamic_linker" >&6; }
10672 test "$dynamic_linker" = no
&& can_build_shared
=no
10674 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10675 if test "$GCC" = yes; then
10676 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10679 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10680 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10682 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10683 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10778 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10780 if test -n "$hardcode_libdir_flag_spec" ||
10781 test -n "$runpath_var" ||
10782 test "X$hardcode_automatic" = "Xyes" ; then
10784 # We can hardcode non-existent directories.
10785 if test "$hardcode_direct" != no
&&
10786 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10787 # have to relink, otherwise we might link with an installed library
10788 # when we should be linking with a yet-to-be-installed one
10789 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10790 test "$hardcode_minus_L" != no
; then
10791 # Linking always hardcodes the temporary library directory.
10792 hardcode_action
=relink
10794 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10795 hardcode_action
=immediate
10798 # We cannot hardcode anything, or else we can only hardcode existing
10800 hardcode_action
=unsupported
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10803 $as_echo "$hardcode_action" >&6; }
10805 if test "$hardcode_action" = relink ||
10806 test "$inherit_rpath" = yes; then
10807 # Fast installation is not supported
10808 enable_fast_install
=no
10809 elif test "$shlibpath_overrides_runpath" = yes ||
10810 test "$enable_shared" = no
; then
10811 # Fast installation is not necessary
10812 enable_fast_install
=needless
10820 if test "x$enable_dlopen" != xyes
; then
10821 enable_dlopen
=unknown
10822 enable_dlopen_self
=unknown
10823 enable_dlopen_self_static
=unknown
10830 lt_cv_dlopen
="load_add_on"
10832 lt_cv_dlopen_self
=yes
10835 mingw
* | pw32
* | cegcc
*)
10836 lt_cv_dlopen
="LoadLibrary"
10841 lt_cv_dlopen
="dlopen"
10846 # if libdl is installed we need to link against it
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10848 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10849 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10850 $as_echo_n "(cached) " >&6
10852 ac_check_lib_save_LIBS
=$LIBS
10854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10857 /* Override any GCC internal prototype to avoid an error.
10858 Use char because int might match the return type of a GCC
10859 builtin and then its argument prototype would still apply. */
10872 if ac_fn_c_try_link
"$LINENO"; then :
10873 ac_cv_lib_dl_dlopen
=yes
10875 ac_cv_lib_dl_dlopen
=no
10877 rm -f core conftest.err conftest.
$ac_objext \
10878 conftest
$ac_exeext conftest.
$ac_ext
10879 LIBS
=$ac_check_lib_save_LIBS
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10882 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10883 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10884 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10887 lt_cv_dlopen
="dyld"
10889 lt_cv_dlopen_self
=yes
10896 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10897 if test "x$ac_cv_func_shl_load" = xyes
; then :
10898 lt_cv_dlopen
="shl_load"
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10901 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10902 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10903 $as_echo_n "(cached) " >&6
10905 ac_check_lib_save_LIBS
=$LIBS
10907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10920 return shl_load ();
10925 if ac_fn_c_try_link
"$LINENO"; then :
10926 ac_cv_lib_dld_shl_load
=yes
10928 ac_cv_lib_dld_shl_load
=no
10930 rm -f core conftest.err conftest.
$ac_objext \
10931 conftest
$ac_exeext conftest.
$ac_ext
10932 LIBS
=$ac_check_lib_save_LIBS
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10935 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10936 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
10937 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10939 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10940 if test "x$ac_cv_func_dlopen" = xyes
; then :
10941 lt_cv_dlopen
="dlopen"
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10944 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10945 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10946 $as_echo_n "(cached) " >&6
10948 ac_check_lib_save_LIBS
=$LIBS
10950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10968 if ac_fn_c_try_link
"$LINENO"; then :
10969 ac_cv_lib_dl_dlopen
=yes
10971 ac_cv_lib_dl_dlopen
=no
10973 rm -f core conftest.err conftest.
$ac_objext \
10974 conftest
$ac_exeext conftest.
$ac_ext
10975 LIBS
=$ac_check_lib_save_LIBS
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10978 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10979 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10980 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10983 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10984 if ${ac_cv_lib_svld_dlopen+:} false
; then :
10985 $as_echo_n "(cached) " >&6
10987 ac_check_lib_save_LIBS
=$LIBS
10988 LIBS
="-lsvld $LIBS"
10989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10990 /* end confdefs.h. */
10992 /* Override any GCC internal prototype to avoid an error.
10993 Use char because int might match the return type of a GCC
10994 builtin and then its argument prototype would still apply. */
11007 if ac_fn_c_try_link
"$LINENO"; then :
11008 ac_cv_lib_svld_dlopen
=yes
11010 ac_cv_lib_svld_dlopen
=no
11012 rm -f core conftest.err conftest.
$ac_objext \
11013 conftest
$ac_exeext conftest.
$ac_ext
11014 LIBS
=$ac_check_lib_save_LIBS
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11017 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11018 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11019 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11022 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11023 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11024 $as_echo_n "(cached) " >&6
11026 ac_check_lib_save_LIBS
=$LIBS
11028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11031 /* Override any GCC internal prototype to avoid an error.
11032 Use char because int might match the return type of a GCC
11033 builtin and then its argument prototype would still apply. */
11041 return dld_link ();
11046 if ac_fn_c_try_link
"$LINENO"; then :
11047 ac_cv_lib_dld_dld_link
=yes
11049 ac_cv_lib_dld_dld_link
=no
11051 rm -f core conftest.err conftest.
$ac_objext \
11052 conftest
$ac_exeext conftest.
$ac_ext
11053 LIBS
=$ac_check_lib_save_LIBS
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11056 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11057 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11058 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11079 if test "x$lt_cv_dlopen" != xno
; then
11085 case $lt_cv_dlopen in
11087 save_CPPFLAGS
="$CPPFLAGS"
11088 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11090 save_LDFLAGS
="$LDFLAGS"
11091 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11094 LIBS
="$lt_cv_dlopen_libs $LIBS"
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11097 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11098 if ${lt_cv_dlopen_self+:} false
; then :
11099 $as_echo_n "(cached) " >&6
11101 if test "$cross_compiling" = yes; then :
11102 lt_cv_dlopen_self
=cross
11104 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11105 lt_status
=$lt_dlunknown
11106 cat > conftest.
$ac_ext <<_LT_EOF
11107 #line $LINENO "configure"
11108 #include "confdefs.h"
11117 # define LT_DLGLOBAL RTLD_GLOBAL
11120 # define LT_DLGLOBAL DL_GLOBAL
11122 # define LT_DLGLOBAL 0
11126 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11127 find out it does not work in some platform. */
11128 #ifndef LT_DLLAZY_OR_NOW
11130 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11133 # define LT_DLLAZY_OR_NOW DL_LAZY
11136 # define LT_DLLAZY_OR_NOW RTLD_NOW
11139 # define LT_DLLAZY_OR_NOW DL_NOW
11141 # define LT_DLLAZY_OR_NOW 0
11148 /* When -fvisbility=hidden is used, assume the code has been annotated
11149 correspondingly for the symbols needed. */
11150 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11151 int fnord () __attribute__((visibility("default")));
11154 int fnord () { return 42; }
11157 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11158 int status = $lt_dlunknown;
11162 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11165 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11166 else puts (dlerror ());
11168 /* dlclose (self); */
11176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11177 (eval $ac_link) 2>&5
11179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11180 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11181 (.
/conftest
; exit; ) >&5 2>/dev
/null
11183 case x
$lt_status in
11184 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11185 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11186 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11189 # compilation failed
11190 lt_cv_dlopen_self
=no
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11198 $as_echo "$lt_cv_dlopen_self" >&6; }
11200 if test "x$lt_cv_dlopen_self" = xyes
; then
11201 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11203 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11204 if ${lt_cv_dlopen_self_static+:} false
; then :
11205 $as_echo_n "(cached) " >&6
11207 if test "$cross_compiling" = yes; then :
11208 lt_cv_dlopen_self_static
=cross
11210 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11211 lt_status
=$lt_dlunknown
11212 cat > conftest.
$ac_ext <<_LT_EOF
11213 #line $LINENO "configure"
11214 #include "confdefs.h"
11223 # define LT_DLGLOBAL RTLD_GLOBAL
11226 # define LT_DLGLOBAL DL_GLOBAL
11228 # define LT_DLGLOBAL 0
11232 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11233 find out it does not work in some platform. */
11234 #ifndef LT_DLLAZY_OR_NOW
11236 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11239 # define LT_DLLAZY_OR_NOW DL_LAZY
11242 # define LT_DLLAZY_OR_NOW RTLD_NOW
11245 # define LT_DLLAZY_OR_NOW DL_NOW
11247 # define LT_DLLAZY_OR_NOW 0
11254 /* When -fvisbility=hidden is used, assume the code has been annotated
11255 correspondingly for the symbols needed. */
11256 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11257 int fnord () __attribute__((visibility("default")));
11260 int fnord () { return 42; }
11263 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11264 int status = $lt_dlunknown;
11268 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11271 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11272 else puts (dlerror ());
11274 /* dlclose (self); */
11282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11283 (eval $ac_link) 2>&5
11285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11286 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11287 (.
/conftest
; exit; ) >&5 2>/dev
/null
11289 case x
$lt_status in
11290 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11291 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11292 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11295 # compilation failed
11296 lt_cv_dlopen_self_static
=no
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11304 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11307 CPPFLAGS
="$save_CPPFLAGS"
11308 LDFLAGS
="$save_LDFLAGS"
11313 case $lt_cv_dlopen_self in
11314 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11315 *) enable_dlopen_self
=unknown
;;
11318 case $lt_cv_dlopen_self_static in
11319 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11320 *) enable_dlopen_self_static
=unknown
;;
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11343 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11344 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11345 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11346 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11348 $as_echo "yes" >&6; }
11350 # FIXME - insert some real tests, host_os isn't really good enough
11353 if test -n "$STRIP" ; then
11354 striplib
="$STRIP -x"
11355 old_striplib
="$STRIP -S"
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11357 $as_echo "yes" >&6; }
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11360 $as_echo "no" >&6; }
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11365 $as_echo "no" >&6; }
11381 # Report which library types will actually be built
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11383 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11385 $as_echo "$can_build_shared" >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11388 $as_echo_n "checking whether to build shared libraries... " >&6; }
11389 test "$can_build_shared" = "no" && enable_shared
=no
11391 # On AIX, shared libraries and static libraries use the same namespace, and
11392 # are all built from PIC.
11395 test "$enable_shared" = yes && enable_static
=no
11396 if test -n "$RANLIB"; then
11397 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11398 postinstall_cmds
='$RANLIB $lib'
11403 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11404 test "$enable_shared" = yes && enable_static
=no
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11409 $as_echo "$enable_shared" >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11412 $as_echo_n "checking whether to build static libraries... " >&6; }
11413 # Make sure either enable_shared or enable_static is yes.
11414 test "$enable_shared" = yes || enable_static
=yes
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11416 $as_echo "$enable_static" >&6; }
11423 ac_cpp
='$CPP $CPPFLAGS'
11424 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11425 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11426 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11444 ac_config_commands
="$ac_config_commands libtool"
11449 # Only expand once:
11452 for ac_prog
in perl5 perl
11454 # Extract the first word of "$ac_prog", so it can be a program name with args.
11455 set dummy
$ac_prog; ac_word
=$2
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11457 $as_echo_n "checking for $ac_word... " >&6; }
11458 if ${ac_cv_path_PERL+:} false
; then :
11459 $as_echo_n "(cached) " >&6
11463 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
11466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11467 for as_dir
in $LPATH
11470 test -z "$as_dir" && as_dir
=.
11471 for ac_exec_ext
in '' $ac_executable_extensions; do
11472 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11473 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
11474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11484 PERL
=$ac_cv_path_PERL
11485 if test -n "$PERL"; then
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
11487 $as_echo "$PERL" >&6; }
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11490 $as_echo "no" >&6; }
11494 test -n "$PERL" && break
11496 test -n "$PERL" || PERL
="perl"
11499 if test "$PERL" = "perl"
11501 as_fn_error $?
"Perl not found." "$LINENO" 5
11504 if test "$GCC" = "yes"
11506 CFLAGS
="$CFLAGS -Wall"
11509 CFLAGS
="$CFLAGS -I.. -I${srcdir}/.. -I../libs -I${srcdir}/../libs"
11513 # Check whether --with-userdb was given.
11514 if test "${with_userdb+set}" = set; then :
11515 withval
=$with_userdb; userdb
="$withval"
11517 userdb
="/etc/userdb"
11521 USERDB
="`echo $userdb | tr 'a-z' 'A-Z'`"
11525 # Check whether --with-userdbmandir was given.
11526 if test "${with_userdbmandir+set}" = set; then :
11527 withval
=$with_userdbmandir; mandir
="$withval"
11532 # Check whether --with-userdbtmpdir was given.
11533 if test "${with_userdbtmpdir+set}" = set; then :
11534 withval
=$with_userdbtmpdir; tmpdir
="$withval"
11542 if test "$tmpdir" = ""
11544 tmpdir
=`echo "$userdb" | sed 's/\/[^\/]*$//'`
11553 # Check whether --with-makedatprog was given.
11554 if test "${with_makedatprog+set}" = set; then :
11555 withval
=$with_makedatprog; makedat
="$withval"
11557 makedat
="$bindir/makedat"
11562 if test -d ${srcdir}/..
/libs
/md5
11565 cat >>confdefs.h
<<_ACEOF
11569 MD5LIB
=..
/libs
/md
5/libmd5.la
11575 if test -d ${srcdir}/..
/libs
/sha1
11577 SHA1LIB
=..
/libs
/sha
1/libsha1.la
11583 if test -d ${srcdir}/..
/libs
/libhmac
11586 cat >>confdefs.h
<<_ACEOF
11587 #define HAVE_HMAC 1
11590 HMACLIB
=..
/libs
/libhmac
/libhmac.la
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11597 $as_echo_n "checking for ANSI C header files... " >&6; }
11598 if ${ac_cv_header_stdc+:} false
; then :
11599 $as_echo_n "(cached) " >&6
11601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11603 #include <stdlib.h>
11604 #include <stdarg.h>
11605 #include <string.h>
11616 if ac_fn_c_try_compile
"$LINENO"; then :
11617 ac_cv_header_stdc
=yes
11619 ac_cv_header_stdc
=no
11621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11623 if test $ac_cv_header_stdc = yes; then
11624 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11627 #include <string.h>
11630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11631 $EGREP "memchr" >/dev
/null
2>&1; then :
11634 ac_cv_header_stdc
=no
11640 if test $ac_cv_header_stdc = yes; then
11641 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11643 /* end confdefs.h. */
11644 #include <stdlib.h>
11647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11648 $EGREP "free" >/dev
/null
2>&1; then :
11651 ac_cv_header_stdc
=no
11657 if test $ac_cv_header_stdc = yes; then
11658 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11659 if test "$cross_compiling" = yes; then :
11662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11663 /* end confdefs.h. */
11665 #include <stdlib.h>
11666 #if ((' ' & 0x0FF) == 0x020)
11667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11670 # define ISLOWER(c) \
11671 (('a' <= (c) && (c) <= 'i') \
11672 || ('j' <= (c) && (c) <= 'r') \
11673 || ('s' <= (c) && (c) <= 'z'))
11674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11682 for (i = 0; i < 256; i++)
11683 if (XOR (islower (i), ISLOWER (i))
11684 || toupper (i) != TOUPPER (i))
11689 if ac_fn_c_try_run
"$LINENO"; then :
11692 ac_cv_header_stdc
=no
11694 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11695 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11701 $as_echo "$ac_cv_header_stdc" >&6; }
11702 if test $ac_cv_header_stdc = yes; then
11704 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11708 for ac_header
in sys
/stat.h sys
/time.h unistd.h fcntl.h termios.h
crypt.h
11710 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11711 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11712 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11713 cat >>confdefs.h
<<_ACEOF
11714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11722 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11723 if ${ac_cv_header_time+:} false
; then :
11724 $as_echo_n "(cached) " >&6
11726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11728 #include <sys/types.h>
11729 #include <sys/time.h>
11735 if ((struct tm *) 0)
11741 if ac_fn_c_try_compile
"$LINENO"; then :
11742 ac_cv_header_time
=yes
11744 ac_cv_header_time
=no
11746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11749 $as_echo "$ac_cv_header_time" >&6; }
11750 if test $ac_cv_header_time = yes; then
11752 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11758 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11759 if ${ac_cv_c_const+:} false
; then :
11760 $as_echo_n "(cached) " >&6
11762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11769 #ifndef __cplusplus
11770 /* Ultrix mips cc rejects this sort of thing. */
11771 typedef int charset[2];
11772 const charset cs = { 0, 0 };
11773 /* SunOS 4.1.1 cc rejects this. */
11774 char const *const *pcpcc;
11776 /* NEC SVR4.0.2 mips cc rejects this. */
11777 struct point {int x, y;};
11778 static struct point const zero = {0,0};
11779 /* AIX XL C 1.02.0.0 rejects this.
11780 It does not let you subtract one const X* pointer from another in
11781 an arm of an if-expression whose if-part is not a constant
11783 const char *g = "string";
11784 pcpcc = &g + (g ? g-g : 0);
11785 /* HPUX 7.0 cc rejects these. */
11787 ppc = (char**) pcpcc;
11788 pcpcc = (char const *const *) ppc;
11789 { /* SCO 3.2v4 cc rejects this sort of thing. */
11792 char const *s = 0 ? (char *) 0 : (char const *) 0;
11797 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11798 int x[] = {25, 17};
11799 const int *foo = &x[0];
11802 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11803 typedef const int *iptr;
11807 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
11808 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11809 struct s { int j; const int *ap[3]; } bx;
11810 struct s *b = &bx; b->j = 5;
11812 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11813 const int foo = 10;
11814 if (!foo) return 0;
11816 return !cs[0] && !zero.x;
11823 if ac_fn_c_try_compile
"$LINENO"; then :
11828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
11831 $as_echo "$ac_cv_c_const" >&6; }
11832 if test $ac_cv_c_const = no
; then
11834 $as_echo "#define const /**/" >>confdefs.h
11838 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11839 if test "x$ac_cv_type_pid_t" = xyes
; then :
11843 cat >>confdefs.h
<<_ACEOF
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
11850 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11851 if ${ac_cv_type_uid_t+:} false
; then :
11852 $as_echo_n "(cached) " >&6
11854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11856 #include <sys/types.h>
11859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11860 $EGREP "uid_t" >/dev
/null
2>&1; then :
11861 ac_cv_type_uid_t
=yes
11863 ac_cv_type_uid_t
=no
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11869 $as_echo "$ac_cv_type_uid_t" >&6; }
11870 if test $ac_cv_type_uid_t = no
; then
11872 $as_echo "#define uid_t int" >>confdefs.h
11875 $as_echo "#define gid_t int" >>confdefs.h
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
11880 $as_echo_n "checking return type of signal handlers... " >&6; }
11881 if ${ac_cv_type_signal+:} false
; then :
11882 $as_echo_n "(cached) " >&6
11884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <sys/types.h>
11887 #include <signal.h>
11892 return *(signal (0, 0)) (0) == 1;
11897 if ac_fn_c_try_compile
"$LINENO"; then :
11898 ac_cv_type_signal
=int
11900 ac_cv_type_signal
=void
11902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
11905 $as_echo "$ac_cv_type_signal" >&6; }
11907 cat >>confdefs.h
<<_ACEOF
11908 #define RETSIGTYPE $ac_cv_type_signal
11912 # Check whether --enable-largefile was given.
11913 if test "${enable_largefile+set}" = set; then :
11914 enableval
=$enable_largefile;
11917 if test "$enable_largefile" != no
; then
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11920 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11921 if ${ac_cv_sys_largefile_CC+:} false
; then :
11922 $as_echo_n "(cached) " >&6
11924 ac_cv_sys_largefile_CC
=no
11925 if test "$GCC" != yes; then
11928 # IRIX 6.2 and later do not support large files by default,
11929 # so use the C compiler's -n32 option if that helps.
11930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11932 #include <sys/types.h>
11933 /* Check that off_t can represent 2**63 - 1 correctly.
11934 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11935 since some C++ compilers masquerading as C compilers
11936 incorrectly reject 9223372036854775807. */
11937 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11938 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11939 && LARGE_OFF_T % 2147483647 == 1)
11949 if ac_fn_c_try_compile
"$LINENO"; then :
11952 rm -f core conftest.err conftest.
$ac_objext
11954 if ac_fn_c_try_compile
"$LINENO"; then :
11955 ac_cv_sys_largefile_CC
=' -n32'; break
11957 rm -f core conftest.err conftest.
$ac_objext
11961 rm -f conftest.
$ac_ext
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11965 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11966 if test "$ac_cv_sys_largefile_CC" != no
; then
11967 CC
=$CC$ac_cv_sys_largefile_CC
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11971 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11972 if ${ac_cv_sys_file_offset_bits+:} false
; then :
11973 $as_echo_n "(cached) " >&6
11976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11977 /* end confdefs.h. */
11978 #include <sys/types.h>
11979 /* Check that off_t can represent 2**63 - 1 correctly.
11980 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11981 since some C++ compilers masquerading as C compilers
11982 incorrectly reject 9223372036854775807. */
11983 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11984 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11985 && LARGE_OFF_T % 2147483647 == 1)
11995 if ac_fn_c_try_compile
"$LINENO"; then :
11996 ac_cv_sys_file_offset_bits
=no
; break
11998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12001 #define _FILE_OFFSET_BITS 64
12002 #include <sys/types.h>
12003 /* Check that off_t can represent 2**63 - 1 correctly.
12004 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12005 since some C++ compilers masquerading as C compilers
12006 incorrectly reject 9223372036854775807. */
12007 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12008 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12009 && LARGE_OFF_T % 2147483647 == 1)
12019 if ac_fn_c_try_compile
"$LINENO"; then :
12020 ac_cv_sys_file_offset_bits
=64; break
12022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12023 ac_cv_sys_file_offset_bits
=unknown
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12028 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12029 case $ac_cv_sys_file_offset_bits in #(
12032 cat >>confdefs.h
<<_ACEOF
12033 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12038 if test $ac_cv_sys_file_offset_bits = unknown
; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12040 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12041 if ${ac_cv_sys_large_files+:} false
; then :
12042 $as_echo_n "(cached) " >&6
12045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12047 #include <sys/types.h>
12048 /* Check that off_t can represent 2**63 - 1 correctly.
12049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12050 since some C++ compilers masquerading as C compilers
12051 incorrectly reject 9223372036854775807. */
12052 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12054 && LARGE_OFF_T % 2147483647 == 1)
12064 if ac_fn_c_try_compile
"$LINENO"; then :
12065 ac_cv_sys_large_files
=no
; break
12067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12070 #define _LARGE_FILES 1
12071 #include <sys/types.h>
12072 /* Check that off_t can represent 2**63 - 1 correctly.
12073 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12074 since some C++ compilers masquerading as C compilers
12075 incorrectly reject 9223372036854775807. */
12076 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12077 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12078 && LARGE_OFF_T % 2147483647 == 1)
12088 if ac_fn_c_try_compile
"$LINENO"; then :
12089 ac_cv_sys_large_files
=1; break
12091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12092 ac_cv_sys_large_files
=unknown
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12097 $as_echo "$ac_cv_sys_large_files" >&6; }
12098 case $ac_cv_sys_large_files in #(
12101 cat >>confdefs.h
<<_ACEOF
12102 #define _LARGE_FILES $ac_cv_sys_large_files
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
12115 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
12116 if ${ac_cv_lib_crypt_crypt+:} false
; then :
12117 $as_echo_n "(cached) " >&6
12119 ac_check_lib_save_LIBS
=$LIBS
12120 LIBS
="-lcrypt $LIBS"
12121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h. */
12124 /* Override any GCC internal prototype to avoid an error.
12125 Use char because int might match the return type of a GCC
12126 builtin and then its argument prototype would still apply. */
12139 if ac_fn_c_try_link
"$LINENO"; then :
12140 ac_cv_lib_crypt_crypt
=yes
12142 ac_cv_lib_crypt_crypt
=no
12144 rm -f core conftest.err conftest.
$ac_objext \
12145 conftest
$ac_exeext conftest.
$ac_ext
12146 LIBS
=$ac_check_lib_save_LIBS
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
12149 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
12150 if test "x$ac_cv_lib_crypt_crypt" = xyes
; then :
12151 CRYPTLIBS
="-lcrypt"
12155 LIBS
="$CRYPTLIBS $LIBS"
12156 ac_fn_c_check_func
"$LINENO" "crypt" "ac_cv_func_crypt"
12157 if test "x$ac_cv_func_crypt" = xyes
; then :
12159 cat >>confdefs.h
<<_ACEOF
12160 #define HAVE_CRYPT 1
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt() prototype" >&5
12167 $as_echo_n "checking for crypt() prototype... " >&6; }
12168 if ${userdb_cv_NEED_CRYPT_PROTOTYPE+:} false
; then :
12169 $as_echo_n "(cached) " >&6
12171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12172 /* end confdefs.h. */
12178 #include <unistd.h>
12180 int crypt(int, int);
12191 if ac_fn_c_try_compile
"$LINENO"; then :
12192 userdb_cv_NEED_CRYPT_PROTOTYPE
=1
12194 userdb_cv_NEED_CRYPT_PROTOTYPE
=0
12196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $userdb_cv_NEED_CRYPT_PROTOTYPE" >&5
12201 $as_echo "$userdb_cv_NEED_CRYPT_PROTOTYPE" >&6; }
12204 cat >>confdefs.h
<<_ACEOF
12205 #define NEED_CRYPT_PROTOTYPE $userdb_cv_NEED_CRYPT_PROTOTYPE
12210 for ac_func
in isatty gettimeofday
12212 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12213 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12214 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12215 cat >>confdefs.h
<<_ACEOF
12216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12224 # Check whether --with-random was given.
12225 if test "${with_random+set}" = set; then :
12226 withval
=$with_random; random
="$withval"
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for random source" >&5
12237 $as_echo_n "checking for random source... " >&6; }
12238 if ${userdb_cv_RANDOM+:} false
; then :
12239 $as_echo_n "(cached) " >&6
12241 if test -c /dev
/urandom
12243 userdb_cv_RANDOM
=/dev
/urandom
12245 if test -c /dev
/random
12247 userdb_cv_RANDOM
=/dev
/random
12249 userdb_cv_RANDOM
="none"
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $userdb_cv_RANDOM" >&5
12255 $as_echo "$userdb_cv_RANDOM" >&6; }
12256 random
="$userdb_cv_RANDOM"
12263 if test "$random" != "none"
12266 cat >>confdefs.h
<<_ACEOF
12267 #define RANDOM "$random"
12272 if test -d ${srcdir}/..
/libs
/docbook
; then
12274 HAVE_SGML_FALSE
='#'
12281 ac_config_files
="$ac_config_files Makefile userdb.pl makeuserdb pw2userdb"
12283 cat >confcache
<<\_ACEOF
12284 # This file is a shell script that caches the results of configure
12285 # tests run on this system so they can be shared between configure
12286 # scripts and configure runs, see configure's option --config-cache.
12287 # It is not useful on other systems. If it contains results you don't
12288 # want to keep, you may remove or edit it.
12290 # config.status only pays attention to the cache file if you give it
12291 # the --recheck option to rerun configure.
12293 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12294 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12295 # following values.
12299 # The following way of writing the cache mishandles newlines in values,
12300 # but we know of no workaround that is simple, portable, and efficient.
12301 # So, we kill variables containing newlines.
12302 # Ultrix sh set writes to stderr and can't be redirected directly,
12303 # and sets the high bit in the cache file unless we assign to the vars.
12305 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12306 eval ac_val
=\$
$ac_var
12310 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12311 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12314 _ | IFS | as_nl
) ;; #(
12315 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12316 *) { eval $ac_var=; unset $ac_var;} ;;
12322 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12323 *${as_nl}ac_space
=\
*)
12324 # `set' does not quote correctly, so add quotes: double-quote
12325 # substitution turns \\\\ into \\, and sed turns \\ into \.
12328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12331 # `set' quotes correctly as required by POSIX, so do not add quotes.
12332 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12343 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12345 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12346 if test -w "$cache_file"; then
12347 if test "x$cache_file" != "x/dev/null"; then
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12349 $as_echo "$as_me: updating cache $cache_file" >&6;}
12350 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
12351 cat confcache
>"$cache_file"
12353 case $cache_file in #(
12355 mv -f confcache
"$cache_file"$$
&&
12356 mv -f "$cache_file"$$
"$cache_file" ;; #(
12358 mv -f confcache
"$cache_file" ;;
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12364 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12369 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12370 # Let make expand exec_prefix.
12371 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12373 DEFS
=-DHAVE_CONFIG_H
12377 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12378 # 1. Remove the extension, and $U if already installed.
12379 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12380 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12381 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12382 # will be set to the directory where LIBOBJS objects are built.
12383 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12384 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12386 LIBOBJS
=$ac_libobjs
12388 LTLIBOBJS
=$ac_ltlibobjs
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12392 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12393 if test -n "$am_sleep_pid"; then
12394 # Hide warnings about reused PIDs.
12395 wait $am_sleep_pid 2>/dev
/null
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12398 $as_echo "done" >&6; }
12399 if test -n "$EXEEXT"; then
12401 am__EXEEXT_FALSE
='#'
12403 am__EXEEXT_TRUE
='#'
12407 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12408 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12411 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12412 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12415 if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
12416 as_fn_error $?
"conditional \"HAVE_SGML\" was never defined.
12417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12420 : "${CONFIG_STATUS=./config.status}"
12422 ac_clean_files_save
=$ac_clean_files
12423 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12425 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12427 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12429 # Generated by $as_me.
12430 # Run this file to recreate the current configuration.
12431 # Compiler output produced by configure, useful for debugging
12432 # configure, is in config.log if it exists.
12435 ac_cs_recheck=false
12438 SHELL=\${CONFIG_SHELL-$SHELL}
12441 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12442 ## -------------------- ##
12443 ## M4sh Initialization. ##
12444 ## -------------------- ##
12446 # Be more Bourne compatible
12447 DUALCASE
=1; export DUALCASE
# for MKS sh
12448 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12451 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12452 # is contrary to our usage. Disable this feature.
12453 alias -g '${1+"$@"}'='"$@"'
12454 setopt NO_GLOB_SUBST
12456 case `(set -o) 2>/dev/null` in #(
12468 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12469 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12470 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12472 # Prefer a ksh shell builtin over an external printf program on Solaris,
12473 # but without wasting forks for bash or zsh.
12474 if test -z "$BASH_VERSION$ZSH_VERSION" \
12475 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12476 as_echo='print
-r --'
12477 as_echo_n='print
-rn --'
12478 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12479 as_echo='printf %s
\n'
12480 as_echo_n='printf %s
'
12482 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12483 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12484 as_echo_n='/usr
/ucb
/echo -n'
12486 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12487 as_echo_n_body='eval
12491 expr "X$arg" : "X\\(.*\\)$as_nl";
12492 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12494 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12496 export as_echo_n_body
12497 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12499 export as_echo_body
12500 as_echo='sh
-c $as_echo_body as_echo
'
12503 # The user is always right.
12504 if test "${PATH_SEPARATOR+set}" != set; then
12506 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12507 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12514 # We need space, tab and new line, in precisely that order. Quoting is
12515 # there to prevent editors from complaining about space-tab.
12516 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12517 # splitting by setting IFS to empty value.)
12520 # Find who we are. Look in the path if we contain no directory separator.
12523 *[\\/]* ) as_myself=$0 ;;
12524 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12525 for as_dir in $PATH
12528 test -z "$as_dir" && as_dir=.
12529 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12535 # We did not find ourselves, most probably we were run as `sh COMMAND'
12536 # in which case we are not to be found in the path.
12537 if test "x$as_myself" = x
; then
12540 if test ! -f "$as_myself"; then
12541 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12545 # Unset variables that we do not need and which cause bugs (e.g. in
12546 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12547 # suppresses any "Segmentation fault" message there. '((' could
12548 # trigger a bug in pdksh 5.2.14.
12549 for as_var
in BASH_ENV ENV MAIL MAILPATH
12550 do eval test x\
${$as_var+set} = xset \
12551 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12564 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12567 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12568 # ----------------------------------------
12569 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12570 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12571 # script with STATUS, using 1 if that was 0.
12574 as_status
=$1; test $as_status -eq 0 && as_status
=1
12576 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12577 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12579 $as_echo "$as_me: error: $2" >&2
12580 as_fn_exit
$as_status
12584 # as_fn_set_status STATUS
12585 # -----------------------
12586 # Set $? to STATUS, without forking.
12587 as_fn_set_status
()
12590 } # as_fn_set_status
12592 # as_fn_exit STATUS
12593 # -----------------
12594 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12598 as_fn_set_status
$1
12604 # Portably unset VAR.
12607 { eval $1=; unset $1;}
12609 as_unset
=as_fn_unset
12610 # as_fn_append VAR VALUE
12611 # ----------------------
12612 # Append the text in VALUE to the end of the definition contained in VAR. Take
12613 # advantage of any shell optimizations that allow amortized linear growth over
12614 # repeated appends, instead of the typical quadratic growth present in naive
12616 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12617 eval 'as_fn_append ()
12628 # as_fn_arith ARG...
12629 # ------------------
12630 # Perform arithmetic evaluation on the ARGs, and store the result in the
12631 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12632 # must be portable across $(()) and expr.
12633 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12634 eval 'as_fn_arith ()
12641 as_val
=`expr "$@" || test $? -eq 1`
12646 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12647 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12653 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12654 as_basename
=basename
12659 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12665 as_me
=`$as_basename -- "$0" ||
12666 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12667 X"$0" : 'X\(//\)$' \| \
12668 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12670 sed '/^.*\/\([^/][^/]*\)\/*$/{
12684 # Avoid depending upon Character Ranges.
12685 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12686 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12687 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12688 as_cr_digits
='0123456789'
12689 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12691 ECHO_C
= ECHO_N
= ECHO_T
=
12692 case `echo -n x` in #(((((
12694 case `echo 'xy\c'` in
12695 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12697 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12704 rm -f conf$$ conf$$.exe conf$$.
file
12705 if test -d conf$$.dir
; then
12706 rm -f conf$$.dir
/conf$$.
file
12709 mkdir conf$$.dir
2>/dev
/null
12711 if (echo >conf$$.
file) 2>/dev
/null
; then
12712 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12714 # ... but there are two gotchas:
12715 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12716 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12717 # In both cases, we have to default to `cp -pR'.
12718 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12720 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12728 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12729 rmdir conf$$.dir
2>/dev
/null
12734 # Create "$as_dir" as a directory, including parents if necessary.
12739 -*) as_dir
=.
/$as_dir;;
12741 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12745 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12746 *) as_qdir
=$as_dir;;
12748 as_dirs
="'$as_qdir' $as_dirs"
12749 as_dir
=`$as_dirname -- "$as_dir" ||
12750 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12751 X"$as_dir" : 'X\(//\)[^/]' \| \
12752 X"$as_dir" : 'X\(//\)$' \| \
12753 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12754 $as_echo X"$as_dir" |
12755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12759 /^X\(\/\/\)[^/].*/{
12772 test -d "$as_dir" && break
12774 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12775 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12779 if mkdir
-p .
2>/dev
/null
; then
12780 as_mkdir_p
='mkdir -p "$as_dir"'
12782 test -d .
/-p && rmdir .
/-p
12787 # as_fn_executable_p FILE
12788 # -----------------------
12789 # Test if FILE is an executable regular file.
12790 as_fn_executable_p
()
12792 test -f "$1" && test -x "$1"
12793 } # as_fn_executable_p
12794 as_test_x
='test -x'
12795 as_executable_p
=as_fn_executable_p
12797 # Sed expression to map a string onto a valid CPP name.
12798 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12800 # Sed expression to map a string onto a valid variable name.
12801 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12805 ## ----------------------------------- ##
12806 ## Main body of $CONFIG_STATUS script. ##
12807 ## ----------------------------------- ##
12809 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12812 # Save the log message, to keep $0 and so on meaningful, and to
12813 # report actual input values of CONFIG_FILES etc. instead of their
12814 # values after options handling.
12816 This file was extended by libuserdb $as_me 0.10, which was
12817 generated by GNU Autoconf 2.69. Invocation command line was
12819 CONFIG_FILES = $CONFIG_FILES
12820 CONFIG_HEADERS = $CONFIG_HEADERS
12821 CONFIG_LINKS = $CONFIG_LINKS
12822 CONFIG_COMMANDS = $CONFIG_COMMANDS
12825 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12830 case $ac_config_files in *"
12831 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12834 case $ac_config_headers in *"
12835 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12840 # Files that config.status was made for.
12841 config_files="$ac_config_files"
12842 config_headers="$ac_config_headers"
12843 config_commands="$ac_config_commands"
12847 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12849 \`$as_me' instantiates files and other configuration actions
12850 from templates according to the current configuration. Unless the files
12851 and actions are specified as TAGs, all are instantiated by default.
12853 Usage: $0 [OPTION]... [TAG]...
12855 -h, --help print this help, then exit
12856 -V, --version print version number and configuration settings, then exit
12857 --config print configuration, then exit
12858 -q, --quiet, --silent
12859 do not print progress messages
12860 -d, --debug don't remove temporary files
12861 --recheck update $as_me by reconfiguring in the same conditions
12862 --file=FILE[:TEMPLATE]
12863 instantiate the configuration file FILE
12864 --header=FILE[:TEMPLATE]
12865 instantiate the configuration header FILE
12867 Configuration files:
12870 Configuration headers:
12873 Configuration commands:
12876 Report bugs to <courier-users@lists.sourceforge.net>."
12879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12880 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12882 libuserdb config.status 0.10
12883 configured by $0, generated by GNU Autoconf 2.69,
12884 with options \\"\$ac_cs_config\\"
12886 Copyright (C) 2012 Free Software Foundation, Inc.
12887 This config.status script is free software; the Free Software Foundation
12888 gives unlimited permission to copy, distribute and modify it."
12895 test -n "\$AWK" || AWK=awk
12898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12899 # The default lists apply if the user does not specify any file.
12905 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12906 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12910 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12922 # Handling of the options.
12923 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12925 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12926 $as_echo "$ac_cs_version"; exit ;;
12927 --config |
--confi |
--conf |
--con |
--co |
--c )
12928 $as_echo "$ac_cs_config"; exit ;;
12929 --debug |
--debu |
--deb |
--de |
--d |
-d )
12931 --file |
--fil |
--fi |
--f )
12934 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12935 '') as_fn_error $?
"missing file argument" ;;
12937 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12938 ac_need_defaults
=false
;;
12939 --header |
--heade |
--head |
--hea )
12942 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12944 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12945 ac_need_defaults
=false
;;
12947 # Conflict between --help and --header
12948 as_fn_error $?
"ambiguous option: \`$1'
12949 Try \`$0 --help' for more information.";;
12950 --help |
--hel |
-h )
12951 $as_echo "$ac_cs_usage"; exit ;;
12952 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12953 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12956 # This is an error.
12957 -*) as_fn_error $?
"unrecognized option: \`$1'
12958 Try \`$0 --help' for more information." ;;
12960 *) as_fn_append ac_config_targets
" $1"
12961 ac_need_defaults
=false
;;
12967 ac_configure_extra_args
=
12969 if $ac_cs_silent; then
12971 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12976 if \$ac_cs_recheck; then
12977 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12979 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12980 CONFIG_SHELL='$SHELL'
12981 export CONFIG_SHELL
12986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12990 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12991 ## Running $as_me. ##
12997 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13001 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13004 # The HP-UX ksh and POSIX shell print the target directory to stdout
13005 # if CDPATH is set.
13006 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13008 sed_quote_subst='$sed_quote_subst'
13009 double_quote_subst='$double_quote_subst'
13010 delay_variable_subst='$delay_variable_subst'
13011 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13012 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13013 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13014 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13015 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13016 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13017 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13018 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13019 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13020 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13021 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13022 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13023 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13024 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13025 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13026 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13027 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13028 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13029 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13030 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13031 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13032 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13033 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13034 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13035 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13036 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13037 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13038 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13039 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13040 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13041 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13042 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13043 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13044 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13045 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13046 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13047 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13048 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13049 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13050 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13051 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13052 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13053 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13054 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13055 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13056 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13057 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13058 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13059 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13060 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13061 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13062 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13063 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13064 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13065 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13066 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13067 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"`'
13068 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13069 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13070 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13071 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13072 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13073 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13074 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13075 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13076 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13077 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13078 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13079 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13080 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13081 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13082 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13083 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13084 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13085 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13086 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13087 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13088 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13089 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13090 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13091 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13092 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13093 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13094 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13095 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13096 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13097 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13098 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13099 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13100 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13101 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13102 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13103 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13104 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13105 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13106 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13107 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13108 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13109 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13110 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13111 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13112 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13113 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13114 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13115 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13116 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13117 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13118 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13119 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13120 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13121 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13122 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13123 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13124 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13125 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13126 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13127 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13128 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13129 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13130 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13131 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13132 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13133 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13134 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13135 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13136 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13137 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13138 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13139 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13140 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13143 LTCFLAGS='$LTCFLAGS'
13144 compiler='$compiler_DEFAULT'
13146 # A function that is used when there is no print builtin or printf.
13147 func_fallback_echo ()
13149 eval 'cat <<_LTECHO_EOF
13154 # Quote evaled strings.
13169 deplibs_check_method \
13174 sharedlib_from_linklib_cmd \
13177 archiver_list_spec \
13183 lt_cv_sys_global_symbol_pipe \
13184 lt_cv_sys_global_symbol_to_cdecl \
13185 lt_cv_sys_global_symbol_to_c_name_address \
13186 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13187 nm_file_list_spec \
13188 lt_prog_compiler_no_builtin_flag \
13189 lt_prog_compiler_pic \
13190 lt_prog_compiler_wl \
13191 lt_prog_compiler_static \
13192 lt_cv_prog_compiler_c_o \
13201 export_dynamic_flag_spec \
13202 whole_archive_flag_spec \
13203 compiler_needs_object \
13205 allow_undefined_flag \
13206 no_undefined_flag \
13207 hardcode_libdir_flag_spec \
13208 hardcode_libdir_separator \
13212 variables_saved_for_relink \
13214 library_names_spec \
13216 install_override_mode \
13220 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13221 *[\\\\\\\`\\"\\\$]*)
13222 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13225 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13230 # Double-quote double-evaled strings.
13231 for var in reload_cmds \
13232 old_postinstall_cmds \
13233 old_postuninstall_cmds \
13235 extract_expsyms_cmds \
13236 old_archive_from_new_cmds \
13237 old_archive_from_expsyms_cmds \
13239 archive_expsym_cmds \
13241 module_expsym_cmds \
13242 export_symbols_cmds \
13246 postuninstall_cmds \
13248 sys_lib_search_path_spec \
13249 sys_lib_dlsearch_path_spec; do
13250 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13251 *[\\\\\\\`\\"\\\$]*)
13252 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13255 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13260 ac_aux_dir='$ac_aux_dir'
13261 xsi_shell='$xsi_shell'
13262 lt_shell_append='$lt_shell_append'
13264 # See if we are running on zsh, and set the options which allow our
13265 # commands through without removal of \ escapes INIT.
13266 if test -n "\${ZSH_VERSION+set}" ; then
13267 setopt NO_GLOB_SUBST
13273 TIMESTAMP='$TIMESTAMP'
13282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13284 # Handling of arguments.
13285 for ac_config_target
in $ac_config_targets
13287 case $ac_config_target in
13288 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13289 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13290 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13291 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13292 "userdb.pl") CONFIG_FILES
="$CONFIG_FILES userdb.pl" ;;
13293 "makeuserdb") CONFIG_FILES
="$CONFIG_FILES makeuserdb" ;;
13294 "pw2userdb") CONFIG_FILES
="$CONFIG_FILES pw2userdb" ;;
13296 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13301 # If the user did not use the arguments to specify the items to instantiate,
13302 # then the envvar interface is used. Set only those that are not.
13303 # We use the long form for the default assignment because of an extremely
13304 # bizarre bug on SunOS 4.1.3.
13305 if $ac_need_defaults; then
13306 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13307 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13308 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13311 # Have a temporary directory for convenience. Make it in the build tree
13312 # simply because there is no reason against having it here, and in addition,
13313 # creating and moving files from /tmp can sometimes cause problems.
13314 # Hook for its removal unless debugging.
13315 # Note that there is a small window in which the directory will not be cleaned:
13316 # after its creation but before its name has been assigned to `$tmp'.
13320 trap 'exit_status=$?
13321 : "${ac_tmp:=$tmp}"
13322 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13324 trap 'as_fn_exit 1' 1 2 13 15
13326 # Create a (secure) tmp directory for tmp files.
13329 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13333 tmp
=.
/conf$$
-$RANDOM
13334 (umask 077 && mkdir
"$tmp")
13335 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13338 # Set up the scripts for CONFIG_FILES section.
13339 # No need to generate them if there are no CONFIG_FILES.
13340 # This happens for instance with `./config.status config.h'.
13341 if test -n "$CONFIG_FILES"; then
13344 ac_cr
=`echo X | tr X '\015'`
13345 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13346 # But we know of no other shell where ac_cr would be empty at this
13347 # point, so we can use a bashism as a fallback.
13348 if test "x$ac_cr" = x
; then
13349 eval ac_cr
=\$
\'\\r
\'
13351 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13352 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13355 ac_cs_awk_cr
=$ac_cr
13358 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13363 echo "cat >conf$$subs.awk <<_ACEOF" &&
13364 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13366 } >conf$$subs.sh ||
13367 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13368 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13370 for ac_last_try in false false false false false :; do
13371 . ./conf$$subs.sh ||
13372 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13374 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13375 if test $ac_delim_n = $ac_delim_num; then
13377 elif $ac_last_try; then
13378 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13380 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13383 rm -f conf$$subs.sh
13385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13386 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
13390 s/^/S["/; s
/!.
*/"]=/
13400 s/\(.\{148\}\)..*/\1/
13402 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13407 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13414 s/\(.\{148\}\)..*/\1/
13416 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13420 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13425 ' <conf$$subs.awk | sed '
13430 ' >>$CONFIG_STATUS || ac_write_fail=1
13431 rm -f conf$$subs.awk
13432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13434 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
13435 for (key in S) S_is_set[key] = 1
13441 nfields = split(line, field, "@
")
13443 len = length(field[1])
13444 for (i = 2; i < nfields; i++) {
13446 keylen = length(key)
13447 if (S_is_set[key]) {
13449 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13450 len += length(value) + length(field[++i])
13461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13462 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13463 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13466 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
13467 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13470 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13471 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13472 # trailing colons and then remove the whole line if VPATH becomes empty
13473 # (actually we leave an empty line to preserve line numbers).
13474 if test "x
$srcdir" = x.; then
13475 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13494 fi # test -n "$CONFIG_FILES"
13496 # Set up the scripts for CONFIG_HEADERS section.
13497 # No need to generate them if there are no CONFIG_HEADERS.
13498 # This happens for instance with `./config.status Makefile'.
13499 if test -n "$CONFIG_HEADERS"; then
13500 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
13504 # Transform confdefs.h into an awk script `defines.awk', embedded as
13505 # here-document in config.status, that substitutes the proper values into
13506 # config.h.in to produce config.h.
13508 # Create a delimiter string that does not exist in confdefs.h, to ease
13509 # handling of long lines.
13511 for ac_last_try in false false :; do
13512 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
13513 if test -z "$ac_tt"; then
13515 elif $ac_last_try; then
13516 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13518 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13522 # For the awk script, D is an array of macro values keyed by name,
13523 # likewise P contains macro parameters if any. Preserve backslash
13524 # newline sequences.
13526 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13528 s/.\{148\}/&'"$ac_delim"'/g
13531 s/^[ ]*#[ ]*define[ ][ ]*/ /
13538 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13540 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13544 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13545 D["\
1"]=" \
3\\\\\\n
"\\/p
13547 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13552 s/.\{148\}/&'"$ac_delim"'/g
13557 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13560 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13562 ' <confdefs.h | sed '
13563 s/'"$ac_delim"'/"\\\
13564 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13567 for (key in D) D_is_set[key] = 1
13570 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13572 split(line, arg, " ")
13573 if (arg[1] == "#") {
13577 defundef
= substr
(arg
[1], 2)
13580 split(mac1
, mac2
, "(") #)
13582 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13583 if (D_is_set
[macro
]) {
13584 # Preserve the white space surrounding the "#".
13585 print prefix
"define", macro P
[macro
] D
[macro
]
13588 # Replace #undef with comments. This is necessary, for example,
13589 # in the case of _POSIX_SOURCE, which is predefined and required
13590 # on some systems where configure will not decide to define it.
13591 if (defundef
== "undef") {
13592 print
"/*", prefix defundef
, macro
, "*/"
13600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13601 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13602 fi # test -n "$CONFIG_HEADERS"
13605 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13610 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13612 case $ac_mode$ac_tag in
13614 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
13615 :[FH
]-) ac_tag
=-:-;;
13616 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13633 -) ac_f
="$ac_tmp/stdin";;
13634 *) # Look for the file first in the build tree, then in the source tree
13635 # (if the path is not absolute). The absolute path cannot be DOS-style,
13636 # because $ac_f cannot contain `:'.
13640 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13642 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13644 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13645 as_fn_append ac_file_inputs
" '$ac_f'"
13648 # Let's still pretend it is `configure' which instantiates (i.e., don't
13649 # use $as_me), people would be surprised to read:
13650 # /* config.h. Generated by config.status. */
13651 configure_input
='Generated from '`
13652 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13654 if test x
"$ac_file" != x-
; then
13655 configure_input
="$ac_file. $configure_input"
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13657 $as_echo "$as_me: creating $ac_file" >&6;}
13659 # Neutralize special characters interpreted by sed in replacement strings.
13660 case $configure_input in #(
13661 *\
&* |
*\|
* |
*\\* )
13662 ac_sed_conf_input
=`$as_echo "$configure_input" |
13663 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13664 *) ac_sed_conf_input
=$configure_input;;
13668 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
13669 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13674 ac_dir
=`$as_dirname -- "$ac_file" ||
13675 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13676 X"$ac_file" : 'X\(//\)[^/]' \| \
13677 X"$ac_file" : 'X\(//\)$' \| \
13678 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13679 $as_echo X"$ac_file" |
13680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13684 /^X\(\/\/\)[^/].*/{
13697 as_dir
="$ac_dir"; as_fn_mkdir_p
13701 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13703 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13704 # A ".." for each directory in $ac_dir_suffix.
13705 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13706 case $ac_top_builddir_sub in
13707 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13708 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13711 ac_abs_top_builddir
=$ac_pwd
13712 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13713 # for backward compatibility:
13714 ac_top_builddir
=$ac_top_build_prefix
13717 .
) # We are building in place.
13719 ac_top_srcdir
=$ac_top_builddir_sub
13720 ac_abs_top_srcdir
=$ac_pwd ;;
13721 [\\/]* | ?
:[\\/]* ) # Absolute name.
13722 ac_srcdir
=$srcdir$ac_dir_suffix;
13723 ac_top_srcdir
=$srcdir
13724 ac_abs_top_srcdir
=$srcdir ;;
13725 *) # Relative name.
13726 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13727 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13728 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13730 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13740 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
13741 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
13743 ac_MKDIR_P
=$MKDIR_P
13745 [\\/$
]* | ?
:[\\/]* ) ;;
13746 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
13750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13751 # If the template does not know about datarootdir, expand it.
13752 # FIXME: This hack should be removed a few years after 2.60.
13753 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13764 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13765 *datarootdir
*) ac_datarootdir_seen
=yes;;
13766 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13768 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13771 ac_datarootdir_hack='
13772 s&@datadir@&$datadir&g
13773 s&@docdir@&$docdir&g
13774 s&@infodir@&$infodir&g
13775 s&@localedir@&$localedir&g
13776 s&@mandir@&$mandir&g
13777 s&\\\${datarootdir}&$datarootdir&g' ;;
13781 # Neutralize VPATH when `$srcdir' = `.'.
13782 # Shell code in configure.ac might set extrasub.
13783 # FIXME: do we really want to maintain this feature?
13784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13785 ac_sed_extra="$ac_vpsub
13788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13790 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13791 s|@configure_input@|
$ac_sed_conf_input|
;t t
13792 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13793 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13794 s
&@srcdir@
&$ac_srcdir&;t t
13795 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13796 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13797 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13798 s
&@builddir@
&$ac_builddir&;t t
13799 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13800 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13801 s
&@INSTALL@
&$ac_INSTALL&;t t
13802 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
13803 $ac_datarootdir_hack
13805 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
13806 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13808 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13809 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
13810 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13811 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13813 which seems to be undefined. Please make sure it is defined" >&5
13814 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13815 which seems to be undefined. Please make sure it is defined" >&2;}
13817 rm -f "$ac_tmp/stdin"
13819 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13820 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13822 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13828 if test x"$ac_file" != x-; then
13830 $as_echo "/* $configure_input */" \
13831 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13832 } >"$ac_tmp/config.h" \
13833 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13834 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13836 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13839 mv "$ac_tmp/config.h" "$ac_file" \
13840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13843 $as_echo "/* $configure_input */" \
13844 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13845 || as_fn_error $? "could not create -" "$LINENO" 5
13847 # Compute "$ac_file"'s index
in $config_headers.
13850 for _am_header
in $config_headers :; do
13851 case $_am_header in
13852 $_am_arg |
$_am_arg:* )
13855 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
13858 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13859 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13860 X"$_am_arg" : 'X\(//\)[^/]' \| \
13861 X"$_am_arg" : 'X\(//\)$' \| \
13862 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13863 $as_echo X"$_am_arg" |
13864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13868 /^X\(\/\/\)[^/].*/{
13880 s/.*/./; q'`/stamp-h
$_am_stamp_count
13883 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13884 $as_echo "$as_me: executing $ac_file commands" >&6;}
13889 case $ac_file$ac_mode in
13890 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
13891 # Older Autoconf quotes --file arguments for eval, but not when files
13892 # are listed without --file. Let's play safe and only enable the eval
13893 # if we detect the quoting.
13894 case $CONFIG_FILES in
13895 *\'*) eval set x
"$CONFIG_FILES" ;;
13896 *) set x
$CONFIG_FILES ;;
13901 # Strip MF so we end up with the name of the file.
13902 mf
=`echo "$mf" | sed -e 's/:.*$//'`
13903 # Check whether this is an Automake generated Makefile or not.
13904 # We used to match only the files named 'Makefile.in', but
13905 # some people rename them; so instead we look at the file content.
13906 # Grep'ing the first line is not enough: some people post-process
13907 # each Makefile.in and add a new line on top of each file to say so.
13908 # Grep'ing the whole file is not good either: AIX grep has a line
13909 # limit of 2048, but all sed's we know have understand at least 4000.
13910 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
13911 dirpart
=`$as_dirname -- "$mf" ||
13912 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13913 X"$mf" : 'X\(//\)[^/]' \| \
13914 X"$mf" : 'X\(//\)$' \| \
13915 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13921 /^X\(\/\/\)[^/].*/{
13937 # Extract the definition of DEPDIR, am__include, and am__quote
13938 # from the Makefile without running 'make'.
13939 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
13940 test -z "$DEPDIR" && continue
13941 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
13942 test -z "$am__include" && continue
13943 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
13944 # Find all dependency output files, they are included files with
13945 # $(DEPDIR) in their names. We invoke sed twice because it is the
13946 # simplest approach to changing $(DEPDIR) to its actual value in the
13948 for file in `sed -n "
13949 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13950 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13951 # Make sure the directory exists.
13952 test -f "$dirpart/$file" && continue
13953 fdir
=`$as_dirname -- "$file" ||
13954 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13955 X"$file" : 'X\(//\)[^/]' \| \
13956 X"$file" : 'X\(//\)$' \| \
13957 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13958 $as_echo X"$file" |
13959 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13963 /^X\(\/\/\)[^/].*/{
13976 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
13977 # echo "creating $dirpart/$file"
13978 echo '# dummy' > "$dirpart/$file"
13985 # See if we are running on zsh, and set the options which allow our
13986 # commands through without removal of \ escapes.
13987 if test -n "${ZSH_VERSION+set}" ; then
13988 setopt NO_GLOB_SUBST
13991 cfgfile
="${ofile}T"
13992 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13995 cat <<_LT_EOF >> "$cfgfile"
13998 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13999 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14000 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14001 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14003 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14004 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14006 # Written by Gordon Matzigkeit, 1996
14008 # This file is part of GNU Libtool.
14010 # GNU Libtool is free software; you can redistribute it and/or
14011 # modify it under the terms of the GNU General Public License as
14012 # published by the Free Software Foundation; either version 2 of
14013 # the License, or (at your option) any later version.
14015 # As a special exception to the GNU General Public License,
14016 # if you distribute this file as part of a program or library that
14017 # is built using GNU Libtool, you may include this file under the
14018 # same distribution terms that you use for the rest of that program.
14020 # GNU Libtool is distributed in the hope that it will be useful,
14021 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14022 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14023 # GNU General Public License for more details.
14025 # You should have received a copy of the GNU General Public License
14026 # along with GNU Libtool; see the file COPYING. If not, a copy
14027 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14028 # obtained by writing to the Free Software Foundation, Inc.,
14029 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14032 # The names of the tagged configurations supported by this script.
14035 # ### BEGIN LIBTOOL CONFIG
14037 # Which release of libtool.m4 was used?
14038 macro_version=$macro_version
14039 macro_revision=$macro_revision
14041 # Whether or not to build shared libraries.
14042 build_libtool_libs=$enable_shared
14044 # Whether or not to build static libraries.
14045 build_old_libs=$enable_static
14047 # What type of objects to build.
14050 # Whether or not to optimize for fast installation.
14051 fast_install=$enable_fast_install
14053 # Shell to use when invoking shell scripts.
14056 # An echo program that protects backslashes.
14059 # The PATH separator for the build system.
14060 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14063 host_alias=$host_alias
14067 # The build system.
14068 build_alias=$build_alias
14072 # A sed program that does not truncate output.
14075 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14076 Xsed="\$SED -e 1s/^X//"
14078 # A grep program that handles long lines.
14084 # A literal string matcher.
14087 # A BSD- or MS-compatible name lister.
14090 # Whether we need soft or hard links.
14093 # What is the maximum length of a command?
14094 max_cmd_len=$max_cmd_len
14096 # Object file suffix (normally "o").
14099 # Executable file suffix (normally "").
14102 # whether the shell understands "unset".
14105 # turn spaces into newlines.
14108 # turn newlines into spaces.
14111 # convert \$build file names to \$host format.
14112 to_host_file_cmd=$lt_cv_to_host_file_cmd
14114 # convert \$build files to toolchain format.
14115 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14117 # An object symbol dumper.
14118 OBJDUMP=$lt_OBJDUMP
14120 # Method to check whether dependent libraries are shared objects.
14121 deplibs_check_method=$lt_deplibs_check_method
14123 # Command to use when deplibs_check_method = "file_magic".
14124 file_magic_cmd=$lt_file_magic_cmd
14126 # How to find potential files when deplibs_check_method = "file_magic".
14127 file_magic_glob=$lt_file_magic_glob
14129 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14130 want_nocaseglob=$lt_want_nocaseglob
14132 # DLL creation program.
14133 DLLTOOL=$lt_DLLTOOL
14135 # Command to associate shared and link libraries.
14136 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14141 # Flags to create an archive.
14142 AR_FLAGS=$lt_AR_FLAGS
14144 # How to feed a file listing to the archiver.
14145 archiver_list_spec=$lt_archiver_list_spec
14147 # A symbol stripping program.
14150 # Commands used to install an old-style archive.
14152 old_postinstall_cmds=$lt_old_postinstall_cmds
14153 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14155 # Whether to use a lock for old archive extraction.
14156 lock_old_archive_extraction=$lock_old_archive_extraction
14161 # LTCC compiler flags.
14162 LTCFLAGS=$lt_CFLAGS
14164 # Take the output of nm and produce a listing of raw symbols and C names.
14165 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14167 # Transform the output of nm in a proper C declaration.
14168 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14170 # Transform the output of nm in a C name address pair.
14171 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14173 # Transform the output of nm in a C name address pair when lib prefix is needed.
14174 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14176 # Specify filename containing input files for \$NM.
14177 nm_file_list_spec=$lt_nm_file_list_spec
14179 # The root where to search for dependent libraries,and in which our libraries should be installed.
14180 lt_sysroot=$lt_sysroot
14182 # The name of the directory that contains temporary libtool files.
14185 # Used to examine libraries when file_magic_cmd begins with "file".
14186 MAGIC_CMD=$MAGIC_CMD
14188 # Must we lock files when doing compilation?
14189 need_locks=$lt_need_locks
14192 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14194 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14195 DSYMUTIL=$lt_DSYMUTIL
14197 # Tool to change global to local symbols on Mac OS X.
14200 # Tool to manipulate fat objects and archives on Mac OS X.
14203 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14206 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14207 OTOOL64=$lt_OTOOL64
14209 # Old archive suffix (normally "a").
14212 # Shared library suffix (normally ".so").
14213 shrext_cmds=$lt_shrext_cmds
14215 # The commands to extract the exported symbol list from a shared archive.
14216 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14218 # Variables whose values should be saved in libtool wrapper scripts and
14219 # restored at link time.
14220 variables_saved_for_relink=$lt_variables_saved_for_relink
14222 # Do we need the "lib" prefix for modules?
14223 need_lib_prefix=$need_lib_prefix
14225 # Do we need a version for libraries?
14226 need_version=$need_version
14228 # Library versioning type.
14229 version_type=$version_type
14231 # Shared library runtime path variable.
14232 runpath_var=$runpath_var
14234 # Shared library path variable.
14235 shlibpath_var=$shlibpath_var
14237 # Is shlibpath searched before the hard-coded library search path?
14238 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14240 # Format of library name prefix.
14241 libname_spec=$lt_libname_spec
14243 # List of archive names. First name is the real one, the rest are links.
14244 # The last name is the one that the linker finds with -lNAME
14245 library_names_spec=$lt_library_names_spec
14247 # The coded name of the library, if different from the real name.
14248 soname_spec=$lt_soname_spec
14250 # Permission mode override for installation of shared libraries.
14251 install_override_mode=$lt_install_override_mode
14253 # Command to use after installation of a shared archive.
14254 postinstall_cmds=$lt_postinstall_cmds
14256 # Command to use after uninstallation of a shared archive.
14257 postuninstall_cmds=$lt_postuninstall_cmds
14259 # Commands used to finish a libtool library installation in a directory.
14260 finish_cmds=$lt_finish_cmds
14262 # As "finish_cmds", except a single script fragment to be evaled but
14264 finish_eval=$lt_finish_eval
14266 # Whether we should hardcode library paths into libraries.
14267 hardcode_into_libs=$hardcode_into_libs
14269 # Compile-time system search path for libraries.
14270 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14272 # Run-time system search path for libraries.
14273 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14275 # Whether dlopen is supported.
14276 dlopen_support=$enable_dlopen
14278 # Whether dlopen of programs is supported.
14279 dlopen_self=$enable_dlopen_self
14281 # Whether dlopen of statically linked programs is supported.
14282 dlopen_self_static=$enable_dlopen_self_static
14284 # Commands to strip libraries.
14285 old_striplib=$lt_old_striplib
14286 striplib=$lt_striplib
14289 # The linker used to build libraries.
14292 # How to create reloadable object files.
14293 reload_flag=$lt_reload_flag
14294 reload_cmds=$lt_reload_cmds
14296 # Commands used to build an old-style archive.
14297 old_archive_cmds=$lt_old_archive_cmds
14299 # A language specific compiler.
14302 # Is the compiler the GNU compiler?
14305 # Compiler flag to turn off builtin functions.
14306 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14308 # Additional compiler flags for building library objects.
14309 pic_flag=$lt_lt_prog_compiler_pic
14311 # How to pass a linker flag through the compiler.
14312 wl=$lt_lt_prog_compiler_wl
14314 # Compiler flag to prevent dynamic linking.
14315 link_static_flag=$lt_lt_prog_compiler_static
14317 # Does compiler simultaneously support -c and -o options?
14318 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14320 # Whether or not to add -lc for building shared libraries.
14321 build_libtool_need_lc=$archive_cmds_need_lc
14323 # Whether or not to disallow shared libs when runtime libs are static.
14324 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14326 # Compiler flag to allow reflexive dlopens.
14327 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14329 # Compiler flag to generate shared objects directly from archives.
14330 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14332 # Whether the compiler copes with passing no objects directly.
14333 compiler_needs_object=$lt_compiler_needs_object
14335 # Create an old-style archive from a shared archive.
14336 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14338 # Create a temporary old-style archive to link instead of a shared archive.
14339 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14341 # Commands used to build a shared archive.
14342 archive_cmds=$lt_archive_cmds
14343 archive_expsym_cmds=$lt_archive_expsym_cmds
14345 # Commands used to build a loadable module if different from building
14346 # a shared archive.
14347 module_cmds=$lt_module_cmds
14348 module_expsym_cmds=$lt_module_expsym_cmds
14350 # Whether we are building with GNU ld or not.
14351 with_gnu_ld=$lt_with_gnu_ld
14353 # Flag that allows shared libraries with undefined symbols to be built.
14354 allow_undefined_flag=$lt_allow_undefined_flag
14356 # Flag that enforces no undefined symbols.
14357 no_undefined_flag=$lt_no_undefined_flag
14359 # Flag to hardcode \$libdir into a binary during linking.
14360 # This must work even if \$libdir does not exist
14361 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14363 # Whether we need a single "-rpath" flag with a separated argument.
14364 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14366 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14367 # DIR into the resulting binary.
14368 hardcode_direct=$hardcode_direct
14370 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14371 # DIR into the resulting binary and the resulting library dependency is
14372 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14373 # library is relocated.
14374 hardcode_direct_absolute=$hardcode_direct_absolute
14376 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14377 # into the resulting binary.
14378 hardcode_minus_L=$hardcode_minus_L
14380 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14381 # into the resulting binary.
14382 hardcode_shlibpath_var=$hardcode_shlibpath_var
14384 # Set to "yes" if building a shared library automatically hardcodes DIR
14385 # into the library and all subsequent libraries and executables linked
14387 hardcode_automatic=$hardcode_automatic
14389 # Set to yes if linker adds runtime paths of dependent libraries
14390 # to runtime path list.
14391 inherit_rpath=$inherit_rpath
14393 # Whether libtool must link a program against all its dependency libraries.
14394 link_all_deplibs=$link_all_deplibs
14396 # Set to "yes" if exported symbols are required.
14397 always_export_symbols=$always_export_symbols
14399 # The commands to list exported symbols.
14400 export_symbols_cmds=$lt_export_symbols_cmds
14402 # Symbols that should not be listed in the preloaded symbols.
14403 exclude_expsyms=$lt_exclude_expsyms
14405 # Symbols that must always be exported.
14406 include_expsyms=$lt_include_expsyms
14408 # Commands necessary for linking programs (against libraries) with templates.
14409 prelink_cmds=$lt_prelink_cmds
14411 # Commands necessary for finishing linking programs.
14412 postlink_cmds=$lt_postlink_cmds
14414 # Specify filename containing input files.
14415 file_list_spec=$lt_file_list_spec
14417 # How to hardcode a shared library path into an executable.
14418 hardcode_action=$hardcode_action
14420 # ### END LIBTOOL CONFIG
14426 cat <<\_LT_EOF
>> "$cfgfile"
14427 # AIX sometimes has problems with the GCC collect2 program. For some
14428 # reason, if we set the COLLECT_NAMES environment variable, the problems
14429 # vanish in a puff of smoke.
14430 if test "X${COLLECT_NAMES+set}" != Xset
; then
14432 export COLLECT_NAMES
14439 ltmain
="$ac_aux_dir/ltmain.sh"
14442 # We use sed instead of cat because bash on DJGPP gets confused if
14443 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14444 # text mode, it properly converts lines to CR/LF. This bash problem
14445 # is reportedly fixed, but why not run on old versions too?
14446 sed '$q' "$ltmain" >> "$cfgfile" \
14447 ||
(rm -f "$cfgfile"; exit 1)
14449 if test x
"$xsi_shell" = xyes
; then
14450 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14454 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14455 \ * ) func_dirname_result="${3}" ;;\
14457 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14458 && mv -f "$cfgfile.tmp" "$cfgfile" \
14459 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14460 test 0 -eq $? || _lt_function_replace_fail
=:
14463 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14466 \ func_basename_result="${1##*/}"\
14467 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14468 && mv -f "$cfgfile.tmp" "$cfgfile" \
14469 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14470 test 0 -eq $? || _lt_function_replace_fail
=:
14473 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14474 func_dirname_and_basename ()\
14477 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14478 \ * ) func_dirname_result="${3}" ;;\
14480 \ func_basename_result="${1##*/}"\
14481 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14482 && mv -f "$cfgfile.tmp" "$cfgfile" \
14483 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14484 test 0 -eq $? || _lt_function_replace_fail
=:
14487 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14490 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14491 \ # positional parameters, so assign one to ordinary parameter first.\
14492 \ func_stripname_result=${3}\
14493 \ func_stripname_result=${func_stripname_result#"${1}"}\
14494 \ func_stripname_result=${func_stripname_result%"${2}"}\
14495 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14496 && mv -f "$cfgfile.tmp" "$cfgfile" \
14497 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14498 test 0 -eq $? || _lt_function_replace_fail
=:
14501 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14502 func_split_long_opt ()\
14504 \ func_split_long_opt_name=${1%%=*}\
14505 \ func_split_long_opt_arg=${1#*=}\
14506 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14507 && mv -f "$cfgfile.tmp" "$cfgfile" \
14508 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14509 test 0 -eq $? || _lt_function_replace_fail
=:
14512 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14513 func_split_short_opt ()\
14515 \ func_split_short_opt_arg=${1#??}\
14516 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14517 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14518 && mv -f "$cfgfile.tmp" "$cfgfile" \
14519 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14520 test 0 -eq $? || _lt_function_replace_fail
=:
14523 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14527 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14528 \ *) func_lo2o_result=${1} ;;\
14530 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14531 && mv -f "$cfgfile.tmp" "$cfgfile" \
14532 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14533 test 0 -eq $? || _lt_function_replace_fail
=:
14536 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14539 func_xform_result=${1%.*}.lo\
14540 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14541 && mv -f "$cfgfile.tmp" "$cfgfile" \
14542 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14543 test 0 -eq $? || _lt_function_replace_fail
=:
14546 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14549 func_arith_result=$(( $* ))\
14550 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14551 && mv -f "$cfgfile.tmp" "$cfgfile" \
14552 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14553 test 0 -eq $? || _lt_function_replace_fail
=:
14556 sed -e '/^func_len ()$/,/^} # func_len /c\
14559 func_len_result=${#1}\
14560 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14561 && mv -f "$cfgfile.tmp" "$cfgfile" \
14562 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14563 test 0 -eq $? || _lt_function_replace_fail
=:
14567 if test x
"$lt_shell_append" = xyes
; then
14568 sed -e '/^func_append ()$/,/^} # func_append /c\
14571 eval "${1}+=\\${2}"\
14572 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14573 && mv -f "$cfgfile.tmp" "$cfgfile" \
14574 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14575 test 0 -eq $? || _lt_function_replace_fail
=:
14578 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14579 func_append_quoted ()\
14581 \ func_quote_for_eval "${2}"\
14582 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14583 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14584 && mv -f "$cfgfile.tmp" "$cfgfile" \
14585 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14586 test 0 -eq $? || _lt_function_replace_fail
=:
14589 # Save a `func_append' function call where possible by direct use of '+='
14590 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14591 && mv -f "$cfgfile.tmp" "$cfgfile" \
14592 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14593 test 0 -eq $? || _lt_function_replace_fail
=:
14595 # Save a `func_append' function call even when '+=' is not available
14596 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14597 && mv -f "$cfgfile.tmp" "$cfgfile" \
14598 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14599 test 0 -eq $? || _lt_function_replace_fail
=:
14602 if test x
"$_lt_function_replace_fail" = x
":"; then
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14604 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14608 mv -f "$cfgfile" "$ofile" ||
14609 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14620 ac_clean_files
=$ac_clean_files_save
14622 test $ac_write_fail = 0 ||
14623 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
14626 # configure is writing to config.log, and then calls config.status.
14627 # config.status does its own redirection, appending to config.log.
14628 # Unfortunately, on DOS this fails, as config.log is still kept open
14629 # by configure, so config.status won't be able to write to it; its
14630 # output is simply discarded. So we exec the FD to /dev/null,
14631 # effectively closing config.log, so it can be properly (re)opened and
14632 # appended to by config.status. When coming back to configure, we
14633 # need to make the FD available again.
14634 if test "$no_create" != yes; then
14636 ac_config_status_args
=
14637 test "$silent" = yes &&
14638 ac_config_status_args
="$ac_config_status_args --quiet"
14640 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14642 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14643 # would make configure fail if this is the last instruction.
14644 $ac_cs_success || as_fn_exit
1
14646 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14648 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}