2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gdbm 1.11.
5 # Report bugs to <bug-gdbm@gnu.org>.
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 bug-gdbm@gnu.org
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
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.
592 PACKAGE_TARNAME='gdbm'
593 PACKAGE_VERSION='1.11'
594 PACKAGE_STRING='gdbm 1.11'
595 PACKAGE_BUGREPORT='bug-gdbm@gnu.org'
596 PACKAGE_URL='http://www.gnu.org/software/gdbm'
598 ac_unique_file="src/gdbmdefs.h"
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>
637 ac_subst_vars='am__EXEEXT_FALSE
656 XGETTEXT_EXTRA_OPTIONS
664 GETTEXT_MACRO_VERSION
734 INSTALL_STRIP_PROGRAM
776 program_transform_name
789 enable_option_checking
791 enable_memory_mapped_io
792 enable_libgdbm_compat
796 with_gdbm183_includedir
797 enable_dependency_tracking
811 ac_precious_vars='build_alias
824 # Initialize some variables set by options.
826 ac_init_version=false
827 ac_unrecognized_opts=
829 # The variables have the same names as the options, with
830 # dashes changed to underlines.
838 program_transform_name=s,x,x,
846 # Installation directory options.
847 # These are left unexpanded so users can "make install exec_prefix=/foo"
848 # and all the variables that are supposed to be based on exec_prefix
849 # by default will actually change.
850 # Use braces instead of parens because sh, perl, etc. also accept them.
851 # (The list follows the same order as the GNU Coding Standards.)
852 bindir='${exec_prefix}/bin'
853 sbindir='${exec_prefix}/sbin'
854 libexecdir='${exec_prefix}/libexec'
855 datarootdir='${prefix}/share'
856 datadir='${datarootdir}'
857 sysconfdir='${prefix}/etc'
858 sharedstatedir='${prefix}/com'
859 localstatedir='${prefix}/var'
860 includedir='${prefix}/include'
861 oldincludedir='/usr/include'
862 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
863 infodir='${datarootdir}/info'
868 libdir='${exec_prefix}/lib'
869 localedir='${datarootdir}/locale'
870 mandir='${datarootdir}/man'
876 # If the previous option needs an argument, assign it.
877 if test -n "$ac_prev"; then
878 eval $ac_prev=\$ac_option
884 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
889 # Accept the important Cygnus configure options, so we can diagnose typos.
891 case $ac_dashdash$ac_option in
895 -bindir | --bindir | --bindi | --bind | --bin | --bi)
897 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
900 -build | --build | --buil | --bui | --bu)
901 ac_prev=build_alias ;;
902 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
903 build_alias=$ac_optarg ;;
905 -cache-file | --cache-file | --cache-fil | --cache-fi \
906 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
907 ac_prev=cache_file ;;
908 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
909 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
910 cache_file=$ac_optarg ;;
913 cache_file=config.cache ;;
915 -datadir | --datadir | --datadi | --datad)
917 -datadir=* | --datadir=* | --datadi=* | --datad=*)
918 datadir=$ac_optarg ;;
920 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
921 | --dataroo | --dataro | --datar)
922 ac_prev=datarootdir ;;
923 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
924 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
925 datarootdir=$ac_optarg ;;
927 -disable-* | --disable-*)
928 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
929 # Reject names that are not valid shell variable names.
930 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
931 as_fn_error $? "invalid feature name: $ac_useropt"
932 ac_useropt_orig=$ac_useropt
933 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
934 case $ac_user_opts in
938 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
939 ac_unrecognized_sep=', ';;
941 eval enable_$ac_useropt=no ;;
943 -docdir | --docdir | --docdi | --doc | --do)
945 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
948 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
950 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
953 -enable-* | --enable-*)
954 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957 as_fn_error $? "invalid feature name: $ac_useropt"
958 ac_useropt_orig=$ac_useropt
959 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960 case $ac_user_opts in
964 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
965 ac_unrecognized_sep=', ';;
967 eval enable_$ac_useropt=\$ac_optarg ;;
969 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
970 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
971 | --exec | --exe | --ex)
972 ac_prev=exec_prefix ;;
973 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
974 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
975 | --exec=* | --exe=* | --ex=*)
976 exec_prefix=$ac_optarg ;;
978 -gas | --gas | --ga | --g)
979 # Obsolete; use --with-gas.
982 -help | --help | --hel | --he | -h)
984 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
985 ac_init_help=recursive ;;
986 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
987 ac_init_help=short ;;
989 -host | --host | --hos | --ho)
990 ac_prev=host_alias ;;
991 -host=* | --host=* | --hos=* | --ho=*)
992 host_alias=$ac_optarg ;;
994 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
996 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
998 htmldir=$ac_optarg ;;
1000 -includedir | --includedir | --includedi | --included | --include \
1001 | --includ | --inclu | --incl | --inc)
1002 ac_prev=includedir ;;
1003 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1004 | --includ=* | --inclu=* | --incl=* | --inc=*)
1005 includedir=$ac_optarg ;;
1007 -infodir | --infodir | --infodi | --infod | --info | --inf)
1009 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1010 infodir=$ac_optarg ;;
1012 -libdir | --libdir | --libdi | --libd)
1014 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1015 libdir=$ac_optarg ;;
1017 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1018 | --libexe | --libex | --libe)
1019 ac_prev=libexecdir ;;
1020 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1021 | --libexe=* | --libex=* | --libe=*)
1022 libexecdir=$ac_optarg ;;
1024 -localedir | --localedir | --localedi | --localed | --locale)
1025 ac_prev=localedir ;;
1026 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1027 localedir=$ac_optarg ;;
1029 -localstatedir | --localstatedir | --localstatedi | --localstated \
1030 | --localstate | --localstat | --localsta | --localst | --locals)
1031 ac_prev=localstatedir ;;
1032 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1033 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1034 localstatedir=$ac_optarg ;;
1036 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1038 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1039 mandir=$ac_optarg ;;
1041 -nfp | --nfp | --nf)
1042 # Obsolete; use --without-fp.
1045 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1046 | --no-cr | --no-c | -n)
1049 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1050 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1053 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1054 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1055 | --oldin | --oldi | --old | --ol | --o)
1056 ac_prev=oldincludedir ;;
1057 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1058 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1059 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1060 oldincludedir=$ac_optarg ;;
1062 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1064 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1065 prefix=$ac_optarg ;;
1067 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1068 | --program-pre | --program-pr | --program-p)
1069 ac_prev=program_prefix ;;
1070 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1071 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1072 program_prefix=$ac_optarg ;;
1074 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1075 | --program-suf | --program-su | --program-s)
1076 ac_prev=program_suffix ;;
1077 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1078 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1079 program_suffix=$ac_optarg ;;
1081 -program-transform-name | --program-transform-name \
1082 | --program-transform-nam | --program-transform-na \
1083 | --program-transform-n | --program-transform- \
1084 | --program-transform | --program-transfor \
1085 | --program-transfo | --program-transf \
1086 | --program-trans | --program-tran \
1087 | --progr-tra | --program-tr | --program-t)
1088 ac_prev=program_transform_name ;;
1089 -program-transform-name=* | --program-transform-name=* \
1090 | --program-transform-nam=* | --program-transform-na=* \
1091 | --program-transform-n=* | --program-transform-=* \
1092 | --program-transform=* | --program-transfor=* \
1093 | --program-transfo=* | --program-transf=* \
1094 | --program-trans=* | --program-tran=* \
1095 | --progr-tra=* | --program-tr=* | --program-t=*)
1096 program_transform_name=$ac_optarg ;;
1098 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1100 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1101 pdfdir=$ac_optarg ;;
1103 -psdir | --psdir | --psdi | --psd | --ps)
1105 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1108 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1109 | -silent | --silent | --silen | --sile | --sil)
1112 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1114 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1116 sbindir=$ac_optarg ;;
1118 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1119 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1120 | --sharedst | --shareds | --shared | --share | --shar \
1122 ac_prev=sharedstatedir ;;
1123 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1124 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1125 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1127 sharedstatedir=$ac_optarg ;;
1129 -site | --site | --sit)
1131 -site=* | --site=* | --sit=*)
1134 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1136 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1137 srcdir=$ac_optarg ;;
1139 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1140 | --syscon | --sysco | --sysc | --sys | --sy)
1141 ac_prev=sysconfdir ;;
1142 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1143 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1144 sysconfdir=$ac_optarg ;;
1146 -target | --target | --targe | --targ | --tar | --ta | --t)
1147 ac_prev=target_alias ;;
1148 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1149 target_alias=$ac_optarg ;;
1151 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1154 -version | --version | --versio | --versi | --vers | -V)
1155 ac_init_version=: ;;
1158 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1161 as_fn_error $? "invalid package name: $ac_useropt"
1162 ac_useropt_orig=$ac_useropt
1163 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1164 case $ac_user_opts in
1168 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1169 ac_unrecognized_sep=', ';;
1171 eval with_$ac_useropt=\$ac_optarg ;;
1173 -without-* | --without-*)
1174 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1177 as_fn_error $? "invalid package name: $ac_useropt"
1178 ac_useropt_orig=$ac_useropt
1179 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1180 case $ac_user_opts in
1184 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1185 ac_unrecognized_sep=', ';;
1187 eval with_$ac_useropt=no ;;
1190 # Obsolete; use --with-x.
1193 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1194 | --x-incl | --x-inc | --x-in | --x-i)
1195 ac_prev=x_includes ;;
1196 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1197 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1198 x_includes=$ac_optarg ;;
1200 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1201 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1202 ac_prev=x_libraries ;;
1203 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1204 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1205 x_libraries=$ac_optarg ;;
1207 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1208 Try \`$0 --help' for more information"
1212 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1213 # Reject names that are not valid shell variable names.
1214 case $ac_envvar in #(
1215 '' | [0-9]* | *[!_$as_cr_alnum]* )
1216 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1218 eval $ac_envvar=\$ac_optarg
1219 export $ac_envvar ;;
1222 # FIXME: should be removed in autoconf 3.0.
1223 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1224 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1225 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1226 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1232 if test -n "$ac_prev"; then
1233 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1234 as_fn_error $? "missing argument to $ac_option"
1237 if test -n "$ac_unrecognized_opts"; then
1238 case $enable_option_checking in
1240 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1241 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1245 # Check all directory arguments for consistency.
1246 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1247 datadir sysconfdir sharedstatedir localstatedir includedir \
1248 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1249 libdir localedir mandir
1251 eval ac_val=\$$ac_var
1252 # Remove trailing slashes.
1255 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1256 eval $ac_var=\$ac_val;;
1258 # Be sure to have absolute directory names.
1260 [\\/$]* | ?:[\\/]* ) continue;;
1261 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1263 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1266 # There might be people who depend on the old broken behavior: `$host'
1267 # used to hold the argument of --host etc.
1268 # FIXME: To remove some day.
1271 target=$target_alias
1273 # FIXME: To remove some day.
1274 if test "x$host_alias" != x; then
1275 if test "x$build_alias" = x; then
1276 cross_compiling=maybe
1277 elif test "x$build_alias" != "x$host_alias"; then
1283 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1285 test "$silent" = yes && exec 6>/dev/null
1288 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1289 ac_ls_di=`ls -di .` &&
1290 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1291 as_fn_error $? "working directory cannot be determined"
1292 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1293 as_fn_error $? "pwd does not report name of working directory"
1296 # Find the source files, if location was not specified.
1297 if test -z "$srcdir"; then
1298 ac_srcdir_defaulted=yes
1299 # Try the directory containing this script, then the parent directory.
1300 ac_confdir=`$as_dirname -- "$as_myself" ||
1301 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1302 X"$as_myself" : 'X\(//\)[^/]' \| \
1303 X"$as_myself" : 'X\(//\)$' \| \
1304 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1305 $as_echo X"$as_myself" |
1306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1324 if test ! -r "$srcdir/$ac_unique_file"; then
1328 ac_srcdir_defaulted=no
1330 if test ! -r "$srcdir/$ac_unique_file"; then
1331 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1332 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1334 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1336 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1338 # When building in place, set srcdir=.
1339 if test "$ac_abs_confdir" = "$ac_pwd"; then
1342 # Remove unnecessary trailing slashes from srcdir.
1343 # Double slashes in file names in object file debugging info
1344 # mess up M-x gdb in Emacs.
1346 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1348 for ac_var in $ac_precious_vars; do
1349 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1350 eval ac_env_${ac_var}_value=\$${ac_var}
1351 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1352 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1356 # Report the --help message.
1358 if test "$ac_init_help" = "long"; then
1359 # Omit some internal or obsolete options to make the list less imposing.
1360 # This message is too long to be a string in the A/UX 3.1 sh.
1362 \`configure' configures gdbm 1.11 to adapt to many kinds of systems.
1364 Usage: $0 [OPTION]... [VAR=VALUE]...
1366 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1367 VAR=VALUE. See below for descriptions of some of the useful variables.
1369 Defaults for the options are specified in brackets.
1372 -h, --help display this help and exit
1373 --help=short display options specific to this package
1374 --help=recursive display the short help of all the included packages
1375 -V, --version display version information and exit
1376 -q, --quiet, --silent do not print \`checking ...' messages
1377 --cache-file=FILE cache test results in FILE [disabled]
1378 -C, --config-cache alias for \`--cache-file=config.cache'
1379 -n, --no-create do not create output files
1380 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1382 Installation directories:
1383 --prefix=PREFIX install architecture-independent files in PREFIX
1384 [$ac_default_prefix]
1385 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1388 By default, \`make install' will install all the files in
1389 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1390 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1391 for instance \`--prefix=\$HOME'.
1393 For better control, use the options below.
1395 Fine tuning of the installation directories:
1396 --bindir=DIR user executables [EPREFIX/bin]
1397 --sbindir=DIR system admin executables [EPREFIX/sbin]
1398 --libexecdir=DIR program executables [EPREFIX/libexec]
1399 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1400 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1401 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1402 --libdir=DIR object code libraries [EPREFIX/lib]
1403 --includedir=DIR C header files [PREFIX/include]
1404 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1405 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1406 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1407 --infodir=DIR info documentation [DATAROOTDIR/info]
1408 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1409 --mandir=DIR man documentation [DATAROOTDIR/man]
1410 --docdir=DIR documentation root [DATAROOTDIR/doc/gdbm]
1411 --htmldir=DIR html documentation [DOCDIR]
1412 --dvidir=DIR dvi documentation [DOCDIR]
1413 --pdfdir=DIR pdf documentation [DOCDIR]
1414 --psdir=DIR ps documentation [DOCDIR]
1420 --program-prefix=PREFIX prepend PREFIX to installed program names
1421 --program-suffix=SUFFIX append SUFFIX to installed program names
1422 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1425 --build=BUILD configure for building on BUILD [guessed]
1426 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1430 if test -n "$ac_init_help"; then
1431 case $ac_init_help in
1432 short | recursive ) echo "Configuration of gdbm 1.11:";;
1437 --disable-option-checking ignore unrecognized --enable/--with options
1438 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1439 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1440 --enable-silent-rules less verbose build output (undo: "make V=1")
1441 --disable-silent-rules verbose build output (undo: "make V=0")
1442 --enable-memory-mapped-io
1443 Use mmap(2) for disk I/O. (Default is YES.)
1445 --enable-libgdbm-compat
1446 Build and install libgdbm_compat. (Default is NO.)
1448 --enable-gdbm-export Build and install gdbmexport with specified gdbm 1.8
1449 library. (Default is NO.)
1450 --enable-dependency-tracking
1451 do not reject slow dependency extractors
1452 --disable-dependency-tracking
1453 speeds up one-time build
1454 --enable-shared[=PKGS] build shared libraries [default=yes]
1455 --enable-static[=PKGS] build static libraries [default=yes]
1456 --enable-fast-install[=PKGS]
1457 optimize for fast installation [default=yes]
1458 --disable-libtool-lock avoid locking (might break parallel builds)
1459 --disable-largefile omit support for large files
1460 --disable-nls do not use Native Language Support
1461 --disable-rpath do not hardcode runtime library paths
1464 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1465 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1466 --with-gdbm183-library Build gdbmexport with specified (static) library.
1467 --with-gdbm183-libdir Build gdbmexport with the gdbm library in the
1468 specified directory.
1469 --with-gdbm183-includedir
1470 Build gdbmexport with gdbm.h in the specified
1472 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1474 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1475 --with-sysroot=DIR Search for dependent libraries within DIR
1476 (or the compiler's sysroot if not specified).
1477 --with-gnu-ld assume the C compiler uses GNU ld default=no
1478 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1479 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1480 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1481 --without-libintl-prefix don't search for libintl in includedir and libdir
1483 Some influential environment variables:
1484 CC C compiler command
1485 CFLAGS C compiler flags
1486 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1487 nonstandard directory <lib dir>
1488 LIBS libraries to pass to the linker, e.g. -l<library>
1489 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1490 you have headers in a nonstandard directory <include dir>
1492 YACC The `Yet Another Compiler Compiler' implementation to use.
1493 Defaults to the first program found out of: `bison -y', `byacc',
1495 YFLAGS The list of arguments that will be passed by default to $YACC.
1496 This script will default YFLAGS to the empty string to avoid a
1497 default value of `-d' given by some make applications.
1499 Use these variables to override the choices made by `configure' or to help
1500 it to find libraries and programs with nonstandard names/locations.
1502 Report bugs to <bug-gdbm@gnu.org>.
1503 gdbm home page: <http://www.gnu.org/software/gdbm>.
1508 if test "$ac_init_help" = "recursive"; then
1509 # If there are subdirs, report their specific --help.
1510 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1511 test -d "$ac_dir" ||
1512 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1517 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1520 # A ".." for each directory in $ac_dir_suffix.
1521 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1522 case $ac_top_builddir_sub in
1523 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1524 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1527 ac_abs_top_builddir=$ac_pwd
1528 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1529 # for backward compatibility:
1530 ac_top_builddir=$ac_top_build_prefix
1533 .) # We are building in place.
1535 ac_top_srcdir=$ac_top_builddir_sub
1536 ac_abs_top_srcdir=$ac_pwd ;;
1537 [\\/]* | ?:[\\/]* ) # Absolute name.
1538 ac_srcdir=$srcdir$ac_dir_suffix;
1539 ac_top_srcdir=$srcdir
1540 ac_abs_top_srcdir=$srcdir ;;
1542 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1543 ac_top_srcdir=$ac_top_build_prefix$srcdir
1544 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1546 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1548 cd "$ac_dir" || { ac_status=$?; continue; }
1549 # Check for guested configure.
1550 if test -f "$ac_srcdir/configure.gnu"; then
1552 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1553 elif test -f "$ac_srcdir/configure"; then
1555 $SHELL "$ac_srcdir/configure" --help=recursive
1557 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1559 cd "$ac_pwd" || { ac_status=$?; break; }
1563 test -n "$ac_init_help" && exit $ac_status
1564 if $ac_init_version; then
1567 generated by GNU Autoconf 2.69
1569 Copyright (C) 2012 Free Software Foundation, Inc.
1570 This configure script is free software; the Free Software Foundation
1571 gives unlimited permission to copy, distribute and modify it.
1576 ## ------------------------ ##
1577 ## Autoconf initialization. ##
1578 ## ------------------------ ##
1580 # ac_fn_c_try_compile LINENO
1581 # --------------------------
1582 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1583 ac_fn_c_try_compile ()
1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586 rm -f conftest.$ac_objext
1587 if { { ac_try="$ac_compile"
1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1590 *) ac_try_echo=$ac_try;;
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 $as_echo "$ac_try_echo"; } >&5
1594 (eval "$ac_compile") 2>conftest.err
1596 if test -s conftest.err; then
1597 grep -v '^ *+' conftest.err >conftest.er1
1598 cat conftest.er1 >&5
1599 mv -f conftest.er1 conftest.err
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } && {
1603 test -z "$ac_c_werror_flag" ||
1604 test ! -s conftest.err
1605 } && test -s conftest.$ac_objext; then :
1608 $as_echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.$ac_ext >&5
1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614 as_fn_set_status $ac_retval
1616 } # ac_fn_c_try_compile
1618 # ac_fn_c_try_cpp LINENO
1619 # ----------------------
1620 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 if { { ac_try="$ac_cpp conftest.$ac_ext"
1626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1627 *) ac_try_echo=$ac_try;;
1629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1633 if test -s conftest.err; then
1634 grep -v '^ *+' conftest.err >conftest.er1
1635 cat conftest.er1 >&5
1636 mv -f conftest.er1 conftest.err
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } > conftest.i && {
1640 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1641 test ! -s conftest.err
1645 $as_echo "$as_me: failed program was:" >&5
1646 sed 's/^/| /' conftest.$ac_ext >&5
1650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1651 as_fn_set_status $ac_retval
1655 # ac_fn_c_try_link LINENO
1656 # -----------------------
1657 # Try to link conftest.$ac_ext, and return whether this succeeded.
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 rm -f conftest.$ac_objext conftest$ac_exeext
1662 if { { ac_try="$ac_link"
1664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665 *) ac_try_echo=$ac_try;;
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_link") 2>conftest.err
1671 if test -s conftest.err; then
1672 grep -v '^ *+' conftest.err >conftest.er1
1673 cat conftest.er1 >&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && {
1678 test -z "$ac_c_werror_flag" ||
1679 test ! -s conftest.err
1680 } && test -s conftest$ac_exeext && {
1681 test "$cross_compiling" = yes ||
1682 test -x conftest$ac_exeext
1686 $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1691 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1692 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1693 # interfere with the next link command; also delete a directory that is
1694 # left behind by Apple's compiler. We do this before executing the actions.
1695 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 as_fn_set_status $ac_retval
1699 } # ac_fn_c_try_link
1701 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1702 # -------------------------------------------------------
1703 # Tests whether HEADER exists and can be compiled using the include files in
1704 # INCLUDES, setting the cache variable VAR accordingly.
1705 ac_fn_c_check_header_compile ()
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1709 $as_echo_n "checking for $2... " >&6; }
1710 if eval \${$3+:} false; then :
1711 $as_echo_n "(cached) " >&6
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1718 if ac_fn_c_try_compile "$LINENO"; then :
1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727 $as_echo "$ac_res" >&6; }
1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730 } # ac_fn_c_check_header_compile
1732 # ac_fn_c_try_run LINENO
1733 # ----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1735 # that executables *can* be run.
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 if { { ac_try="$ac_link"
1741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_link") 2>&5
1748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1750 { { case "(($ac_try" in
1751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1752 *) ac_try_echo=$ac_try;;
1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755 $as_echo "$ac_try_echo"; } >&5
1756 (eval "$ac_try") 2>&5
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; }; }; then :
1762 $as_echo "$as_me: program exited with status $ac_status" >&5
1763 $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1766 ac_retval=$ac_status
1768 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770 as_fn_set_status $ac_retval
1774 # ac_fn_c_check_func LINENO FUNC VAR
1775 # ----------------------------------
1776 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1777 ac_fn_c_check_func ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if eval \${$3+:} false; then :
1783 $as_echo_n "(cached) " >&6
1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1787 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1789 #define $2 innocuous_$2
1791 /* System header to define __stub macros and hopefully few prototypes,
1792 which can conflict with char $2 (); below.
1793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1794 <limits.h> exists even on freestanding compilers. */
1797 # include <limits.h>
1799 # include <assert.h>
1804 /* Override any GCC internal prototype to avoid an error.
1805 Use char because int might match the return type of a GCC
1806 builtin and then its argument prototype would still apply. */
1811 /* The GNU C library defines this for functions which it implements
1812 to always fail with ENOSYS. Some functions are actually named
1813 something starting with __ and the normal name is an alias. */
1814 #if defined __stub_$2 || defined __stub___$2
1826 if ac_fn_c_try_link "$LINENO"; then :
1831 rm -f core conftest.err conftest.$ac_objext \
1832 conftest$ac_exeext conftest.$ac_ext
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836 $as_echo "$ac_res" >&6; }
1837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839 } # ac_fn_c_check_func
1841 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1842 # -------------------------------------------------------
1843 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1844 # the include files in INCLUDES and setting the cache variable VAR
1846 ac_fn_c_check_header_mongrel ()
1848 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849 if eval \${$3+:} false; then :
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if eval \${$3+:} false; then :
1853 $as_echo_n "(cached) " >&6
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857 $as_echo "$ac_res" >&6; }
1859 # Is the header compilable?
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1861 $as_echo_n "checking $2 usability... " >&6; }
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 ac_header_compiler=yes
1870 ac_header_compiler=no
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1874 $as_echo "$ac_header_compiler" >&6; }
1876 # Is the header present?
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1878 $as_echo_n "checking $2 presence... " >&6; }
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1883 if ac_fn_c_try_cpp "$LINENO"; then :
1884 ac_header_preproc=yes
1886 ac_header_preproc=no
1888 rm -f conftest.err conftest.i conftest.$ac_ext
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1890 $as_echo "$ac_header_preproc" >&6; }
1892 # So? What about this header?
1893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1896 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1898 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1902 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1904 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1906 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1908 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1910 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1911 ( $as_echo "## ------------------------------- ##
1912 ## Report this to bug-gdbm@gnu.org ##
1913 ## ------------------------------- ##"
1914 ) | sed "s/^/$as_me: WARNING: /" >&2
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1918 $as_echo_n "checking for $2... " >&6; }
1919 if eval \${$3+:} false; then :
1920 $as_echo_n "(cached) " >&6
1922 eval "$3=\$ac_header_compiler"
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 } # ac_fn_c_check_header_mongrel
1932 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1933 # -------------------------------------------
1934 # Tests whether TYPE exists after having included INCLUDES, setting cache
1935 # variable VAR accordingly.
1936 ac_fn_c_check_type ()
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940 $as_echo_n "checking for $2... " >&6; }
1941 if eval \${$3+:} false; then :
1942 $as_echo_n "(cached) " >&6
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1957 if ac_fn_c_try_compile "$LINENO"; then :
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1970 if ac_fn_c_try_compile "$LINENO"; then :
1975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 } # ac_fn_c_check_type
1986 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1987 # --------------------------------------------
1988 # Tries to find the compile-time value of EXPR in a program that includes
1989 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1991 ac_fn_c_compute_int ()
1993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1994 if test "$cross_compiling" = yes; then
1995 # Depending upon the size, compute the lo and hi bounds.
1996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997 /* end confdefs.h. */
2002 static int test_array [1 - 2 * !(($2) >= 0)];
2004 return test_array [0];
2010 if ac_fn_c_try_compile "$LINENO"; then :
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2019 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2021 return test_array [0];
2027 if ac_fn_c_try_compile "$LINENO"; then :
2028 ac_hi=$ac_mid; break
2030 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2031 if test $ac_lo -le $ac_mid; then
2035 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2041 /* end confdefs.h. */
2046 static int test_array [1 - 2 * !(($2) < 0)];
2048 return test_array [0];
2054 if ac_fn_c_try_compile "$LINENO"; then :
2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058 /* end confdefs.h. */
2063 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2065 return test_array [0];
2071 if ac_fn_c_try_compile "$LINENO"; then :
2072 ac_lo=$ac_mid; break
2074 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2075 if test $ac_mid -le $ac_hi; then
2079 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2089 # Binary search between lo and hi bounds.
2090 while test "x$ac_lo" != "x$ac_hi"; do
2091 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2098 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2100 return test_array [0];
2106 if ac_fn_c_try_compile "$LINENO"; then :
2109 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2114 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2121 static long int longval () { return $2; }
2122 static unsigned long int ulongval () { return $2; }
2129 FILE *f = fopen ("conftest.val", "w");
2134 long int i = longval ();
2137 fprintf (f, "%ld", i);
2141 unsigned long int i = ulongval ();
2144 fprintf (f, "%lu", i);
2146 /* Do not output a trailing newline, as this causes \r\n confusion
2147 on some platforms. */
2148 return ferror (f) || fclose (f) != 0;
2154 if ac_fn_c_try_run "$LINENO"; then :
2155 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2160 conftest.$ac_objext conftest.beam conftest.$ac_ext
2164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2165 as_fn_set_status $ac_retval
2167 } # ac_fn_c_compute_int
2169 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2170 # ----------------------------------------------------
2171 # Tries to find if the field MEMBER exists in type AGGR, after including
2172 # INCLUDES, setting cache variable VAR accordingly.
2173 ac_fn_c_check_member ()
2175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2177 $as_echo_n "checking for $2.$3... " >&6; }
2178 if eval \${$4+:} false; then :
2179 $as_echo_n "(cached) " >&6
2181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2182 /* end confdefs.h. */
2194 if ac_fn_c_try_compile "$LINENO"; then :
2197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2198 /* end confdefs.h. */
2204 if (sizeof ac_aggr.$3)
2210 if ac_fn_c_try_compile "$LINENO"; then :
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2221 $as_echo "$ac_res" >&6; }
2222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2224 } # ac_fn_c_check_member
2225 cat >config.log <<_ACEOF
2226 This file contains any messages produced by compilers while
2227 running configure, to aid debugging if configure makes a mistake.
2229 It was created by gdbm $as_me 1.11, which was
2230 generated by GNU Autoconf 2.69. Invocation command line was
2242 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2243 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2244 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2245 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2246 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2248 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2249 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2251 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2252 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2253 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2254 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2255 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2256 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2257 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 $as_echo "PATH: $as_dir"
2282 # Keep a trace of the command line.
2283 # Strip out --no-create and --no-recursion so they do not pile up.
2284 # Strip out --silent because we don't want to record it for future runs.
2285 # Also quote any args containing shell meta-characters.
2286 # Make two passes to allow for proper duplicate-argument suppression.
2290 ac_must_keep_next=false
2296 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2298 | -silent | --silent | --silen | --sile | --sil)
2301 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2304 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2306 as_fn_append ac_configure_args1 " '$ac_arg'"
2307 if test $ac_must_keep_next = true; then
2308 ac_must_keep_next=false # Got value, back to normal.
2311 *=* | --config-cache | -C | -disable-* | --disable-* \
2312 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2313 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2314 | -with-* | --with-* | -without-* | --without-* | --x)
2315 case "$ac_configure_args0 " in
2316 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2319 -* ) ac_must_keep_next=true ;;
2322 as_fn_append ac_configure_args " '$ac_arg'"
2327 { ac_configure_args0=; unset ac_configure_args0;}
2328 { ac_configure_args1=; unset ac_configure_args1;}
2330 # When interrupted or exit'd, cleanup temporary files, and complete
2331 # config.log. We remove comments because anyway the quotes in there
2332 # would cause problems or look ugly.
2333 # WARNING: Use '\'' to represent an apostrophe within the trap.
2334 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2335 trap 'exit_status=$?
2336 # Save into config.log some information that might help in debugging.
2340 $as_echo "## ---------------- ##
2341 ## Cache variables. ##
2342 ## ---------------- ##"
2344 # The following way of writing the cache mishandles newlines in values,
2346 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2347 eval ac_val=\$$ac_var
2351 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2352 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2355 _ | IFS | as_nl) ;; #(
2356 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2357 *) { eval $ac_var=; unset $ac_var;} ;;
2362 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2363 *${as_nl}ac_space=\ *)
2365 "s/'\''/'\''\\\\'\'''\''/g;
2366 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2369 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2376 $as_echo "## ----------------- ##
2377 ## Output variables. ##
2378 ## ----------------- ##"
2380 for ac_var in $ac_subst_vars
2382 eval ac_val=\$$ac_var
2384 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2386 $as_echo "$ac_var='\''$ac_val'\''"
2390 if test -n "$ac_subst_files"; then
2391 $as_echo "## ------------------- ##
2392 ## File substitutions. ##
2393 ## ------------------- ##"
2395 for ac_var in $ac_subst_files
2397 eval ac_val=\$$ac_var
2399 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2401 $as_echo "$ac_var='\''$ac_val'\''"
2406 if test -s confdefs.h; then
2407 $as_echo "## ----------- ##
2414 test "$ac_signal" != 0 &&
2415 $as_echo "$as_me: caught signal $ac_signal"
2416 $as_echo "$as_me: exit $exit_status"
2418 rm -f core *.core core.conftest.* &&
2419 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2422 for ac_signal in 1 2 13 15; do
2423 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2427 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2428 rm -f -r conftest* confdefs.h
2430 $as_echo "/* confdefs.h */" > confdefs.h
2432 # Predefined preprocessor variables.
2434 cat >>confdefs.h <<_ACEOF
2435 #define PACKAGE_NAME "$PACKAGE_NAME"
2438 cat >>confdefs.h <<_ACEOF
2439 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2442 cat >>confdefs.h <<_ACEOF
2443 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2446 cat >>confdefs.h <<_ACEOF
2447 #define PACKAGE_STRING "$PACKAGE_STRING"
2450 cat >>confdefs.h <<_ACEOF
2451 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2454 cat >>confdefs.h <<_ACEOF
2455 #define PACKAGE_URL "$PACKAGE_URL"
2459 # Let the site file select an alternate cache file if it wants to.
2460 # Prefer an explicitly selected file to automatically selected ones.
2463 if test -n "$CONFIG_SITE"; then
2464 # We do not want a PATH search for config.site.
2465 case $CONFIG_SITE in #((
2466 -*) ac_site_file1=./$CONFIG_SITE;;
2467 */*) ac_site_file1=$CONFIG_SITE;;
2468 *) ac_site_file1=./$CONFIG_SITE;;
2470 elif test "x$prefix" != xNONE; then
2471 ac_site_file1=$prefix/share/config.site
2472 ac_site_file2=$prefix/etc/config.site
2474 ac_site_file1=$ac_default_prefix/share/config.site
2475 ac_site_file2=$ac_default_prefix/etc/config.site
2477 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2479 test "x$ac_site_file" = xNONE && continue
2480 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2482 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2483 sed 's/^/| /' "$ac_site_file" >&5
2485 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2487 as_fn_error $? "failed to load site script $ac_site_file
2488 See \`config.log' for more details" "$LINENO" 5; }
2492 if test -r "$cache_file"; then
2493 # Some versions of bash will fail to source /dev/null (special files
2494 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2495 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2497 $as_echo "$as_me: loading cache $cache_file" >&6;}
2499 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2500 *) . "./$cache_file";;
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2505 $as_echo "$as_me: creating cache $cache_file" >&6;}
2509 gt_needs="$gt_needs need-ngettext"
2510 as_fn_append ac_header_list " stdlib.h"
2511 as_fn_append ac_header_list " unistd.h"
2512 as_fn_append ac_header_list " sys/param.h"
2513 # Check that the precious variables saved in the cache have kept the same
2515 ac_cache_corrupted=false
2516 for ac_var in $ac_precious_vars; do
2517 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2518 eval ac_new_set=\$ac_env_${ac_var}_set
2519 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2520 eval ac_new_val=\$ac_env_${ac_var}_value
2521 case $ac_old_set,$ac_new_set in
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2524 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2525 ac_cache_corrupted=: ;;
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2528 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2529 ac_cache_corrupted=: ;;
2532 if test "x$ac_old_val" != "x$ac_new_val"; then
2533 # differences in whitespace do not lead to failure.
2534 ac_old_val_w=`echo x $ac_old_val`
2535 ac_new_val_w=`echo x $ac_new_val`
2536 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2538 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2539 ac_cache_corrupted=:
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2542 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2543 eval $ac_var=\$ac_old_val
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2546 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2548 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2551 # Pass precious variables to config.status.
2552 if test "$ac_new_set" = set; then
2554 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2555 *) ac_arg=$ac_var=$ac_new_val ;;
2557 case " $ac_configure_args " in
2558 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2559 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2563 if $ac_cache_corrupted; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2567 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2568 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2570 ## -------------------- ##
2571 ## Main body of script. ##
2572 ## -------------------- ##
2575 ac_cpp='$CPP $CPPFLAGS'
2576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2584 for ac_dir in build-aux "$srcdir"/build-aux; do
2585 if test -f "$ac_dir/install-sh"; then
2587 ac_install_sh="$ac_aux_dir/install-sh -c"
2589 elif test -f "$ac_dir/install.sh"; then
2591 ac_install_sh="$ac_aux_dir/install.sh -c"
2593 elif test -f "$ac_dir/shtool"; then
2595 ac_install_sh="$ac_aux_dir/shtool install -c"
2599 if test -z "$ac_aux_dir"; then
2600 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2603 # These three variables are undocumented and unsupported,
2604 # and are intended to be withdrawn in a future Autoconf release.
2605 # They can cause serious problems if a builder's source tree is in a directory
2606 # whose full name contains unusual characters.
2607 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2608 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2609 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2612 ac_config_headers="$ac_config_headers autoconf.h"
2615 am__api_version='1.14'
2617 # Find a good install program. We prefer a C program (faster),
2618 # so one script is as good as another. But avoid the broken or
2619 # incompatible versions:
2620 # SysV /etc/install, /usr/sbin/install
2621 # SunOS /usr/etc/install
2622 # IRIX /sbin/install
2624 # AmigaOS /C/install, which installs bootblocks on floppy discs
2625 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2626 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2627 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2628 # OS/2's system install, which has a completely different semantic
2629 # ./install, which can be erroneously created by make from ./install.sh.
2630 # Reject install programs that cannot install multiple files.
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2632 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2633 if test -z "$INSTALL"; then
2634 if ${ac_cv_path_install+:} false; then :
2635 $as_echo_n "(cached) " >&6
2637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir=.
2642 # Account for people who put trailing slashes in PATH elements.
2643 case $as_dir/ in #((
2644 ./ | .// | /[cC]/* | \
2645 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2646 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2649 # OSF1 and SCO ODT 3.0 have their own names for install.
2650 # Don't use installbsd from OSF since it installs stuff as root
2652 for ac_prog in ginstall scoinst install; do
2653 for ac_exec_ext in '' $ac_executable_extensions; do
2654 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2655 if test $ac_prog = install &&
2656 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2657 # AIX install. It has an incompatible calling convention.
2659 elif test $ac_prog = install &&
2660 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2661 # program-specific install script used by HP pwplus--don't use.
2664 rm -rf conftest.one conftest.two conftest.dir
2665 echo one > conftest.one
2666 echo two > conftest.two
2668 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2669 test -s conftest.one && test -s conftest.two &&
2670 test -s conftest.dir/conftest.one &&
2671 test -s conftest.dir/conftest.two
2673 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2686 rm -rf conftest.one conftest.two conftest.dir
2689 if test "${ac_cv_path_install+set}" = set; then
2690 INSTALL=$ac_cv_path_install
2692 # As a last resort, use the slow shell script. Don't cache a
2693 # value for INSTALL within a source directory, because that will
2694 # break other packages using the cache if that directory is
2695 # removed, or if the value is a relative name.
2696 INSTALL=$ac_install_sh
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2700 $as_echo "$INSTALL" >&6; }
2702 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2703 # It thinks the first close brace ends the variable substitution.
2704 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2706 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2708 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2711 $as_echo_n "checking whether build environment is sane... " >&6; }
2712 # Reject unsafe characters in $srcdir or the absolute working directory
2713 # name. Accept space and tab only in the latter.
2717 *[\\\"\#\$\&\'\`$am_lf]*)
2718 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2721 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2722 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2725 # Do 'set' in a subshell so we don't clobber the current shell's
2726 # arguments. Must try -L first in case configure is actually a
2727 # symlink; some systems play weird games with the mod time of symlinks
2728 # (eg FreeBSD returns the mod time of the symlink's containing
2732 for am_try in 1 2; do
2733 echo "timestamp, slept: $am_has_slept" > conftest.file
2734 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2735 if test "$*" = "X"; then
2737 set X `ls -t "$srcdir/configure" conftest.file`
2739 if test "$*" != "X $srcdir/configure conftest.file" \
2740 && test "$*" != "X conftest.file $srcdir/configure"; then
2742 # If neither matched, then we have a broken ls. This can happen
2743 # if, for instance, CONFIG_SHELL is bash and it inherits a
2744 # broken ls alias from the environment. This has actually
2745 # happened. Such a system could not be considered "sane".
2746 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2747 alias in your environment" "$LINENO" 5
2749 if test "$2" = conftest.file || test $am_try -eq 2; then
2756 test "$2" = conftest.file
2762 as_fn_error $? "newly created file is older than distributed files!
2763 Check your system clock" "$LINENO" 5
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2766 $as_echo "yes" >&6; }
2767 # If we didn't sleep, we still need to ensure time stamps of config.status and
2768 # generated files are strictly newer.
2770 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2777 test "$program_prefix" != NONE &&
2778 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2779 # Use a double $ so make ignores it.
2780 test "$program_suffix" != NONE &&
2781 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2782 # Double any \ or $.
2783 # By default was `s,x,x', remove it if useless.
2784 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2785 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2787 # expand $ac_aux_dir to an absolute path
2788 am_aux_dir=`cd $ac_aux_dir && pwd`
2790 if test x"${MISSING+set}" != xset; then
2793 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2795 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2798 # Use eval to expand $SHELL
2799 if eval "$MISSING --is-lightweight"; then
2800 am_missing_run="$MISSING "
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2804 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2807 if test x"${install_sh}" != xset; then
2810 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2812 install_sh="\${SHELL} $am_aux_dir/install-sh"
2816 # Installed binaries are usually stripped using 'strip' when the user
2817 # run "make install-strip". However 'strip' might not be the right
2818 # tool to use in cross-compilation environments, therefore Automake
2819 # will honor the 'STRIP' environment variable to overrule this program.
2820 if test "$cross_compiling" != no; then
2821 if test -n "$ac_tool_prefix"; then
2822 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2823 set dummy ${ac_tool_prefix}strip; ac_word=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if ${ac_cv_prog_STRIP+:} false; then :
2827 $as_echo_n "(cached) " >&6
2829 if test -n "$STRIP"; then
2830 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir=.
2837 for ac_exec_ext in '' $ac_executable_extensions; do
2838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2839 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2849 STRIP=$ac_cv_prog_STRIP
2850 if test -n "$STRIP"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2852 $as_echo "$STRIP" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2860 if test -z "$ac_cv_prog_STRIP"; then
2862 # Extract the first word of "strip", so it can be a program name with args.
2863 set dummy strip; ac_word=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$ac_ct_STRIP"; then
2870 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir=.
2877 for ac_exec_ext in '' $ac_executable_extensions; do
2878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2879 ac_cv_prog_ac_ct_STRIP="strip"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2890 if test -n "$ac_ct_STRIP"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2892 $as_echo "$ac_ct_STRIP" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2898 if test "x$ac_ct_STRIP" = x; then
2901 case $cross_compiling:$ac_tool_warned in
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2905 ac_tool_warned=yes ;;
2910 STRIP="$ac_cv_prog_STRIP"
2914 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2917 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2918 if test -z "$MKDIR_P"; then
2919 if ${ac_cv_path_mkdir+:} false; then :
2920 $as_echo_n "(cached) " >&6
2922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2926 test -z "$as_dir" && as_dir=.
2927 for ac_prog in mkdir gmkdir; do
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2930 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2931 'mkdir (GNU coreutils) '* | \
2932 'mkdir (coreutils) '* | \
2933 'mkdir (fileutils) '4.1*)
2934 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2944 test -d ./--version && rmdir ./--version
2945 if test "${ac_cv_path_mkdir+set}" = set; then
2946 MKDIR_P="$ac_cv_path_mkdir -p"
2948 # As a last resort, use the slow shell script. Don't cache a
2949 # value for MKDIR_P within a source directory, because that will
2950 # break other packages using the cache if that directory is
2951 # removed, or if the value is a relative name.
2952 MKDIR_P="$ac_install_sh -d"
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2956 $as_echo "$MKDIR_P" >&6; }
2958 for ac_prog in gawk mawk nawk awk
2960 # Extract the first word of "$ac_prog", so it can be a program name with args.
2961 set dummy $ac_prog; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if ${ac_cv_prog_AWK+:} false; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$AWK"; then
2968 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir=.
2975 for ac_exec_ext in '' $ac_executable_extensions; do
2976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2977 ac_cv_prog_AWK="$ac_prog"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 if test -n "$AWK"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2990 $as_echo "$AWK" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2997 test -n "$AWK" && break
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3001 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3003 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3004 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3005 $as_echo_n "(cached) " >&6
3007 cat >conftest.make <<\_ACEOF
3010 @echo '@@@%%%=$(MAKE)=@@@%%%'
3012 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3013 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3015 eval ac_cv_prog_make_${ac_make}_set=yes;;
3017 eval ac_cv_prog_make_${ac_make}_set=no;;
3021 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3023 $as_echo "yes" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3028 SET_MAKE="MAKE=${MAKE-make}"
3031 rm -rf .tst 2>/dev/null
3032 mkdir .tst 2>/dev/null
3033 if test -d .tst; then
3038 rmdir .tst 2>/dev/null
3040 # Check whether --enable-silent-rules was given.
3041 if test "${enable_silent_rules+set}" = set; then :
3042 enableval=$enable_silent_rules;
3045 case $enable_silent_rules in # (((
3046 yes) AM_DEFAULT_VERBOSITY=0;;
3047 no) AM_DEFAULT_VERBOSITY=1;;
3048 *) AM_DEFAULT_VERBOSITY=1;;
3050 am_make=${MAKE-make}
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3052 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3053 if ${am_cv_make_support_nested_variables+:} false; then :
3054 $as_echo_n "(cached) " >&6
3056 if $as_echo 'TRUE=$(BAR$(V))
3062 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3063 am_cv_make_support_nested_variables=yes
3065 am_cv_make_support_nested_variables=no
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3069 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3070 if test $am_cv_make_support_nested_variables = yes; then
3072 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3074 AM_V=$AM_DEFAULT_VERBOSITY
3075 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3079 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3080 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3081 # is not polluted with repeated "-I."
3082 am__isrc=' -I$(srcdir)'
3083 # test to see if srcdir already configured
3084 if test -f $srcdir/config.status; then
3085 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3089 # test whether we have cygpath
3090 if test -z "$CYGPATH_W"; then
3091 if (cygpath --version) >/dev/null 2>/dev/null; then
3092 CYGPATH_W='cygpath -w'
3099 # Define the identity of the package.
3104 cat >>confdefs.h <<_ACEOF
3105 #define PACKAGE "$PACKAGE"
3109 cat >>confdefs.h <<_ACEOF
3110 #define VERSION "$VERSION"
3113 # Some tools Automake needs.
3115 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3118 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3121 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3124 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3127 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3129 # For better backward compatibility. To be removed once Automake 1.9.x
3130 # dies out for good. For more background, see:
3131 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3132 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3133 mkdir_p='$(MKDIR_P)'
3135 # We need awk for the "check" target. The system "awk" is bad on
3137 # Always define AMTAR for backward compatibility. Yes, it's still used
3138 # in the wild :-( We should find a proper way to deprecate it ...
3142 # We'll loop over all known methods to create a tar archive until one works.
3143 _am_tools='gnutar pax cpio none'
3145 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3152 # POSIX will say in a future version that running "rm -f" with no argument
3153 # is OK; and we want to be able to make that assumption in our Makefile
3154 # recipes. So use an aggressive probe to check that the usage we want is
3155 # actually supported "in the wild" to an acceptable degree.
3156 # See automake bug#10828.
3157 # To make any issue more visible, cause the running configure to be aborted
3158 # by default if the 'rm' program in use doesn't match our expectations; the
3159 # user can still override this though.
3160 if rm -f && rm -fr && rm -rf; then : OK; else
3164 Your 'rm' program seems unable to run without file operands specified
3165 on the command line, even when the '-f' option is present. This is contrary
3166 to the behaviour of most rm programs out there, and not conforming with
3167 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3169 Please tell bug-automake@gnu.org about your system, including the value
3170 of your $PATH and any error possibly output before this message. This
3171 can help us improve future automake versions.
3174 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3175 echo 'Configuration will proceed anyway, since you have set the' >&2
3176 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3180 Aborting the configuration process, to ensure you take notice of the issue.
3182 You can download and install GNU coreutils to get an 'rm' implementation
3183 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3185 If you want to complete the configuration process using your problematic
3186 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3187 to "yes", and re-run configure.
3190 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3194 # Enable silent rules by default:
3195 # Check whether --enable-silent-rules was given.
3196 if test "${enable_silent_rules+set}" = set; then :
3197 enableval=$enable_silent_rules;
3200 case $enable_silent_rules in # (((
3201 yes) AM_DEFAULT_VERBOSITY=0;;
3202 no) AM_DEFAULT_VERBOSITY=1;;
3203 *) AM_DEFAULT_VERBOSITY=0;;
3205 am_make=${MAKE-make}
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3207 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3208 if ${am_cv_make_support_nested_variables+:} false; then :
3209 $as_echo_n "(cached) " >&6
3211 if $as_echo 'TRUE=$(BAR$(V))
3217 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3218 am_cv_make_support_nested_variables=yes
3220 am_cv_make_support_nested_variables=no
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3224 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3225 if test $am_cv_make_support_nested_variables = yes; then
3227 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3229 AM_V=$AM_DEFAULT_VERBOSITY
3230 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3235 GDBM_VERSION_MAJOR=1
3237 GDBM_VERSION_MINOR=11
3239 GDBM_VERSION_PATCH=0
3242 # Check whether --enable-memory-mapped-io was given.
3243 if test "${enable_memory_mapped_io+set}" = set; then :
3244 enableval=$enable_memory_mapped_io; mapped_io=$enableval
3250 # Check whether --enable-libgdbm-compat was given.
3251 if test "${enable_libgdbm_compat+set}" = set; then :
3252 enableval=$enable_libgdbm_compat; want_compat=$enableval
3258 # Check whether --enable-gdbm-export was given.
3259 if test "${enable_gdbm_export+set}" = set; then :
3260 enableval=$enable_gdbm_export; want_export=$enableval
3267 # Check whether --with-gdbm183-library was given.
3268 if test "${with_gdbm183_library+set}" = set; then :
3269 withval=$with_gdbm183_library; GDBM183_LIBRARY=$withval
3271 GDBM183_LIBRARY="-lgdbm"
3276 # Check whether --with-gdbm183-libdir was given.
3277 if test "${with_gdbm183_libdir+set}" = set; then :
3278 withval=$with_gdbm183_libdir; GDBM183_LIBDIR=$withval
3280 GDBM183_LIBDIR="/usr/local/lib"
3285 # Check whether --with-gdbm183-includedir was given.
3286 if test "${with_gdbm183_includedir+set}" = set; then :
3287 withval=$with_gdbm183_includedir; GDBM183_INCLUDEDIR=$withval
3289 GDBM183_INCLUDEDIR="/usr/local/include"
3294 ac_cpp='$CPP $CPPFLAGS'
3295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3298 if test -n "$ac_tool_prefix"; then
3299 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3300 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if ${ac_cv_prog_CC+:} false; then :
3304 $as_echo_n "(cached) " >&6
3306 if test -n "$CC"; then
3307 ac_cv_prog_CC="$CC" # Let the user override the test.
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3327 if test -n "$CC"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3329 $as_echo "$CC" >&6; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3337 if test -z "$ac_cv_prog_CC"; then
3339 # Extract the first word of "gcc", so it can be a program name with args.
3340 set dummy gcc; ac_word=$2
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3342 $as_echo_n "checking for $ac_word... " >&6; }
3343 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3344 $as_echo_n "(cached) " >&6
3346 if test -n "$ac_ct_CC"; then
3347 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 test -z "$as_dir" && as_dir=.
3354 for ac_exec_ext in '' $ac_executable_extensions; do
3355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3356 ac_cv_prog_ac_ct_CC="gcc"
3357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3366 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3367 if test -n "$ac_ct_CC"; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3369 $as_echo "$ac_ct_CC" >&6; }
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3372 $as_echo "no" >&6; }
3375 if test "x$ac_ct_CC" = x; then
3378 case $cross_compiling:$ac_tool_warned in
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3381 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3382 ac_tool_warned=yes ;;
3390 if test -z "$CC"; then
3391 if test -n "$ac_tool_prefix"; then
3392 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3393 set dummy ${ac_tool_prefix}cc; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if ${ac_cv_prog_CC+:} false; then :
3397 $as_echo_n "(cached) " >&6
3399 if test -n "$CC"; then
3400 ac_cv_prog_CC="$CC" # Let the user override the test.
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 test -z "$as_dir" && as_dir=.
3407 for ac_exec_ext in '' $ac_executable_extensions; do
3408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3409 ac_cv_prog_CC="${ac_tool_prefix}cc"
3410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 if test -n "$CC"; then
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3422 $as_echo "$CC" >&6; }
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425 $as_echo "no" >&6; }
3431 if test -z "$CC"; then
3432 # Extract the first word of "cc", so it can be a program name with args.
3433 set dummy cc; ac_word=$2
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435 $as_echo_n "checking for $ac_word... " >&6; }
3436 if ${ac_cv_prog_CC+:} false; then :
3437 $as_echo_n "(cached) " >&6
3439 if test -n "$CC"; then
3440 ac_cv_prog_CC="$CC" # Let the user override the test.
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3447 test -z "$as_dir" && as_dir=.
3448 for ac_exec_ext in '' $ac_executable_extensions; do
3449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3451 ac_prog_rejected=yes
3455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 if test $ac_prog_rejected = yes; then
3463 # We found a bogon in the path, so make sure we never use it.
3464 set dummy $ac_cv_prog_CC
3466 if test $# != 0; then
3467 # We chose a different compiler from the bogus one.
3468 # However, it has the same basename, so the bogon will be chosen
3469 # first if we set CC to just the basename; use the full file name.
3471 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3477 if test -n "$CC"; then
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3479 $as_echo "$CC" >&6; }
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3482 $as_echo "no" >&6; }
3487 if test -z "$CC"; then
3488 if test -n "$ac_tool_prefix"; then
3489 for ac_prog in cl.exe
3491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3492 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3494 $as_echo_n "checking for $ac_word... " >&6; }
3495 if ${ac_cv_prog_CC+:} false; then :
3496 $as_echo_n "(cached) " >&6
3498 if test -n "$CC"; then
3499 ac_cv_prog_CC="$CC" # Let the user override the test.
3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3505 test -z "$as_dir" && as_dir=.
3506 for ac_exec_ext in '' $ac_executable_extensions; do
3507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3508 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 if test -n "$CC"; then
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3521 $as_echo "$CC" >&6; }
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3524 $as_echo "no" >&6; }
3528 test -n "$CC" && break
3531 if test -z "$CC"; then
3533 for ac_prog in cl.exe
3535 # Extract the first word of "$ac_prog", so it can be a program name with args.
3536 set dummy $ac_prog; ac_word=$2
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3538 $as_echo_n "checking for $ac_word... " >&6; }
3539 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3540 $as_echo_n "(cached) " >&6
3542 if test -n "$ac_ct_CC"; then
3543 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 test -z "$as_dir" && as_dir=.
3550 for ac_exec_ext in '' $ac_executable_extensions; do
3551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3552 ac_cv_prog_ac_ct_CC="$ac_prog"
3553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3563 if test -n "$ac_ct_CC"; then
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3565 $as_echo "$ac_ct_CC" >&6; }
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3572 test -n "$ac_ct_CC" && break
3575 if test "x$ac_ct_CC" = x; then
3578 case $cross_compiling:$ac_tool_warned in
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3582 ac_tool_warned=yes ;;
3591 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3593 as_fn_error $? "no acceptable C compiler found in \$PATH
3594 See \`config.log' for more details" "$LINENO" 5; }
3596 # Provide some information about the compiler.
3597 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3600 for ac_option in --version -v -V -qversion; do
3601 { { ac_try="$ac_compiler $ac_option >&5"
3603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604 *) ac_try_echo=$ac_try;;
3606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3607 $as_echo "$ac_try_echo"; } >&5
3608 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3610 if test -s conftest.err; then
3612 ... rest of stderr output deleted ...
3613 10q' conftest.err >conftest.er1
3614 cat conftest.er1 >&5
3616 rm -f conftest.er1 conftest.err
3617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3618 test $ac_status = 0; }
3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3632 ac_clean_files_save=$ac_clean_files
3633 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3634 # Try to create an executable without -o first, disregard a.out.
3635 # It will help us diagnose broken compilers, and finding out an intuition
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3638 $as_echo_n "checking whether the C compiler works... " >&6; }
3639 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3641 # The possible output files:
3642 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3645 for ac_file in $ac_files
3648 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3649 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3654 if { { ac_try="$ac_link_default"
3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660 $as_echo "$ac_try_echo"; } >&5
3661 (eval "$ac_link_default") 2>&5
3663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664 test $ac_status = 0; }; then :
3665 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3666 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3667 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3668 # so that the user can short-circuit this test for compilers unknown to
3670 for ac_file in $ac_files ''
3672 test -f "$ac_file" || continue
3674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3677 # We found the default executable, but exeext='' is most
3681 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3683 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3685 # We set ac_cv_exeext here because the later test for it is not
3686 # safe: cross compilers may not add the suffix if given an `-o'
3687 # argument, so we may need to know it at that point already.
3688 # Even if this section looks crufty: it has the advantage of
3695 test "$ac_cv_exeext" = no && ac_cv_exeext=
3700 if test -z "$ac_file"; then :
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702 $as_echo "no" >&6; }
3703 $as_echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.$ac_ext >&5
3706 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3708 as_fn_error 77 "C compiler cannot create executables
3709 See \`config.log' for more details" "$LINENO" 5; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3712 $as_echo "yes" >&6; }
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3715 $as_echo_n "checking for C compiler default output file name... " >&6; }
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3717 $as_echo "$ac_file" >&6; }
3718 ac_exeext=$ac_cv_exeext
3720 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3721 ac_clean_files=$ac_clean_files_save
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3723 $as_echo_n "checking for suffix of executables... " >&6; }
3724 if { { ac_try="$ac_link"
3726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730 $as_echo "$ac_try_echo"; } >&5
3731 (eval "$ac_link") 2>&5
3733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734 test $ac_status = 0; }; then :
3735 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3736 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3737 # work properly (i.e., refer to `conftest.exe'), while it won't with
3739 for ac_file in conftest.exe conftest conftest.*; do
3740 test -f "$ac_file" || continue
3742 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3743 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3751 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3752 See \`config.log' for more details" "$LINENO" 5; }
3754 rm -f conftest conftest$ac_cv_exeext
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3756 $as_echo "$ac_cv_exeext" >&6; }
3758 rm -f conftest.$ac_ext
3759 EXEEXT=$ac_cv_exeext
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3767 FILE *f = fopen ("conftest.out", "w");
3768 return ferror (f) || fclose (f) != 0;
3774 ac_clean_files="$ac_clean_files conftest.out"
3775 # Check that the compiler produces executables we can run. If not, either
3776 # the compiler is broken, or we cross compile.
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3778 $as_echo_n "checking whether we are cross compiling... " >&6; }
3779 if test "$cross_compiling" != yes; then
3780 { { ac_try="$ac_link"
3782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783 *) ac_try_echo=$ac_try;;
3785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3786 $as_echo "$ac_try_echo"; } >&5
3787 (eval "$ac_link") 2>&5
3789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3790 test $ac_status = 0; }
3791 if { ac_try='./conftest$ac_cv_exeext'
3792 { { case "(($ac_try" in
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3797 $as_echo "$ac_try_echo"; } >&5
3798 (eval "$ac_try") 2>&5
3800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3801 test $ac_status = 0; }; }; then
3804 if test "$cross_compiling" = maybe; then
3807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3809 as_fn_error $? "cannot run C compiled programs.
3810 If you meant to cross compile, use \`--host'.
3811 See \`config.log' for more details" "$LINENO" 5; }
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3816 $as_echo "$cross_compiling" >&6; }
3818 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3819 ac_clean_files=$ac_clean_files_save
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3821 $as_echo_n "checking for suffix of object files... " >&6; }
3822 if ${ac_cv_objext+:} false; then :
3823 $as_echo_n "(cached) " >&6
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h. */
3836 rm -f conftest.o conftest.obj
3837 if { { ac_try="$ac_compile"
3839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3840 *) ac_try_echo=$ac_try;;
3842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3843 $as_echo "$ac_try_echo"; } >&5
3844 (eval "$ac_compile") 2>&5
3846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3847 test $ac_status = 0; }; then :
3848 for ac_file in conftest.o conftest.obj conftest.*; do
3849 test -f "$ac_file" || continue;
3851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3852 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3857 $as_echo "$as_me: failed program was:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5
3860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3862 as_fn_error $? "cannot compute suffix of object files: cannot compile
3863 See \`config.log' for more details" "$LINENO" 5; }
3865 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3868 $as_echo "$ac_cv_objext" >&6; }
3869 OBJEXT=$ac_cv_objext
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3872 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3873 if ${ac_cv_c_compiler_gnu+:} false; then :
3874 $as_echo_n "(cached) " >&6
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3890 if ac_fn_c_try_compile "$LINENO"; then :
3895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3896 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3900 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3901 if test $ac_compiler_gnu = yes; then
3906 ac_test_CFLAGS=${CFLAGS+set}
3907 ac_save_CFLAGS=$CFLAGS
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3909 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3910 if ${ac_cv_prog_cc_g+:} false; then :
3911 $as_echo_n "(cached) " >&6
3913 ac_save_c_werror_flag=$ac_c_werror_flag
3914 ac_c_werror_flag=yes
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3928 if ac_fn_c_try_compile "$LINENO"; then :
3932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3933 /* end confdefs.h. */
3943 if ac_fn_c_try_compile "$LINENO"; then :
3946 ac_c_werror_flag=$ac_save_c_werror_flag
3948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h. */
3959 if ac_fn_c_try_compile "$LINENO"; then :
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3967 ac_c_werror_flag=$ac_save_c_werror_flag
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3970 $as_echo "$ac_cv_prog_cc_g" >&6; }
3971 if test "$ac_test_CFLAGS" = set; then
3972 CFLAGS=$ac_save_CFLAGS
3973 elif test $ac_cv_prog_cc_g = yes; then
3974 if test "$GCC" = yes; then
3980 if test "$GCC" = yes; then
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3987 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3988 if ${ac_cv_prog_cc_c89+:} false; then :
3989 $as_echo_n "(cached) " >&6
3991 ac_cv_prog_cc_c89=no
3993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994 /* end confdefs.h. */
3998 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3999 struct buf { int x; };
4000 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4001 static char *e (p, i)
4007 static char *f (char * (*g) (char **, int), char **p, ...)
4012 s = g (p, va_arg (v,int));
4017 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4018 function prototypes and stuff, but not '\xHH' hex character constants.
4019 These don't provoke an error unfortunately, instead are silently treated
4020 as 'x'. The following induces an error, until -std is added to get
4021 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4022 array size at least. It's necessary to write '\x00'==0 to get something
4023 that's true only with -std. */
4024 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4026 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4027 inside strings and character constants. */
4029 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4031 int test (int i, double x);
4032 struct s1 {int (*f) (int a);};
4033 struct s2 {int (*f) (double a);};
4034 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4040 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4045 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4046 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4048 CC="$ac_save_CC $ac_arg"
4049 if ac_fn_c_try_compile "$LINENO"; then :
4050 ac_cv_prog_cc_c89=$ac_arg
4052 rm -f core conftest.err conftest.$ac_objext
4053 test "x$ac_cv_prog_cc_c89" != "xno" && break
4055 rm -f conftest.$ac_ext
4060 case "x$ac_cv_prog_cc_c89" in
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4063 $as_echo "none needed" >&6; } ;;
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4066 $as_echo "unsupported" >&6; } ;;
4068 CC="$CC $ac_cv_prog_cc_c89"
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4070 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4072 if test "x$ac_cv_prog_cc_c89" != xno; then :
4077 ac_cpp='$CPP $CPPFLAGS'
4078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4083 ac_cpp='$CPP $CPPFLAGS'
4084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4088 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4089 if ${am_cv_prog_cc_c_o+:} false; then :
4090 $as_echo_n "(cached) " >&6
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4103 # Make sure it works both with $CC and with simple cc.
4104 # Following AC_PROG_CC_C_O, we do the test twice because some
4105 # compilers refuse to overwrite an existing .o file with -o,
4106 # though they will create one.
4107 am_cv_prog_cc_c_o=yes
4109 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4110 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); } \
4114 && test -f conftest2.$ac_objext; then
4117 am_cv_prog_cc_c_o=no
4121 rm -f core conftest*
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4125 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4126 if test "$am_cv_prog_cc_c_o" != yes; then
4127 # Losing compiler, so override with the script.
4128 # FIXME: It is wrong to rewrite CC.
4129 # But if we don't then we get into trouble of one sort or another.
4130 # A longer-term fix would be to have automake use am__CC in this case,
4131 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4132 CC="$am_aux_dir/compile $CC"
4135 ac_cpp='$CPP $CPPFLAGS'
4136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140 DEPDIR="${am__leading_dot}deps"
4142 ac_config_commands="$ac_config_commands depfiles"
4145 am_make=${MAKE-make}
4146 cat > confinc << 'END'
4148 @echo this is the am__doit target
4151 # If we don't find an include directive, just comment out the code.
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4153 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4157 # First try GNU make style include.
4158 echo "include confinc" > confmf
4159 # Ignore all kinds of additional output from 'make'.
4160 case `$am_make -s -f confmf 2> /dev/null` in #(
4161 *the\ am__doit\ target*)
4167 # Now try BSD make style include.
4168 if test "$am__include" = "#"; then
4169 echo '.include "confinc"' > confmf
4170 case `$am_make -s -f confmf 2> /dev/null` in #(
4171 *the\ am__doit\ target*)
4172 am__include=.include
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4181 $as_echo "$_am_result" >&6; }
4182 rm -f confinc confmf
4184 # Check whether --enable-dependency-tracking was given.
4185 if test "${enable_dependency_tracking+set}" = set; then :
4186 enableval=$enable_dependency_tracking;
4189 if test "x$enable_dependency_tracking" != xno; then
4190 am_depcomp="$ac_aux_dir/depcomp"
4194 if test "x$enable_dependency_tracking" != xno; then
4204 depcc="$CC" am_compiler_list=
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4207 $as_echo_n "checking dependency style of $depcc... " >&6; }
4208 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4209 $as_echo_n "(cached) " >&6
4211 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4212 # We make a subdir and do the tests there. Otherwise we can end up
4213 # making bogus files that we don't know about and never remove. For
4214 # instance it was reported that on HP-UX the gcc test will end up
4215 # making a dummy file named 'D' -- because '-MD' means "put the output
4219 # Copy depcomp to subdir because otherwise we won't find it if we're
4220 # using a relative directory.
4221 cp "$am_depcomp" conftest.dir
4223 # We will build objects and dependencies in a subdirectory because
4224 # it helps to detect inapplicable dependency modes. For instance
4225 # both Tru64's cc and ICC support -MD to output dependencies as a
4226 # side effect of compilation, but ICC will put the dependencies in
4227 # the current directory while Tru64 will put them in the object
4231 am_cv_CC_dependencies_compiler_type=none
4232 if test "$am_compiler_list" = ""; then
4233 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4236 case " $depcc " in #(
4237 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4240 for depmode in $am_compiler_list; do
4241 # Setup a source with many dependencies, because some compilers
4242 # like to wrap large dependency lists on column 80 (with \), and
4243 # we should not choose a depcomp mode which is confused by this.
4245 # We need to recreate these files for each test, as the compiler may
4246 # overwrite some of them when testing with obscure command lines.
4247 # This happens at least with the AIX C compiler.
4249 for i in 1 2 3 4 5 6; do
4250 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4251 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4252 # Solaris 10 /bin/sh.
4253 echo '/* dummy */' > sub/conftst$i.h
4255 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4257 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4258 # mode. It turns out that the SunPro C++ compiler does not properly
4259 # handle '-M -o', and we need to detect this. Also, some Intel
4260 # versions had trouble with output in subdirs.
4261 am__obj=sub/conftest.${OBJEXT-o}
4262 am__minus_obj="-o $am__obj"
4265 # This depmode causes a compiler race in universal mode.
4266 test "$am__universal" = false || continue
4269 # After this tag, mechanisms are not by side-effect, so they'll
4270 # only be used when explicitly requested.
4271 if test "x$enable_dependency_tracking" = xyes; then
4277 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4278 # This compiler won't grok '-c -o', but also, the minuso test has
4279 # not run yet. These depmodes are late enough in the game, and
4280 # so weak that their functioning should not be impacted.
4281 am__obj=conftest.${OBJEXT-o}
4286 if depmode=$depmode \
4287 source=sub/conftest.c object=$am__obj \
4288 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4289 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4290 >/dev/null 2>conftest.err &&
4291 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4292 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4293 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4294 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4295 # icc doesn't choke on unknown options, it will just issue warnings
4296 # or remarks (even with -Werror). So we grep stderr for any message
4297 # that says an option was ignored or not supported.
4298 # When given -MP, icc 7.0 and 7.1 complain thusly:
4299 # icc: Command line warning: ignoring option '-M'; no argument required
4300 # The diagnosis changed in icc 8.0:
4301 # icc: Command line remark: option '-MP' not supported
4302 if (grep 'ignoring option' conftest.err ||
4303 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4304 am_cv_CC_dependencies_compiler_type=$depmode
4313 am_cv_CC_dependencies_compiler_type=none
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4318 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4319 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4322 test "x$enable_dependency_tracking" != xno \
4323 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4325 am__fastdepCC_FALSE='#'
4327 am__fastdepCC_TRUE='#'
4328 am__fastdepCC_FALSE=
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4338 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4339 # On Suns, sometimes $CPP names a directory.
4340 if test -n "$CPP" && test -d "$CPP"; then
4343 if test -z "$CPP"; then
4344 if ${ac_cv_prog_CPP+:} false; then :
4345 $as_echo_n "(cached) " >&6
4347 # Double quotes because CPP needs to be expanded
4348 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4351 for ac_c_preproc_warn_flag in '' yes
4353 # Use a header file that comes with gcc, so configuring glibc
4354 # with a fresh cross-compiler works.
4355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4356 # <limits.h> exists even on freestanding compilers.
4357 # On the NeXT, cc -E runs the code through the compiler's parser,
4358 # not just through cpp. "Syntax error" is here to catch this case.
4359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4362 # include <limits.h>
4364 # include <assert.h>
4368 if ac_fn_c_try_cpp "$LINENO"; then :
4371 # Broken: fails on valid input.
4374 rm -f conftest.err conftest.i conftest.$ac_ext
4376 # OK, works on sane cases. Now check whether nonexistent headers
4377 # can be detected and how.
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4380 #include <ac_nonexistent.h>
4382 if ac_fn_c_try_cpp "$LINENO"; then :
4383 # Broken: success on invalid input.
4386 # Passes both tests.
4390 rm -f conftest.err conftest.i conftest.$ac_ext
4393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4394 rm -f conftest.i conftest.err conftest.$ac_ext
4395 if $ac_preproc_ok; then :
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4408 $as_echo "$CPP" >&6; }
4410 for ac_c_preproc_warn_flag in '' yes
4412 # Use a header file that comes with gcc, so configuring glibc
4413 # with a fresh cross-compiler works.
4414 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4415 # <limits.h> exists even on freestanding compilers.
4416 # On the NeXT, cc -E runs the code through the compiler's parser,
4417 # not just through cpp. "Syntax error" is here to catch this case.
4418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4419 /* end confdefs.h. */
4421 # include <limits.h>
4423 # include <assert.h>
4427 if ac_fn_c_try_cpp "$LINENO"; then :
4430 # Broken: fails on valid input.
4433 rm -f conftest.err conftest.i conftest.$ac_ext
4435 # OK, works on sane cases. Now check whether nonexistent headers
4436 # can be detected and how.
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <ac_nonexistent.h>
4441 if ac_fn_c_try_cpp "$LINENO"; then :
4442 # Broken: success on invalid input.
4445 # Passes both tests.
4449 rm -f conftest.err conftest.i conftest.$ac_ext
4452 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4453 rm -f conftest.i conftest.err conftest.$ac_ext
4454 if $ac_preproc_ok; then :
4457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4459 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4460 See \`config.log' for more details" "$LINENO" 5; }
4464 ac_cpp='$CPP $CPPFLAGS'
4465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4473 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4478 macro_version='2.4.2'
4479 macro_revision='1.3337'
4493 ltmain="$ac_aux_dir/ltmain.sh"
4495 # Make sure we can run config.sub.
4496 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4497 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4500 $as_echo_n "checking build system type... " >&6; }
4501 if ${ac_cv_build+:} false; then :
4502 $as_echo_n "(cached) " >&6
4504 ac_build_alias=$build_alias
4505 test "x$ac_build_alias" = x &&
4506 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4507 test "x$ac_build_alias" = x &&
4508 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4509 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4510 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4514 $as_echo "$ac_cv_build" >&6; }
4515 case $ac_cv_build in
4517 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4520 ac_save_IFS=$IFS; IFS='-'
4526 # Remember, the first character of IFS is used to create $*,
4527 # except with old shells:
4530 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4534 $as_echo_n "checking host system type... " >&6; }
4535 if ${ac_cv_host+:} false; then :
4536 $as_echo_n "(cached) " >&6
4538 if test "x$host_alias" = x; then
4539 ac_cv_host=$ac_cv_build
4541 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4542 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4547 $as_echo "$ac_cv_host" >&6; }
4550 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4553 ac_save_IFS=$IFS; IFS='-'
4559 # Remember, the first character of IFS is used to create $*,
4560 # except with old shells:
4563 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4566 # Backslashify metacharacters that are still active within
4567 # double-quoted strings.
4568 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4570 # Same as above, but do not quote variable references.
4571 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4573 # Sed substitution to delay expansion of an escaped shell variable in a
4574 # double_quote_subst'ed string.
4575 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4577 # Sed substitution to delay expansion of an escaped single quote.
4578 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4580 # Sed substitution to avoid accidental globbing in evaled expressions
4581 no_glob_subst='s/\*/\\\*/g'
4583 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4584 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4585 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4588 $as_echo_n "checking how to print strings... " >&6; }
4589 # Test print first, because it will be a builtin if present.
4590 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4591 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4593 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4596 # Use this function as a fallback that always works.
4597 func_fallback_echo ()
4599 eval 'cat <<_LTECHO_EOF
4603 ECHO='func_fallback_echo'
4606 # func_echo_all arg...
4607 # Invoke $ECHO with all args, space-separated.
4614 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4615 $as_echo "printf" >&6; } ;;
4616 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4617 $as_echo "print -r" >&6; } ;;
4618 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4619 $as_echo "cat" >&6; } ;;
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4636 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4637 if ${ac_cv_path_SED+:} false; then :
4638 $as_echo_n "(cached) " >&6
4640 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4641 for ac_i in 1 2 3 4 5 6 7; do
4642 ac_script="$ac_script$as_nl$ac_script"
4644 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4645 { ac_script=; unset ac_script;}
4646 if test -z "$SED"; then
4647 ac_path_SED_found=false
4648 # Loop through the user's path and test for each of PROGNAME-LIST
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 test -z "$as_dir" && as_dir=.
4654 for ac_prog in sed gsed; do
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4657 as_fn_executable_p "$ac_path_SED" || continue
4658 # Check for GNU ac_path_SED and select it if it is found.
4659 # Check for GNU $ac_path_SED
4660 case `"$ac_path_SED" --version 2>&1` in
4662 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4665 $as_echo_n 0123456789 >"conftest.in"
4668 cat "conftest.in" "conftest.in" >"conftest.tmp"
4669 mv "conftest.tmp" "conftest.in"
4670 cp "conftest.in" "conftest.nl"
4671 $as_echo '' >> "conftest.nl"
4672 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4673 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4674 as_fn_arith $ac_count + 1 && ac_count=$as_val
4675 if test $ac_count -gt ${ac_path_SED_max-0}; then
4676 # Best one so far, save it but keep looking for a better one
4677 ac_cv_path_SED="$ac_path_SED"
4678 ac_path_SED_max=$ac_count
4680 # 10*(2^10) chars as input seems more than enough
4681 test $ac_count -gt 10 && break
4683 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4686 $ac_path_SED_found && break 3
4691 if test -z "$ac_cv_path_SED"; then
4692 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4700 $as_echo "$ac_cv_path_SED" >&6; }
4701 SED="$ac_cv_path_SED"
4704 test -z "$SED" && SED=sed
4705 Xsed="$SED -e 1s/^X//"
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4718 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4719 if ${ac_cv_path_GREP+:} false; then :
4720 $as_echo_n "(cached) " >&6
4722 if test -z "$GREP"; then
4723 ac_path_GREP_found=false
4724 # Loop through the user's path and test for each of PROGNAME-LIST
4725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4726 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4729 test -z "$as_dir" && as_dir=.
4730 for ac_prog in grep ggrep; do
4731 for ac_exec_ext in '' $ac_executable_extensions; do
4732 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4733 as_fn_executable_p "$ac_path_GREP" || continue
4734 # Check for GNU ac_path_GREP and select it if it is found.
4735 # Check for GNU $ac_path_GREP
4736 case `"$ac_path_GREP" --version 2>&1` in
4738 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4741 $as_echo_n 0123456789 >"conftest.in"
4744 cat "conftest.in" "conftest.in" >"conftest.tmp"
4745 mv "conftest.tmp" "conftest.in"
4746 cp "conftest.in" "conftest.nl"
4747 $as_echo 'GREP' >> "conftest.nl"
4748 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4749 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4750 as_fn_arith $ac_count + 1 && ac_count=$as_val
4751 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4752 # Best one so far, save it but keep looking for a better one
4753 ac_cv_path_GREP="$ac_path_GREP"
4754 ac_path_GREP_max=$ac_count
4756 # 10*(2^10) chars as input seems more than enough
4757 test $ac_count -gt 10 && break
4759 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4762 $ac_path_GREP_found && break 3
4767 if test -z "$ac_cv_path_GREP"; then
4768 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4771 ac_cv_path_GREP=$GREP
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4776 $as_echo "$ac_cv_path_GREP" >&6; }
4777 GREP="$ac_cv_path_GREP"
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4781 $as_echo_n "checking for egrep... " >&6; }
4782 if ${ac_cv_path_EGREP+:} false; then :
4783 $as_echo_n "(cached) " >&6
4785 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4786 then ac_cv_path_EGREP="$GREP -E"
4788 if test -z "$EGREP"; then
4789 ac_path_EGREP_found=false
4790 # Loop through the user's path and test for each of PROGNAME-LIST
4791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4795 test -z "$as_dir" && as_dir=.
4796 for ac_prog in egrep; do
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4799 as_fn_executable_p "$ac_path_EGREP" || continue
4800 # Check for GNU ac_path_EGREP and select it if it is found.
4801 # Check for GNU $ac_path_EGREP
4802 case `"$ac_path_EGREP" --version 2>&1` in
4804 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4807 $as_echo_n 0123456789 >"conftest.in"
4810 cat "conftest.in" "conftest.in" >"conftest.tmp"
4811 mv "conftest.tmp" "conftest.in"
4812 cp "conftest.in" "conftest.nl"
4813 $as_echo 'EGREP' >> "conftest.nl"
4814 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4815 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4816 as_fn_arith $ac_count + 1 && ac_count=$as_val
4817 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4818 # Best one so far, save it but keep looking for a better one
4819 ac_cv_path_EGREP="$ac_path_EGREP"
4820 ac_path_EGREP_max=$ac_count
4822 # 10*(2^10) chars as input seems more than enough
4823 test $ac_count -gt 10 && break
4825 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4828 $ac_path_EGREP_found && break 3
4833 if test -z "$ac_cv_path_EGREP"; then
4834 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4837 ac_cv_path_EGREP=$EGREP
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4843 $as_echo "$ac_cv_path_EGREP" >&6; }
4844 EGREP="$ac_cv_path_EGREP"
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4848 $as_echo_n "checking for fgrep... " >&6; }
4849 if ${ac_cv_path_FGREP+:} false; then :
4850 $as_echo_n "(cached) " >&6
4852 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4853 then ac_cv_path_FGREP="$GREP -F"
4855 if test -z "$FGREP"; then
4856 ac_path_FGREP_found=false
4857 # Loop through the user's path and test for each of PROGNAME-LIST
4858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4859 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4862 test -z "$as_dir" && as_dir=.
4863 for ac_prog in fgrep; do
4864 for ac_exec_ext in '' $ac_executable_extensions; do
4865 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4866 as_fn_executable_p "$ac_path_FGREP" || continue
4867 # Check for GNU ac_path_FGREP and select it if it is found.
4868 # Check for GNU $ac_path_FGREP
4869 case `"$ac_path_FGREP" --version 2>&1` in
4871 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4874 $as_echo_n 0123456789 >"conftest.in"
4877 cat "conftest.in" "conftest.in" >"conftest.tmp"
4878 mv "conftest.tmp" "conftest.in"
4879 cp "conftest.in" "conftest.nl"
4880 $as_echo 'FGREP' >> "conftest.nl"
4881 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4882 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4883 as_fn_arith $ac_count + 1 && ac_count=$as_val
4884 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4885 # Best one so far, save it but keep looking for a better one
4886 ac_cv_path_FGREP="$ac_path_FGREP"
4887 ac_path_FGREP_max=$ac_count
4889 # 10*(2^10) chars as input seems more than enough
4890 test $ac_count -gt 10 && break
4892 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4895 $ac_path_FGREP_found && break 3
4900 if test -z "$ac_cv_path_FGREP"; then
4901 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4904 ac_cv_path_FGREP=$FGREP
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4910 $as_echo "$ac_cv_path_FGREP" >&6; }
4911 FGREP="$ac_cv_path_FGREP"
4914 test -z "$GREP" && GREP=grep
4934 # Check whether --with-gnu-ld was given.
4935 if test "${with_gnu_ld+set}" = set; then :
4936 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4942 if test "$GCC" = yes; then
4943 # Check if gcc -print-prog-name=ld gives a path.
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4945 $as_echo_n "checking for ld used by $CC... " >&6; }
4948 # gcc leaves a trailing carriage return which upsets mingw
4949 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4951 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4954 # Accept absolute paths.
4956 re_direlt='/[^/][^/]*/\.\./'
4957 # Canonicalize the pathname of ld
4958 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4959 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4960 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4962 test -z "$LD" && LD="$ac_prog"
4965 # If it fails, then pretend we aren't using GCC.
4969 # If it is relative, then search for the first ld in PATH.
4973 elif test "$with_gnu_ld" = yes; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4975 $as_echo_n "checking for GNU ld... " >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4978 $as_echo_n "checking for non-GNU ld... " >&6; }
4980 if ${lt_cv_path_LD+:} false; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -z "$LD"; then
4984 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4985 for ac_dir in $PATH; do
4987 test -z "$ac_dir" && ac_dir=.
4988 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4989 lt_cv_path_LD="$ac_dir/$ac_prog"
4990 # Check to see if the program is GNU ld. I'd rather use --version,
4991 # but apparently some variants of GNU ld only accept -v.
4992 # Break only if it was the GNU/non-GNU ld that we prefer.
4993 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4994 *GNU* | *'with BFD'*)
4995 test "$with_gnu_ld" != no && break
4998 test "$with_gnu_ld" != yes && break
5005 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5010 if test -n "$LD"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5012 $as_echo "$LD" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5017 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5019 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5020 if ${lt_cv_prog_gnu_ld+:} false; then :
5021 $as_echo_n "(cached) " >&6
5023 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5024 case `$LD -v 2>&1 </dev/null` in
5025 *GNU* | *'with BFD'*)
5026 lt_cv_prog_gnu_ld=yes
5029 lt_cv_prog_gnu_ld=no
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5034 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5035 with_gnu_ld=$lt_cv_prog_gnu_ld
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5046 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5047 if ${lt_cv_path_NM+:} false; then :
5048 $as_echo_n "(cached) " >&6
5050 if test -n "$NM"; then
5051 # Let the user override the test.
5054 lt_nm_to_check="${ac_tool_prefix}nm"
5055 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5056 lt_nm_to_check="$lt_nm_to_check nm"
5058 for lt_tmp_nm in $lt_nm_to_check; do
5059 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5060 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5062 test -z "$ac_dir" && ac_dir=.
5063 tmp_nm="$ac_dir/$lt_tmp_nm"
5064 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5065 # Check to see if the nm accepts a BSD-compat flag.
5066 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5067 # nm: unknown option "B" ignored
5068 # Tru64's nm complains that /dev/null is an invalid object file
5069 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5070 */dev/null* | *'Invalid file or object type'*)
5071 lt_cv_path_NM="$tmp_nm -B"
5075 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5077 lt_cv_path_NM="$tmp_nm -p"
5081 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5082 continue # so that we can try to find one that supports BSD flags
5091 : ${lt_cv_path_NM=no}
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5095 $as_echo "$lt_cv_path_NM" >&6; }
5096 if test "$lt_cv_path_NM" != "no"; then
5099 # Didn't find any BSD compatible name lister, look for dumpbin.
5100 if test -n "$DUMPBIN"; then :
5101 # Let the user override the test.
5103 if test -n "$ac_tool_prefix"; then
5104 for ac_prog in dumpbin "link -dump"
5106 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5107 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if ${ac_cv_prog_DUMPBIN+:} false; then :
5111 $as_echo_n "(cached) " >&6
5113 if test -n "$DUMPBIN"; then
5114 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5123 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 DUMPBIN=$ac_cv_prog_DUMPBIN
5134 if test -n "$DUMPBIN"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5136 $as_echo "$DUMPBIN" >&6; }
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5143 test -n "$DUMPBIN" && break
5146 if test -z "$DUMPBIN"; then
5147 ac_ct_DUMPBIN=$DUMPBIN
5148 for ac_prog in dumpbin "link -dump"
5150 # Extract the first word of "$ac_prog", so it can be a program name with args.
5151 set dummy $ac_prog; ac_word=$2
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153 $as_echo_n "checking for $ac_word... " >&6; }
5154 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5155 $as_echo_n "(cached) " >&6
5157 if test -n "$ac_ct_DUMPBIN"; then
5158 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5178 if test -n "$ac_ct_DUMPBIN"; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5180 $as_echo "$ac_ct_DUMPBIN" >&6; }
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5187 test -n "$ac_ct_DUMPBIN" && break
5190 if test "x$ac_ct_DUMPBIN" = x; then
5193 case $cross_compiling:$ac_tool_warned in
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5197 ac_tool_warned=yes ;;
5199 DUMPBIN=$ac_ct_DUMPBIN
5203 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5205 DUMPBIN="$DUMPBIN -symbols"
5213 if test "$DUMPBIN" != ":"; then
5217 test -z "$NM" && NM=nm
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5225 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5226 if ${lt_cv_nm_interface+:} false; then :
5227 $as_echo_n "(cached) " >&6
5229 lt_cv_nm_interface="BSD nm"
5230 echo "int some_variable = 0;" > conftest.$ac_ext
5231 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5232 (eval "$ac_compile" 2>conftest.err)
5233 cat conftest.err >&5
5234 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5235 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5236 cat conftest.err >&5
5237 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5238 cat conftest.out >&5
5239 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5240 lt_cv_nm_interface="MS dumpbin"
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5245 $as_echo "$lt_cv_nm_interface" >&6; }
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5248 $as_echo_n "checking whether ln -s works... " >&6; }
5250 if test "$LN_S" = "ln -s"; then
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5252 $as_echo "yes" >&6; }
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5255 $as_echo "no, using $LN_S" >&6; }
5258 # find the maximum length of command line arguments
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5260 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5261 if ${lt_cv_sys_max_cmd_len+:} false; then :
5262 $as_echo_n "(cached) " >&6
5269 # On DJGPP, this test can blow up pretty badly due to problems in libc
5270 # (any single argument exceeding 2000 bytes causes a buffer overrun
5271 # during glob expansion). Even if it were fixed, the result of this
5272 # check would be larger than it should be.
5273 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5277 # Under GNU Hurd, this test is not required because there is
5278 # no limit to the length of command line arguments.
5279 # Libtool will interpret -1 as no limit whatsoever
5280 lt_cv_sys_max_cmd_len=-1;
5283 cygwin* | mingw* | cegcc*)
5284 # On Win9x/ME, this test blows up -- it succeeds, but takes
5285 # about 5 minutes as the teststring grows exponentially.
5286 # Worse, since 9x/ME are not pre-emptively multitasking,
5287 # you end up with a "frozen" computer, even though with patience
5288 # the test eventually succeeds (with a max line length of 256k).
5289 # Instead, let's just punt: use the minimum linelength reported by
5290 # all of the supported platforms: 8192 (on NT/2K/XP).
5291 lt_cv_sys_max_cmd_len=8192;
5295 # On MiNT this can take a long time and run out of memory.
5296 lt_cv_sys_max_cmd_len=8192;
5300 # On AmigaOS with pdksh, this test takes hours, literally.
5301 # So we just punt and use a minimum line length of 8192.
5302 lt_cv_sys_max_cmd_len=8192;
5305 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5306 # This has been around since 386BSD, at least. Likely further.
5307 if test -x /sbin/sysctl; then
5308 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5309 elif test -x /usr/sbin/sysctl; then
5310 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5312 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5314 # And add a safety zone
5315 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5316 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5320 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5321 lt_cv_sys_max_cmd_len=196608
5325 # The test takes a long time on OS/2.
5326 lt_cv_sys_max_cmd_len=8192
5330 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5331 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5332 # nice to cause kernel panics so lets avoid the loop below.
5333 # First set a reasonable default.
5334 lt_cv_sys_max_cmd_len=16384
5336 if test -x /sbin/sysconfig; then
5337 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5338 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5343 lt_cv_sys_max_cmd_len=102400
5345 sysv5* | sco5v6* | sysv4.2uw2*)
5346 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5347 if test -n "$kargmax"; then
5348 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5350 lt_cv_sys_max_cmd_len=32768
5354 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5355 if test -n "$lt_cv_sys_max_cmd_len"; then
5356 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5357 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5359 # Make teststring a little bigger before we do anything with it.
5360 # a 1K string should be a reasonable start.
5361 for i in 1 2 3 4 5 6 7 8 ; do
5362 teststring=$teststring$teststring
5364 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5365 # If test is not a shell built-in, we'll probably end up computing a
5366 # maximum length that is only half of the actual maximum length, but
5368 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5369 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5370 test $i != 17 # 1/2 MB should be enough
5373 teststring=$teststring$teststring
5375 # Only check the string length outside the loop.
5376 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5378 # Add a significant safety factor because C++ compilers can tack on
5379 # massive amounts of additional arguments before passing them to the
5380 # linker. It appears as though 1/2 is a usable value.
5381 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5388 if test -n $lt_cv_sys_max_cmd_len ; then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5390 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5393 $as_echo "none" >&6; }
5395 max_cmd_len=$lt_cv_sys_max_cmd_len
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5407 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5408 # Try some XSI features
5411 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5413 && eval 'test $(( 1 + 1 )) -eq 2 \
5414 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5417 $as_echo "$xsi_shell" >&6; }
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5421 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5423 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5425 && lt_shell_append=yes
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5427 $as_echo "$lt_shell_append" >&6; }
5430 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5440 # test EBCDIC or ASCII
5441 case `echo X|tr X '\101'` in
5442 A) # ASCII based system
5443 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5444 lt_SP2NL='tr \040 \012'
5445 lt_NL2SP='tr \015\012 \040\040'
5447 *) # EBCDIC based system
5448 lt_SP2NL='tr \100 \n'
5449 lt_NL2SP='tr \r\n \100\100'
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5462 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5463 if ${lt_cv_to_host_file_cmd+:} false; then :
5464 $as_echo_n "(cached) " >&6
5469 *-*-mingw* ) # actually msys
5470 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5473 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5475 * ) # otherwise, assume *nix
5476 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5482 *-*-mingw* ) # actually msys
5483 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5486 lt_cv_to_host_file_cmd=func_convert_file_noop
5488 * ) # otherwise, assume *nix
5489 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5493 * ) # unhandled hosts (and "normal" native builds)
5494 lt_cv_to_host_file_cmd=func_convert_file_noop
5500 to_host_file_cmd=$lt_cv_to_host_file_cmd
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5502 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5509 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5510 if ${lt_cv_to_tool_file_cmd+:} false; then :
5511 $as_echo_n "(cached) " >&6
5513 #assume ordinary cross tools, or native build.
5514 lt_cv_to_tool_file_cmd=func_convert_file_noop
5518 *-*-mingw* ) # actually msys
5519 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5527 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5529 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5536 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5537 if ${lt_cv_ld_reload_flag+:} false; then :
5538 $as_echo_n "(cached) " >&6
5540 lt_cv_ld_reload_flag='-r'
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5543 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5544 reload_flag=$lt_cv_ld_reload_flag
5545 case $reload_flag in
5547 *) reload_flag=" $reload_flag" ;;
5549 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5551 cygwin* | mingw* | pw32* | cegcc*)
5552 if test "$GCC" != yes; then
5557 if test "$GCC" = yes; then
5558 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5560 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5573 if test -n "$ac_tool_prefix"; then
5574 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5575 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5577 $as_echo_n "checking for $ac_word... " >&6; }
5578 if ${ac_cv_prog_OBJDUMP+:} false; then :
5579 $as_echo_n "(cached) " >&6
5581 if test -n "$OBJDUMP"; then
5582 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5588 test -z "$as_dir" && as_dir=.
5589 for ac_exec_ext in '' $ac_executable_extensions; do
5590 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5591 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 OBJDUMP=$ac_cv_prog_OBJDUMP
5602 if test -n "$OBJDUMP"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5604 $as_echo "$OBJDUMP" >&6; }
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }
5612 if test -z "$ac_cv_prog_OBJDUMP"; then
5613 ac_ct_OBJDUMP=$OBJDUMP
5614 # Extract the first word of "objdump", so it can be a program name with args.
5615 set dummy objdump; ac_word=$2
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5617 $as_echo_n "checking for $ac_word... " >&6; }
5618 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5619 $as_echo_n "(cached) " >&6
5621 if test -n "$ac_ct_OBJDUMP"; then
5622 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628 test -z "$as_dir" && as_dir=.
5629 for ac_exec_ext in '' $ac_executable_extensions; do
5630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5631 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5642 if test -n "$ac_ct_OBJDUMP"; then
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5644 $as_echo "$ac_ct_OBJDUMP" >&6; }
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }
5650 if test "x$ac_ct_OBJDUMP" = x; then
5653 case $cross_compiling:$ac_tool_warned in
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5657 ac_tool_warned=yes ;;
5659 OBJDUMP=$ac_ct_OBJDUMP
5662 OBJDUMP="$ac_cv_prog_OBJDUMP"
5665 test -z "$OBJDUMP" && OBJDUMP=objdump
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5676 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5677 if ${lt_cv_deplibs_check_method+:} false; then :
5678 $as_echo_n "(cached) " >&6
5680 lt_cv_file_magic_cmd='$MAGIC_CMD'
5681 lt_cv_file_magic_test_file=
5682 lt_cv_deplibs_check_method='unknown'
5683 # Need to set the preceding variable on all platforms that support
5684 # interlibrary dependencies.
5685 # 'none' -- dependencies not supported.
5686 # `unknown' -- same as none, but documents that we really don't know.
5687 # 'pass_all' -- all dependencies passed with no checks.
5688 # 'test_compile' -- check by making test program.
5689 # 'file_magic [[regex]]' -- check by looking for files in library path
5690 # which responds to the $file_magic_cmd with a given extended regex.
5691 # If you have `file' or equivalent on your system and you're not sure
5692 # whether `pass_all' will *always* work, you probably want this one.
5696 lt_cv_deplibs_check_method=pass_all
5700 lt_cv_deplibs_check_method=pass_all
5704 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5705 lt_cv_file_magic_cmd='/usr/bin/file -L'
5706 lt_cv_file_magic_test_file=/shlib/libc.so
5710 # func_win32_libid is a shell function defined in ltmain.sh
5711 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5712 lt_cv_file_magic_cmd='func_win32_libid'
5716 # Base MSYS/MinGW do not provide the 'file' command needed by
5717 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5718 # unless we find 'file', for example because we are cross-compiling.
5719 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5720 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5721 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5722 lt_cv_file_magic_cmd='func_win32_libid'
5724 # Keep this pattern in sync with the one in func_win32_libid.
5725 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5726 lt_cv_file_magic_cmd='$OBJDUMP -f'
5731 # use the weaker test based on 'objdump'. See mingw*.
5732 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5733 lt_cv_file_magic_cmd='$OBJDUMP -f'
5736 darwin* | rhapsody*)
5737 lt_cv_deplibs_check_method=pass_all
5740 freebsd* | dragonfly*)
5741 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5744 # Not sure whether the presence of OpenBSD here was a mistake.
5745 # Let's accept both of them until this is cleared up.
5746 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5747 lt_cv_file_magic_cmd=/usr/bin/file
5748 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5752 lt_cv_deplibs_check_method=pass_all
5757 lt_cv_deplibs_check_method=pass_all
5761 lt_cv_deplibs_check_method=pass_all
5764 hpux10.20* | hpux11*)
5765 lt_cv_file_magic_cmd=/usr/bin/file
5768 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5769 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5772 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]'
5773 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5776 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5777 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5783 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5784 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5787 irix5* | irix6* | nonstopux*)
5789 *-32|*"-32 ") libmagic=32-bit;;
5790 *-n32|*"-n32 ") libmagic=N32;;
5791 *-64|*"-64 ") libmagic=64-bit;;
5792 *) libmagic=never-match;;
5794 lt_cv_deplibs_check_method=pass_all
5797 # This must be glibc/ELF.
5798 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5799 lt_cv_deplibs_check_method=pass_all
5803 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5804 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5806 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5811 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5812 lt_cv_file_magic_cmd=/usr/bin/file
5813 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5817 lt_cv_deplibs_check_method=pass_all
5821 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5822 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5824 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5828 osf3* | osf4* | osf5*)
5829 lt_cv_deplibs_check_method=pass_all
5833 lt_cv_deplibs_check_method=pass_all
5837 lt_cv_deplibs_check_method=pass_all
5840 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5841 lt_cv_deplibs_check_method=pass_all
5845 case $host_vendor in
5847 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]'
5848 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5851 lt_cv_deplibs_check_method=pass_all
5854 lt_cv_file_magic_cmd='/bin/file'
5855 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5858 lt_cv_file_magic_cmd='/bin/file'
5859 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5860 lt_cv_file_magic_test_file=/lib/libc.so
5863 lt_cv_deplibs_check_method=pass_all
5866 lt_cv_deplibs_check_method=pass_all
5872 lt_cv_deplibs_check_method=pass_all
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5878 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5882 if test "$build" = "$host"; then
5885 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5888 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5894 file_magic_cmd=$lt_cv_file_magic_cmd
5895 deplibs_check_method=$lt_cv_deplibs_check_method
5896 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5919 if test -n "$ac_tool_prefix"; then
5920 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5921 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_DLLTOOL+:} false; then :
5925 $as_echo_n "(cached) " >&6
5927 if test -n "$DLLTOOL"; then
5928 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 DLLTOOL=$ac_cv_prog_DLLTOOL
5948 if test -n "$DLLTOOL"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5950 $as_echo "$DLLTOOL" >&6; }
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5958 if test -z "$ac_cv_prog_DLLTOOL"; then
5959 ac_ct_DLLTOOL=$DLLTOOL
5960 # Extract the first word of "dlltool", so it can be a program name with args.
5961 set dummy dlltool; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5965 $as_echo_n "(cached) " >&6
5967 if test -n "$ac_ct_DLLTOOL"; then
5968 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5987 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5988 if test -n "$ac_ct_DLLTOOL"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5990 $as_echo "$ac_ct_DLLTOOL" >&6; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5996 if test "x$ac_ct_DLLTOOL" = x; then
5999 case $cross_compiling:$ac_tool_warned in
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6003 ac_tool_warned=yes ;;
6005 DLLTOOL=$ac_ct_DLLTOOL
6008 DLLTOOL="$ac_cv_prog_DLLTOOL"
6011 test -z "$DLLTOOL" && DLLTOOL=dlltool
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6023 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6024 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6025 $as_echo_n "(cached) " >&6
6027 lt_cv_sharedlib_from_linklib_cmd='unknown'
6030 cygwin* | mingw* | pw32* | cegcc*)
6031 # two different shell functions defined in ltmain.sh
6032 # decide which to use based on capabilities of $DLLTOOL
6033 case `$DLLTOOL --help 2>&1` in
6034 *--identify-strict*)
6035 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6038 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6043 # fallback: assume linklib IS sharedlib
6044 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6050 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6051 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6052 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6061 if test -n "$ac_tool_prefix"; then
6064 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6067 $as_echo_n "checking for $ac_word... " >&6; }
6068 if ${ac_cv_prog_AR+:} false; then :
6069 $as_echo_n "(cached) " >&6
6071 if test -n "$AR"; then
6072 ac_cv_prog_AR="$AR" # Let the user override the test.
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6081 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 if test -n "$AR"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6094 $as_echo "$AR" >&6; }
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097 $as_echo "no" >&6; }
6101 test -n "$AR" && break
6104 if test -z "$AR"; then
6108 # Extract the first word of "$ac_prog", so it can be a program name with args.
6109 set dummy $ac_prog; ac_word=$2
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111 $as_echo_n "checking for $ac_word... " >&6; }
6112 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6113 $as_echo_n "(cached) " >&6
6115 if test -n "$ac_ct_AR"; then
6116 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122 test -z "$as_dir" && as_dir=.
6123 for ac_exec_ext in '' $ac_executable_extensions; do
6124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6125 ac_cv_prog_ac_ct_AR="$ac_prog"
6126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6136 if test -n "$ac_ct_AR"; then
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6138 $as_echo "$ac_ct_AR" >&6; }
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141 $as_echo "no" >&6; }
6145 test -n "$ac_ct_AR" && break
6148 if test "x$ac_ct_AR" = x; then
6151 case $cross_compiling:$ac_tool_warned in
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 ac_tool_warned=yes ;;
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6175 $as_echo_n "checking for archiver @FILE support... " >&6; }
6176 if ${lt_cv_ar_at_file+:} false; then :
6177 $as_echo_n "(cached) " >&6
6180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6181 /* end confdefs.h. */
6191 if ac_fn_c_try_compile "$LINENO"; then :
6192 echo conftest.$ac_objext > conftest.lst
6193 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6194 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6195 (eval $lt_ar_try) 2>&5
6197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6198 test $ac_status = 0; }
6199 if test "$ac_status" -eq 0; then
6200 # Ensure the archiver fails upon bogus file names.
6201 rm -f conftest.$ac_objext libconftest.a
6202 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6203 (eval $lt_ar_try) 2>&5
6205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6206 test $ac_status = 0; }
6207 if test "$ac_status" -ne 0; then
6211 rm -f conftest.* libconftest.a
6214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6218 $as_echo "$lt_cv_ar_at_file" >&6; }
6220 if test "x$lt_cv_ar_at_file" = xno; then
6223 archiver_list_spec=$lt_cv_ar_at_file
6232 if test -n "$ac_tool_prefix"; then
6233 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6234 set dummy ${ac_tool_prefix}strip; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if ${ac_cv_prog_STRIP+:} false; then :
6238 $as_echo_n "(cached) " >&6
6240 if test -n "$STRIP"; then
6241 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6250 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6260 STRIP=$ac_cv_prog_STRIP
6261 if test -n "$STRIP"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6263 $as_echo "$STRIP" >&6; }
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6271 if test -z "$ac_cv_prog_STRIP"; then
6273 # Extract the first word of "strip", so it can be a program name with args.
6274 set dummy strip; ac_word=$2
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276 $as_echo_n "checking for $ac_word... " >&6; }
6277 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6278 $as_echo_n "(cached) " >&6
6280 if test -n "$ac_ct_STRIP"; then
6281 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6290 ac_cv_prog_ac_ct_STRIP="strip"
6291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6301 if test -n "$ac_ct_STRIP"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6303 $as_echo "$ac_ct_STRIP" >&6; }
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6306 $as_echo "no" >&6; }
6309 if test "x$ac_ct_STRIP" = x; then
6312 case $cross_compiling:$ac_tool_warned in
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6316 ac_tool_warned=yes ;;
6321 STRIP="$ac_cv_prog_STRIP"
6324 test -z "$STRIP" && STRIP=:
6331 if test -n "$ac_tool_prefix"; then
6332 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6333 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6335 $as_echo_n "checking for $ac_word... " >&6; }
6336 if ${ac_cv_prog_RANLIB+:} false; then :
6337 $as_echo_n "(cached) " >&6
6339 if test -n "$RANLIB"; then
6340 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6346 test -z "$as_dir" && as_dir=.
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6349 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6359 RANLIB=$ac_cv_prog_RANLIB
6360 if test -n "$RANLIB"; then
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6362 $as_echo "$RANLIB" >&6; }
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6365 $as_echo "no" >&6; }
6370 if test -z "$ac_cv_prog_RANLIB"; then
6371 ac_ct_RANLIB=$RANLIB
6372 # Extract the first word of "ranlib", so it can be a program name with args.
6373 set dummy ranlib; ac_word=$2
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6375 $as_echo_n "checking for $ac_word... " >&6; }
6376 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6377 $as_echo_n "(cached) " >&6
6379 if test -n "$ac_ct_RANLIB"; then
6380 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 test -z "$as_dir" && as_dir=.
6387 for ac_exec_ext in '' $ac_executable_extensions; do
6388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6389 ac_cv_prog_ac_ct_RANLIB="ranlib"
6390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6400 if test -n "$ac_ct_RANLIB"; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6402 $as_echo "$ac_ct_RANLIB" >&6; }
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6405 $as_echo "no" >&6; }
6408 if test "x$ac_ct_RANLIB" = x; then
6411 case $cross_compiling:$ac_tool_warned in
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6415 ac_tool_warned=yes ;;
6417 RANLIB=$ac_ct_RANLIB
6420 RANLIB="$ac_cv_prog_RANLIB"
6423 test -z "$RANLIB" && RANLIB=:
6430 # Determine commands to create old-style static archives.
6431 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6432 old_postinstall_cmds='chmod 644 $oldlib'
6433 old_postuninstall_cmds=
6435 if test -n "$RANLIB"; then
6438 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6441 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6444 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6449 lock_old_archive_extraction=yes ;;
6451 lock_old_archive_extraction=no ;;
6492 # If no C compiler was specified, use CC.
6495 # If no C compiler flags were specified, use CFLAGS.
6496 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6498 # Allow CC to be a program name with arguments.
6502 # Check for command to grab the raw symbol name followed by C symbol from nm.
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6504 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6505 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6506 $as_echo_n "(cached) " >&6
6509 # These are sane defaults that work on at least a few old systems.
6510 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6512 # Character class describing NM global symbol codes.
6513 symcode='[BCDEGRST]'
6515 # Regexp to match symbols that can be accessed directly from C.
6516 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6518 # Define system-specific variables.
6523 cygwin* | mingw* | pw32* | cegcc*)
6524 symcode='[ABCDGISTW]'
6527 if test "$host_cpu" = ia64; then
6528 symcode='[ABCDEGRST]'
6532 symcode='[BCDEGRST]'
6535 symcode='[BCDEGQRST]'
6546 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6554 # If we're using GNU nm, then use its standard symbol codes.
6555 case `$NM -V 2>&1` in
6556 *GNU* | *'with BFD'*)
6557 symcode='[ABCDGIRSTW]' ;;
6560 # Transform an extracted symbol line into a proper C declaration.
6561 # Some systems (esp. on ia64) link data and code symbols differently,
6562 # so use this general approach.
6563 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6565 # Transform an extracted symbol line into symbol name and symbol address
6566 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6567 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'"
6569 # Handle CRLF in mingw tool chain
6573 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6577 # Try without a prefix underscore, then with it.
6578 for ac_symprfx in "" "_"; do
6580 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6581 symxfrm="\\1 $ac_symprfx\\2 \\2"
6583 # Write the raw and C identifiers.
6584 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6585 # Fake it for dumpbin and say T for any non-static function
6586 # and D for any global variable.
6587 # Also find C++ and __fastcall symbols from MSVC++,
6588 # which start with @ or ?.
6589 lt_cv_sys_global_symbol_pipe="$AWK '"\
6590 " {last_section=section; section=\$ 3};"\
6591 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6592 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6593 " \$ 0!~/External *\|/{next};"\
6594 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6595 " {if(hide[section]) next};"\
6596 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6597 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6598 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6599 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6600 " ' prfx=^$ac_symprfx"
6602 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6604 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6606 # Check to see that the pipe works correctly.
6610 cat > conftest.$ac_ext <<_LT_EOF
6615 void nm_test_func(void);
6616 void nm_test_func(void){}
6620 int main(){nm_test_var='a';nm_test_func();return(0);}
6623 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6624 (eval $ac_compile) 2>&5
6626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6627 test $ac_status = 0; }; then
6628 # Now try to grab the symbols.
6630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6631 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6634 test $ac_status = 0; } && test -s "$nlist"; then
6635 # Try sorting and uniquifying the output.
6636 if sort "$nlist" | uniq > "$nlist"T; then
6637 mv -f "$nlist"T "$nlist"
6642 # Make sure that we snagged all the symbols we need.
6643 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6644 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6645 cat <<_LT_EOF > conftest.$ac_ext
6646 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6647 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6648 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6649 relocations are performed -- see ld's documentation on pseudo-relocs. */
6650 # define LT_DLSYM_CONST
6651 #elif defined(__osf__)
6652 /* This system does not cope well with relocations in const data. */
6653 # define LT_DLSYM_CONST
6655 # define LT_DLSYM_CONST const
6663 # Now generate the symbol file.
6664 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6666 cat <<_LT_EOF >> conftest.$ac_ext
6668 /* The mapping between symbol names and symbols. */
6669 LT_DLSYM_CONST struct {
6673 lt__PROGRAM__LTX_preloaded_symbols[] =
6675 { "@PROGRAM@", (void *) 0 },
6677 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6678 cat <<\_LT_EOF >> conftest.$ac_ext
6682 /* This works around a problem in FreeBSD linker */
6683 #ifdef FREEBSD_WORKAROUND
6684 static const void *lt_preloaded_setup() {
6685 return lt__PROGRAM__LTX_preloaded_symbols;
6693 # Now try linking the two files.
6694 mv conftest.$ac_objext conftstm.$ac_objext
6695 lt_globsym_save_LIBS=$LIBS
6696 lt_globsym_save_CFLAGS=$CFLAGS
6697 LIBS="conftstm.$ac_objext"
6698 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6699 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6700 (eval $ac_link) 2>&5
6702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6703 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6706 LIBS=$lt_globsym_save_LIBS
6707 CFLAGS=$lt_globsym_save_CFLAGS
6709 echo "cannot find nm_test_func in $nlist" >&5
6712 echo "cannot find nm_test_var in $nlist" >&5
6715 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6718 echo "$progname: failed program was:" >&5
6719 cat conftest.$ac_ext >&5
6721 rm -rf conftest* conftst*
6723 # Do not use the global_symbol_pipe unless it works.
6724 if test "$pipe_works" = yes; then
6727 lt_cv_sys_global_symbol_pipe=
6733 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6734 lt_cv_sys_global_symbol_to_cdecl=
6736 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6738 $as_echo "failed" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6741 $as_echo "ok" >&6; }
6744 # Response file support.
6745 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6746 nm_file_list_spec='@'
6747 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6748 nm_file_list_spec='@'
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6778 $as_echo_n "checking for sysroot... " >&6; }
6780 # Check whether --with-sysroot was given.
6781 if test "${with_sysroot+set}" = set; then :
6782 withval=$with_sysroot;
6789 case ${with_sysroot} in #(
6791 if test "$GCC" = yes; then
6792 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6796 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6802 $as_echo "${with_sysroot}" >&6; }
6803 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6808 $as_echo "${lt_sysroot:-no}" >&6; }
6814 # Check whether --enable-libtool-lock was given.
6815 if test "${enable_libtool_lock+set}" = set; then :
6816 enableval=$enable_libtool_lock;
6819 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6821 # Some flags need to be propagated to the compiler or linker for good
6825 # Find out which ABI we are using.
6826 echo 'int i;' > conftest.$ac_ext
6827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6828 (eval $ac_compile) 2>&5
6830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6831 test $ac_status = 0; }; then
6832 case `/usr/bin/file conftest.$ac_objext` in
6844 # Find out which ABI we are using.
6845 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6847 (eval $ac_compile) 2>&5
6849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6850 test $ac_status = 0; }; then
6851 if test "$lt_cv_prog_gnu_ld" = yes; then
6852 case `/usr/bin/file conftest.$ac_objext` in
6854 LD="${LD-ld} -melf32bsmip"
6857 LD="${LD-ld} -melf32bmipn32"
6860 LD="${LD-ld} -melf64bmip"
6864 case `/usr/bin/file conftest.$ac_objext` in
6880 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6881 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6882 # Find out which ABI we are using.
6883 echo 'int i;' > conftest.$ac_ext
6884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6885 (eval $ac_compile) 2>&5
6887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6888 test $ac_status = 0; }; then
6889 case `/usr/bin/file conftest.o` in
6892 x86_64-*kfreebsd*-gnu)
6893 LD="${LD-ld} -m elf_i386_fbsd"
6896 LD="${LD-ld} -m elf_i386"
6898 ppc64-*linux*|powerpc64-*linux*)
6899 LD="${LD-ld} -m elf32ppclinux"
6902 LD="${LD-ld} -m elf_s390"
6905 LD="${LD-ld} -m elf32_sparc"
6911 x86_64-*kfreebsd*-gnu)
6912 LD="${LD-ld} -m elf_x86_64_fbsd"
6915 LD="${LD-ld} -m elf_x86_64"
6917 ppc*-*linux*|powerpc*-*linux*)
6918 LD="${LD-ld} -m elf64ppc"
6920 s390*-*linux*|s390*-*tpf*)
6921 LD="${LD-ld} -m elf64_s390"
6924 LD="${LD-ld} -m elf64_sparc"
6934 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6935 SAVE_CFLAGS="$CFLAGS"
6936 CFLAGS="$CFLAGS -belf"
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6938 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6939 if ${lt_cv_cc_needs_belf+:} false; then :
6940 $as_echo_n "(cached) " >&6
6943 ac_cpp='$CPP $CPPFLAGS'
6944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6949 /* end confdefs.h. */
6959 if ac_fn_c_try_link "$LINENO"; then :
6960 lt_cv_cc_needs_belf=yes
6962 lt_cv_cc_needs_belf=no
6964 rm -f core conftest.err conftest.$ac_objext \
6965 conftest$ac_exeext conftest.$ac_ext
6967 ac_cpp='$CPP $CPPFLAGS'
6968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6974 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6975 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6976 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6977 CFLAGS="$SAVE_CFLAGS"
6981 # Find out which ABI we are using.
6982 echo 'int i;' > conftest.$ac_ext
6983 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6984 (eval $ac_compile) 2>&5
6986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6987 test $ac_status = 0; }; then
6988 case `/usr/bin/file conftest.o` in
6990 case $lt_cv_prog_gnu_ld in
6994 LD="${LD-ld} -m elf_x86_64"
6997 LD="${LD-ld} -m elf64_sparc"
7000 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7001 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7006 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7018 need_locks="$enable_libtool_lock"
7020 if test -n "$ac_tool_prefix"; then
7021 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7022 set dummy ${ac_tool_prefix}mt; ac_word=$2
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024 $as_echo_n "checking for $ac_word... " >&6; }
7025 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7026 $as_echo_n "(cached) " >&6
7028 if test -n "$MANIFEST_TOOL"; then
7029 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7035 test -z "$as_dir" && as_dir=.
7036 for ac_exec_ext in '' $ac_executable_extensions; do
7037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7038 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7048 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7049 if test -n "$MANIFEST_TOOL"; then
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7051 $as_echo "$MANIFEST_TOOL" >&6; }
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7054 $as_echo "no" >&6; }
7059 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7060 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7061 # Extract the first word of "mt", so it can be a program name with args.
7062 set dummy mt; ac_word=$2
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064 $as_echo_n "checking for $ac_word... " >&6; }
7065 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7066 $as_echo_n "(cached) " >&6
7068 if test -n "$ac_ct_MANIFEST_TOOL"; then
7069 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075 test -z "$as_dir" && as_dir=.
7076 for ac_exec_ext in '' $ac_executable_extensions; do
7077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7078 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7089 if test -n "$ac_ct_MANIFEST_TOOL"; then
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7091 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094 $as_echo "no" >&6; }
7097 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7100 case $cross_compiling:$ac_tool_warned in
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7104 ac_tool_warned=yes ;;
7106 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7109 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7112 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7114 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7115 if ${lt_cv_path_mainfest_tool+:} false; then :
7116 $as_echo_n "(cached) " >&6
7118 lt_cv_path_mainfest_tool=no
7119 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7120 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7121 cat conftest.err >&5
7122 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7123 lt_cv_path_mainfest_tool=yes
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7128 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7129 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7139 rhapsody* | darwin*)
7140 if test -n "$ac_tool_prefix"; then
7141 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7142 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7146 $as_echo_n "(cached) " >&6
7148 if test -n "$DSYMUTIL"; then
7149 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 test -z "$as_dir" && as_dir=.
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7168 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7169 if test -n "$DSYMUTIL"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7171 $as_echo "$DSYMUTIL" >&6; }
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7179 if test -z "$ac_cv_prog_DSYMUTIL"; then
7180 ac_ct_DSYMUTIL=$DSYMUTIL
7181 # Extract the first word of "dsymutil", so it can be a program name with args.
7182 set dummy dsymutil; ac_word=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7184 $as_echo_n "checking for $ac_word... " >&6; }
7185 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7186 $as_echo_n "(cached) " >&6
7188 if test -n "$ac_ct_DSYMUTIL"; then
7189 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 test -z "$as_dir" && as_dir=.
7196 for ac_exec_ext in '' $ac_executable_extensions; do
7197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7198 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7208 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7209 if test -n "$ac_ct_DSYMUTIL"; then
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7211 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7214 $as_echo "no" >&6; }
7217 if test "x$ac_ct_DSYMUTIL" = x; then
7220 case $cross_compiling:$ac_tool_warned in
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7224 ac_tool_warned=yes ;;
7226 DSYMUTIL=$ac_ct_DSYMUTIL
7229 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7232 if test -n "$ac_tool_prefix"; then
7233 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7234 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7236 $as_echo_n "checking for $ac_word... " >&6; }
7237 if ${ac_cv_prog_NMEDIT+:} false; then :
7238 $as_echo_n "(cached) " >&6
7240 if test -n "$NMEDIT"; then
7241 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 test -z "$as_dir" && as_dir=.
7248 for ac_exec_ext in '' $ac_executable_extensions; do
7249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7250 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7260 NMEDIT=$ac_cv_prog_NMEDIT
7261 if test -n "$NMEDIT"; then
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7263 $as_echo "$NMEDIT" >&6; }
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7266 $as_echo "no" >&6; }
7271 if test -z "$ac_cv_prog_NMEDIT"; then
7272 ac_ct_NMEDIT=$NMEDIT
7273 # Extract the first word of "nmedit", so it can be a program name with args.
7274 set dummy nmedit; ac_word=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 $as_echo_n "checking for $ac_word... " >&6; }
7277 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7278 $as_echo_n "(cached) " >&6
7280 if test -n "$ac_ct_NMEDIT"; then
7281 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7287 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7290 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7301 if test -n "$ac_ct_NMEDIT"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7303 $as_echo "$ac_ct_NMEDIT" >&6; }
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 $as_echo "no" >&6; }
7309 if test "x$ac_ct_NMEDIT" = x; then
7312 case $cross_compiling:$ac_tool_warned in
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7316 ac_tool_warned=yes ;;
7318 NMEDIT=$ac_ct_NMEDIT
7321 NMEDIT="$ac_cv_prog_NMEDIT"
7324 if test -n "$ac_tool_prefix"; then
7325 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7326 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7328 $as_echo_n "checking for $ac_word... " >&6; }
7329 if ${ac_cv_prog_LIPO+:} false; then :
7330 $as_echo_n "(cached) " >&6
7332 if test -n "$LIPO"; then
7333 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7339 test -z "$as_dir" && as_dir=.
7340 for ac_exec_ext in '' $ac_executable_extensions; do
7341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7352 LIPO=$ac_cv_prog_LIPO
7353 if test -n "$LIPO"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7355 $as_echo "$LIPO" >&6; }
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7358 $as_echo "no" >&6; }
7363 if test -z "$ac_cv_prog_LIPO"; then
7365 # Extract the first word of "lipo", so it can be a program name with args.
7366 set dummy lipo; ac_word=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 $as_echo_n "checking for $ac_word... " >&6; }
7369 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7370 $as_echo_n "(cached) " >&6
7372 if test -n "$ac_ct_LIPO"; then
7373 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 test -z "$as_dir" && as_dir=.
7380 for ac_exec_ext in '' $ac_executable_extensions; do
7381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7382 ac_cv_prog_ac_ct_LIPO="lipo"
7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7393 if test -n "$ac_ct_LIPO"; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7395 $as_echo "$ac_ct_LIPO" >&6; }
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7398 $as_echo "no" >&6; }
7401 if test "x$ac_ct_LIPO" = x; then
7404 case $cross_compiling:$ac_tool_warned in
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7408 ac_tool_warned=yes ;;
7413 LIPO="$ac_cv_prog_LIPO"
7416 if test -n "$ac_tool_prefix"; then
7417 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7418 set dummy ${ac_tool_prefix}otool; ac_word=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 $as_echo_n "checking for $ac_word... " >&6; }
7421 if ${ac_cv_prog_OTOOL+:} false; then :
7422 $as_echo_n "(cached) " >&6
7424 if test -n "$OTOOL"; then
7425 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir=.
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444 OTOOL=$ac_cv_prog_OTOOL
7445 if test -n "$OTOOL"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7447 $as_echo "$OTOOL" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7455 if test -z "$ac_cv_prog_OTOOL"; then
7457 # Extract the first word of "otool", so it can be a program name with args.
7458 set dummy otool; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7462 $as_echo_n "(cached) " >&6
7464 if test -n "$ac_ct_OTOOL"; then
7465 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_ac_ct_OTOOL="otool"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7485 if test -n "$ac_ct_OTOOL"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7487 $as_echo "$ac_ct_OTOOL" >&6; }
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7493 if test "x$ac_ct_OTOOL" = x; then
7496 case $cross_compiling:$ac_tool_warned in
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7500 ac_tool_warned=yes ;;
7505 OTOOL="$ac_cv_prog_OTOOL"
7508 if test -n "$ac_tool_prefix"; then
7509 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7510 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7512 $as_echo_n "checking for $ac_word... " >&6; }
7513 if ${ac_cv_prog_OTOOL64+:} false; then :
7514 $as_echo_n "(cached) " >&6
7516 if test -n "$OTOOL64"; then
7517 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7523 test -z "$as_dir" && as_dir=.
7524 for ac_exec_ext in '' $ac_executable_extensions; do
7525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7526 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7536 OTOOL64=$ac_cv_prog_OTOOL64
7537 if test -n "$OTOOL64"; then
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7539 $as_echo "$OTOOL64" >&6; }
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7542 $as_echo "no" >&6; }
7547 if test -z "$ac_cv_prog_OTOOL64"; then
7548 ac_ct_OTOOL64=$OTOOL64
7549 # Extract the first word of "otool64", so it can be a program name with args.
7550 set dummy otool64; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552 $as_echo_n "checking for $ac_word... " >&6; }
7553 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7554 $as_echo_n "(cached) " >&6
7556 if test -n "$ac_ct_OTOOL64"; then
7557 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7566 ac_cv_prog_ac_ct_OTOOL64="otool64"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7576 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7577 if test -n "$ac_ct_OTOOL64"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7579 $as_echo "$ac_ct_OTOOL64" >&6; }
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7585 if test "x$ac_ct_OTOOL64" = x; then
7588 case $cross_compiling:$ac_tool_warned in
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7592 ac_tool_warned=yes ;;
7594 OTOOL64=$ac_ct_OTOOL64
7597 OTOOL64="$ac_cv_prog_OTOOL64"
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7627 $as_echo_n "checking for -single_module linker flag... " >&6; }
7628 if ${lt_cv_apple_cc_single_mod+:} false; then :
7629 $as_echo_n "(cached) " >&6
7631 lt_cv_apple_cc_single_mod=no
7632 if test -z "${LT_MULTI_MODULE}"; then
7633 # By default we will add the -single_module flag. You can override
7634 # by either setting the environment variable LT_MULTI_MODULE
7635 # non-empty at configure time, or by adding -multi_module to the
7637 rm -rf libconftest.dylib*
7638 echo "int foo(void){return 1;}" > conftest.c
7639 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7640 -dynamiclib -Wl,-single_module conftest.c" >&5
7641 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7642 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7644 # If there is a non-empty error log, and "single_module"
7645 # appears in it, assume the flag caused a linker warning
7646 if test -s conftest.err && $GREP single_module conftest.err; then
7647 cat conftest.err >&5
7648 # Otherwise, if the output was created with a 0 exit code from
7649 # the compiler, it worked.
7650 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7651 lt_cv_apple_cc_single_mod=yes
7653 cat conftest.err >&5
7655 rm -rf libconftest.dylib*
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7660 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7663 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7664 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7665 $as_echo_n "(cached) " >&6
7667 lt_cv_ld_exported_symbols_list=no
7668 save_LDFLAGS=$LDFLAGS
7669 echo "_main" > conftest.sym
7670 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h. */
7682 if ac_fn_c_try_link "$LINENO"; then :
7683 lt_cv_ld_exported_symbols_list=yes
7685 lt_cv_ld_exported_symbols_list=no
7687 rm -f core conftest.err conftest.$ac_objext \
7688 conftest$ac_exeext conftest.$ac_ext
7689 LDFLAGS="$save_LDFLAGS"
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7693 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7696 $as_echo_n "checking for -force_load linker flag... " >&6; }
7697 if ${lt_cv_ld_force_load+:} false; then :
7698 $as_echo_n "(cached) " >&6
7700 lt_cv_ld_force_load=no
7701 cat > conftest.c << _LT_EOF
7702 int forced_loaded() { return 2;}
7704 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7705 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7706 echo "$AR cru libconftest.a conftest.o" >&5
7707 $AR cru libconftest.a conftest.o 2>&5
7708 echo "$RANLIB libconftest.a" >&5
7709 $RANLIB libconftest.a 2>&5
7710 cat > conftest.c << _LT_EOF
7711 int main() { return 0;}
7713 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7714 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7716 if test -s conftest.err && $GREP force_load conftest.err; then
7717 cat conftest.err >&5
7718 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7719 lt_cv_ld_force_load=yes
7721 cat conftest.err >&5
7723 rm -f conftest.err libconftest.a conftest conftest.c
7724 rm -rf conftest.dSYM
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7728 $as_echo "$lt_cv_ld_force_load" >&6; }
7730 rhapsody* | darwin1.[012])
7731 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7733 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7734 darwin*) # darwin 5.x on
7735 # if running on 10.5 or later, the deployment target defaults
7736 # to the OS version, if on x86, and 10.4, the deployment
7737 # target defaults to 10.4. Don't you love it?
7738 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7739 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7740 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7742 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7744 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7748 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7749 _lt_dar_single_mod='$single_module'
7751 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7752 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7754 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7756 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7757 _lt_dsymutil='~$DSYMUTIL $lib || :'
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7766 $as_echo_n "checking for ANSI C header files... " >&6; }
7767 if ${ac_cv_header_stdc+:} false; then :
7768 $as_echo_n "(cached) " >&6
7770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7771 /* end confdefs.h. */
7785 if ac_fn_c_try_compile "$LINENO"; then :
7786 ac_cv_header_stdc=yes
7788 ac_cv_header_stdc=no
7790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7792 if test $ac_cv_header_stdc = yes; then
7793 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7800 $EGREP "memchr" >/dev/null 2>&1; then :
7803 ac_cv_header_stdc=no
7809 if test $ac_cv_header_stdc = yes; then
7810 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7812 /* end confdefs.h. */
7816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7817 $EGREP "free" >/dev/null 2>&1; then :
7820 ac_cv_header_stdc=no
7826 if test $ac_cv_header_stdc = yes; then
7827 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7828 if test "$cross_compiling" = yes; then :
7831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7832 /* end confdefs.h. */
7835 #if ((' ' & 0x0FF) == 0x020)
7836 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7837 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7839 # define ISLOWER(c) \
7840 (('a' <= (c) && (c) <= 'i') \
7841 || ('j' <= (c) && (c) <= 'r') \
7842 || ('s' <= (c) && (c) <= 'z'))
7843 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7846 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7851 for (i = 0; i < 256; i++)
7852 if (XOR (islower (i), ISLOWER (i))
7853 || toupper (i) != TOUPPER (i))
7858 if ac_fn_c_try_run "$LINENO"; then :
7861 ac_cv_header_stdc=no
7863 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7864 conftest.$ac_objext conftest.beam conftest.$ac_ext
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7870 $as_echo "$ac_cv_header_stdc" >&6; }
7871 if test $ac_cv_header_stdc = yes; then
7873 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7877 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7878 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7879 inttypes.h stdint.h unistd.h
7881 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7882 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7885 cat >>confdefs.h <<_ACEOF
7886 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7894 for ac_header in dlfcn.h
7896 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7898 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7899 cat >>confdefs.h <<_ACEOF
7900 #define HAVE_DLFCN_H 1
7921 # Check whether --enable-shared was given.
7922 if test "${enable_shared+set}" = set; then :
7923 enableval=$enable_shared; p=${PACKAGE-default}
7925 yes) enable_shared=yes ;;
7926 no) enable_shared=no ;;
7929 # Look at the argument we got. We use all the common list separators.
7930 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7931 for pkg in $enableval; do
7933 if test "X$pkg" = "X$p"; then
7952 # Check whether --enable-static was given.
7953 if test "${enable_static+set}" = set; then :
7954 enableval=$enable_static; p=${PACKAGE-default}
7956 yes) enable_static=yes ;;
7957 no) enable_static=no ;;
7960 # Look at the argument we got. We use all the common list separators.
7961 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7962 for pkg in $enableval; do
7964 if test "X$pkg" = "X$p"; then
7984 # Check whether --with-pic was given.
7985 if test "${with_pic+set}" = set; then :
7986 withval=$with_pic; lt_p=${PACKAGE-default}
7988 yes|no) pic_mode=$withval ;;
7991 # Look at the argument we got. We use all the common list separators.
7992 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7993 for lt_pkg in $withval; do
7995 if test "X$lt_pkg" = "X$lt_p"; then
8007 test -z "$pic_mode" && pic_mode=default
8015 # Check whether --enable-fast-install was given.
8016 if test "${enable_fast_install+set}" = set; then :
8017 enableval=$enable_fast_install; p=${PACKAGE-default}
8019 yes) enable_fast_install=yes ;;
8020 no) enable_fast_install=no ;;
8022 enable_fast_install=no
8023 # Look at the argument we got. We use all the common list separators.
8024 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8025 for pkg in $enableval; do
8027 if test "X$pkg" = "X$p"; then
8028 enable_fast_install=yes
8035 enable_fast_install=yes
8048 # This can be used to rebuild libtool when needed
8049 LIBTOOL_DEPS="$ltmain"
8051 # Always use our own libtool.
8052 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8083 test -z "$LN_S" && LN_S="ln -s"
8098 if test -n "${ZSH_VERSION+set}" ; then
8099 setopt NO_GLOB_SUBST
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8103 $as_echo_n "checking for objdir... " >&6; }
8104 if ${lt_cv_objdir+:} false; then :
8105 $as_echo_n "(cached) " >&6
8107 rm -f .libs 2>/dev/null
8108 mkdir .libs 2>/dev/null
8109 if test -d .libs; then
8112 # MS-DOS does not allow filenames that begin with a dot.
8115 rmdir .libs 2>/dev/null
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8118 $as_echo "$lt_cv_objdir" >&6; }
8119 objdir=$lt_cv_objdir
8125 cat >>confdefs.h <<_ACEOF
8126 #define LT_OBJDIR "$lt_cv_objdir/"
8134 # AIX sometimes has problems with the GCC collect2 program. For some
8135 # reason, if we set the COLLECT_NAMES environment variable, the problems
8136 # vanish in a puff of smoke.
8137 if test "X${COLLECT_NAMES+set}" != Xset; then
8139 export COLLECT_NAMES
8146 can_build_shared=yes
8148 # All known linkers require a `.a' archive for static linking (except MSVC,
8149 # which needs '.lib').
8152 with_gnu_ld="$lt_cv_prog_gnu_ld"
8155 old_CFLAGS="$CFLAGS"
8157 # Set sane defaults for various variables
8158 test -z "$CC" && CC=cc
8159 test -z "$LTCC" && LTCC=$CC
8160 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8161 test -z "$LD" && LD=ld
8162 test -z "$ac_objext" && ac_objext=o
8164 for cc_temp in $compiler""; do
8166 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8167 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8172 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8175 # Only perform the check for file, if the check method requires it
8176 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8177 case $deplibs_check_method in
8179 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8181 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8182 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8183 $as_echo_n "(cached) " >&6
8187 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8190 lt_save_MAGIC_CMD="$MAGIC_CMD"
8191 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8192 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8193 for ac_dir in $ac_dummy; do
8195 test -z "$ac_dir" && ac_dir=.
8196 if test -f $ac_dir/${ac_tool_prefix}file; then
8197 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8198 if test -n "$file_magic_test_file"; then
8199 case $deplibs_check_method in
8201 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8202 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8203 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8204 $EGREP "$file_magic_regex" > /dev/null; then
8209 *** Warning: the command libtool uses to detect shared libraries,
8210 *** $file_magic_cmd, produces output that libtool cannot recognize.
8211 *** The result is that libtool may fail to recognize shared libraries
8212 *** as such. This will affect the creation of libtool libraries that
8213 *** depend on shared libraries, but programs linked with such libtool
8214 *** libraries will work regardless of this problem. Nevertheless, you
8215 *** may want to report the problem to your system manager and/or to
8216 *** bug-libtool@gnu.org
8226 MAGIC_CMD="$lt_save_MAGIC_CMD"
8231 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8232 if test -n "$MAGIC_CMD"; then
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8234 $as_echo "$MAGIC_CMD" >&6; }
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8237 $as_echo "no" >&6; }
8244 if test -z "$lt_cv_path_MAGIC_CMD"; then
8245 if test -n "$ac_tool_prefix"; then
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8247 $as_echo_n "checking for file... " >&6; }
8248 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8249 $as_echo_n "(cached) " >&6
8253 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8256 lt_save_MAGIC_CMD="$MAGIC_CMD"
8257 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8258 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8259 for ac_dir in $ac_dummy; do
8261 test -z "$ac_dir" && ac_dir=.
8262 if test -f $ac_dir/file; then
8263 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8264 if test -n "$file_magic_test_file"; then
8265 case $deplibs_check_method in
8267 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8268 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8269 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8270 $EGREP "$file_magic_regex" > /dev/null; then
8275 *** Warning: the command libtool uses to detect shared libraries,
8276 *** $file_magic_cmd, produces output that libtool cannot recognize.
8277 *** The result is that libtool may fail to recognize shared libraries
8278 *** as such. This will affect the creation of libtool libraries that
8279 *** depend on shared libraries, but programs linked with such libtool
8280 *** libraries will work regardless of this problem. Nevertheless, you
8281 *** may want to report the problem to your system manager and/or to
8282 *** bug-libtool@gnu.org
8292 MAGIC_CMD="$lt_save_MAGIC_CMD"
8297 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8298 if test -n "$MAGIC_CMD"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8300 $as_echo "$MAGIC_CMD" >&6; }
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303 $as_echo "no" >&6; }
8316 # Use C for the default configuration in the libtool script
8320 ac_cpp='$CPP $CPPFLAGS'
8321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8326 # Source file extension for C test sources.
8329 # Object file extension for compiled C test sources.
8333 # Code to be used in simple compile tests
8334 lt_simple_compile_test_code="int some_variable = 0;"
8336 # Code to be used in simple link tests
8337 lt_simple_link_test_code='int main(){return(0);}'
8345 # If no C compiler was specified, use CC.
8348 # If no C compiler flags were specified, use CFLAGS.
8349 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8351 # Allow CC to be a program name with arguments.
8354 # Save the default compiler, since it gets overwritten when the other
8355 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8356 compiler_DEFAULT=$CC
8358 # save warnings/boilerplate of simple test code
8359 ac_outfile=conftest.$ac_objext
8360 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8361 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8362 _lt_compiler_boilerplate=`cat conftest.err`
8365 ac_outfile=conftest.$ac_objext
8366 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8367 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8368 _lt_linker_boilerplate=`cat conftest.err`
8373 ## There is no encapsulation within the following macros, do not change
8374 ## the running order or otherwise move them around unless you know exactly
8375 ## what you are doing...
8376 if test -n "$compiler"; then
8378 lt_prog_compiler_no_builtin_flag=
8380 if test "$GCC" = yes; then
8381 case $cc_basename in
8383 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8385 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8389 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8390 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8391 $as_echo_n "(cached) " >&6
8393 lt_cv_prog_compiler_rtti_exceptions=no
8394 ac_outfile=conftest.$ac_objext
8395 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8396 lt_compiler_flag="-fno-rtti -fno-exceptions"
8397 # Insert the option either (1) after the last *FLAGS variable, or
8398 # (2) before a word containing "conftest.", or (3) at the end.
8399 # Note that $ac_compile itself does not contain backslashes and begins
8400 # with a dollar sign (not a hyphen), so the echo should work correctly.
8401 # The option is referenced via a variable to avoid confusing sed.
8402 lt_compile=`echo "$ac_compile" | $SED \
8403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8405 -e 's:$: $lt_compiler_flag:'`
8406 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8407 (eval "$lt_compile" 2>conftest.err)
8409 cat conftest.err >&5
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 if (exit $ac_status) && test -s "$ac_outfile"; then
8412 # The compiler can only warn and ignore the option if not recognized
8413 # So say no if there are warnings other than the usual output.
8414 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8415 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8416 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8417 lt_cv_prog_compiler_rtti_exceptions=yes
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8424 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8426 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8427 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8439 lt_prog_compiler_wl=
8440 lt_prog_compiler_pic=
8441 lt_prog_compiler_static=
8444 if test "$GCC" = yes; then
8445 lt_prog_compiler_wl='-Wl,'
8446 lt_prog_compiler_static='-static'
8450 # All AIX code is PIC.
8451 if test "$host_cpu" = ia64; then
8452 # AIX 5 now supports IA64 processor
8453 lt_prog_compiler_static='-Bstatic'
8460 # see comment about AmigaOS4 .so support
8461 lt_prog_compiler_pic='-fPIC'
8464 # FIXME: we need at least 68020 code to build shared libraries, but
8465 # adding the `-m68020' flag to GCC prevents building anything better,
8467 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8472 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8473 # PIC is the default for these OSes.
8476 mingw* | cygwin* | pw32* | os2* | cegcc*)
8477 # This hack is so that the source file can tell whether it is being
8478 # built for inclusion in a dll (and should export symbols for example).
8479 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8480 # (--disable-auto-import) libraries
8481 lt_prog_compiler_pic='-DDLL_EXPORT'
8484 darwin* | rhapsody*)
8485 # PIC is the default on this platform
8486 # Common symbols not allowed in MH_DYLIB files
8487 lt_prog_compiler_pic='-fno-common'
8491 # PIC is the default for Haiku.
8492 # The "-static" flag exists, but is broken.
8493 lt_prog_compiler_static=
8497 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8498 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8499 # sets the default TLS model and affects inlining.
8505 lt_prog_compiler_pic='-fPIC'
8511 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8512 # Instead, we relocate shared libraries at runtime.
8516 # Just because we use GCC doesn't mean we suddenly get shared libraries
8517 # on systems that don't support them.
8518 lt_prog_compiler_can_build_shared=no
8523 # QNX uses GNU C++, but need to define -shared option too, otherwise
8525 lt_prog_compiler_pic='-fPIC -shared'
8529 if test -d /usr/nec; then
8530 lt_prog_compiler_pic=-Kconform_pic
8535 lt_prog_compiler_pic='-fPIC'
8539 case $cc_basename in
8540 nvcc*) # Cuda Compiler Driver 2.2
8541 lt_prog_compiler_wl='-Xlinker '
8542 if test -n "$lt_prog_compiler_pic"; then
8543 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8548 # PORTME Check for flag to pass linker flags through the system compiler.
8551 lt_prog_compiler_wl='-Wl,'
8552 if test "$host_cpu" = ia64; then
8553 # AIX 5 now supports IA64 processor
8554 lt_prog_compiler_static='-Bstatic'
8556 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8560 mingw* | cygwin* | pw32* | os2* | cegcc*)
8561 # This hack is so that the source file can tell whether it is being
8562 # built for inclusion in a dll (and should export symbols for example).
8563 lt_prog_compiler_pic='-DDLL_EXPORT'
8566 hpux9* | hpux10* | hpux11*)
8567 lt_prog_compiler_wl='-Wl,'
8568 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8575 lt_prog_compiler_pic='+Z'
8578 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8579 lt_prog_compiler_static='${wl}-a ${wl}archive'
8582 irix5* | irix6* | nonstopux*)
8583 lt_prog_compiler_wl='-Wl,'
8584 # PIC (with -KPIC) is the default.
8585 lt_prog_compiler_static='-non_shared'
8588 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8589 case $cc_basename in
8590 # old Intel for x86_64 which still supported -KPIC.
8592 lt_prog_compiler_wl='-Wl,'
8593 lt_prog_compiler_pic='-KPIC'
8594 lt_prog_compiler_static='-static'
8596 # icc used to be incompatible with GCC.
8597 # ICC 10 doesn't accept -KPIC any more.
8599 lt_prog_compiler_wl='-Wl,'
8600 lt_prog_compiler_pic='-fPIC'
8601 lt_prog_compiler_static='-static'
8603 # Lahey Fortran 8.1.
8605 lt_prog_compiler_wl='-Wl,'
8606 lt_prog_compiler_pic='--shared'
8607 lt_prog_compiler_static='--static'
8610 # NAG Fortran compiler
8611 lt_prog_compiler_wl='-Wl,-Wl,,'
8612 lt_prog_compiler_pic='-PIC'
8613 lt_prog_compiler_static='-Bstatic'
8615 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8616 # Portland Group compilers (*not* the Pentium gcc compiler,
8617 # which looks to be a dead project)
8618 lt_prog_compiler_wl='-Wl,'
8619 lt_prog_compiler_pic='-fpic'
8620 lt_prog_compiler_static='-Bstatic'
8623 lt_prog_compiler_wl='-Wl,'
8624 # All Alpha code is PIC.
8625 lt_prog_compiler_static='-non_shared'
8627 xl* | bgxl* | bgf* | mpixl*)
8628 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8629 lt_prog_compiler_wl='-Wl,'
8630 lt_prog_compiler_pic='-qpic'
8631 lt_prog_compiler_static='-qstaticlink'
8634 case `$CC -V 2>&1 | sed 5q` in
8635 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8636 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8637 lt_prog_compiler_pic='-KPIC'
8638 lt_prog_compiler_static='-Bstatic'
8639 lt_prog_compiler_wl=''
8641 *Sun\ F* | *Sun*Fortran*)
8642 lt_prog_compiler_pic='-KPIC'
8643 lt_prog_compiler_static='-Bstatic'
8644 lt_prog_compiler_wl='-Qoption ld '
8648 lt_prog_compiler_pic='-KPIC'
8649 lt_prog_compiler_static='-Bstatic'
8650 lt_prog_compiler_wl='-Wl,'
8652 *Intel*\ [CF]*Compiler*)
8653 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-fPIC'
8655 lt_prog_compiler_static='-static'
8658 lt_prog_compiler_wl='-Wl,'
8659 lt_prog_compiler_pic='-fpic'
8660 lt_prog_compiler_static='-Bstatic'
8668 lt_prog_compiler_pic='-KPIC'
8669 lt_prog_compiler_static='-Bstatic'
8673 # QNX uses GNU C++, but need to define -shared option too, otherwise
8675 lt_prog_compiler_pic='-fPIC -shared'
8678 osf3* | osf4* | osf5*)
8679 lt_prog_compiler_wl='-Wl,'
8680 # All OSF/1 code is PIC.
8681 lt_prog_compiler_static='-non_shared'
8685 lt_prog_compiler_static='-non_shared'
8689 lt_prog_compiler_pic='-KPIC'
8690 lt_prog_compiler_static='-Bstatic'
8691 case $cc_basename in
8692 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8693 lt_prog_compiler_wl='-Qoption ld ';;
8695 lt_prog_compiler_wl='-Wl,';;
8700 lt_prog_compiler_wl='-Qoption ld '
8701 lt_prog_compiler_pic='-PIC'
8702 lt_prog_compiler_static='-Bstatic'
8705 sysv4 | sysv4.2uw2* | sysv4.3*)
8706 lt_prog_compiler_wl='-Wl,'
8707 lt_prog_compiler_pic='-KPIC'
8708 lt_prog_compiler_static='-Bstatic'
8712 if test -d /usr/nec ;then
8713 lt_prog_compiler_pic='-Kconform_pic'
8714 lt_prog_compiler_static='-Bstatic'
8718 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8719 lt_prog_compiler_wl='-Wl,'
8720 lt_prog_compiler_pic='-KPIC'
8721 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8726 lt_prog_compiler_can_build_shared=no
8730 lt_prog_compiler_pic='-pic'
8731 lt_prog_compiler_static='-Bstatic'
8735 lt_prog_compiler_can_build_shared=no
8741 # For platforms which do not support PIC, -DPIC is meaningless:
8743 lt_prog_compiler_pic=
8746 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8751 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8752 if ${lt_cv_prog_compiler_pic+:} false; then :
8753 $as_echo_n "(cached) " >&6
8755 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8758 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8759 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8762 # Check to make sure the PIC flag actually works.
8764 if test -n "$lt_prog_compiler_pic"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8766 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8767 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8768 $as_echo_n "(cached) " >&6
8770 lt_cv_prog_compiler_pic_works=no
8771 ac_outfile=conftest.$ac_objext
8772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8773 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8774 # Insert the option either (1) after the last *FLAGS variable, or
8775 # (2) before a word containing "conftest.", or (3) at the end.
8776 # Note that $ac_compile itself does not contain backslashes and begins
8777 # with a dollar sign (not a hyphen), so the echo should work correctly.
8778 # The option is referenced via a variable to avoid confusing sed.
8779 lt_compile=`echo "$ac_compile" | $SED \
8780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8782 -e 's:$: $lt_compiler_flag:'`
8783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8784 (eval "$lt_compile" 2>conftest.err)
8786 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 if (exit $ac_status) && test -s "$ac_outfile"; then
8789 # The compiler can only warn and ignore the option if not recognized
8790 # So say no if there are warnings other than the usual output.
8791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8793 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8794 lt_cv_prog_compiler_pic_works=yes
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8801 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8803 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8804 case $lt_prog_compiler_pic in
8806 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8809 lt_prog_compiler_pic=
8810 lt_prog_compiler_can_build_shared=no
8826 # Check to make sure the static flag actually works.
8828 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8830 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8831 if ${lt_cv_prog_compiler_static_works+:} false; then :
8832 $as_echo_n "(cached) " >&6
8834 lt_cv_prog_compiler_static_works=no
8835 save_LDFLAGS="$LDFLAGS"
8836 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8837 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8838 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8839 # The linker can only warn and ignore the option if not recognized
8840 # So say no if there are warnings
8841 if test -s conftest.err; then
8842 # Append any errors to the config.log.
8843 cat conftest.err 1>&5
8844 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8845 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8846 if diff conftest.exp conftest.er2 >/dev/null; then
8847 lt_cv_prog_compiler_static_works=yes
8850 lt_cv_prog_compiler_static_works=yes
8854 LDFLAGS="$save_LDFLAGS"
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8858 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8860 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8863 lt_prog_compiler_static=
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8873 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8874 if ${lt_cv_prog_compiler_c_o+:} false; then :
8875 $as_echo_n "(cached) " >&6
8877 lt_cv_prog_compiler_c_o=no
8878 $RM -r conftest 2>/dev/null
8882 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8884 lt_compiler_flag="-o out/conftest2.$ac_objext"
8885 # Insert the option either (1) after the last *FLAGS variable, or
8886 # (2) before a word containing "conftest.", or (3) at the end.
8887 # Note that $ac_compile itself does not contain backslashes and begins
8888 # with a dollar sign (not a hyphen), so the echo should work correctly.
8889 lt_compile=`echo "$ac_compile" | $SED \
8890 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8891 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8892 -e 's:$: $lt_compiler_flag:'`
8893 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8894 (eval "$lt_compile" 2>out/conftest.err)
8896 cat out/conftest.err >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8900 # The compiler can only warn and ignore the option if not recognized
8901 # So say no if there are warnings
8902 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8903 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8904 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8905 lt_cv_prog_compiler_c_o=yes
8910 # SGI C++ compiler will create directory out/ii_files/ for
8911 # template instantiation
8912 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8913 $RM out/* && rmdir out
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8920 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8928 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8929 if ${lt_cv_prog_compiler_c_o+:} false; then :
8930 $as_echo_n "(cached) " >&6
8932 lt_cv_prog_compiler_c_o=no
8933 $RM -r conftest 2>/dev/null
8937 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939 lt_compiler_flag="-o out/conftest2.$ac_objext"
8940 # Insert the option either (1) after the last *FLAGS variable, or
8941 # (2) before a word containing "conftest.", or (3) at the end.
8942 # Note that $ac_compile itself does not contain backslashes and begins
8943 # with a dollar sign (not a hyphen), so the echo should work correctly.
8944 lt_compile=`echo "$ac_compile" | $SED \
8945 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8946 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8947 -e 's:$: $lt_compiler_flag:'`
8948 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8949 (eval "$lt_compile" 2>out/conftest.err)
8951 cat out/conftest.err >&5
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8953 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 # The compiler can only warn and ignore the option if not recognized
8956 # So say no if there are warnings
8957 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8958 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8959 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8960 lt_cv_prog_compiler_c_o=yes
8965 # SGI C++ compiler will create directory out/ii_files/ for
8966 # template instantiation
8967 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8968 $RM out/* && rmdir out
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8975 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8980 hard_links="nottested"
8981 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8982 # do not overwrite the value of need_locks provided by the user
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8984 $as_echo_n "checking if we can lock with hard links... " >&6; }
8987 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8989 ln conftest.a conftest.b 2>&5 || hard_links=no
8990 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8992 $as_echo "$hard_links" >&6; }
8993 if test "$hard_links" = no; then
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8995 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9008 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9011 allow_undefined_flag=
9012 always_export_symbols=no
9014 archive_expsym_cmds=
9015 compiler_needs_object=no
9016 enable_shared_with_static_runtimes=no
9017 export_dynamic_flag_spec=
9018 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9019 hardcode_automatic=no
9021 hardcode_direct_absolute=no
9022 hardcode_libdir_flag_spec=
9023 hardcode_libdir_separator=
9025 hardcode_shlibpath_var=unsupported
9027 link_all_deplibs=unknown
9030 old_archive_from_new_cmds=
9031 old_archive_from_expsyms_cmds=
9032 thread_safe_flag_spec=
9033 whole_archive_flag_spec=
9034 # include_expsyms should be a list of space-separated symbols to be *always*
9035 # included in the symbol list
9037 # exclude_expsyms can be an extended regexp of symbols to exclude
9038 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9039 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9040 # as well as any symbol that contains `d'.
9041 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9042 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9043 # platforms (ab)use it in PIC code, but their linkers get confused if
9044 # the symbol is explicitly referenced. Since portable code cannot
9045 # rely on this symbol name, it's probably fine to never include it in
9046 # preloaded symbol tables.
9047 # Exclude shared library initialization/finalization symbols.
9048 extract_expsyms_cmds=
9051 cygwin* | mingw* | pw32* | cegcc*)
9052 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9053 # When not using gcc, we currently assume that we are using
9054 # Microsoft Visual C++.
9055 if test "$GCC" != yes; then
9060 # we just hope/assume this is gcc and not c89 (= MSVC++)
9070 # On some targets, GNU ld is compatible enough with the native linker
9071 # that we're better off using the native interface for both.
9072 lt_use_gnu_ld_interface=no
9073 if test "$with_gnu_ld" = yes; then
9076 # The AIX port of GNU ld has always aspired to compatibility
9077 # with the native linker. However, as the warning in the GNU ld
9078 # block says, versions before 2.19.5* couldn't really create working
9079 # shared libraries, regardless of the interface used.
9080 case `$LD -v 2>&1` in
9081 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9082 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9083 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9085 lt_use_gnu_ld_interface=yes
9090 lt_use_gnu_ld_interface=yes
9095 if test "$lt_use_gnu_ld_interface" = yes; then
9096 # If archive_cmds runs LD, not CC, wlarc should be empty
9099 # Set some defaults for GNU ld with shared library support. These
9100 # are reset later if shared libraries are not supported. Putting them
9101 # here allows them to be overridden if necessary.
9102 runpath_var=LD_RUN_PATH
9103 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9104 export_dynamic_flag_spec='${wl}--export-dynamic'
9105 # ancient GNU ld didn't support --whole-archive et. al.
9106 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9107 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9109 whole_archive_flag_spec=
9111 supports_anon_versioning=no
9112 case `$LD -v 2>&1` in
9113 *GNU\ gold*) supports_anon_versioning=yes ;;
9114 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9115 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9116 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9117 *\ 2.11.*) ;; # other 2.11 versions
9118 *) supports_anon_versioning=yes ;;
9121 # See if GNU ld supports shared libraries.
9124 # On AIX/PPC, the GNU linker is very broken
9125 if test "$host_cpu" != ia64; then
9129 *** Warning: the GNU linker, at least up to release 2.19, is reported
9130 *** to be unable to reliably create shared libraries on AIX.
9131 *** Therefore, libtool is disabling shared libraries support. If you
9132 *** really care for shared libraries, you may want to install binutils
9133 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9134 *** You will then need to restart the configuration process.
9143 # see comment about AmigaOS4 .so support
9144 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9145 archive_expsym_cmds=''
9148 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)'
9149 hardcode_libdir_flag_spec='-L$libdir'
9150 hardcode_minus_L=yes
9156 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9157 allow_undefined_flag=unsupported
9158 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9159 # support --undefined. This deserves some investigation. FIXME
9160 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9166 cygwin* | mingw* | pw32* | cegcc*)
9167 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9168 # as there is no search path for DLLs.
9169 hardcode_libdir_flag_spec='-L$libdir'
9170 export_dynamic_flag_spec='${wl}--export-all-symbols'
9171 allow_undefined_flag=unsupported
9172 always_export_symbols=no
9173 enable_shared_with_static_runtimes=yes
9174 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'
9175 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9177 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9178 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9179 # If the export-symbols file already is a .def file (1st line
9180 # is EXPORTS), use it as is; otherwise, prepend...
9181 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9182 cp $export_symbols $output_objdir/$soname.def;
9184 echo EXPORTS > $output_objdir/$soname.def;
9185 cat $export_symbols >> $output_objdir/$soname.def;
9187 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9194 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9195 link_all_deplibs=yes
9200 hardcode_shlibpath_var=no
9201 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9202 export_dynamic_flag_spec='${wl}-E'
9203 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9204 # Instead, shared libraries are loaded at an image base (0x10000000 by
9205 # default) and relocated if they conflict, which is a slow very memory
9206 # consuming and fragmenting process. To avoid this, we pick a random,
9207 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9208 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9209 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9210 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'
9213 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9215 if test "$host_os" = linux-dietlibc; then
9216 case $cc_basename in
9217 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9220 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9221 && test "$tmp_diet" = no
9223 tmp_addflag=' $pic_flag'
9224 tmp_sharedflag='-shared'
9225 case $cc_basename,$host_cpu in
9226 pgcc*) # Portland Group C compiler
9227 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'
9228 tmp_addflag=' $pic_flag'
9230 pgf77* | pgf90* | pgf95* | pgfortran*)
9231 # Portland Group f77 and f90 compilers
9232 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'
9233 tmp_addflag=' $pic_flag -Mnomain' ;;
9234 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9235 tmp_addflag=' -i_dynamic' ;;
9236 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9237 tmp_addflag=' -i_dynamic -nofor_main' ;;
9238 ifc* | ifort*) # Intel Fortran compiler
9239 tmp_addflag=' -nofor_main' ;;
9240 lf95*) # Lahey Fortran 8.1
9241 whole_archive_flag_spec=
9242 tmp_sharedflag='--shared' ;;
9243 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9244 tmp_sharedflag='-qmkshrobj'
9246 nvcc*) # Cuda Compiler Driver 2.2
9247 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'
9248 compiler_needs_object=yes
9251 case `$CC -V 2>&1 | sed 5q` in
9252 *Sun\ C*) # Sun C 5.9
9253 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'
9254 compiler_needs_object=yes
9255 tmp_sharedflag='-G' ;;
9256 *Sun\ F*) # Sun Fortran 8.3
9257 tmp_sharedflag='-G' ;;
9259 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9261 if test "x$supports_anon_versioning" = xyes; then
9262 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9263 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9264 echo "local: *; };" >> $output_objdir/$libname.ver~
9265 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9268 case $cc_basename in
9269 xlf* | bgf* | bgxlf* | mpixlf*)
9270 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9271 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9272 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9273 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9274 if test "x$supports_anon_versioning" = xyes; then
9275 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9276 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9277 echo "local: *; };" >> $output_objdir/$libname.ver~
9278 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9288 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9289 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9292 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9293 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9298 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9302 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9303 *** create shared libraries on Solaris systems. Therefore, libtool
9304 *** is disabling shared libraries support. We urge you to upgrade GNU
9305 *** binutils to release 2.9.1 or newer. Another option is to modify
9306 *** your PATH or compiler configuration so that the native linker is
9307 *** used, and then restart.
9310 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9311 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9312 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9318 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9319 case `$LD -v 2>&1` in
9320 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9324 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9325 *** reliably create shared libraries on SCO systems. Therefore, libtool
9326 *** is disabling shared libraries support. We urge you to upgrade GNU
9327 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9328 *** your PATH or compiler configuration so that the native linker is
9329 *** used, and then restart.
9334 # For security reasons, it is highly recommended that you always
9335 # use absolute paths for naming shared libraries, and exclude the
9336 # DT_RUNPATH tag from executables and libraries. But doing so
9337 # requires that you compile everything twice, which is a pain.
9338 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9339 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9340 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9341 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9350 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9353 hardcode_shlibpath_var=no
9357 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9358 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9359 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9366 if test "$ld_shlibs" = no; then
9368 hardcode_libdir_flag_spec=
9369 export_dynamic_flag_spec=
9370 whole_archive_flag_spec=
9373 # PORTME fill in a description of your system's linker (not GNU ld)
9376 allow_undefined_flag=unsupported
9377 always_export_symbols=yes
9378 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'
9379 # Note: this linker hardcodes the directories in LIBPATH if there
9380 # are no directories specified by -L.
9381 hardcode_minus_L=yes
9382 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9383 # Neither direct hardcoding nor static linking is supported with a
9385 hardcode_direct=unsupported
9390 if test "$host_cpu" = ia64; then
9391 # On IA64, the linker does run time linking by default, so we don't
9392 # have to do anything special.
9393 aix_use_runtimelinking=no
9394 exp_sym_flag='-Bexport'
9397 # If we're using GNU nm, then we don't want the "-C" option.
9398 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9399 # Also, AIX nm treats weak defined symbols like other global
9400 # defined symbols, whereas GNU nm marks them as "W".
9401 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9402 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'
9404 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'
9406 aix_use_runtimelinking=no
9408 # Test if we are trying to use run time linking or normal
9409 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9410 # need to do runtime linking.
9411 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9412 for ld_flag in $LDFLAGS; do
9413 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9414 aix_use_runtimelinking=yes
9421 exp_sym_flag='-bexport'
9422 no_entry_flag='-bnoentry'
9425 # When large executables or shared objects are built, AIX ld can
9426 # have problems creating the table of contents. If linking a library
9427 # or program results in "error TOC overflow" add -mminimal-toc to
9428 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9429 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9433 hardcode_direct_absolute=yes
9434 hardcode_libdir_separator=':'
9435 link_all_deplibs=yes
9436 file_list_spec='${wl}-f,'
9438 if test "$GCC" = yes; then
9439 case $host_os in aix4.[012]|aix4.[012].*)
9440 # We only want to do this on AIX 4.2 and lower, the check
9441 # below for broken collect2 doesn't work under 4.3+
9442 collect2name=`${CC} -print-prog-name=collect2`
9443 if test -f "$collect2name" &&
9444 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9446 # We have reworked collect2
9449 # We have old collect2
9450 hardcode_direct=unsupported
9451 # It fails to find uninstalled libraries when the uninstalled
9452 # path is not listed in the libpath. Setting hardcode_minus_L
9453 # to unsupported forces relinking
9454 hardcode_minus_L=yes
9455 hardcode_libdir_flag_spec='-L$libdir'
9456 hardcode_libdir_separator=
9460 shared_flag='-shared'
9461 if test "$aix_use_runtimelinking" = yes; then
9462 shared_flag="$shared_flag "'${wl}-G'
9466 if test "$host_cpu" = ia64; then
9467 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9468 # chokes on -Wl,-G. The following line is correct:
9471 if test "$aix_use_runtimelinking" = yes; then
9472 shared_flag='${wl}-G'
9474 shared_flag='${wl}-bM:SRE'
9479 export_dynamic_flag_spec='${wl}-bexpall'
9480 # It seems that -bexpall does not export symbols beginning with
9481 # underscore (_), so it is better to generate a list of symbols to export.
9482 always_export_symbols=yes
9483 if test "$aix_use_runtimelinking" = yes; then
9484 # Warning - without using the other runtime loading flags (-brtl),
9485 # -berok will link without error, but may produce a broken library.
9486 allow_undefined_flag='-berok'
9487 # Determine the default libpath from the value encoded in an
9489 if test "${lt_cv_aix_libpath+set}" = set; then
9490 aix_libpath=$lt_cv_aix_libpath
9492 if ${lt_cv_aix_libpath_+:} false; then :
9493 $as_echo_n "(cached) " >&6
9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9506 if ac_fn_c_try_link "$LINENO"; then :
9508 lt_aix_libpath_sed='
9509 /Import File Strings/,/^$/ {
9511 s/^0 *\([^ ]*\) *$/\1/
9515 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9516 # Check for a 64-bit object if we didn't find anything.
9517 if test -z "$lt_cv_aix_libpath_"; then
9518 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9521 rm -f core conftest.err conftest.$ac_objext \
9522 conftest$ac_exeext conftest.$ac_ext
9523 if test -z "$lt_cv_aix_libpath_"; then
9524 lt_cv_aix_libpath_="/usr/lib:/lib"
9529 aix_libpath=$lt_cv_aix_libpath_
9532 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9533 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"
9535 if test "$host_cpu" = ia64; then
9536 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9537 allow_undefined_flag="-z nodefs"
9538 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"
9540 # Determine the default libpath from the value encoded in an
9542 if test "${lt_cv_aix_libpath+set}" = set; then
9543 aix_libpath=$lt_cv_aix_libpath
9545 if ${lt_cv_aix_libpath_+:} false; then :
9546 $as_echo_n "(cached) " >&6
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9559 if ac_fn_c_try_link "$LINENO"; then :
9561 lt_aix_libpath_sed='
9562 /Import File Strings/,/^$/ {
9564 s/^0 *\([^ ]*\) *$/\1/
9568 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9569 # Check for a 64-bit object if we didn't find anything.
9570 if test -z "$lt_cv_aix_libpath_"; then
9571 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9574 rm -f core conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9576 if test -z "$lt_cv_aix_libpath_"; then
9577 lt_cv_aix_libpath_="/usr/lib:/lib"
9582 aix_libpath=$lt_cv_aix_libpath_
9585 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9586 # Warning - without using the other run time loading flags,
9587 # -berok will link without error, but may produce a broken library.
9588 no_undefined_flag=' ${wl}-bernotok'
9589 allow_undefined_flag=' ${wl}-berok'
9590 if test "$with_gnu_ld" = yes; then
9591 # We only use this code for GNU lds that support --whole-archive.
9592 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9594 # Exported symbols can be pulled into shared objects from archives
9595 whole_archive_flag_spec='$convenience'
9597 archive_cmds_need_lc=yes
9598 # This is similar to how AIX traditionally builds its shared libraries.
9599 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'
9607 # see comment about AmigaOS4 .so support
9608 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9609 archive_expsym_cmds=''
9612 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)'
9613 hardcode_libdir_flag_spec='-L$libdir'
9614 hardcode_minus_L=yes
9620 export_dynamic_flag_spec=-rdynamic
9623 cygwin* | mingw* | pw32* | cegcc*)
9624 # When not using gcc, we currently assume that we are using
9625 # Microsoft Visual C++.
9626 # hardcode_libdir_flag_spec is actually meaningless, as there is
9627 # no search path for DLLs.
9628 case $cc_basename in
9631 hardcode_libdir_flag_spec=' '
9632 allow_undefined_flag=unsupported
9633 always_export_symbols=yes
9635 # Tell ltmain to make .lib files, not .a files.
9637 # Tell ltmain to make .dll files, not .so files.
9639 # FIXME: Setting linknames here is a bad hack.
9640 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9641 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9642 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9644 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9646 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9648 # The linker will not automatically build a static lib if we build a DLL.
9649 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9650 enable_shared_with_static_runtimes=yes
9651 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9652 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9654 old_postinstall_cmds='chmod 644 $oldlib'
9655 postlink_cmds='lt_outputfile="@OUTPUT@"~
9656 lt_tool_outputfile="@TOOL_OUTPUT@"~
9657 case $lt_outputfile in
9660 lt_outputfile="$lt_outputfile.exe"
9661 lt_tool_outputfile="$lt_tool_outputfile.exe"
9664 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9665 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9666 $RM "$lt_outputfile.manifest";
9670 # Assume MSVC wrapper
9671 hardcode_libdir_flag_spec=' '
9672 allow_undefined_flag=unsupported
9673 # Tell ltmain to make .lib files, not .a files.
9675 # Tell ltmain to make .dll files, not .so files.
9677 # FIXME: Setting linknames here is a bad hack.
9678 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9679 # The linker will automatically build a .lib file if we build a DLL.
9680 old_archive_from_new_cmds='true'
9681 # FIXME: Should let the user specify the lib program.
9682 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9683 enable_shared_with_static_runtimes=yes
9688 darwin* | rhapsody*)
9691 archive_cmds_need_lc=no
9693 hardcode_automatic=yes
9694 hardcode_shlibpath_var=unsupported
9695 if test "$lt_cv_ld_force_load" = "yes"; then
9696 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\"`'
9699 whole_archive_flag_spec=''
9701 link_all_deplibs=yes
9702 allow_undefined_flag="$_lt_dar_allow_undefined"
9703 case $cc_basename in
9704 ifort*) _lt_dar_can_shared=yes ;;
9705 *) _lt_dar_can_shared=$GCC ;;
9707 if test "$_lt_dar_can_shared" = "yes"; then
9708 output_verbose_link_cmd=func_echo_all
9709 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9710 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9711 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}"
9712 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}"
9721 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9722 hardcode_libdir_flag_spec='-L$libdir'
9723 hardcode_shlibpath_var=no
9726 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9727 # support. Future versions do this automatically, but an explicit c++rt0.o
9728 # does not break anything, and helps significantly (at the cost of a little
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9732 hardcode_libdir_flag_spec='-R$libdir'
9734 hardcode_shlibpath_var=no
9737 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9739 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9741 hardcode_minus_L=yes
9742 hardcode_shlibpath_var=no
9745 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9746 freebsd* | dragonfly*)
9747 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9748 hardcode_libdir_flag_spec='-R$libdir'
9750 hardcode_shlibpath_var=no
9754 if test "$GCC" = yes; then
9755 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'
9757 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'
9759 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9760 hardcode_libdir_separator=:
9763 # hardcode_minus_L: Not really in the search PATH,
9764 # but as the default location of the library.
9765 hardcode_minus_L=yes
9766 export_dynamic_flag_spec='${wl}-E'
9770 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9771 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9773 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9775 if test "$with_gnu_ld" = no; then
9776 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9777 hardcode_libdir_separator=:
9779 hardcode_direct_absolute=yes
9780 export_dynamic_flag_spec='${wl}-E'
9781 # hardcode_minus_L: Not really in the search PATH,
9782 # but as the default location of the library.
9783 hardcode_minus_L=yes
9788 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9791 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9794 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9797 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9806 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9810 # Older versions of the 11.00 compiler do not understand -b yet
9811 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9813 $as_echo_n "checking if $CC understands -b... " >&6; }
9814 if ${lt_cv_prog_compiler__b+:} false; then :
9815 $as_echo_n "(cached) " >&6
9817 lt_cv_prog_compiler__b=no
9818 save_LDFLAGS="$LDFLAGS"
9819 LDFLAGS="$LDFLAGS -b"
9820 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9821 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9822 # The linker can only warn and ignore the option if not recognized
9823 # So say no if there are warnings
9824 if test -s conftest.err; then
9825 # Append any errors to the config.log.
9826 cat conftest.err 1>&5
9827 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9829 if diff conftest.exp conftest.er2 >/dev/null; then
9830 lt_cv_prog_compiler__b=yes
9833 lt_cv_prog_compiler__b=yes
9837 LDFLAGS="$save_LDFLAGS"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9841 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9843 if test x"$lt_cv_prog_compiler__b" = xyes; then
9844 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9852 if test "$with_gnu_ld" = no; then
9853 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9854 hardcode_libdir_separator=:
9859 hardcode_shlibpath_var=no
9863 hardcode_direct_absolute=yes
9864 export_dynamic_flag_spec='${wl}-E'
9866 # hardcode_minus_L: Not really in the search PATH,
9867 # but as the default location of the library.
9868 hardcode_minus_L=yes
9874 irix5* | irix6* | nonstopux*)
9875 if test "$GCC" = yes; then
9876 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'
9877 # Try to use the -exported_symbol ld option, if it does not
9878 # work, assume that -exports_file does not work either and
9879 # implicitly export all symbols.
9880 # This should be the same for all languages, so no per-tag cache variable.
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9882 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9883 if ${lt_cv_irix_exported_symbol+:} false; then :
9884 $as_echo_n "(cached) " >&6
9886 save_LDFLAGS="$LDFLAGS"
9887 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9890 int foo (void) { return 0; }
9892 if ac_fn_c_try_link "$LINENO"; then :
9893 lt_cv_irix_exported_symbol=yes
9895 lt_cv_irix_exported_symbol=no
9897 rm -f core conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 LDFLAGS="$save_LDFLAGS"
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9902 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9903 if test "$lt_cv_irix_exported_symbol" = yes; then
9904 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'
9907 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'
9908 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'
9910 archive_cmds_need_lc='no'
9911 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9912 hardcode_libdir_separator=:
9914 link_all_deplibs=yes
9918 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9919 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9921 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9923 hardcode_libdir_flag_spec='-R$libdir'
9925 hardcode_shlibpath_var=no
9929 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9932 hardcode_libdir_separator=:
9933 hardcode_shlibpath_var=no
9940 if test -f /usr/libexec/ld.so; then
9942 hardcode_shlibpath_var=no
9943 hardcode_direct_absolute=yes
9944 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9945 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9946 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9947 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9948 export_dynamic_flag_spec='${wl}-E'
9951 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9952 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9953 hardcode_libdir_flag_spec='-R$libdir'
9956 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9957 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9967 hardcode_libdir_flag_spec='-L$libdir'
9968 hardcode_minus_L=yes
9969 allow_undefined_flag=unsupported
9970 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'
9971 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9975 if test "$GCC" = yes; then
9976 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9977 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'
9979 allow_undefined_flag=' -expect_unresolved \*'
9980 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'
9982 archive_cmds_need_lc='no'
9983 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9984 hardcode_libdir_separator=:
9987 osf4* | osf5*) # as osf3* with the addition of -msym flag
9988 if test "$GCC" = yes; then
9989 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9990 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'
9991 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9993 allow_undefined_flag=' -expect_unresolved \*'
9994 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'
9995 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~
9996 $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'
9998 # Both c and cxx compiler support -rpath directly
9999 hardcode_libdir_flag_spec='-rpath $libdir'
10001 archive_cmds_need_lc='no'
10002 hardcode_libdir_separator=:
10006 no_undefined_flag=' -z defs'
10007 if test "$GCC" = yes; then
10009 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10011 $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'
10013 case `$CC -V 2>&1` in
10016 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10017 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10018 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10022 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10023 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10024 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10028 hardcode_libdir_flag_spec='-R$libdir'
10029 hardcode_shlibpath_var=no
10031 solaris2.[0-5] | solaris2.[0-5].*) ;;
10033 # The compiler driver will combine and reorder linker options,
10034 # but understands `-z linker_flag'. GCC discards it without `$wl',
10035 # but is careful enough not to reorder.
10036 # Supported since Solaris 2.6 (maybe 2.5.1?)
10037 if test "$GCC" = yes; then
10038 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10040 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10044 link_all_deplibs=yes
10048 if test "x$host_vendor" = xsequent; then
10049 # Use $CC to link under sequent, because it throws in some extra .o
10050 # files that make .init and .fini sections work.
10051 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_libdir_flag_spec='-L$libdir'
10056 hardcode_direct=yes
10057 hardcode_minus_L=yes
10058 hardcode_shlibpath_var=no
10062 case $host_vendor in
10064 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10065 hardcode_direct=yes # is this really true???
10068 ## LD is ld it makes a PLAMLIB
10069 ## CC just makes a GrossModule.
10070 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10071 reload_cmds='$CC -r -o $output$reload_objs'
10075 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10076 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10079 runpath_var='LD_RUN_PATH'
10080 hardcode_shlibpath_var=no
10084 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10085 hardcode_shlibpath_var=no
10086 export_dynamic_flag_spec='-Bexport'
10090 if test -d /usr/nec; then
10091 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10092 hardcode_shlibpath_var=no
10093 runpath_var=LD_RUN_PATH
10094 hardcode_runpath_var=yes
10099 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10100 no_undefined_flag='${wl}-z,text'
10101 archive_cmds_need_lc=no
10102 hardcode_shlibpath_var=no
10103 runpath_var='LD_RUN_PATH'
10105 if test "$GCC" = yes; then
10106 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10114 sysv5* | sco3.2v5* | sco5v6*)
10115 # Note: We can NOT use -z defs as we might desire, because we do not
10116 # link with -lc, and that would cause any symbols used from libc to
10117 # always be unresolved, which means just about no library would
10118 # ever link correctly. If we're not using GNU ld we use -z text
10119 # though, which does catch some bad symbols but isn't as heavy-handed
10121 no_undefined_flag='${wl}-z,text'
10122 allow_undefined_flag='${wl}-z,nodefs'
10123 archive_cmds_need_lc=no
10124 hardcode_shlibpath_var=no
10125 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10126 hardcode_libdir_separator=':'
10127 link_all_deplibs=yes
10128 export_dynamic_flag_spec='${wl}-Bexport'
10129 runpath_var='LD_RUN_PATH'
10131 if test "$GCC" = yes; then
10132 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10133 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_libdir_flag_spec='-L$libdir'
10143 hardcode_shlibpath_var=no
10151 if test x$host_vendor = xsni; then
10153 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10154 export_dynamic_flag_spec='${wl}-Blargedynsym'
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10161 $as_echo "$ld_shlibs" >&6; }
10162 test "$ld_shlibs" = no && can_build_shared=no
10164 with_gnu_ld=$with_gnu_ld
10181 # Do we need to explicitly link libc?
10183 case "x$archive_cmds_need_lc" in
10185 # Assume -lc should be added
10186 archive_cmds_need_lc=yes
10188 if test "$enable_shared" = yes && test "$GCC" = yes; then
10189 case $archive_cmds in
10191 # FIXME: we may have to deal with multi-command sequences.
10194 # Test whether the compiler implicitly links with -lc since on some
10195 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10196 # to ld, don't add -lc before -lgcc.
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10198 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10199 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10200 $as_echo_n "(cached) " >&6
10203 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10205 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10206 (eval $ac_compile) 2>&5
10208 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10209 test $ac_status = 0; } 2>conftest.err; then
10212 libobjs=conftest.$ac_objext
10214 wl=$lt_prog_compiler_wl
10215 pic_flag=$lt_prog_compiler_pic
10221 lt_save_allow_undefined_flag=$allow_undefined_flag
10222 allow_undefined_flag=
10223 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10224 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10227 test $ac_status = 0; }
10229 lt_cv_archive_cmds_need_lc=no
10231 lt_cv_archive_cmds_need_lc=yes
10233 allow_undefined_flag=$lt_save_allow_undefined_flag
10235 cat conftest.err 1>&5
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10241 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10242 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10401 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10403 if test "$GCC" = yes; then
10405 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10406 *) lt_awk_arg="/^libraries:/" ;;
10409 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10410 *) lt_sed_strip_eq="s,=/,/,g" ;;
10412 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10413 case $lt_search_path_spec in
10415 # if the path contains ";" then we assume it to be the separator
10416 # otherwise default to the standard path separator (i.e. ":") - it is
10417 # assumed that no part of a normal pathname contains ";" but that should
10418 # okay in the real world where ";" in dirpaths is itself problematic.
10419 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10422 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10425 # Ok, now we have the path, separated by spaces, we can step through it
10426 # and add multilib dir if necessary.
10427 lt_tmp_lt_search_path_spec=
10428 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10429 for lt_sys_path in $lt_search_path_spec; do
10430 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10431 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10433 test -d "$lt_sys_path" && \
10434 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10437 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10438 BEGIN {RS=" "; FS="/|\n";} {
10441 for (lt_i = NF; lt_i > 0; lt_i--) {
10442 if ($lt_i != "" && $lt_i != ".") {
10443 if ($lt_i == "..") {
10446 if (lt_count == 0) {
10447 lt_foo="/" $lt_i lt_foo;
10454 if (lt_foo != "") { lt_freq[lt_foo]++; }
10455 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10457 # AWK program above erroneously prepends '/' to C:/dos/paths
10460 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10461 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10463 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10465 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10467 library_names_spec=
10468 libname_spec='lib$name'
10472 postuninstall_cmds=
10476 shlibpath_overrides_runpath=unknown
10478 dynamic_linker="$host_os ld.so"
10479 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10480 need_lib_prefix=unknown
10481 hardcode_into_libs=no
10483 # when you set need_version to no, make sure it does not cause -set_version
10484 # flags to be left without arguments
10485 need_version=unknown
10489 version_type=linux # correct to gnu/linux during the next big refactor
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10491 shlibpath_var=LIBPATH
10493 # AIX 3 has no versioning support, so we append a major version to the name.
10494 soname_spec='${libname}${release}${shared_ext}$major'
10498 version_type=linux # correct to gnu/linux during the next big refactor
10501 hardcode_into_libs=yes
10502 if test "$host_cpu" = ia64; then
10503 # AIX 5 supports IA64
10504 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10505 shlibpath_var=LD_LIBRARY_PATH
10507 # With GCC up to 2.95.x, collect2 would create an import file
10508 # for dependence libraries. The import file would start with
10509 # the line `#! .'. This would cause the generated library to
10510 # depend on `.', always an invalid library. This was fixed in
10511 # development snapshots of GCC prior to 3.0.
10513 aix4 | aix4.[01] | aix4.[01].*)
10514 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10516 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10519 can_build_shared=no
10523 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10524 # soname into executable. Probably we can add versioning support to
10525 # collect2, so additional links can be useful in future.
10526 if test "$aix_use_runtimelinking" = yes; then
10527 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10528 # instead of lib<name>.a to let people know that these are not
10529 # typical AIX shared libraries.
10530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 # We preserve .a as extension for shared libraries through AIX4.2
10533 # and later when we are not doing run time linking.
10534 library_names_spec='${libname}${release}.a $libname.a'
10535 soname_spec='${libname}${release}${shared_ext}$major'
10537 shlibpath_var=LIBPATH
10544 # Since July 2007 AmigaOS4 officially supports .so libraries.
10545 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 library_names_spec='$libname.ixlibrary $libname.a'
10550 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10551 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'
10557 library_names_spec='${libname}${shared_ext}'
10558 dynamic_linker="$host_os ld.so"
10559 shlibpath_var=LIBRARY_PATH
10563 version_type=linux # correct to gnu/linux during the next big refactor
10565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566 soname_spec='${libname}${release}${shared_ext}$major'
10567 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10568 shlibpath_var=LD_LIBRARY_PATH
10569 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10570 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10571 # the default ld.so.conf also contains /usr/contrib/lib and
10572 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10573 # libtool to hard-code these into programs
10576 cygwin* | mingw* | pw32* | cegcc*)
10577 version_type=windows
10582 case $GCC,$cc_basename in
10585 library_names_spec='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10599 shlibpath_overrides_runpath=yes
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10609 # MinGW DLLs use traditional 'lib' prefix
10610 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10613 # pw32 DLLs use 'pw' prefix rather than 'lib'
10614 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10617 dynamic_linker='Win32 ld.exe'
10622 libname_spec='$name'
10623 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10624 library_names_spec='${libname}.dll.lib'
10628 sys_lib_search_path_spec=
10631 for lt_path in $LIB
10634 # Let DOS variable expansion print the short 8.3 style file name.
10635 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10636 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10639 # Convert to MSYS style.
10640 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10643 # Convert to unix form, then to dos form, then back to unix form
10644 # but this time dos style (no spaces!) so that the unix form looks
10645 # like /cygdrive/c/PROGRA~1:/cygdr...
10646 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10647 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10648 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10651 sys_lib_search_path_spec="$LIB"
10652 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10653 # It is most probably a Windows format PATH.
10654 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10656 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10658 # FIXME: find the short name or the path components, as spaces are
10659 # common. (e.g. "Program Files" -> "PROGRA~1")
10663 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10664 postinstall_cmds='base_file=`basename \${file}`~
10665 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10666 dldir=$destdir/`dirname \$dlpath`~
10667 test -d \$dldir || mkdir -p \$dldir~
10668 $install_prog $dir/$dlname \$dldir/$dlname'
10669 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10670 dlpath=$dir/\$dldll~
10672 shlibpath_overrides_runpath=yes
10673 dynamic_linker='Win32 link.exe'
10677 # Assume MSVC wrapper
10678 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10679 dynamic_linker='Win32 ld.exe'
10682 # FIXME: first we should search . and the directory the executable is in
10686 darwin* | rhapsody*)
10687 dynamic_linker="$host_os dyld"
10688 version_type=darwin
10691 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10692 soname_spec='${libname}${release}${major}$shared_ext'
10693 shlibpath_overrides_runpath=yes
10694 shlibpath_var=DYLD_LIBRARY_PATH
10695 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10697 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10698 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10702 version_type=linux # correct to gnu/linux during the next big refactor
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 shlibpath_var=LD_LIBRARY_PATH
10710 freebsd* | dragonfly*)
10711 # DragonFly does not have aout. When/if they implement a new
10712 # versioning mechanism, adjust this.
10713 if test -x /usr/bin/objformat; then
10714 objformat=`/usr/bin/objformat`
10717 freebsd[23].*) objformat=aout ;;
10718 *) objformat=elf ;;
10721 version_type=freebsd-$objformat
10722 case $version_type in
10724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10729 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10733 shlibpath_var=LD_LIBRARY_PATH
10736 shlibpath_overrides_runpath=yes
10738 freebsd3.[01]* | freebsdelf3.[01]*)
10739 shlibpath_overrides_runpath=yes
10740 hardcode_into_libs=yes
10742 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10743 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10744 shlibpath_overrides_runpath=no
10745 hardcode_into_libs=yes
10747 *) # from 4.6 on, and DragonFly
10748 shlibpath_overrides_runpath=yes
10749 hardcode_into_libs=yes
10755 version_type=linux # correct to gnu/linux during the next big refactor
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 shlibpath_var=LD_LIBRARY_PATH
10761 shlibpath_overrides_runpath=no
10762 hardcode_into_libs=yes
10766 version_type=linux # correct to gnu/linux during the next big refactor
10769 dynamic_linker="$host_os runtime_loader"
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 shlibpath_var=LIBRARY_PATH
10773 shlibpath_overrides_runpath=yes
10774 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10775 hardcode_into_libs=yes
10778 hpux9* | hpux10* | hpux11*)
10779 # Give a soname corresponding to the major version so that dld.sl refuses to
10780 # link against other versions.
10787 hardcode_into_libs=yes
10788 dynamic_linker="$host_os dld.so"
10789 shlibpath_var=LD_LIBRARY_PATH
10790 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10792 soname_spec='${libname}${release}${shared_ext}$major'
10793 if test "X$HPUX_IA64_MODE" = X32; then
10794 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10796 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10798 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10802 hardcode_into_libs=yes
10803 dynamic_linker="$host_os dld.sl"
10804 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10805 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10807 soname_spec='${libname}${release}${shared_ext}$major'
10808 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10813 dynamic_linker="$host_os dld.sl"
10814 shlibpath_var=SHLIB_PATH
10815 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10817 soname_spec='${libname}${release}${shared_ext}$major'
10820 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10821 postinstall_cmds='chmod 555 $lib'
10822 # or fails outright, so override atomically:
10823 install_override_mode=555
10827 version_type=linux # correct to gnu/linux during the next big refactor
10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10831 soname_spec='${libname}${release}${shared_ext}$major'
10832 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10833 shlibpath_var=LD_LIBRARY_PATH
10834 shlibpath_overrides_runpath=no
10835 hardcode_into_libs=yes
10838 irix5* | irix6* | nonstopux*)
10840 nonstopux*) version_type=nonstopux ;;
10842 if test "$lt_cv_prog_gnu_ld" = yes; then
10843 version_type=linux # correct to gnu/linux during the next big refactor
10850 soname_spec='${libname}${release}${shared_ext}$major'
10851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10853 irix5* | nonstopux*)
10854 libsuff= shlibsuff=
10857 case $LD in # libtool.m4 will add one of these switches to LD
10858 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10859 libsuff= shlibsuff= libmagic=32-bit;;
10860 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10861 libsuff=32 shlibsuff=N32 libmagic=N32;;
10862 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10863 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10864 *) libsuff= shlibsuff= libmagic=never-match;;
10868 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10869 shlibpath_overrides_runpath=no
10870 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10871 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10872 hardcode_into_libs=yes
10875 # No shared lib support for Linux oldld, aout, or coff.
10876 linux*oldld* | linux*aout* | linux*coff*)
10880 # This must be glibc/ELF.
10881 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10882 version_type=linux # correct to gnu/linux during the next big refactor
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10888 shlibpath_var=LD_LIBRARY_PATH
10889 shlibpath_overrides_runpath=no
10891 # Some binutils ld are patched to set DT_RUNPATH
10892 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10893 $as_echo_n "(cached) " >&6
10895 lt_cv_shlibpath_overrides_runpath=no
10896 save_LDFLAGS=$LDFLAGS
10897 save_libdir=$libdir
10898 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10899 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10911 if ac_fn_c_try_link "$LINENO"; then :
10912 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10913 lt_cv_shlibpath_overrides_runpath=yes
10916 rm -f core conftest.err conftest.$ac_objext \
10917 conftest$ac_exeext conftest.$ac_ext
10918 LDFLAGS=$save_LDFLAGS
10919 libdir=$save_libdir
10923 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10925 # This implies no fast_install, which is unacceptable.
10926 # Some rework will be needed to allow for fast_install
10927 # before this can be enabled.
10928 hardcode_into_libs=yes
10930 # Append ld.so.conf contents to the search path
10931 if test -f /etc/ld.so.conf; then
10932 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' ' '`
10933 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10936 # We used to test for /lib/ld.so.1 and disable shared libraries on
10937 # powerpc, because MkLinux only supported shared libraries with the
10938 # GNU dynamic linker. Since this was broken with cross compilers,
10939 # most powerpc-linux boxes support dynamic linking these days and
10940 # people can always --disable-shared, the test was removed, and we
10941 # assume the GNU/Linux dynamic linker is in use.
10942 dynamic_linker='GNU/Linux ld.so'
10949 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10951 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10952 dynamic_linker='NetBSD (a.out) ld.so'
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10955 soname_spec='${libname}${release}${shared_ext}$major'
10956 dynamic_linker='NetBSD ld.elf_so'
10958 shlibpath_var=LD_LIBRARY_PATH
10959 shlibpath_overrides_runpath=yes
10960 hardcode_into_libs=yes
10964 version_type=linux # correct to gnu/linux during the next big refactor
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966 shlibpath_var=LD_LIBRARY_PATH
10967 shlibpath_overrides_runpath=yes
10974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10975 soname_spec='${libname}${release}${shared_ext}$major'
10976 shlibpath_var=LD_LIBRARY_PATH
10977 shlibpath_overrides_runpath=no
10978 hardcode_into_libs=yes
10979 dynamic_linker='ldqnx.so'
10984 sys_lib_dlsearch_path_spec="/usr/lib"
10986 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10988 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10989 *) need_version=no ;;
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10996 openbsd2.[89] | openbsd2.[89].*)
10997 shlibpath_overrides_runpath=no
11000 shlibpath_overrides_runpath=yes
11004 shlibpath_overrides_runpath=yes
11009 libname_spec='$name'
11012 library_names_spec='$libname${shared_ext} $libname.a'
11013 dynamic_linker='OS/2 ld.exe'
11014 shlibpath_var=LIBPATH
11017 osf3* | osf4* | osf5*)
11021 soname_spec='${libname}${release}${shared_ext}$major'
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 shlibpath_var=LD_LIBRARY_PATH
11024 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11025 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11033 version_type=linux # correct to gnu/linux during the next big refactor
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 soname_spec='${libname}${release}${shared_ext}$major'
11038 shlibpath_var=LD_LIBRARY_PATH
11039 shlibpath_overrides_runpath=yes
11040 hardcode_into_libs=yes
11041 # ldd complains unless libraries are executable
11042 postinstall_cmds='chmod +x $lib'
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11048 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11049 shlibpath_var=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath=yes
11051 if test "$with_gnu_ld" = yes; then
11058 version_type=linux # correct to gnu/linux during the next big refactor
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11060 soname_spec='${libname}${release}${shared_ext}$major'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 case $host_vendor in
11064 shlibpath_overrides_runpath=no
11066 runpath_var=LD_RUN_PATH
11074 shlibpath_overrides_runpath=no
11075 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11081 if test -d /usr/nec ;then
11082 version_type=linux # correct to gnu/linux during the next big refactor
11083 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11084 soname_spec='$libname${shared_ext}.$major'
11085 shlibpath_var=LD_LIBRARY_PATH
11089 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11090 version_type=freebsd-elf
11093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11094 soname_spec='${libname}${release}${shared_ext}$major'
11095 shlibpath_var=LD_LIBRARY_PATH
11096 shlibpath_overrides_runpath=yes
11097 hardcode_into_libs=yes
11098 if test "$with_gnu_ld" = yes; then
11099 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11101 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11104 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11108 sys_lib_dlsearch_path_spec='/usr/lib'
11112 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11113 version_type=linux # correct to gnu/linux during the next big refactor
11116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11117 shlibpath_var=LD_LIBRARY_PATH
11118 shlibpath_overrides_runpath=no
11119 hardcode_into_libs=yes
11123 version_type=linux # correct to gnu/linux during the next big refactor
11124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11125 soname_spec='${libname}${release}${shared_ext}$major'
11126 shlibpath_var=LD_LIBRARY_PATH
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11134 $as_echo "$dynamic_linker" >&6; }
11135 test "$dynamic_linker" = no && can_build_shared=no
11137 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11138 if test "$GCC" = yes; then
11139 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11142 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11143 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11145 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11146 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11241 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11243 if test -n "$hardcode_libdir_flag_spec" ||
11244 test -n "$runpath_var" ||
11245 test "X$hardcode_automatic" = "Xyes" ; then
11247 # We can hardcode non-existent directories.
11248 if test "$hardcode_direct" != no &&
11249 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11250 # have to relink, otherwise we might link with an installed library
11251 # when we should be linking with a yet-to-be-installed one
11252 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11253 test "$hardcode_minus_L" != no; then
11254 # Linking always hardcodes the temporary library directory.
11255 hardcode_action=relink
11257 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11258 hardcode_action=immediate
11261 # We cannot hardcode anything, or else we can only hardcode existing
11263 hardcode_action=unsupported
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11266 $as_echo "$hardcode_action" >&6; }
11268 if test "$hardcode_action" = relink ||
11269 test "$inherit_rpath" = yes; then
11270 # Fast installation is not supported
11271 enable_fast_install=no
11272 elif test "$shlibpath_overrides_runpath" = yes ||
11273 test "$enable_shared" = no; then
11274 # Fast installation is not necessary
11275 enable_fast_install=needless
11283 if test "x$enable_dlopen" != xyes; then
11284 enable_dlopen=unknown
11285 enable_dlopen_self=unknown
11286 enable_dlopen_self_static=unknown
11293 lt_cv_dlopen="load_add_on"
11295 lt_cv_dlopen_self=yes
11298 mingw* | pw32* | cegcc*)
11299 lt_cv_dlopen="LoadLibrary"
11304 lt_cv_dlopen="dlopen"
11309 # if libdl is installed we need to link against it
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11311 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11312 if ${ac_cv_lib_dl_dlopen+:} false; then :
11313 $as_echo_n "(cached) " >&6
11315 ac_check_lib_save_LIBS=$LIBS
11317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11318 /* end confdefs.h. */
11320 /* Override any GCC internal prototype to avoid an error.
11321 Use char because int might match the return type of a GCC
11322 builtin and then its argument prototype would still apply. */
11335 if ac_fn_c_try_link "$LINENO"; then :
11336 ac_cv_lib_dl_dlopen=yes
11338 ac_cv_lib_dl_dlopen=no
11340 rm -f core conftest.err conftest.$ac_objext \
11341 conftest$ac_exeext conftest.$ac_ext
11342 LIBS=$ac_check_lib_save_LIBS
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11345 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11346 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11347 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11350 lt_cv_dlopen="dyld"
11352 lt_cv_dlopen_self=yes
11359 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11360 if test "x$ac_cv_func_shl_load" = xyes; then :
11361 lt_cv_dlopen="shl_load"
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11364 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11365 if ${ac_cv_lib_dld_shl_load+:} false; then :
11366 $as_echo_n "(cached) " >&6
11368 ac_check_lib_save_LIBS=$LIBS
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11383 return shl_load ();
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_dld_shl_load=yes
11391 ac_cv_lib_dld_shl_load=no
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11398 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11399 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11400 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11402 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11403 if test "x$ac_cv_func_dlopen" = xyes; then :
11404 lt_cv_dlopen="dlopen"
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11407 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11408 if ${ac_cv_lib_dl_dlopen+:} false; then :
11409 $as_echo_n "(cached) " >&6
11411 ac_check_lib_save_LIBS=$LIBS
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_dl_dlopen=yes
11434 ac_cv_lib_dl_dlopen=no
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11441 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11442 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11443 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11446 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11447 if ${ac_cv_lib_svld_dlopen+:} false; then :
11448 $as_echo_n "(cached) " >&6
11450 ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-lsvld $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 ac_cv_lib_svld_dlopen=yes
11473 ac_cv_lib_svld_dlopen=no
11475 rm -f core conftest.err conftest.$ac_objext \
11476 conftest$ac_exeext conftest.$ac_ext
11477 LIBS=$ac_check_lib_save_LIBS
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11480 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11481 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11482 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11485 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11486 if ${ac_cv_lib_dld_dld_link+:} false; then :
11487 $as_echo_n "(cached) " >&6
11489 ac_check_lib_save_LIBS=$LIBS
11491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11492 /* end confdefs.h. */
11494 /* Override any GCC internal prototype to avoid an error.
11495 Use char because int might match the return type of a GCC
11496 builtin and then its argument prototype would still apply. */
11504 return dld_link ();
11509 if ac_fn_c_try_link "$LINENO"; then :
11510 ac_cv_lib_dld_dld_link=yes
11512 ac_cv_lib_dld_dld_link=no
11514 rm -f core conftest.err conftest.$ac_objext \
11515 conftest$ac_exeext conftest.$ac_ext
11516 LIBS=$ac_check_lib_save_LIBS
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11519 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11520 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11521 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11542 if test "x$lt_cv_dlopen" != xno; then
11548 case $lt_cv_dlopen in
11550 save_CPPFLAGS="$CPPFLAGS"
11551 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11553 save_LDFLAGS="$LDFLAGS"
11554 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11557 LIBS="$lt_cv_dlopen_libs $LIBS"
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11560 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11561 if ${lt_cv_dlopen_self+:} false; then :
11562 $as_echo_n "(cached) " >&6
11564 if test "$cross_compiling" = yes; then :
11565 lt_cv_dlopen_self=cross
11567 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11568 lt_status=$lt_dlunknown
11569 cat > conftest.$ac_ext <<_LT_EOF
11570 #line $LINENO "configure"
11571 #include "confdefs.h"
11580 # define LT_DLGLOBAL RTLD_GLOBAL
11583 # define LT_DLGLOBAL DL_GLOBAL
11585 # define LT_DLGLOBAL 0
11589 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11590 find out it does not work in some platform. */
11591 #ifndef LT_DLLAZY_OR_NOW
11593 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11596 # define LT_DLLAZY_OR_NOW DL_LAZY
11599 # define LT_DLLAZY_OR_NOW RTLD_NOW
11602 # define LT_DLLAZY_OR_NOW DL_NOW
11604 # define LT_DLLAZY_OR_NOW 0
11611 /* When -fvisbility=hidden is used, assume the code has been annotated
11612 correspondingly for the symbols needed. */
11613 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11614 int fnord () __attribute__((visibility("default")));
11617 int fnord () { return 42; }
11620 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11621 int status = $lt_dlunknown;
11625 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11628 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11629 else puts (dlerror ());
11631 /* dlclose (self); */
11639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11640 (eval $ac_link) 2>&5
11642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11643 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11644 (./conftest; exit; ) >&5 2>/dev/null
11646 case x$lt_status in
11647 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11648 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11649 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11652 # compilation failed
11653 lt_cv_dlopen_self=no
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11661 $as_echo "$lt_cv_dlopen_self" >&6; }
11663 if test "x$lt_cv_dlopen_self" = xyes; then
11664 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11666 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11667 if ${lt_cv_dlopen_self_static+:} false; then :
11668 $as_echo_n "(cached) " >&6
11670 if test "$cross_compiling" = yes; then :
11671 lt_cv_dlopen_self_static=cross
11673 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11674 lt_status=$lt_dlunknown
11675 cat > conftest.$ac_ext <<_LT_EOF
11676 #line $LINENO "configure"
11677 #include "confdefs.h"
11686 # define LT_DLGLOBAL RTLD_GLOBAL
11689 # define LT_DLGLOBAL DL_GLOBAL
11691 # define LT_DLGLOBAL 0
11695 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11696 find out it does not work in some platform. */
11697 #ifndef LT_DLLAZY_OR_NOW
11699 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11702 # define LT_DLLAZY_OR_NOW DL_LAZY
11705 # define LT_DLLAZY_OR_NOW RTLD_NOW
11708 # define LT_DLLAZY_OR_NOW DL_NOW
11710 # define LT_DLLAZY_OR_NOW 0
11717 /* When -fvisbility=hidden is used, assume the code has been annotated
11718 correspondingly for the symbols needed. */
11719 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11720 int fnord () __attribute__((visibility("default")));
11723 int fnord () { return 42; }
11726 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11727 int status = $lt_dlunknown;
11731 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11734 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11735 else puts (dlerror ());
11737 /* dlclose (self); */
11745 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11746 (eval $ac_link) 2>&5
11748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11749 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11750 (./conftest; exit; ) >&5 2>/dev/null
11752 case x$lt_status in
11753 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11754 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11755 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11758 # compilation failed
11759 lt_cv_dlopen_self_static=no
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11767 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11770 CPPFLAGS="$save_CPPFLAGS"
11771 LDFLAGS="$save_LDFLAGS"
11776 case $lt_cv_dlopen_self in
11777 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11778 *) enable_dlopen_self=unknown ;;
11781 case $lt_cv_dlopen_self_static in
11782 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11783 *) enable_dlopen_self_static=unknown ;;
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11806 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11807 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11808 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11809 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11811 $as_echo "yes" >&6; }
11813 # FIXME - insert some real tests, host_os isn't really good enough
11816 if test -n "$STRIP" ; then
11817 striplib="$STRIP -x"
11818 old_striplib="$STRIP -S"
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11820 $as_echo "yes" >&6; }
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11823 $as_echo "no" >&6; }
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11828 $as_echo "no" >&6; }
11844 # Report which library types will actually be built
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11846 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11848 $as_echo "$can_build_shared" >&6; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11851 $as_echo_n "checking whether to build shared libraries... " >&6; }
11852 test "$can_build_shared" = "no" && enable_shared=no
11854 # On AIX, shared libraries and static libraries use the same namespace, and
11855 # are all built from PIC.
11858 test "$enable_shared" = yes && enable_static=no
11859 if test -n "$RANLIB"; then
11860 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11861 postinstall_cmds='$RANLIB $lib'
11866 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11867 test "$enable_shared" = yes && enable_static=no
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11872 $as_echo "$enable_shared" >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11875 $as_echo_n "checking whether to build static libraries... " >&6; }
11876 # Make sure either enable_shared or enable_static is yes.
11877 test "$enable_shared" = yes || enable_static=yes
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11879 $as_echo "$enable_static" >&6; }
11886 ac_cpp='$CPP $CPPFLAGS'
11887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11907 ac_config_commands="$ac_config_commands libtool"
11912 # Only expand once:
11915 # Check whether --enable-largefile was given.
11916 if test "${enable_largefile+set}" = set; then :
11917 enableval=$enable_largefile;
11920 if test "$enable_largefile" != no; then
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11923 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11924 if ${ac_cv_sys_largefile_CC+:} false; then :
11925 $as_echo_n "(cached) " >&6
11927 ac_cv_sys_largefile_CC=no
11928 if test "$GCC" != yes; then
11931 # IRIX 6.2 and later do not support large files by default,
11932 # so use the C compiler's -n32 option if that helps.
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11935 #include <sys/types.h>
11936 /* Check that off_t can represent 2**63 - 1 correctly.
11937 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11938 since some C++ compilers masquerading as C compilers
11939 incorrectly reject 9223372036854775807. */
11940 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11941 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11942 && LARGE_OFF_T % 2147483647 == 1)
11952 if ac_fn_c_try_compile "$LINENO"; then :
11955 rm -f core conftest.err conftest.$ac_objext
11957 if ac_fn_c_try_compile "$LINENO"; then :
11958 ac_cv_sys_largefile_CC=' -n32'; break
11960 rm -f core conftest.err conftest.$ac_objext
11964 rm -f conftest.$ac_ext
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11968 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
11969 if test "$ac_cv_sys_largefile_CC" != no; then
11970 CC=$CC$ac_cv_sys_largefile_CC
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11974 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11975 if ${ac_cv_sys_file_offset_bits+:} false; then :
11976 $as_echo_n "(cached) " >&6
11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11980 /* end confdefs.h. */
11981 #include <sys/types.h>
11982 /* Check that off_t can represent 2**63 - 1 correctly.
11983 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11984 since some C++ compilers masquerading as C compilers
11985 incorrectly reject 9223372036854775807. */
11986 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11987 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11988 && LARGE_OFF_T % 2147483647 == 1)
11998 if ac_fn_c_try_compile "$LINENO"; then :
11999 ac_cv_sys_file_offset_bits=no; break
12001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12003 /* end confdefs.h. */
12004 #define _FILE_OFFSET_BITS 64
12005 #include <sys/types.h>
12006 /* Check that off_t can represent 2**63 - 1 correctly.
12007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12008 since some C++ compilers masquerading as C compilers
12009 incorrectly reject 9223372036854775807. */
12010 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12012 && LARGE_OFF_T % 2147483647 == 1)
12022 if ac_fn_c_try_compile "$LINENO"; then :
12023 ac_cv_sys_file_offset_bits=64; break
12025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12026 ac_cv_sys_file_offset_bits=unknown
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12031 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12032 case $ac_cv_sys_file_offset_bits in #(
12035 cat >>confdefs.h <<_ACEOF
12036 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12041 if test $ac_cv_sys_file_offset_bits = unknown; then
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12043 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12044 if ${ac_cv_sys_large_files+:} false; then :
12045 $as_echo_n "(cached) " >&6
12048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12050 #include <sys/types.h>
12051 /* Check that off_t can represent 2**63 - 1 correctly.
12052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12053 since some C++ compilers masquerading as C compilers
12054 incorrectly reject 9223372036854775807. */
12055 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12057 && LARGE_OFF_T % 2147483647 == 1)
12067 if ac_fn_c_try_compile "$LINENO"; then :
12068 ac_cv_sys_large_files=no; break
12070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12073 #define _LARGE_FILES 1
12074 #include <sys/types.h>
12075 /* Check that off_t can represent 2**63 - 1 correctly.
12076 We can't simply define LARGE_OFF_T to be 9223372036854775807,
12077 since some C++ compilers masquerading as C compilers
12078 incorrectly reject 9223372036854775807. */
12079 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
12080 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12081 && LARGE_OFF_T % 2147483647 == 1)
12091 if ac_fn_c_try_compile "$LINENO"; then :
12092 ac_cv_sys_large_files=1; break
12094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12095 ac_cv_sys_large_files=unknown
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12100 $as_echo "$ac_cv_sys_large_files" >&6; }
12101 case $ac_cv_sys_large_files in #(
12104 cat >>confdefs.h <<_ACEOF
12105 #define _LARGE_FILES $ac_cv_sys_large_files
12115 for ac_prog in 'bison -y' byacc
12117 # Extract the first word of "$ac_prog", so it can be a program name with args.
12118 set dummy $ac_prog; ac_word=$2
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12120 $as_echo_n "checking for $ac_word... " >&6; }
12121 if ${ac_cv_prog_YACC+:} false; then :
12122 $as_echo_n "(cached) " >&6
12124 if test -n "$YACC"; then
12125 ac_cv_prog_YACC="$YACC" # Let the user override the test.
12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128 for as_dir in $PATH
12131 test -z "$as_dir" && as_dir=.
12132 for ac_exec_ext in '' $ac_executable_extensions; do
12133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12134 ac_cv_prog_YACC="$ac_prog"
12135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12144 YACC=$ac_cv_prog_YACC
12145 if test -n "$YACC"; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12147 $as_echo "$YACC" >&6; }
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150 $as_echo "no" >&6; }
12154 test -n "$YACC" && break
12156 test -n "$YACC" || YACC="yacc"
12158 for ac_prog in flex lex
12160 # Extract the first word of "$ac_prog", so it can be a program name with args.
12161 set dummy $ac_prog; ac_word=$2
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12163 $as_echo_n "checking for $ac_word... " >&6; }
12164 if ${ac_cv_prog_LEX+:} false; then :
12165 $as_echo_n "(cached) " >&6
12167 if test -n "$LEX"; then
12168 ac_cv_prog_LEX="$LEX" # Let the user override the test.
12170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12171 for as_dir in $PATH
12174 test -z "$as_dir" && as_dir=.
12175 for ac_exec_ext in '' $ac_executable_extensions; do
12176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12177 ac_cv_prog_LEX="$ac_prog"
12178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12187 LEX=$ac_cv_prog_LEX
12188 if test -n "$LEX"; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12190 $as_echo "$LEX" >&6; }
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12193 $as_echo "no" >&6; }
12197 test -n "$LEX" && break
12199 test -n "$LEX" || LEX=":"
12201 if test "x$LEX" != "x:"; then
12202 cat >conftest.l <<_ACEOF
12208 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
12209 yyless ((input () != 0)); }
12210 f { unput (yytext[0]); }
12211 . { BEGIN INITIAL; }
12213 #ifdef YYTEXT_POINTER
12214 extern char *yytext;
12219 return ! yylex () + ! yywrap ();
12222 { { ac_try="$LEX conftest.l"
12223 case "(($ac_try" in
12224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12225 *) ac_try_echo=$ac_try;;
12227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12228 $as_echo "$ac_try_echo"; } >&5
12229 (eval "$LEX conftest.l") 2>&5
12231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12232 test $ac_status = 0; }
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
12234 $as_echo_n "checking lex output file root... " >&6; }
12235 if ${ac_cv_prog_lex_root+:} false; then :
12236 $as_echo_n "(cached) " >&6
12239 if test -f lex.yy.c; then
12240 ac_cv_prog_lex_root=lex.yy
12241 elif test -f lexyy.c; then
12242 ac_cv_prog_lex_root=lexyy
12244 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12248 $as_echo "$ac_cv_prog_lex_root" >&6; }
12249 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12251 if test -z "${LEXLIB+set}"; then
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
12253 $as_echo_n "checking lex library... " >&6; }
12254 if ${ac_cv_lib_lex+:} false; then :
12255 $as_echo_n "(cached) " >&6
12259 ac_cv_lib_lex='none needed'
12260 for ac_lib in '' -lfl -ll; do
12261 LIBS="$ac_lib $ac_save_LIBS"
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12264 `cat $LEX_OUTPUT_ROOT.c`
12266 if ac_fn_c_try_link "$LINENO"; then :
12267 ac_cv_lib_lex=$ac_lib
12269 rm -f core conftest.err conftest.$ac_objext \
12270 conftest$ac_exeext conftest.$ac_ext
12271 test "$ac_cv_lib_lex" != 'none needed' && break
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12277 $as_echo "$ac_cv_lib_lex" >&6; }
12278 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12283 $as_echo_n "checking whether yytext is a pointer... " >&6; }
12284 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
12285 $as_echo_n "(cached) " >&6
12287 # POSIX says lex can declare yytext either as a pointer or an array; the
12288 # default is implementation-dependent. Figure out which it is, since
12289 # not all implementations provide the %pointer and %array declarations.
12290 ac_cv_prog_lex_yytext_pointer=no
12292 LIBS="$LEXLIB $ac_save_LIBS"
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 #define YYTEXT_POINTER 1
12297 `cat $LEX_OUTPUT_ROOT.c`
12299 if ac_fn_c_try_link "$LINENO"; then :
12300 ac_cv_prog_lex_yytext_pointer=yes
12302 rm -f core conftest.err conftest.$ac_objext \
12303 conftest$ac_exeext conftest.$ac_ext
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12308 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
12309 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12311 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
12314 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12318 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12319 if ${ac_cv_c_const+:} false; then :
12320 $as_echo_n "(cached) " >&6
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12329 #ifndef __cplusplus
12330 /* Ultrix mips cc rejects this sort of thing. */
12331 typedef int charset[2];
12332 const charset cs = { 0, 0 };
12333 /* SunOS 4.1.1 cc rejects this. */
12334 char const *const *pcpcc;
12336 /* NEC SVR4.0.2 mips cc rejects this. */
12337 struct point {int x, y;};
12338 static struct point const zero = {0,0};
12339 /* AIX XL C 1.02.0.0 rejects this.
12340 It does not let you subtract one const X* pointer from another in
12341 an arm of an if-expression whose if-part is not a constant
12343 const char *g = "string";
12344 pcpcc = &g + (g ? g-g : 0);
12345 /* HPUX 7.0 cc rejects these. */
12347 ppc = (char**) pcpcc;
12348 pcpcc = (char const *const *) ppc;
12349 { /* SCO 3.2v4 cc rejects this sort of thing. */
12352 char const *s = 0 ? (char *) 0 : (char const *) 0;
12357 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12358 int x[] = {25, 17};
12359 const int *foo = &x[0];
12362 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12363 typedef const int *iptr;
12367 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12368 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12369 struct s { int j; const int *ap[3]; } bx;
12370 struct s *b = &bx; b->j = 5;
12372 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12373 const int foo = 10;
12374 if (!foo) return 0;
12376 return !cs[0] && !zero.x;
12383 if ac_fn_c_try_compile "$LINENO"; then :
12388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12391 $as_echo "$ac_cv_c_const" >&6; }
12392 if test $ac_cv_c_const = no; then
12394 $as_echo "#define const /**/" >>confdefs.h
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
12400 $as_echo_n "checking for unsigned long long int... " >&6; }
12401 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
12402 $as_echo_n "(cached) " >&6
12404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12405 /* end confdefs.h. */
12407 /* For now, do not test the preprocessor; as of 2007 there are too many
12408 implementations with broken preprocessors. Perhaps this can
12409 be revisited in 2012. In the meantime, code should not expect
12410 #if to work with literals wider than 32 bits. */
12411 /* Test literals. */
12412 long long int ll = 9223372036854775807ll;
12413 long long int nll = -9223372036854775807LL;
12414 unsigned long long int ull = 18446744073709551615ULL;
12415 /* Test constant expressions. */
12416 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
12418 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
12424 /* Test availability of runtime routines for shift and division. */
12425 long long int llmax = 9223372036854775807ll;
12426 unsigned long long int ullmax = 18446744073709551615ull;
12427 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
12428 | (llmax / ll) | (llmax % ll)
12429 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
12430 | (ullmax / ull) | (ullmax % ull));
12436 if ac_fn_c_try_link "$LINENO"; then :
12437 ac_cv_type_unsigned_long_long_int=yes
12439 ac_cv_type_unsigned_long_long_int=no
12441 rm -f core conftest.err conftest.$ac_objext \
12442 conftest$ac_exeext conftest.$ac_ext
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
12445 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
12446 if test $ac_cv_type_unsigned_long_long_int = yes; then
12448 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
12454 if test $ac_cv_type_unsigned_long_long_int = yes; then
12455 GDBM_COUNT_T="unsigned long long int"
12457 GDBM_COUNT_T="unsigned long"
12463 [\\/$]* | ?:[\\/]*) ;;
12464 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12469 $as_echo_n "checking whether NLS is requested... " >&6; }
12470 # Check whether --enable-nls was given.
12471 if test "${enable_nls+set}" = set; then :
12472 enableval=$enable_nls; USE_NLS=$enableval
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12478 $as_echo "$USE_NLS" >&6; }
12483 GETTEXT_MACRO_VERSION=0.18
12488 # Prepare PATH_SEPARATOR.
12489 # The user is always right.
12490 if test "${PATH_SEPARATOR+set}" != set; then
12491 echo "#! /bin/sh" >conf$$.sh
12492 echo "exit 0" >>conf$$.sh
12494 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12502 # Find out how to test for executable files. Don't use a zero-byte file,
12503 # as systems may use methods other than mode bits to determine executability.
12504 cat >conf$$.file <<_ASEOF
12508 chmod +x conf$$.file
12509 if test -x conf$$.file >/dev/null 2>&1; then
12510 ac_executable_p="test -x"
12512 ac_executable_p="test -f"
12516 # Extract the first word of "msgfmt", so it can be a program name with args.
12517 set dummy msgfmt; ac_word=$2
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12519 $as_echo_n "checking for $ac_word... " >&6; }
12520 if ${ac_cv_path_MSGFMT+:} false; then :
12521 $as_echo_n "(cached) " >&6
12525 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12528 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12529 for ac_dir in $PATH; do
12531 test -z "$ac_dir" && ac_dir=.
12532 for ac_exec_ext in '' $ac_executable_extensions; do
12533 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12534 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12535 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12536 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12537 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12544 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12548 MSGFMT="$ac_cv_path_MSGFMT"
12549 if test "$MSGFMT" != ":"; then
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12551 $as_echo "$MSGFMT" >&6; }
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12554 $as_echo "no" >&6; }
12557 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12558 set dummy gmsgfmt; ac_word=$2
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12560 $as_echo_n "checking for $ac_word... " >&6; }
12561 if ${ac_cv_path_GMSGFMT+:} false; then :
12562 $as_echo_n "(cached) " >&6
12566 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12570 for as_dir in $PATH
12573 test -z "$as_dir" && as_dir=.
12574 for ac_exec_ext in '' $ac_executable_extensions; do
12575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12576 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12584 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12588 GMSGFMT=$ac_cv_path_GMSGFMT
12589 if test -n "$GMSGFMT"; then
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12591 $as_echo "$GMSGFMT" >&6; }
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12594 $as_echo "no" >&6; }
12599 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12600 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12601 *) MSGFMT_015=$MSGFMT ;;
12604 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12605 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12606 *) GMSGFMT_015=$GMSGFMT ;;
12611 # Prepare PATH_SEPARATOR.
12612 # The user is always right.
12613 if test "${PATH_SEPARATOR+set}" != set; then
12614 echo "#! /bin/sh" >conf$$.sh
12615 echo "exit 0" >>conf$$.sh
12617 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12625 # Find out how to test for executable files. Don't use a zero-byte file,
12626 # as systems may use methods other than mode bits to determine executability.
12627 cat >conf$$.file <<_ASEOF
12631 chmod +x conf$$.file
12632 if test -x conf$$.file >/dev/null 2>&1; then
12633 ac_executable_p="test -x"
12635 ac_executable_p="test -f"
12639 # Extract the first word of "xgettext", so it can be a program name with args.
12640 set dummy xgettext; ac_word=$2
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12642 $as_echo_n "checking for $ac_word... " >&6; }
12643 if ${ac_cv_path_XGETTEXT+:} false; then :
12644 $as_echo_n "(cached) " >&6
12646 case "$XGETTEXT" in
12648 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12651 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12652 for ac_dir in $PATH; do
12654 test -z "$ac_dir" && ac_dir=.
12655 for ac_exec_ext in '' $ac_executable_extensions; do
12656 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12657 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12658 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12659 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12660 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12667 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12671 XGETTEXT="$ac_cv_path_XGETTEXT"
12672 if test "$XGETTEXT" != ":"; then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12674 $as_echo "$XGETTEXT" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12682 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12683 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12684 *) XGETTEXT_015=$XGETTEXT ;;
12689 # Prepare PATH_SEPARATOR.
12690 # The user is always right.
12691 if test "${PATH_SEPARATOR+set}" != set; then
12692 echo "#! /bin/sh" >conf$$.sh
12693 echo "exit 0" >>conf$$.sh
12695 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12703 # Find out how to test for executable files. Don't use a zero-byte file,
12704 # as systems may use methods other than mode bits to determine executability.
12705 cat >conf$$.file <<_ASEOF
12709 chmod +x conf$$.file
12710 if test -x conf$$.file >/dev/null 2>&1; then
12711 ac_executable_p="test -x"
12713 ac_executable_p="test -f"
12717 # Extract the first word of "msgmerge", so it can be a program name with args.
12718 set dummy msgmerge; ac_word=$2
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12720 $as_echo_n "checking for $ac_word... " >&6; }
12721 if ${ac_cv_path_MSGMERGE+:} false; then :
12722 $as_echo_n "(cached) " >&6
12724 case "$MSGMERGE" in
12726 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12729 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12730 for ac_dir in $PATH; do
12732 test -z "$ac_dir" && ac_dir=.
12733 for ac_exec_ext in '' $ac_executable_extensions; do
12734 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12735 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12736 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12737 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12744 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12748 MSGMERGE="$ac_cv_path_MSGMERGE"
12749 if test "$MSGMERGE" != ":"; then
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12751 $as_echo "$MSGMERGE" >&6; }
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12754 $as_echo "no" >&6; }
12758 test -n "$localedir" || localedir='${datadir}/locale'
12761 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12764 ac_config_commands="$ac_config_commands po-directories"
12768 if test "X$prefix" = "XNONE"; then
12769 acl_final_prefix="$ac_default_prefix"
12771 acl_final_prefix="$prefix"
12773 if test "X$exec_prefix" = "XNONE"; then
12774 acl_final_exec_prefix='${prefix}'
12776 acl_final_exec_prefix="$exec_prefix"
12778 acl_save_prefix="$prefix"
12779 prefix="$acl_final_prefix"
12780 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12781 prefix="$acl_save_prefix"
12784 # Check whether --with-gnu-ld was given.
12785 if test "${with_gnu_ld+set}" = set; then :
12786 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12791 # Prepare PATH_SEPARATOR.
12792 # The user is always right.
12793 if test "${PATH_SEPARATOR+set}" != set; then
12794 echo "#! /bin/sh" >conf$$.sh
12795 echo "exit 0" >>conf$$.sh
12797 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12805 if test "$GCC" = yes; then
12806 # Check if gcc -print-prog-name=ld gives a path.
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12808 $as_echo_n "checking for ld used by GCC... " >&6; }
12811 # gcc leaves a trailing carriage return which upsets mingw
12812 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12814 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12817 # Accept absolute paths.
12818 [\\/]* | [A-Za-z]:[\\/]*)
12819 re_direlt='/[^/][^/]*/\.\./'
12820 # Canonicalize the path of ld
12821 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12822 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12823 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12825 test -z "$LD" && LD="$ac_prog"
12828 # If it fails, then pretend we aren't using GCC.
12832 # If it is relative, then search for the first ld in PATH.
12833 with_gnu_ld=unknown
12836 elif test "$with_gnu_ld" = yes; then
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12838 $as_echo_n "checking for GNU ld... " >&6; }
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12841 $as_echo_n "checking for non-GNU ld... " >&6; }
12843 if ${acl_cv_path_LD+:} false; then :
12844 $as_echo_n "(cached) " >&6
12846 if test -z "$LD"; then
12847 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12848 for ac_dir in $PATH; do
12849 test -z "$ac_dir" && ac_dir=.
12850 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12851 acl_cv_path_LD="$ac_dir/$ac_prog"
12852 # Check to see if the program is GNU ld. I'd rather use --version,
12853 # but apparently some GNU ld's only accept -v.
12854 # Break only if it was the GNU/non-GNU ld that we prefer.
12855 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12856 *GNU* | *'with BFD'*)
12857 test "$with_gnu_ld" != no && break ;;
12859 test "$with_gnu_ld" != yes && break ;;
12865 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12869 LD="$acl_cv_path_LD"
12870 if test -n "$LD"; then
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12872 $as_echo "$LD" >&6; }
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12875 $as_echo "no" >&6; }
12877 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12879 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12880 if ${acl_cv_prog_gnu_ld+:} false; then :
12881 $as_echo_n "(cached) " >&6
12883 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12884 case `$LD -v 2>&1 </dev/null` in
12885 *GNU* | *'with BFD'*)
12886 acl_cv_prog_gnu_ld=yes ;;
12888 acl_cv_prog_gnu_ld=no ;;
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12892 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12893 with_gnu_ld=$acl_cv_prog_gnu_ld
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12899 $as_echo_n "checking for shared library run path origin... " >&6; }
12900 if ${acl_cv_rpath+:} false; then :
12901 $as_echo_n "(cached) " >&6
12904 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12905 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12907 rm -f ./conftest.sh
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12912 $as_echo "$acl_cv_rpath" >&6; }
12914 acl_libext="$acl_cv_libext"
12915 acl_shlibext="$acl_cv_shlibext"
12916 acl_libname_spec="$acl_cv_libname_spec"
12917 acl_library_names_spec="$acl_cv_library_names_spec"
12918 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12919 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12920 acl_hardcode_direct="$acl_cv_hardcode_direct"
12921 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12922 # Check whether --enable-rpath was given.
12923 if test "${enable_rpath+set}" = set; then :
12924 enableval=$enable_rpath; :
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
12937 $as_echo_n "checking for 64-bit host... " >&6; }
12938 if ${gl_cv_solaris_64bit+:} false; then :
12939 $as_echo_n "(cached) " >&6
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12950 $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
12951 gl_cv_solaris_64bit=yes
12953 gl_cv_solaris_64bit=no
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
12960 $as_echo "$gl_cv_solaris_64bit" >&6; }
12961 if test $gl_cv_solaris_64bit = yes; then
12962 acl_libdirstem=lib/64
12963 case "$host_cpu" in
12964 sparc*) acl_libdirstem2=lib/sparcv9 ;;
12965 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
12970 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12971 if test -n "$searchpath"; then
12972 acl_save_IFS="${IFS= }"; IFS=":"
12973 for searchdir in $searchpath; do
12974 if test -d "$searchdir"; then
12975 case "$searchdir" in
12976 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12978 # Better ignore directories of this form. They are misleading.
12980 *) searchdir=`cd "$searchdir" && pwd`
12981 case "$searchdir" in
12982 */lib64 ) acl_libdirstem=lib64 ;;
12987 IFS="$acl_save_IFS"
12991 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
13006 acl_save_prefix="$prefix"
13007 prefix="$acl_final_prefix"
13008 acl_save_exec_prefix="$exec_prefix"
13009 exec_prefix="$acl_final_exec_prefix"
13011 eval additional_includedir=\"$includedir\"
13012 eval additional_libdir=\"$libdir\"
13014 exec_prefix="$acl_save_exec_prefix"
13015 prefix="$acl_save_prefix"
13018 # Check whether --with-libiconv-prefix was given.
13019 if test "${with_libiconv_prefix+set}" = set; then :
13020 withval=$with_libiconv_prefix;
13021 if test "X$withval" = "Xno"; then
13024 if test "X$withval" = "X"; then
13026 acl_save_prefix="$prefix"
13027 prefix="$acl_final_prefix"
13028 acl_save_exec_prefix="$exec_prefix"
13029 exec_prefix="$acl_final_exec_prefix"
13031 eval additional_includedir=\"$includedir\"
13032 eval additional_libdir=\"$libdir\"
13034 exec_prefix="$acl_save_exec_prefix"
13035 prefix="$acl_save_prefix"
13038 additional_includedir="$withval/include"
13039 additional_libdir="$withval/$acl_libdirstem"
13040 if test "$acl_libdirstem2" != "$acl_libdirstem" \
13041 && ! test -d "$withval/$acl_libdirstem"; then
13042 additional_libdir="$withval/$acl_libdirstem2"
13056 names_already_handled=
13057 names_next_round='iconv '
13058 while test -n "$names_next_round"; do
13059 names_this_round="$names_next_round"
13061 for name in $names_this_round; do
13063 for n in $names_already_handled; do
13064 if test "$n" = "$name"; then
13065 already_handled=yes
13069 if test -z "$already_handled"; then
13070 names_already_handled="$names_already_handled $name"
13071 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13072 eval value=\"\$HAVE_LIB$uppername\"
13073 if test -n "$value"; then
13074 if test "$value" = yes; then
13075 eval value=\"\$LIB$uppername\"
13076 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13077 eval value=\"\$LTLIB$uppername\"
13078 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13087 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13088 if test -n "$acl_shlibext"; then
13089 shrext=".$acl_shlibext" # typically: shrext=.so
13093 if test $use_additional = yes; then
13094 dir="$additional_libdir"
13095 if test -n "$acl_shlibext"; then
13096 if test -f "$dir/$libname$shrext"; then
13098 found_so="$dir/$libname$shrext"
13100 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13101 ver=`(cd "$dir" && \
13102 for f in "$libname$shrext".*; do echo "$f"; done \
13103 | sed -e "s,^$libname$shrext\\\\.,," \
13104 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13105 | sed 1q ) 2>/dev/null`
13106 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13108 found_so="$dir/$libname$shrext.$ver"
13111 eval library_names=\"$acl_library_names_spec\"
13112 for f in $library_names; do
13113 if test -f "$dir/$f"; then
13122 if test "X$found_dir" = "X"; then
13123 if test -f "$dir/$libname.$acl_libext"; then
13125 found_a="$dir/$libname.$acl_libext"
13128 if test "X$found_dir" != "X"; then
13129 if test -f "$dir/$libname.la"; then
13130 found_la="$dir/$libname.la"
13134 if test "X$found_dir" = "X"; then
13135 for x in $LDFLAGS $LTLIBICONV; do
13137 acl_save_prefix="$prefix"
13138 prefix="$acl_final_prefix"
13139 acl_save_exec_prefix="$exec_prefix"
13140 exec_prefix="$acl_final_exec_prefix"
13142 exec_prefix="$acl_save_exec_prefix"
13143 prefix="$acl_save_prefix"
13147 dir=`echo "X$x" | sed -e 's/^X-L//'`
13148 if test -n "$acl_shlibext"; then
13149 if test -f "$dir/$libname$shrext"; then
13151 found_so="$dir/$libname$shrext"
13153 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13154 ver=`(cd "$dir" && \
13155 for f in "$libname$shrext".*; do echo "$f"; done \
13156 | sed -e "s,^$libname$shrext\\\\.,," \
13157 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13158 | sed 1q ) 2>/dev/null`
13159 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13161 found_so="$dir/$libname$shrext.$ver"
13164 eval library_names=\"$acl_library_names_spec\"
13165 for f in $library_names; do
13166 if test -f "$dir/$f"; then
13175 if test "X$found_dir" = "X"; then
13176 if test -f "$dir/$libname.$acl_libext"; then
13178 found_a="$dir/$libname.$acl_libext"
13181 if test "X$found_dir" != "X"; then
13182 if test -f "$dir/$libname.la"; then
13183 found_la="$dir/$libname.la"
13188 if test "X$found_dir" != "X"; then
13193 if test "X$found_dir" != "X"; then
13194 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13195 if test "X$found_so" != "X"; then
13196 if test "$enable_rpath" = no \
13197 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
13198 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
13199 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13202 for x in $ltrpathdirs; do
13203 if test "X$x" = "X$found_dir"; then
13208 if test -z "$haveit"; then
13209 ltrpathdirs="$ltrpathdirs $found_dir"
13211 if test "$acl_hardcode_direct" = yes; then
13212 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13214 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13215 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13217 for x in $rpathdirs; do
13218 if test "X$x" = "X$found_dir"; then
13223 if test -z "$haveit"; then
13224 rpathdirs="$rpathdirs $found_dir"
13228 for x in $LDFLAGS $LIBICONV; do
13230 acl_save_prefix="$prefix"
13231 prefix="$acl_final_prefix"
13232 acl_save_exec_prefix="$exec_prefix"
13233 exec_prefix="$acl_final_exec_prefix"
13235 exec_prefix="$acl_save_exec_prefix"
13236 prefix="$acl_save_prefix"
13238 if test "X$x" = "X-L$found_dir"; then
13243 if test -z "$haveit"; then
13244 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13246 if test "$acl_hardcode_minus_L" != no; then
13247 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13249 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13255 if test "X$found_a" != "X"; then
13256 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13258 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13261 additional_includedir=
13262 case "$found_dir" in
13263 */$acl_libdirstem | */$acl_libdirstem/)
13264 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13265 if test "$name" = 'iconv'; then
13266 LIBICONV_PREFIX="$basedir"
13268 additional_includedir="$basedir/include"
13270 */$acl_libdirstem2 | */$acl_libdirstem2/)
13271 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
13272 if test "$name" = 'iconv'; then
13273 LIBICONV_PREFIX="$basedir"
13275 additional_includedir="$basedir/include"
13278 if test "X$additional_includedir" != "X"; then
13279 if test "X$additional_includedir" != "X/usr/include"; then
13281 if test "X$additional_includedir" = "X/usr/local/include"; then
13282 if test -n "$GCC"; then
13284 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13288 if test -z "$haveit"; then
13289 for x in $CPPFLAGS $INCICONV; do
13291 acl_save_prefix="$prefix"
13292 prefix="$acl_final_prefix"
13293 acl_save_exec_prefix="$exec_prefix"
13294 exec_prefix="$acl_final_exec_prefix"
13296 exec_prefix="$acl_save_exec_prefix"
13297 prefix="$acl_save_prefix"
13299 if test "X$x" = "X-I$additional_includedir"; then
13304 if test -z "$haveit"; then
13305 if test -d "$additional_includedir"; then
13306 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13312 if test -n "$found_la"; then
13313 save_libdir="$libdir"
13314 case "$found_la" in
13315 */* | *\\*) . "$found_la" ;;
13316 *) . "./$found_la" ;;
13318 libdir="$save_libdir"
13319 for dep in $dependency_libs; do
13322 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13323 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
13324 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
13326 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
13327 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
13328 if test -n "$GCC"; then
13330 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13334 if test -z "$haveit"; then
13336 for x in $LDFLAGS $LIBICONV; do
13338 acl_save_prefix="$prefix"
13339 prefix="$acl_final_prefix"
13340 acl_save_exec_prefix="$exec_prefix"
13341 exec_prefix="$acl_final_exec_prefix"
13343 exec_prefix="$acl_save_exec_prefix"
13344 prefix="$acl_save_prefix"
13346 if test "X$x" = "X-L$additional_libdir"; then
13351 if test -z "$haveit"; then
13352 if test -d "$additional_libdir"; then
13353 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13357 for x in $LDFLAGS $LTLIBICONV; do
13359 acl_save_prefix="$prefix"
13360 prefix="$acl_final_prefix"
13361 acl_save_exec_prefix="$exec_prefix"
13362 exec_prefix="$acl_final_exec_prefix"
13364 exec_prefix="$acl_save_exec_prefix"
13365 prefix="$acl_save_prefix"
13367 if test "X$x" = "X-L$additional_libdir"; then
13372 if test -z "$haveit"; then
13373 if test -d "$additional_libdir"; then
13374 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13381 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13382 if test "$enable_rpath" != no; then
13384 for x in $rpathdirs; do
13385 if test "X$x" = "X$dir"; then
13390 if test -z "$haveit"; then
13391 rpathdirs="$rpathdirs $dir"
13394 for x in $ltrpathdirs; do
13395 if test "X$x" = "X$dir"; then
13400 if test -z "$haveit"; then
13401 ltrpathdirs="$ltrpathdirs $dir"
13406 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13409 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13412 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13413 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13419 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13420 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13426 if test "X$rpathdirs" != "X"; then
13427 if test -n "$acl_hardcode_libdir_separator"; then
13429 for found_dir in $rpathdirs; do
13430 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13432 acl_save_libdir="$libdir"
13434 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13435 libdir="$acl_save_libdir"
13436 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13438 for found_dir in $rpathdirs; do
13439 acl_save_libdir="$libdir"
13440 libdir="$found_dir"
13441 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13442 libdir="$acl_save_libdir"
13443 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13447 if test "X$ltrpathdirs" != "X"; then
13448 for found_dir in $ltrpathdirs; do
13449 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13484 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13485 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13486 $as_echo_n "(cached) " >&6
13488 gt_save_LIBS="$LIBS"
13489 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13492 #include <CoreFoundation/CFPreferences.h>
13496 CFPreferencesCopyAppValue(NULL, NULL)
13501 if ac_fn_c_try_link "$LINENO"; then :
13502 gt_cv_func_CFPreferencesCopyAppValue=yes
13504 gt_cv_func_CFPreferencesCopyAppValue=no
13506 rm -f core conftest.err conftest.$ac_objext \
13507 conftest$ac_exeext conftest.$ac_ext
13508 LIBS="$gt_save_LIBS"
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13511 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13512 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13514 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13518 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13519 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13520 $as_echo_n "(cached) " >&6
13522 gt_save_LIBS="$LIBS"
13523 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525 /* end confdefs.h. */
13526 #include <CoreFoundation/CFLocale.h>
13530 CFLocaleCopyCurrent();
13535 if ac_fn_c_try_link "$LINENO"; then :
13536 gt_cv_func_CFLocaleCopyCurrent=yes
13538 gt_cv_func_CFLocaleCopyCurrent=no
13540 rm -f core conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext
13542 LIBS="$gt_save_LIBS"
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13545 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13546 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13548 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13552 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13553 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13565 case " $gt_needs " in
13566 *" need-formatstring-macros "*) gt_api_version=3 ;;
13567 *" need-ngettext "*) gt_api_version=2 ;;
13568 *) gt_api_version=1 ;;
13570 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13571 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13573 if test "$USE_NLS" = "yes"; then
13574 gt_use_preinstalled_gnugettext=no
13577 if test $gt_api_version -ge 3; then
13578 gt_revision_test_code='
13579 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13580 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13582 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13585 gt_revision_test_code=
13587 if test $gt_api_version -ge 2; then
13588 gt_expression_test_code=' + * ngettext ("", "", 0)'
13590 gt_expression_test_code=
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13594 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13595 if eval \${$gt_func_gnugettext_libc+:} false; then :
13596 $as_echo_n "(cached) " >&6
13598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13600 #include <libintl.h>
13601 $gt_revision_test_code
13602 extern int _nl_msg_cat_cntr;
13603 extern int *_nl_domain_bindings;
13607 bindtextdomain ("", "");
13608 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13613 if ac_fn_c_try_link "$LINENO"; then :
13614 eval "$gt_func_gnugettext_libc=yes"
13616 eval "$gt_func_gnugettext_libc=no"
13618 rm -f core conftest.err conftest.$ac_objext \
13619 conftest$ac_exeext conftest.$ac_ext
13621 eval ac_res=\$$gt_func_gnugettext_libc
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13623 $as_echo "$ac_res" >&6; }
13625 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13631 am_save_CPPFLAGS="$CPPFLAGS"
13633 for element in $INCICONV; do
13635 for x in $CPPFLAGS; do
13637 acl_save_prefix="$prefix"
13638 prefix="$acl_final_prefix"
13639 acl_save_exec_prefix="$exec_prefix"
13640 exec_prefix="$acl_final_exec_prefix"
13642 exec_prefix="$acl_save_exec_prefix"
13643 prefix="$acl_save_prefix"
13645 if test "X$x" = "X$element"; then
13650 if test -z "$haveit"; then
13651 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13657 $as_echo_n "checking for iconv... " >&6; }
13658 if ${am_cv_func_iconv+:} false; then :
13659 $as_echo_n "(cached) " >&6
13662 am_cv_func_iconv="no, consider installing GNU libiconv"
13664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13665 /* end confdefs.h. */
13666 #include <stdlib.h>
13671 iconv_t cd = iconv_open("","");
13672 iconv(cd,NULL,NULL,NULL,NULL);
13678 if ac_fn_c_try_link "$LINENO"; then :
13679 am_cv_func_iconv=yes
13681 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext
13683 if test "$am_cv_func_iconv" != yes; then
13684 am_save_LIBS="$LIBS"
13685 LIBS="$LIBS $LIBICONV"
13686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13687 /* end confdefs.h. */
13688 #include <stdlib.h>
13693 iconv_t cd = iconv_open("","");
13694 iconv(cd,NULL,NULL,NULL,NULL);
13700 if ac_fn_c_try_link "$LINENO"; then :
13701 am_cv_lib_iconv=yes
13702 am_cv_func_iconv=yes
13704 rm -f core conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13706 LIBS="$am_save_LIBS"
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13711 $as_echo "$am_cv_func_iconv" >&6; }
13712 if test "$am_cv_func_iconv" = yes; then
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13714 $as_echo_n "checking for working iconv... " >&6; }
13715 if ${am_cv_func_iconv_works+:} false; then :
13716 $as_echo_n "(cached) " >&6
13719 am_save_LIBS="$LIBS"
13720 if test $am_cv_lib_iconv = yes; then
13721 LIBS="$LIBS $LIBICONV"
13723 if test "$cross_compiling" = yes; then :
13725 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13726 *) am_cv_func_iconv_works="guessing yes" ;;
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13733 #include <string.h>
13736 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13739 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13740 if (cd_utf8_to_88591 != (iconv_t)(-1))
13742 static const char input[] = "\342\202\254"; /* EURO SIGN */
13744 const char *inptr = input;
13745 size_t inbytesleft = strlen (input);
13746 char *outptr = buf;
13747 size_t outbytesleft = sizeof (buf);
13748 size_t res = iconv (cd_utf8_to_88591,
13749 (char **) &inptr, &inbytesleft,
13750 &outptr, &outbytesleft);
13755 /* Test against Solaris 10 bug: Failures are not distinguishable from
13756 successful returns. */
13758 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
13759 if (cd_ascii_to_88591 != (iconv_t)(-1))
13761 static const char input[] = "\263";
13763 const char *inptr = input;
13764 size_t inbytesleft = strlen (input);
13765 char *outptr = buf;
13766 size_t outbytesleft = sizeof (buf);
13767 size_t res = iconv (cd_ascii_to_88591,
13768 (char **) &inptr, &inbytesleft,
13769 &outptr, &outbytesleft);
13774 #if 0 /* This bug could be worked around by the caller. */
13775 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13777 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13778 if (cd_88591_to_utf8 != (iconv_t)(-1))
13780 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13782 const char *inptr = input;
13783 size_t inbytesleft = strlen (input);
13784 char *outptr = buf;
13785 size_t outbytesleft = sizeof (buf);
13786 size_t res = iconv (cd_88591_to_utf8,
13787 (char **) &inptr, &inbytesleft,
13788 &outptr, &outbytesleft);
13794 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13796 if (/* Try standardized names. */
13797 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13798 /* Try IRIX, OSF/1 names. */
13799 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13800 /* Try AIX names. */
13801 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13802 /* Try HP-UX names. */
13803 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13808 if ac_fn_c_try_run "$LINENO"; then :
13809 am_cv_func_iconv_works=yes
13811 am_cv_func_iconv_works=no
13813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13814 conftest.$ac_objext conftest.beam conftest.$ac_ext
13817 LIBS="$am_save_LIBS"
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13821 $as_echo "$am_cv_func_iconv_works" >&6; }
13822 case "$am_cv_func_iconv_works" in
13823 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13824 *) am_func_iconv=yes ;;
13827 am_func_iconv=no am_cv_lib_iconv=no
13829 if test "$am_func_iconv" = yes; then
13831 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13834 if test "$am_cv_lib_iconv" = yes; then
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13836 $as_echo_n "checking how to link with libiconv... " >&6; }
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13838 $as_echo "$LIBICONV" >&6; }
13840 CPPFLAGS="$am_save_CPPFLAGS"
13857 acl_save_prefix="$prefix"
13858 prefix="$acl_final_prefix"
13859 acl_save_exec_prefix="$exec_prefix"
13860 exec_prefix="$acl_final_exec_prefix"
13862 eval additional_includedir=\"$includedir\"
13863 eval additional_libdir=\"$libdir\"
13865 exec_prefix="$acl_save_exec_prefix"
13866 prefix="$acl_save_prefix"
13869 # Check whether --with-libintl-prefix was given.
13870 if test "${with_libintl_prefix+set}" = set; then :
13871 withval=$with_libintl_prefix;
13872 if test "X$withval" = "Xno"; then
13875 if test "X$withval" = "X"; then
13877 acl_save_prefix="$prefix"
13878 prefix="$acl_final_prefix"
13879 acl_save_exec_prefix="$exec_prefix"
13880 exec_prefix="$acl_final_exec_prefix"
13882 eval additional_includedir=\"$includedir\"
13883 eval additional_libdir=\"$libdir\"
13885 exec_prefix="$acl_save_exec_prefix"
13886 prefix="$acl_save_prefix"
13889 additional_includedir="$withval/include"
13890 additional_libdir="$withval/$acl_libdirstem"
13891 if test "$acl_libdirstem2" != "$acl_libdirstem" \
13892 && ! test -d "$withval/$acl_libdirstem"; then
13893 additional_libdir="$withval/$acl_libdirstem2"
13907 names_already_handled=
13908 names_next_round='intl '
13909 while test -n "$names_next_round"; do
13910 names_this_round="$names_next_round"
13912 for name in $names_this_round; do
13914 for n in $names_already_handled; do
13915 if test "$n" = "$name"; then
13916 already_handled=yes
13920 if test -z "$already_handled"; then
13921 names_already_handled="$names_already_handled $name"
13922 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13923 eval value=\"\$HAVE_LIB$uppername\"
13924 if test -n "$value"; then
13925 if test "$value" = yes; then
13926 eval value=\"\$LIB$uppername\"
13927 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13928 eval value=\"\$LTLIB$uppername\"
13929 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13938 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13939 if test -n "$acl_shlibext"; then
13940 shrext=".$acl_shlibext" # typically: shrext=.so
13944 if test $use_additional = yes; then
13945 dir="$additional_libdir"
13946 if test -n "$acl_shlibext"; then
13947 if test -f "$dir/$libname$shrext"; then
13949 found_so="$dir/$libname$shrext"
13951 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13952 ver=`(cd "$dir" && \
13953 for f in "$libname$shrext".*; do echo "$f"; done \
13954 | sed -e "s,^$libname$shrext\\\\.,," \
13955 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13956 | sed 1q ) 2>/dev/null`
13957 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13959 found_so="$dir/$libname$shrext.$ver"
13962 eval library_names=\"$acl_library_names_spec\"
13963 for f in $library_names; do
13964 if test -f "$dir/$f"; then
13973 if test "X$found_dir" = "X"; then
13974 if test -f "$dir/$libname.$acl_libext"; then
13976 found_a="$dir/$libname.$acl_libext"
13979 if test "X$found_dir" != "X"; then
13980 if test -f "$dir/$libname.la"; then
13981 found_la="$dir/$libname.la"
13985 if test "X$found_dir" = "X"; then
13986 for x in $LDFLAGS $LTLIBINTL; do
13988 acl_save_prefix="$prefix"
13989 prefix="$acl_final_prefix"
13990 acl_save_exec_prefix="$exec_prefix"
13991 exec_prefix="$acl_final_exec_prefix"
13993 exec_prefix="$acl_save_exec_prefix"
13994 prefix="$acl_save_prefix"
13998 dir=`echo "X$x" | sed -e 's/^X-L//'`
13999 if test -n "$acl_shlibext"; then
14000 if test -f "$dir/$libname$shrext"; then
14002 found_so="$dir/$libname$shrext"
14004 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14005 ver=`(cd "$dir" && \
14006 for f in "$libname$shrext".*; do echo "$f"; done \
14007 | sed -e "s,^$libname$shrext\\\\.,," \
14008 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14009 | sed 1q ) 2>/dev/null`
14010 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14012 found_so="$dir/$libname$shrext.$ver"
14015 eval library_names=\"$acl_library_names_spec\"
14016 for f in $library_names; do
14017 if test -f "$dir/$f"; then
14026 if test "X$found_dir" = "X"; then
14027 if test -f "$dir/$libname.$acl_libext"; then
14029 found_a="$dir/$libname.$acl_libext"
14032 if test "X$found_dir" != "X"; then
14033 if test -f "$dir/$libname.la"; then
14034 found_la="$dir/$libname.la"
14039 if test "X$found_dir" != "X"; then
14044 if test "X$found_dir" != "X"; then
14045 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14046 if test "X$found_so" != "X"; then
14047 if test "$enable_rpath" = no \
14048 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
14049 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
14050 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14053 for x in $ltrpathdirs; do
14054 if test "X$x" = "X$found_dir"; then
14059 if test -z "$haveit"; then
14060 ltrpathdirs="$ltrpathdirs $found_dir"
14062 if test "$acl_hardcode_direct" = yes; then
14063 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14065 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14066 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14068 for x in $rpathdirs; do
14069 if test "X$x" = "X$found_dir"; then
14074 if test -z "$haveit"; then
14075 rpathdirs="$rpathdirs $found_dir"
14079 for x in $LDFLAGS $LIBINTL; do
14081 acl_save_prefix="$prefix"
14082 prefix="$acl_final_prefix"
14083 acl_save_exec_prefix="$exec_prefix"
14084 exec_prefix="$acl_final_exec_prefix"
14086 exec_prefix="$acl_save_exec_prefix"
14087 prefix="$acl_save_prefix"
14089 if test "X$x" = "X-L$found_dir"; then
14094 if test -z "$haveit"; then
14095 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14097 if test "$acl_hardcode_minus_L" != no; then
14098 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14100 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14106 if test "X$found_a" != "X"; then
14107 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14109 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14112 additional_includedir=
14113 case "$found_dir" in
14114 */$acl_libdirstem | */$acl_libdirstem/)
14115 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14116 if test "$name" = 'intl'; then
14117 LIBINTL_PREFIX="$basedir"
14119 additional_includedir="$basedir/include"
14121 */$acl_libdirstem2 | */$acl_libdirstem2/)
14122 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
14123 if test "$name" = 'intl'; then
14124 LIBINTL_PREFIX="$basedir"
14126 additional_includedir="$basedir/include"
14129 if test "X$additional_includedir" != "X"; then
14130 if test "X$additional_includedir" != "X/usr/include"; then
14132 if test "X$additional_includedir" = "X/usr/local/include"; then
14133 if test -n "$GCC"; then
14135 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14139 if test -z "$haveit"; then
14140 for x in $CPPFLAGS $INCINTL; do
14142 acl_save_prefix="$prefix"
14143 prefix="$acl_final_prefix"
14144 acl_save_exec_prefix="$exec_prefix"
14145 exec_prefix="$acl_final_exec_prefix"
14147 exec_prefix="$acl_save_exec_prefix"
14148 prefix="$acl_save_prefix"
14150 if test "X$x" = "X-I$additional_includedir"; then
14155 if test -z "$haveit"; then
14156 if test -d "$additional_includedir"; then
14157 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14163 if test -n "$found_la"; then
14164 save_libdir="$libdir"
14165 case "$found_la" in
14166 */* | *\\*) . "$found_la" ;;
14167 *) . "./$found_la" ;;
14169 libdir="$save_libdir"
14170 for dep in $dependency_libs; do
14173 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14174 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
14175 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
14177 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
14178 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
14179 if test -n "$GCC"; then
14181 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14185 if test -z "$haveit"; then
14187 for x in $LDFLAGS $LIBINTL; do
14189 acl_save_prefix="$prefix"
14190 prefix="$acl_final_prefix"
14191 acl_save_exec_prefix="$exec_prefix"
14192 exec_prefix="$acl_final_exec_prefix"
14194 exec_prefix="$acl_save_exec_prefix"
14195 prefix="$acl_save_prefix"
14197 if test "X$x" = "X-L$additional_libdir"; then
14202 if test -z "$haveit"; then
14203 if test -d "$additional_libdir"; then
14204 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14208 for x in $LDFLAGS $LTLIBINTL; do
14210 acl_save_prefix="$prefix"
14211 prefix="$acl_final_prefix"
14212 acl_save_exec_prefix="$exec_prefix"
14213 exec_prefix="$acl_final_exec_prefix"
14215 exec_prefix="$acl_save_exec_prefix"
14216 prefix="$acl_save_prefix"
14218 if test "X$x" = "X-L$additional_libdir"; then
14223 if test -z "$haveit"; then
14224 if test -d "$additional_libdir"; then
14225 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14232 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14233 if test "$enable_rpath" != no; then
14235 for x in $rpathdirs; do
14236 if test "X$x" = "X$dir"; then
14241 if test -z "$haveit"; then
14242 rpathdirs="$rpathdirs $dir"
14245 for x in $ltrpathdirs; do
14246 if test "X$x" = "X$dir"; then
14251 if test -z "$haveit"; then
14252 ltrpathdirs="$ltrpathdirs $dir"
14257 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14260 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14263 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14264 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14270 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14271 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14277 if test "X$rpathdirs" != "X"; then
14278 if test -n "$acl_hardcode_libdir_separator"; then
14280 for found_dir in $rpathdirs; do
14281 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14283 acl_save_libdir="$libdir"
14285 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14286 libdir="$acl_save_libdir"
14287 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14289 for found_dir in $rpathdirs; do
14290 acl_save_libdir="$libdir"
14291 libdir="$found_dir"
14292 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14293 libdir="$acl_save_libdir"
14294 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14298 if test "X$ltrpathdirs" != "X"; then
14299 for found_dir in $ltrpathdirs; do
14300 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14310 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14311 if eval \${$gt_func_gnugettext_libintl+:} false; then :
14312 $as_echo_n "(cached) " >&6
14314 gt_save_CPPFLAGS="$CPPFLAGS"
14315 CPPFLAGS="$CPPFLAGS $INCINTL"
14316 gt_save_LIBS="$LIBS"
14317 LIBS="$LIBS $LIBINTL"
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14320 #include <libintl.h>
14321 $gt_revision_test_code
14322 extern int _nl_msg_cat_cntr;
14327 const char *_nl_expand_alias (const char *);
14331 bindtextdomain ("", "");
14332 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14337 if ac_fn_c_try_link "$LINENO"; then :
14338 eval "$gt_func_gnugettext_libintl=yes"
14340 eval "$gt_func_gnugettext_libintl=no"
14342 rm -f core conftest.err conftest.$ac_objext \
14343 conftest$ac_exeext conftest.$ac_ext
14344 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14345 LIBS="$LIBS $LIBICONV"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14348 #include <libintl.h>
14349 $gt_revision_test_code
14350 extern int _nl_msg_cat_cntr;
14355 const char *_nl_expand_alias (const char *);
14359 bindtextdomain ("", "");
14360 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 LIBINTL="$LIBINTL $LIBICONV"
14367 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14368 eval "$gt_func_gnugettext_libintl=yes"
14371 rm -f core conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14374 CPPFLAGS="$gt_save_CPPFLAGS"
14375 LIBS="$gt_save_LIBS"
14377 eval ac_res=\$$gt_func_gnugettext_libintl
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14379 $as_echo "$ac_res" >&6; }
14382 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14383 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14384 && test "$PACKAGE" != gettext-runtime \
14385 && test "$PACKAGE" != gettext-tools; }; then
14386 gt_use_preinstalled_gnugettext=yes
14395 if test -n "$INTL_MACOSX_LIBS"; then
14396 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14397 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14398 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14399 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14403 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14404 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14406 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14414 $as_echo_n "checking whether to use NLS... " >&6; }
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14416 $as_echo "$USE_NLS" >&6; }
14417 if test "$USE_NLS" = "yes"; then
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14419 $as_echo_n "checking where the gettext function comes from... " >&6; }
14420 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14421 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14422 gt_source="external libintl"
14427 gt_source="included intl directory"
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14430 $as_echo "$gt_source" >&6; }
14433 if test "$USE_NLS" = "yes"; then
14435 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14436 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14438 $as_echo_n "checking how to link with libintl... " >&6; }
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14440 $as_echo "$LIBINTL" >&6; }
14442 for element in $INCINTL; do
14444 for x in $CPPFLAGS; do
14446 acl_save_prefix="$prefix"
14447 prefix="$acl_final_prefix"
14448 acl_save_exec_prefix="$exec_prefix"
14449 exec_prefix="$acl_final_exec_prefix"
14451 exec_prefix="$acl_save_exec_prefix"
14452 prefix="$acl_save_prefix"
14454 if test "X$x" = "X$element"; then
14459 if test -z "$haveit"; then
14460 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14467 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14470 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14479 INTLLIBS="$LIBINTL"
14488 for ac_header in sys/file.h sys/termios.h string.h locale.h getopt.h
14490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14491 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14492 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14493 cat >>confdefs.h <<_ACEOF
14494 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldbm" >&5
14503 $as_echo_n "checking for main in -ldbm... " >&6; }
14504 if ${ac_cv_lib_dbm_main+:} false; then :
14505 $as_echo_n "(cached) " >&6
14507 ac_check_lib_save_LIBS=$LIBS
14509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14510 /* end confdefs.h. */
14521 if ac_fn_c_try_link "$LINENO"; then :
14522 ac_cv_lib_dbm_main=yes
14524 ac_cv_lib_dbm_main=no
14526 rm -f core conftest.err conftest.$ac_objext \
14527 conftest$ac_exeext conftest.$ac_ext
14528 LIBS=$ac_check_lib_save_LIBS
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbm_main" >&5
14531 $as_echo "$ac_cv_lib_dbm_main" >&6; }
14532 if test "x$ac_cv_lib_dbm_main" = xyes; then :
14533 cat >>confdefs.h <<_ACEOF
14534 #define HAVE_LIBDBM 1
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lndbm" >&5
14542 $as_echo_n "checking for main in -lndbm... " >&6; }
14543 if ${ac_cv_lib_ndbm_main+:} false; then :
14544 $as_echo_n "(cached) " >&6
14546 ac_check_lib_save_LIBS=$LIBS
14547 LIBS="-lndbm $LIBS"
14548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14549 /* end confdefs.h. */
14560 if ac_fn_c_try_link "$LINENO"; then :
14561 ac_cv_lib_ndbm_main=yes
14563 ac_cv_lib_ndbm_main=no
14565 rm -f core conftest.err conftest.$ac_objext \
14566 conftest$ac_exeext conftest.$ac_ext
14567 LIBS=$ac_check_lib_save_LIBS
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ndbm_main" >&5
14570 $as_echo "$ac_cv_lib_ndbm_main" >&6; }
14571 if test "x$ac_cv_lib_ndbm_main" = xyes; then :
14572 cat >>confdefs.h <<_ACEOF
14573 #define HAVE_LIBNDBM 1
14576 LIBS="-lndbm $LIBS"
14580 for ac_func in rename ftruncate flock lockf fsync setlocale getopt_long
14582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14585 cat >>confdefs.h <<_ACEOF
14586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14593 if test x$mapped_io = xyes
14598 for ac_header in $ac_header_list
14600 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14601 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
14603 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14604 cat >>confdefs.h <<_ACEOF
14605 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14619 for ac_func in getpagesize
14621 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
14622 if test "x$ac_cv_func_getpagesize" = xyes; then :
14623 cat >>confdefs.h <<_ACEOF
14624 #define HAVE_GETPAGESIZE 1
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
14631 $as_echo_n "checking for working mmap... " >&6; }
14632 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
14633 $as_echo_n "(cached) " >&6
14635 if test "$cross_compiling" = yes; then :
14636 ac_cv_func_mmap_fixed_mapped=no
14638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14639 /* end confdefs.h. */
14640 $ac_includes_default
14641 /* malloc might have been renamed as rpl_malloc. */
14644 /* Thanks to Mike Haertel and Jim Avera for this test.
14645 Here is a matrix of mmap possibilities:
14646 mmap private not fixed
14647 mmap private fixed at somewhere currently unmapped
14648 mmap private fixed at somewhere already mapped
14649 mmap shared not fixed
14650 mmap shared fixed at somewhere currently unmapped
14651 mmap shared fixed at somewhere already mapped
14652 For private mappings, we should verify that changes cannot be read()
14653 back from the file, nor mmap's back from the file at a different
14654 address. (There have been systems where private was not correctly
14655 implemented like the infamous i386 svr4.0, and systems where the
14656 VM page cache was not coherent with the file system buffer cache
14657 like early versions of FreeBSD and possibly contemporary NetBSD.)
14658 For shared mappings, we should conversely verify that changes get
14659 propagated back to all the places they're supposed to be.
14661 Grep wants private fixed already mapped.
14662 The main things grep needs to know about mmap are:
14663 * does it exist and is it safe to write into the mmap'd area
14664 * how to use it (BSD variants) */
14667 #include <sys/mman.h>
14669 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14673 /* This mess was copied from the GNU getpagesize.h. */
14674 #ifndef HAVE_GETPAGESIZE
14675 # ifdef _SC_PAGESIZE
14676 # define getpagesize() sysconf(_SC_PAGESIZE)
14677 # else /* no _SC_PAGESIZE */
14678 # ifdef HAVE_SYS_PARAM_H
14679 # include <sys/param.h>
14680 # ifdef EXEC_PAGESIZE
14681 # define getpagesize() EXEC_PAGESIZE
14682 # else /* no EXEC_PAGESIZE */
14684 # define getpagesize() NBPG * CLSIZE
14687 # endif /* no CLSIZE */
14688 # else /* no NBPG */
14690 # define getpagesize() NBPC
14691 # else /* no NBPC */
14693 # define getpagesize() PAGESIZE
14694 # endif /* PAGESIZE */
14695 # endif /* no NBPC */
14696 # endif /* no NBPG */
14697 # endif /* no EXEC_PAGESIZE */
14698 # else /* no HAVE_SYS_PARAM_H */
14699 # define getpagesize() 8192 /* punt totally */
14700 # endif /* no HAVE_SYS_PARAM_H */
14701 # endif /* no _SC_PAGESIZE */
14703 #endif /* no HAVE_GETPAGESIZE */
14708 char *data, *data2, *data3;
14709 const char *cdata2;
14713 pagesize = getpagesize ();
14715 /* First, make a file with some known garbage in it. */
14716 data = (char *) malloc (pagesize);
14719 for (i = 0; i < pagesize; ++i)
14720 *(data + i) = rand ();
14722 fd = creat ("conftest.mmap", 0600);
14725 if (write (fd, data, pagesize) != pagesize)
14729 /* Next, check that the tail of a page is zero-filled. File must have
14730 non-zero length, otherwise we risk SIGBUS for entire page. */
14731 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
14735 if (write (fd2, cdata2, 1) != 1)
14737 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
14738 if (data2 == MAP_FAILED)
14740 for (i = 0; i < pagesize; ++i)
14744 if (munmap (data2, pagesize))
14747 /* Next, try to mmap the file at a fixed address which already has
14748 something else allocated at it. If we can, also make sure that
14749 we see the same garbage. */
14750 fd = open ("conftest.mmap", O_RDWR);
14753 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14754 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14756 for (i = 0; i < pagesize; ++i)
14757 if (*(data + i) != *(data2 + i))
14760 /* Finally, make sure that changes to the mapped area do not
14761 percolate back to the file as seen by read(). (This is a bug on
14762 some variants of i386 svr4.0.) */
14763 for (i = 0; i < pagesize; ++i)
14764 *(data2 + i) = *(data2 + i) + 1;
14765 data3 = (char *) malloc (pagesize);
14768 if (read (fd, data3, pagesize) != pagesize)
14770 for (i = 0; i < pagesize; ++i)
14771 if (*(data + i) != *(data3 + i))
14777 if ac_fn_c_try_run "$LINENO"; then :
14778 ac_cv_func_mmap_fixed_mapped=yes
14780 ac_cv_func_mmap_fixed_mapped=no
14782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14783 conftest.$ac_objext conftest.beam conftest.$ac_ext
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
14788 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
14789 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14791 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
14794 rm -f conftest.mmap conftest.txt
14796 for ac_func in msync
14798 ac_fn_c_check_func "$LINENO" "msync" "ac_cv_func_msync"
14799 if test "x$ac_cv_func_msync" = xyes; then :
14800 cat >>confdefs.h <<_ACEOF
14801 #define HAVE_MSYNC 1
14808 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14809 if test "x$ac_cv_type_off_t" = xyes; then :
14813 cat >>confdefs.h <<_ACEOF
14814 #define off_t long int
14819 # The cast to long int works around a bug in the HP C Compiler
14820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14822 # This bug is HP SR number 8606223364.
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
14824 $as_echo_n "checking size of off_t... " >&6; }
14825 if ${ac_cv_sizeof_off_t+:} false; then :
14826 $as_echo_n "(cached) " >&6
14828 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then :
14831 if test "$ac_cv_type_off_t" = yes; then
14832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14834 as_fn_error 77 "cannot compute sizeof (off_t)
14835 See \`config.log' for more details" "$LINENO" 5; }
14837 ac_cv_sizeof_off_t=0
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
14843 $as_echo "$ac_cv_sizeof_off_t" >&6; }
14847 cat >>confdefs.h <<_ACEOF
14848 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
14852 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
14853 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then :
14855 cat >>confdefs.h <<_ACEOF
14856 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
14866 if test "$want_compat" = yes; then
14868 COMPAT_OPT_FALSE='#'
14870 COMPAT_OPT_TRUE='#'
14874 if test "$want_export" = yes; then
14875 ENABLE_EXPORT_TRUE=
14876 ENABLE_EXPORT_FALSE='#'
14878 ENABLE_EXPORT_TRUE='#'
14879 ENABLE_EXPORT_FALSE=
14883 # Initialize the test suite.
14884 ac_config_commands="$ac_config_commands tests/atconfig"
14886 ac_config_files="$ac_config_files tests/Makefile tests/atlocal po/Makefile.in"
14889 AUTOM4TE=${AUTOM4TE-"${am_missing_run}autom4te"}
14892 ac_config_files="$ac_config_files Makefile src/Makefile src/gdbm.h doc/Makefile compat/Makefile export/Makefile"
14894 cat >confcache <<\_ACEOF
14895 # This file is a shell script that caches the results of configure
14896 # tests run on this system so they can be shared between configure
14897 # scripts and configure runs, see configure's option --config-cache.
14898 # It is not useful on other systems. If it contains results you don't
14899 # want to keep, you may remove or edit it.
14901 # config.status only pays attention to the cache file if you give it
14902 # the --recheck option to rerun configure.
14904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14906 # following values.
14910 # The following way of writing the cache mishandles newlines in values,
14911 # but we know of no workaround that is simple, portable, and efficient.
14912 # So, we kill variables containing newlines.
14913 # Ultrix sh set writes to stderr and can't be redirected directly,
14914 # and sets the high bit in the cache file unless we assign to the vars.
14916 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14917 eval ac_val=\$$ac_var
14921 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14922 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14925 _ | IFS | as_nl) ;; #(
14926 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14927 *) { eval $ac_var=; unset $ac_var;} ;;
14933 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14934 *${as_nl}ac_space=\ *)
14935 # `set' does not quote correctly, so add quotes: double-quote
14936 # substitution turns \\\\ into \\, and sed turns \\ into \.
14939 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14942 # `set' quotes correctly as required by POSIX, so do not add quotes.
14943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14952 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14954 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14956 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14957 if test -w "$cache_file"; then
14958 if test "x$cache_file" != "x/dev/null"; then
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14960 $as_echo "$as_me: updating cache $cache_file" >&6;}
14961 if test ! -f "$cache_file" || test -h "$cache_file"; then
14962 cat confcache >"$cache_file"
14964 case $cache_file in #(
14966 mv -f confcache "$cache_file"$$ &&
14967 mv -f "$cache_file"$$ "$cache_file" ;; #(
14969 mv -f confcache "$cache_file" ;;
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14975 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14980 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14981 # Let make expand exec_prefix.
14982 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14984 DEFS=-DHAVE_CONFIG_H
14989 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14990 # 1. Remove the extension, and $U if already installed.
14991 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14992 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14993 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14994 # will be set to the directory where LIBOBJS objects are built.
14995 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14996 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14998 LIBOBJS=$ac_libobjs
15000 LTLIBOBJS=$ac_ltlibobjs
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15004 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15005 if test -n "$am_sleep_pid"; then
15006 # Hide warnings about reused PIDs.
15007 wait $am_sleep_pid 2>/dev/null
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15010 $as_echo "done" >&6; }
15011 if test -n "$EXEEXT"; then
15013 am__EXEEXT_FALSE='#'
15015 am__EXEEXT_TRUE='#'
15019 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15020 as_fn_error $? "conditional \"AMDEP\" was never defined.
15021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15023 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15024 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15027 if test -z "${COMPAT_OPT_TRUE}" && test -z "${COMPAT_OPT_FALSE}"; then
15028 as_fn_error $? "conditional \"COMPAT_OPT\" was never defined.
15029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15031 if test -z "${ENABLE_EXPORT_TRUE}" && test -z "${ENABLE_EXPORT_FALSE}"; then
15032 as_fn_error $? "conditional \"ENABLE_EXPORT\" was never defined.
15033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15036 : "${CONFIG_STATUS=./config.status}"
15038 ac_clean_files_save=$ac_clean_files
15039 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15040 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15041 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15043 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15045 # Generated by $as_me.
15046 # Run this file to recreate the current configuration.
15047 # Compiler output produced by configure, useful for debugging
15048 # configure, is in config.log if it exists.
15051 ac_cs_recheck=false
15054 SHELL=\${CONFIG_SHELL-$SHELL}
15057 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15058 ## -------------------- ##
15059 ## M4sh Initialization. ##
15060 ## -------------------- ##
15062 # Be more Bourne compatible
15063 DUALCASE=1; export DUALCASE # for MKS sh
15064 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15067 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15068 # is contrary to our usage. Disable this feature.
15069 alias -g '${1+"$@"}'='"$@"'
15070 setopt NO_GLOB_SUBST
15072 case `(set -o) 2>/dev/null` in #(
15084 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15085 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15086 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15087 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15088 # Prefer a ksh shell builtin over an external printf program on Solaris,
15089 # but without wasting forks for bash or zsh.
15090 if test -z "$BASH_VERSION$ZSH_VERSION" \
15091 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15092 as_echo='print -r --'
15093 as_echo_n='print -rn --'
15094 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15095 as_echo='printf %s\n'
15096 as_echo_n='printf %s'
15098 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15099 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15100 as_echo_n='/usr/ucb/echo -n'
15102 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15103 as_echo_n_body='eval
15107 expr "X$arg" : "X\\(.*\\)$as_nl";
15108 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15110 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15112 export as_echo_n_body
15113 as_echo_n='sh -c $as_echo_n_body as_echo'
15115 export as_echo_body
15116 as_echo='sh -c $as_echo_body as_echo'
15119 # The user is always right.
15120 if test "${PATH_SEPARATOR+set}" != set; then
15122 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15123 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15130 # We need space, tab and new line, in precisely that order. Quoting is
15131 # there to prevent editors from complaining about space-tab.
15132 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15133 # splitting by setting IFS to empty value.)
15136 # Find who we are. Look in the path if we contain no directory separator.
15139 *[\\/]* ) as_myself=$0 ;;
15140 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15141 for as_dir in $PATH
15144 test -z "$as_dir" && as_dir=.
15145 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15151 # We did not find ourselves, most probably we were run as `sh COMMAND'
15152 # in which case we are not to be found in the path.
15153 if test "x$as_myself" = x; then
15156 if test ! -f "$as_myself"; then
15157 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15161 # Unset variables that we do not need and which cause bugs (e.g. in
15162 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15163 # suppresses any "Segmentation fault" message there. '((' could
15164 # trigger a bug in pdksh 5.2.14.
15165 for as_var in BASH_ENV ENV MAIL MAILPATH
15166 do eval test x\${$as_var+set} = xset \
15167 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15180 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15183 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15184 # ----------------------------------------
15185 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15186 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15187 # script with STATUS, using 1 if that was 0.
15190 as_status=$1; test $as_status -eq 0 && as_status=1
15192 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15193 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15195 $as_echo "$as_me: error: $2" >&2
15196 as_fn_exit $as_status
15200 # as_fn_set_status STATUS
15201 # -----------------------
15202 # Set $? to STATUS, without forking.
15203 as_fn_set_status ()
15206 } # as_fn_set_status
15208 # as_fn_exit STATUS
15209 # -----------------
15210 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15214 as_fn_set_status $1
15220 # Portably unset VAR.
15223 { eval $1=; unset $1;}
15225 as_unset=as_fn_unset
15226 # as_fn_append VAR VALUE
15227 # ----------------------
15228 # Append the text in VALUE to the end of the definition contained in VAR. Take
15229 # advantage of any shell optimizations that allow amortized linear growth over
15230 # repeated appends, instead of the typical quadratic growth present in naive
15232 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15233 eval 'as_fn_append ()
15244 # as_fn_arith ARG...
15245 # ------------------
15246 # Perform arithmetic evaluation on the ARGs, and store the result in the
15247 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15248 # must be portable across $(()) and expr.
15249 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15250 eval 'as_fn_arith ()
15257 as_val=`expr "$@" || test $? -eq 1`
15262 if expr a : '\(a\)' >/dev/null 2>&1 &&
15263 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15269 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15270 as_basename=basename
15275 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15281 as_me=`$as_basename -- "$0" ||
15282 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15283 X"$0" : 'X\(//\)$' \| \
15284 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15286 sed '/^.*\/\([^/][^/]*\)\/*$/{
15300 # Avoid depending upon Character Ranges.
15301 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15302 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15303 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15304 as_cr_digits='0123456789'
15305 as_cr_alnum=$as_cr_Letters$as_cr_digits
15307 ECHO_C= ECHO_N= ECHO_T=
15308 case `echo -n x` in #(((((
15310 case `echo 'xy\c'` in
15311 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15313 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15320 rm -f conf$$ conf$$.exe conf$$.file
15321 if test -d conf$$.dir; then
15322 rm -f conf$$.dir/conf$$.file
15325 mkdir conf$$.dir 2>/dev/null
15327 if (echo >conf$$.file) 2>/dev/null; then
15328 if ln -s conf$$.file conf$$ 2>/dev/null; then
15330 # ... but there are two gotchas:
15331 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15332 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15333 # In both cases, we have to default to `cp -pR'.
15334 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15336 elif ln conf$$.file conf$$ 2>/dev/null; then
15344 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15345 rmdir conf$$.dir 2>/dev/null
15350 # Create "$as_dir" as a directory, including parents if necessary.
15355 -*) as_dir=./$as_dir;;
15357 test -d "$as_dir" || eval $as_mkdir_p || {
15361 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15362 *) as_qdir=$as_dir;;
15364 as_dirs="'$as_qdir' $as_dirs"
15365 as_dir=`$as_dirname -- "$as_dir" ||
15366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15367 X"$as_dir" : 'X\(//\)[^/]' \| \
15368 X"$as_dir" : 'X\(//\)$' \| \
15369 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15370 $as_echo X"$as_dir" |
15371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15375 /^X\(\/\/\)[^/].*/{
15388 test -d "$as_dir" && break
15390 test -z "$as_dirs" || eval "mkdir $as_dirs"
15391 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15395 if mkdir -p . 2>/dev/null; then
15396 as_mkdir_p='mkdir -p "$as_dir"'
15398 test -d ./-p && rmdir ./-p
15403 # as_fn_executable_p FILE
15404 # -----------------------
15405 # Test if FILE is an executable regular file.
15406 as_fn_executable_p ()
15408 test -f "$1" && test -x "$1"
15409 } # as_fn_executable_p
15410 as_test_x='test -x'
15411 as_executable_p=as_fn_executable_p
15413 # Sed expression to map a string onto a valid CPP name.
15414 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15416 # Sed expression to map a string onto a valid variable name.
15417 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15421 ## ----------------------------------- ##
15422 ## Main body of $CONFIG_STATUS script. ##
15423 ## ----------------------------------- ##
15425 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15428 # Save the log message, to keep $0 and so on meaningful, and to
15429 # report actual input values of CONFIG_FILES etc. instead of their
15430 # values after options handling.
15432 This file was extended by gdbm $as_me 1.11, which was
15433 generated by GNU Autoconf 2.69. Invocation command line was
15435 CONFIG_FILES = $CONFIG_FILES
15436 CONFIG_HEADERS = $CONFIG_HEADERS
15437 CONFIG_LINKS = $CONFIG_LINKS
15438 CONFIG_COMMANDS = $CONFIG_COMMANDS
15441 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15446 case $ac_config_files in *"
15447 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15450 case $ac_config_headers in *"
15451 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15456 # Files that config.status was made for.
15457 config_files="$ac_config_files"
15458 config_headers="$ac_config_headers"
15459 config_commands="$ac_config_commands"
15463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15465 \`$as_me' instantiates files and other configuration actions
15466 from templates according to the current configuration. Unless the files
15467 and actions are specified as TAGs, all are instantiated by default.
15469 Usage: $0 [OPTION]... [TAG]...
15471 -h, --help print this help, then exit
15472 -V, --version print version number and configuration settings, then exit
15473 --config print configuration, then exit
15474 -q, --quiet, --silent
15475 do not print progress messages
15476 -d, --debug don't remove temporary files
15477 --recheck update $as_me by reconfiguring in the same conditions
15478 --file=FILE[:TEMPLATE]
15479 instantiate the configuration file FILE
15480 --header=FILE[:TEMPLATE]
15481 instantiate the configuration header FILE
15483 Configuration files:
15486 Configuration headers:
15489 Configuration commands:
15492 Report bugs to <bug-gdbm@gnu.org>.
15493 gdbm home page: <http://www.gnu.org/software/gdbm>."
15496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15497 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15499 gdbm config.status 1.11
15500 configured by $0, generated by GNU Autoconf 2.69,
15501 with options \\"\$ac_cs_config\\"
15503 Copyright (C) 2012 Free Software Foundation, Inc.
15504 This config.status script is free software; the Free Software Foundation
15505 gives unlimited permission to copy, distribute and modify it."
15512 test -n "\$AWK" || AWK=awk
15515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15516 # The default lists apply if the user does not specify any file.
15522 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15523 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15527 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15539 # Handling of the options.
15540 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15542 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15543 $as_echo "$ac_cs_version"; exit ;;
15544 --config | --confi | --conf | --con | --co | --c )
15545 $as_echo "$ac_cs_config"; exit ;;
15546 --debug | --debu | --deb | --de | --d | -d )
15548 --file | --fil | --fi | --f )
15551 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15552 '') as_fn_error $? "missing file argument" ;;
15554 as_fn_append CONFIG_FILES " '$ac_optarg'"
15555 ac_need_defaults=false;;
15556 --header | --heade | --head | --hea )
15559 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15561 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15562 ac_need_defaults=false;;
15564 # Conflict between --help and --header
15565 as_fn_error $? "ambiguous option: \`$1'
15566 Try \`$0 --help' for more information.";;
15567 --help | --hel | -h )
15568 $as_echo "$ac_cs_usage"; exit ;;
15569 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15570 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15573 # This is an error.
15574 -*) as_fn_error $? "unrecognized option: \`$1'
15575 Try \`$0 --help' for more information." ;;
15577 *) as_fn_append ac_config_targets " $1"
15578 ac_need_defaults=false ;;
15584 ac_configure_extra_args=
15586 if $ac_cs_silent; then
15588 ac_configure_extra_args="$ac_configure_extra_args --silent"
15592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15593 if \$ac_cs_recheck; then
15594 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15596 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15597 CONFIG_SHELL='$SHELL'
15598 export CONFIG_SHELL
15603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15607 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15608 ## Running $as_me. ##
15614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15618 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15621 # The HP-UX ksh and POSIX shell print the target directory to stdout
15622 # if CDPATH is set.
15623 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15625 sed_quote_subst='$sed_quote_subst'
15626 double_quote_subst='$double_quote_subst'
15627 delay_variable_subst='$delay_variable_subst'
15628 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15629 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15630 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15631 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15632 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15633 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15634 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15635 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15636 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15637 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15638 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15639 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15640 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15641 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15642 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15643 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15644 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15645 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15646 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15647 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15648 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15649 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15650 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15651 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15652 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15653 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15654 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15655 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15656 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15657 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15658 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15659 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15660 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15661 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15662 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15663 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15664 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15665 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15666 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15667 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15668 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15669 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15670 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15671 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15672 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15673 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15674 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15675 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15676 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15677 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15678 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15679 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15680 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15681 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15682 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15683 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15684 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"`'
15685 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15686 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15687 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15688 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15689 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15690 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15691 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15692 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15693 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15694 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15695 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15696 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15697 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15698 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15699 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15700 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15701 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15702 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15703 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15704 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15705 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15706 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15707 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15708 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15709 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15710 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15711 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15712 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15713 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15714 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15715 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15716 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15717 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15718 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15719 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15720 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15721 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15722 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15723 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15724 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15725 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15726 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15727 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15728 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15729 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15730 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15731 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15732 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15733 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15734 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15735 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15736 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15737 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15738 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15739 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15740 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15741 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15742 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15743 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15744 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15745 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15746 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15747 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15748 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15749 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15750 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15751 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15752 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15753 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15754 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15755 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15756 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15757 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15760 LTCFLAGS='$LTCFLAGS'
15761 compiler='$compiler_DEFAULT'
15763 # A function that is used when there is no print builtin or printf.
15764 func_fallback_echo ()
15766 eval 'cat <<_LTECHO_EOF
15771 # Quote evaled strings.
15786 deplibs_check_method \
15791 sharedlib_from_linklib_cmd \
15794 archiver_list_spec \
15800 lt_cv_sys_global_symbol_pipe \
15801 lt_cv_sys_global_symbol_to_cdecl \
15802 lt_cv_sys_global_symbol_to_c_name_address \
15803 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15804 nm_file_list_spec \
15805 lt_prog_compiler_no_builtin_flag \
15806 lt_prog_compiler_pic \
15807 lt_prog_compiler_wl \
15808 lt_prog_compiler_static \
15809 lt_cv_prog_compiler_c_o \
15818 export_dynamic_flag_spec \
15819 whole_archive_flag_spec \
15820 compiler_needs_object \
15822 allow_undefined_flag \
15823 no_undefined_flag \
15824 hardcode_libdir_flag_spec \
15825 hardcode_libdir_separator \
15829 variables_saved_for_relink \
15831 library_names_spec \
15833 install_override_mode \
15837 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15838 *[\\\\\\\`\\"\\\$]*)
15839 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15842 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15847 # Double-quote double-evaled strings.
15848 for var in reload_cmds \
15849 old_postinstall_cmds \
15850 old_postuninstall_cmds \
15852 extract_expsyms_cmds \
15853 old_archive_from_new_cmds \
15854 old_archive_from_expsyms_cmds \
15856 archive_expsym_cmds \
15858 module_expsym_cmds \
15859 export_symbols_cmds \
15863 postuninstall_cmds \
15865 sys_lib_search_path_spec \
15866 sys_lib_dlsearch_path_spec; do
15867 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15868 *[\\\\\\\`\\"\\\$]*)
15869 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15872 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15877 ac_aux_dir='$ac_aux_dir'
15878 xsi_shell='$xsi_shell'
15879 lt_shell_append='$lt_shell_append'
15881 # See if we are running on zsh, and set the options which allow our
15882 # commands through without removal of \ escapes INIT.
15883 if test -n "\${ZSH_VERSION+set}" ; then
15884 setopt NO_GLOB_SUBST
15890 TIMESTAMP='$TIMESTAMP'
15896 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15897 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
15898 # from automake < 1.5.
15899 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15900 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15901 LINGUAS="${LINGUAS-%UNSET%}"
15907 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15909 # Handling of arguments.
15910 for ac_config_target in $ac_config_targets
15912 case $ac_config_target in
15913 "autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;;
15914 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15915 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15916 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
15917 "tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
15918 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15919 "tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
15920 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15921 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15922 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15923 "src/gdbm.h") CONFIG_FILES="$CONFIG_FILES src/gdbm.h" ;;
15924 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15925 "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
15926 "export/Makefile") CONFIG_FILES="$CONFIG_FILES export/Makefile" ;;
15928 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15933 # If the user did not use the arguments to specify the items to instantiate,
15934 # then the envvar interface is used. Set only those that are not.
15935 # We use the long form for the default assignment because of an extremely
15936 # bizarre bug on SunOS 4.1.3.
15937 if $ac_need_defaults; then
15938 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15939 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15940 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15943 # Have a temporary directory for convenience. Make it in the build tree
15944 # simply because there is no reason against having it here, and in addition,
15945 # creating and moving files from /tmp can sometimes cause problems.
15946 # Hook for its removal unless debugging.
15947 # Note that there is a small window in which the directory will not be cleaned:
15948 # after its creation but before its name has been assigned to `$tmp'.
15952 trap 'exit_status=$?
15953 : "${ac_tmp:=$tmp}"
15954 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15956 trap 'as_fn_exit 1' 1 2 13 15
15958 # Create a (secure) tmp directory for tmp files.
15961 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15965 tmp=./conf$$-$RANDOM
15966 (umask 077 && mkdir "$tmp")
15967 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15970 # Set up the scripts for CONFIG_FILES section.
15971 # No need to generate them if there are no CONFIG_FILES.
15972 # This happens for instance with `./config.status config.h'.
15973 if test -n "$CONFIG_FILES"; then
15976 ac_cr=`echo X | tr X '\015'`
15977 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15978 # But we know of no other shell where ac_cr would be empty at this
15979 # point, so we can use a bashism as a fallback.
15980 if test "x$ac_cr" = x; then
15981 eval ac_cr=\$\'\\r\'
15983 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15984 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15987 ac_cs_awk_cr=$ac_cr
15990 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15995 echo "cat >conf$$subs.awk <<_ACEOF" &&
15996 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15998 } >conf$$subs.sh ||
15999 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16000 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16002 for ac_last_try in false false false false false :; do
16003 . ./conf$$subs.sh ||
16004 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16006 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16007 if test $ac_delim_n = $ac_delim_num; then
16009 elif $ac_last_try; then
16010 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16012 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16015 rm -f conf$$subs.sh
16017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16018 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16022 s/^/S["/; s/!.*/"]=/
16032 s/\(.\{148\}\)..*/\1/
16034 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16039 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16046 s/\(.\{148\}\)..*/\1/
16048 s/["\\]/\\&/g; s/^/"/; s/$/"/
16052 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16057 ' <conf$$subs.awk | sed '
16062 ' >>$CONFIG_STATUS || ac_write_fail=1
16063 rm -f conf$$subs.awk
16064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16066 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16067 for (key in S) S_is_set[key] = 1
16073 nfields = split(line, field, "@")
16075 len = length(field[1])
16076 for (i = 2; i < nfields; i++) {
16078 keylen = length(key)
16079 if (S_is_set[key]) {
16081 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16082 len += length(value) + length(field[++i])
16093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16094 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16095 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16098 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16099 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16102 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16103 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16104 # trailing colons and then remove the whole line if VPATH becomes empty
16105 # (actually we leave an empty line to preserve line numbers).
16106 if test "x$srcdir" = x.; then
16107 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16126 fi # test -n "$CONFIG_FILES"
16128 # Set up the scripts for CONFIG_HEADERS section.
16129 # No need to generate them if there are no CONFIG_HEADERS.
16130 # This happens for instance with `./config.status Makefile'.
16131 if test -n "$CONFIG_HEADERS"; then
16132 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16136 # Transform confdefs.h into an awk script `defines.awk', embedded as
16137 # here-document in config.status, that substitutes the proper values into
16138 # config.h.in to produce config.h.
16140 # Create a delimiter string that does not exist in confdefs.h, to ease
16141 # handling of long lines.
16143 for ac_last_try in false false :; do
16144 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16145 if test -z "$ac_tt"; then
16147 elif $ac_last_try; then
16148 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16150 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16154 # For the awk script, D is an array of macro values keyed by name,
16155 # likewise P contains macro parameters if any. Preserve backslash
16156 # newline sequences.
16158 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16160 s/.\{148\}/&'"$ac_delim"'/g
16163 s/^[ ]*#[ ]*define[ ][ ]*/ /
16170 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16172 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16176 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16177 D["\1"]=" \3\\\\\\n"\\/p
16179 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16184 s/.\{148\}/&'"$ac_delim"'/g
16189 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16192 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16194 ' <confdefs.h | sed '
16195 s/'"$ac_delim"'/"\\\
16196 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16199 for (key in D) D_is_set[key] = 1
16202 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16204 split(line, arg, " ")
16205 if (arg[1] == "#") {
16209 defundef = substr(arg[1], 2)
16212 split(mac1, mac2, "(") #)
16214 prefix = substr(line, 1, index(line, defundef) - 1)
16215 if (D_is_set[macro]) {
16216 # Preserve the white space surrounding the "#".
16217 print prefix "define", macro P[macro] D[macro]
16220 # Replace #undef with comments. This is necessary, for example,
16221 # in the case of _POSIX_SOURCE, which is predefined and required
16222 # on some systems where configure will not decide to define it.
16223 if (defundef == "undef") {
16224 print "/*", prefix defundef, macro, "*/"
16232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16233 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16234 fi # test -n "$CONFIG_HEADERS"
16237 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16242 :[FHLC]) ac_mode=$ac_tag; continue;;
16244 case $ac_mode$ac_tag in
16246 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16247 :[FH]-) ac_tag=-:-;;
16248 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16265 -) ac_f="$ac_tmp/stdin";;
16266 *) # Look for the file first in the build tree, then in the source tree
16267 # (if the path is not absolute). The absolute path cannot be DOS-style,
16268 # because $ac_f cannot contain `:'.
16272 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16274 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16276 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16277 as_fn_append ac_file_inputs " '$ac_f'"
16280 # Let's still pretend it is `configure' which instantiates (i.e., don't
16281 # use $as_me), people would be surprised to read:
16282 # /* config.h. Generated by config.status. */
16283 configure_input='Generated from '`
16284 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16286 if test x"$ac_file" != x-; then
16287 configure_input="$ac_file. $configure_input"
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16289 $as_echo "$as_me: creating $ac_file" >&6;}
16291 # Neutralize special characters interpreted by sed in replacement strings.
16292 case $configure_input in #(
16293 *\&* | *\|* | *\\* )
16294 ac_sed_conf_input=`$as_echo "$configure_input" |
16295 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16296 *) ac_sed_conf_input=$configure_input;;
16300 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16301 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16306 ac_dir=`$as_dirname -- "$ac_file" ||
16307 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16308 X"$ac_file" : 'X\(//\)[^/]' \| \
16309 X"$ac_file" : 'X\(//\)$' \| \
16310 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16311 $as_echo X"$ac_file" |
16312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16316 /^X\(\/\/\)[^/].*/{
16329 as_dir="$ac_dir"; as_fn_mkdir_p
16333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16335 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16336 # A ".." for each directory in $ac_dir_suffix.
16337 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16338 case $ac_top_builddir_sub in
16339 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16340 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16343 ac_abs_top_builddir=$ac_pwd
16344 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16345 # for backward compatibility:
16346 ac_top_builddir=$ac_top_build_prefix
16349 .) # We are building in place.
16351 ac_top_srcdir=$ac_top_builddir_sub
16352 ac_abs_top_srcdir=$ac_pwd ;;
16353 [\\/]* | ?:[\\/]* ) # Absolute name.
16354 ac_srcdir=$srcdir$ac_dir_suffix;
16355 ac_top_srcdir=$srcdir
16356 ac_abs_top_srcdir=$srcdir ;;
16357 *) # Relative name.
16358 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16359 ac_top_srcdir=$ac_top_build_prefix$srcdir
16360 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16372 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16373 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16375 ac_MKDIR_P=$MKDIR_P
16377 [\\/$]* | ?:[\\/]* ) ;;
16378 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16383 # If the template does not know about datarootdir, expand it.
16384 # FIXME: This hack should be removed a few years after 2.60.
16385 ac_datarootdir_hack=; ac_datarootdir_seen=
16396 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16397 *datarootdir*) ac_datarootdir_seen=yes;;
16398 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16400 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16403 ac_datarootdir_hack='
16404 s&@datadir@&$datadir&g
16405 s&@docdir@&$docdir&g
16406 s&@infodir@&$infodir&g
16407 s&@localedir@&$localedir&g
16408 s&@mandir@&$mandir&g
16409 s&\\\${datarootdir}&$datarootdir&g' ;;
16413 # Neutralize VPATH when `$srcdir' = `.'.
16414 # Shell code in configure.ac might set extrasub.
16415 # FIXME: do we really want to maintain this feature?
16416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16417 ac_sed_extra="$ac_vpsub
16420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16422 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16423 s|@configure_input@|$ac_sed_conf_input|;t t
16424 s&@top_builddir@&$ac_top_builddir_sub&;t t
16425 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16426 s&@srcdir@&$ac_srcdir&;t t
16427 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16428 s&@top_srcdir@&$ac_top_srcdir&;t t
16429 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16430 s&@builddir@&$ac_builddir&;t t
16431 s&@abs_builddir@&$ac_abs_builddir&;t t
16432 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16433 s&@INSTALL@&$ac_INSTALL&;t t
16434 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16435 $ac_datarootdir_hack
16437 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16438 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16440 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16441 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16442 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16443 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16445 which seems to be undefined. Please make sure it is defined" >&5
16446 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16447 which seems to be undefined. Please make sure it is defined" >&2;}
16449 rm -f "$ac_tmp/stdin"
16451 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16452 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16454 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16460 if test x"$ac_file" != x-; then
16462 $as_echo "/* $configure_input */" \
16463 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16464 } >"$ac_tmp/config.h" \
16465 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16466 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16468 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16471 mv "$ac_tmp/config.h" "$ac_file" \
16472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16475 $as_echo "/* $configure_input */" \
16476 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16477 || as_fn_error $? "could not create -" "$LINENO" 5
16479 # Compute "$ac_file"'s index in $config_headers.
16482 for _am_header in $config_headers :; do
16483 case $_am_header in
16484 $_am_arg | $_am_arg:* )
16487 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16490 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16491 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16492 X"$_am_arg" : 'X\(//\)[^/]' \| \
16493 X"$_am_arg" : 'X\(//\)$' \| \
16494 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16495 $as_echo X"$_am_arg" |
16496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16500 /^X\(\/\/\)[^/].*/{
16512 s/.*/./; q'`/stamp-h$_am_stamp_count
16515 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16516 $as_echo "$as_me: executing $ac_file commands" >&6;}
16521 case $ac_file$ac_mode in
16522 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16523 # Older Autoconf quotes --file arguments for eval, but not when files
16524 # are listed without --file. Let's play safe and only enable the eval
16525 # if we detect the quoting.
16526 case $CONFIG_FILES in
16527 *\'*) eval set x "$CONFIG_FILES" ;;
16528 *) set x $CONFIG_FILES ;;
16533 # Strip MF so we end up with the name of the file.
16534 mf=`echo "$mf" | sed -e 's/:.*$//'`
16535 # Check whether this is an Automake generated Makefile or not.
16536 # We used to match only the files named 'Makefile.in', but
16537 # some people rename them; so instead we look at the file content.
16538 # Grep'ing the first line is not enough: some people post-process
16539 # each Makefile.in and add a new line on top of each file to say so.
16540 # Grep'ing the whole file is not good either: AIX grep has a line
16541 # limit of 2048, but all sed's we know have understand at least 4000.
16542 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16543 dirpart=`$as_dirname -- "$mf" ||
16544 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16545 X"$mf" : 'X\(//\)[^/]' \| \
16546 X"$mf" : 'X\(//\)$' \| \
16547 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16553 /^X\(\/\/\)[^/].*/{
16569 # Extract the definition of DEPDIR, am__include, and am__quote
16570 # from the Makefile without running 'make'.
16571 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16572 test -z "$DEPDIR" && continue
16573 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16574 test -z "$am__include" && continue
16575 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16576 # Find all dependency output files, they are included files with
16577 # $(DEPDIR) in their names. We invoke sed twice because it is the
16578 # simplest approach to changing $(DEPDIR) to its actual value in the
16580 for file in `sed -n "
16581 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16582 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16583 # Make sure the directory exists.
16584 test -f "$dirpart/$file" && continue
16585 fdir=`$as_dirname -- "$file" ||
16586 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16587 X"$file" : 'X\(//\)[^/]' \| \
16588 X"$file" : 'X\(//\)$' \| \
16589 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16590 $as_echo X"$file" |
16591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16595 /^X\(\/\/\)[^/].*/{
16608 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16609 # echo "creating $dirpart/$file"
16610 echo '# dummy' > "$dirpart/$file"
16617 # See if we are running on zsh, and set the options which allow our
16618 # commands through without removal of \ escapes.
16619 if test -n "${ZSH_VERSION+set}" ; then
16620 setopt NO_GLOB_SUBST
16623 cfgfile="${ofile}T"
16624 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16627 cat <<_LT_EOF >> "$cfgfile"
16630 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16631 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16632 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16633 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16635 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16636 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16638 # Written by Gordon Matzigkeit, 1996
16640 # This file is part of GNU Libtool.
16642 # GNU Libtool is free software; you can redistribute it and/or
16643 # modify it under the terms of the GNU General Public License as
16644 # published by the Free Software Foundation; either version 2 of
16645 # the License, or (at your option) any later version.
16647 # As a special exception to the GNU General Public License,
16648 # if you distribute this file as part of a program or library that
16649 # is built using GNU Libtool, you may include this file under the
16650 # same distribution terms that you use for the rest of that program.
16652 # GNU Libtool is distributed in the hope that it will be useful,
16653 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16654 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16655 # GNU General Public License for more details.
16657 # You should have received a copy of the GNU General Public License
16658 # along with GNU Libtool; see the file COPYING. If not, a copy
16659 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16660 # obtained by writing to the Free Software Foundation, Inc.,
16661 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16664 # The names of the tagged configurations supported by this script.
16667 # ### BEGIN LIBTOOL CONFIG
16669 # Which release of libtool.m4 was used?
16670 macro_version=$macro_version
16671 macro_revision=$macro_revision
16673 # Whether or not to build shared libraries.
16674 build_libtool_libs=$enable_shared
16676 # Whether or not to build static libraries.
16677 build_old_libs=$enable_static
16679 # What type of objects to build.
16682 # Whether or not to optimize for fast installation.
16683 fast_install=$enable_fast_install
16685 # Shell to use when invoking shell scripts.
16688 # An echo program that protects backslashes.
16691 # The PATH separator for the build system.
16692 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16695 host_alias=$host_alias
16699 # The build system.
16700 build_alias=$build_alias
16704 # A sed program that does not truncate output.
16707 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16708 Xsed="\$SED -e 1s/^X//"
16710 # A grep program that handles long lines.
16716 # A literal string matcher.
16719 # A BSD- or MS-compatible name lister.
16722 # Whether we need soft or hard links.
16725 # What is the maximum length of a command?
16726 max_cmd_len=$max_cmd_len
16728 # Object file suffix (normally "o").
16731 # Executable file suffix (normally "").
16734 # whether the shell understands "unset".
16737 # turn spaces into newlines.
16740 # turn newlines into spaces.
16743 # convert \$build file names to \$host format.
16744 to_host_file_cmd=$lt_cv_to_host_file_cmd
16746 # convert \$build files to toolchain format.
16747 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16749 # An object symbol dumper.
16750 OBJDUMP=$lt_OBJDUMP
16752 # Method to check whether dependent libraries are shared objects.
16753 deplibs_check_method=$lt_deplibs_check_method
16755 # Command to use when deplibs_check_method = "file_magic".
16756 file_magic_cmd=$lt_file_magic_cmd
16758 # How to find potential files when deplibs_check_method = "file_magic".
16759 file_magic_glob=$lt_file_magic_glob
16761 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16762 want_nocaseglob=$lt_want_nocaseglob
16764 # DLL creation program.
16765 DLLTOOL=$lt_DLLTOOL
16767 # Command to associate shared and link libraries.
16768 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16773 # Flags to create an archive.
16774 AR_FLAGS=$lt_AR_FLAGS
16776 # How to feed a file listing to the archiver.
16777 archiver_list_spec=$lt_archiver_list_spec
16779 # A symbol stripping program.
16782 # Commands used to install an old-style archive.
16784 old_postinstall_cmds=$lt_old_postinstall_cmds
16785 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16787 # Whether to use a lock for old archive extraction.
16788 lock_old_archive_extraction=$lock_old_archive_extraction
16793 # LTCC compiler flags.
16794 LTCFLAGS=$lt_CFLAGS
16796 # Take the output of nm and produce a listing of raw symbols and C names.
16797 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16799 # Transform the output of nm in a proper C declaration.
16800 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16802 # Transform the output of nm in a C name address pair.
16803 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16805 # Transform the output of nm in a C name address pair when lib prefix is needed.
16806 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16808 # Specify filename containing input files for \$NM.
16809 nm_file_list_spec=$lt_nm_file_list_spec
16811 # The root where to search for dependent libraries,and in which our libraries should be installed.
16812 lt_sysroot=$lt_sysroot
16814 # The name of the directory that contains temporary libtool files.
16817 # Used to examine libraries when file_magic_cmd begins with "file".
16818 MAGIC_CMD=$MAGIC_CMD
16820 # Must we lock files when doing compilation?
16821 need_locks=$lt_need_locks
16824 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16826 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16827 DSYMUTIL=$lt_DSYMUTIL
16829 # Tool to change global to local symbols on Mac OS X.
16832 # Tool to manipulate fat objects and archives on Mac OS X.
16835 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16838 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16839 OTOOL64=$lt_OTOOL64
16841 # Old archive suffix (normally "a").
16844 # Shared library suffix (normally ".so").
16845 shrext_cmds=$lt_shrext_cmds
16847 # The commands to extract the exported symbol list from a shared archive.
16848 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16850 # Variables whose values should be saved in libtool wrapper scripts and
16851 # restored at link time.
16852 variables_saved_for_relink=$lt_variables_saved_for_relink
16854 # Do we need the "lib" prefix for modules?
16855 need_lib_prefix=$need_lib_prefix
16857 # Do we need a version for libraries?
16858 need_version=$need_version
16860 # Library versioning type.
16861 version_type=$version_type
16863 # Shared library runtime path variable.
16864 runpath_var=$runpath_var
16866 # Shared library path variable.
16867 shlibpath_var=$shlibpath_var
16869 # Is shlibpath searched before the hard-coded library search path?
16870 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16872 # Format of library name prefix.
16873 libname_spec=$lt_libname_spec
16875 # List of archive names. First name is the real one, the rest are links.
16876 # The last name is the one that the linker finds with -lNAME
16877 library_names_spec=$lt_library_names_spec
16879 # The coded name of the library, if different from the real name.
16880 soname_spec=$lt_soname_spec
16882 # Permission mode override for installation of shared libraries.
16883 install_override_mode=$lt_install_override_mode
16885 # Command to use after installation of a shared archive.
16886 postinstall_cmds=$lt_postinstall_cmds
16888 # Command to use after uninstallation of a shared archive.
16889 postuninstall_cmds=$lt_postuninstall_cmds
16891 # Commands used to finish a libtool library installation in a directory.
16892 finish_cmds=$lt_finish_cmds
16894 # As "finish_cmds", except a single script fragment to be evaled but
16896 finish_eval=$lt_finish_eval
16898 # Whether we should hardcode library paths into libraries.
16899 hardcode_into_libs=$hardcode_into_libs
16901 # Compile-time system search path for libraries.
16902 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16904 # Run-time system search path for libraries.
16905 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16907 # Whether dlopen is supported.
16908 dlopen_support=$enable_dlopen
16910 # Whether dlopen of programs is supported.
16911 dlopen_self=$enable_dlopen_self
16913 # Whether dlopen of statically linked programs is supported.
16914 dlopen_self_static=$enable_dlopen_self_static
16916 # Commands to strip libraries.
16917 old_striplib=$lt_old_striplib
16918 striplib=$lt_striplib
16921 # The linker used to build libraries.
16924 # How to create reloadable object files.
16925 reload_flag=$lt_reload_flag
16926 reload_cmds=$lt_reload_cmds
16928 # Commands used to build an old-style archive.
16929 old_archive_cmds=$lt_old_archive_cmds
16931 # A language specific compiler.
16934 # Is the compiler the GNU compiler?
16937 # Compiler flag to turn off builtin functions.
16938 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16940 # Additional compiler flags for building library objects.
16941 pic_flag=$lt_lt_prog_compiler_pic
16943 # How to pass a linker flag through the compiler.
16944 wl=$lt_lt_prog_compiler_wl
16946 # Compiler flag to prevent dynamic linking.
16947 link_static_flag=$lt_lt_prog_compiler_static
16949 # Does compiler simultaneously support -c and -o options?
16950 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16952 # Whether or not to add -lc for building shared libraries.
16953 build_libtool_need_lc=$archive_cmds_need_lc
16955 # Whether or not to disallow shared libs when runtime libs are static.
16956 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16958 # Compiler flag to allow reflexive dlopens.
16959 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16961 # Compiler flag to generate shared objects directly from archives.
16962 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16964 # Whether the compiler copes with passing no objects directly.
16965 compiler_needs_object=$lt_compiler_needs_object
16967 # Create an old-style archive from a shared archive.
16968 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16970 # Create a temporary old-style archive to link instead of a shared archive.
16971 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16973 # Commands used to build a shared archive.
16974 archive_cmds=$lt_archive_cmds
16975 archive_expsym_cmds=$lt_archive_expsym_cmds
16977 # Commands used to build a loadable module if different from building
16978 # a shared archive.
16979 module_cmds=$lt_module_cmds
16980 module_expsym_cmds=$lt_module_expsym_cmds
16982 # Whether we are building with GNU ld or not.
16983 with_gnu_ld=$lt_with_gnu_ld
16985 # Flag that allows shared libraries with undefined symbols to be built.
16986 allow_undefined_flag=$lt_allow_undefined_flag
16988 # Flag that enforces no undefined symbols.
16989 no_undefined_flag=$lt_no_undefined_flag
16991 # Flag to hardcode \$libdir into a binary during linking.
16992 # This must work even if \$libdir does not exist
16993 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16995 # Whether we need a single "-rpath" flag with a separated argument.
16996 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16998 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16999 # DIR into the resulting binary.
17000 hardcode_direct=$hardcode_direct
17002 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17003 # DIR into the resulting binary and the resulting library dependency is
17004 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17005 # library is relocated.
17006 hardcode_direct_absolute=$hardcode_direct_absolute
17008 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17009 # into the resulting binary.
17010 hardcode_minus_L=$hardcode_minus_L
17012 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17013 # into the resulting binary.
17014 hardcode_shlibpath_var=$hardcode_shlibpath_var
17016 # Set to "yes" if building a shared library automatically hardcodes DIR
17017 # into the library and all subsequent libraries and executables linked
17019 hardcode_automatic=$hardcode_automatic
17021 # Set to yes if linker adds runtime paths of dependent libraries
17022 # to runtime path list.
17023 inherit_rpath=$inherit_rpath
17025 # Whether libtool must link a program against all its dependency libraries.
17026 link_all_deplibs=$link_all_deplibs
17028 # Set to "yes" if exported symbols are required.
17029 always_export_symbols=$always_export_symbols
17031 # The commands to list exported symbols.
17032 export_symbols_cmds=$lt_export_symbols_cmds
17034 # Symbols that should not be listed in the preloaded symbols.
17035 exclude_expsyms=$lt_exclude_expsyms
17037 # Symbols that must always be exported.
17038 include_expsyms=$lt_include_expsyms
17040 # Commands necessary for linking programs (against libraries) with templates.
17041 prelink_cmds=$lt_prelink_cmds
17043 # Commands necessary for finishing linking programs.
17044 postlink_cmds=$lt_postlink_cmds
17046 # Specify filename containing input files.
17047 file_list_spec=$lt_file_list_spec
17049 # How to hardcode a shared library path into an executable.
17050 hardcode_action=$hardcode_action
17052 # ### END LIBTOOL CONFIG
17058 cat <<\_LT_EOF >> "$cfgfile"
17059 # AIX sometimes has problems with the GCC collect2 program. For some
17060 # reason, if we set the COLLECT_NAMES environment variable, the problems
17061 # vanish in a puff of smoke.
17062 if test "X${COLLECT_NAMES+set}" != Xset; then
17064 export COLLECT_NAMES
17071 ltmain="$ac_aux_dir/ltmain.sh"
17074 # We use sed instead of cat because bash on DJGPP gets confused if
17075 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17076 # text mode, it properly converts lines to CR/LF. This bash problem
17077 # is reportedly fixed, but why not run on old versions too?
17078 sed '$q' "$ltmain" >> "$cfgfile" \
17079 || (rm -f "$cfgfile"; exit 1)
17081 if test x"$xsi_shell" = xyes; then
17082 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17086 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17087 \ * ) func_dirname_result="${3}" ;;\
17089 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17090 && mv -f "$cfgfile.tmp" "$cfgfile" \
17091 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17092 test 0 -eq $? || _lt_function_replace_fail=:
17095 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17098 \ func_basename_result="${1##*/}"\
17099 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17100 && mv -f "$cfgfile.tmp" "$cfgfile" \
17101 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17102 test 0 -eq $? || _lt_function_replace_fail=:
17105 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17106 func_dirname_and_basename ()\
17109 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17110 \ * ) func_dirname_result="${3}" ;;\
17112 \ func_basename_result="${1##*/}"\
17113 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17114 && mv -f "$cfgfile.tmp" "$cfgfile" \
17115 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17116 test 0 -eq $? || _lt_function_replace_fail=:
17119 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17122 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17123 \ # positional parameters, so assign one to ordinary parameter first.\
17124 \ func_stripname_result=${3}\
17125 \ func_stripname_result=${func_stripname_result#"${1}"}\
17126 \ func_stripname_result=${func_stripname_result%"${2}"}\
17127 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17128 && mv -f "$cfgfile.tmp" "$cfgfile" \
17129 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17130 test 0 -eq $? || _lt_function_replace_fail=:
17133 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17134 func_split_long_opt ()\
17136 \ func_split_long_opt_name=${1%%=*}\
17137 \ func_split_long_opt_arg=${1#*=}\
17138 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17139 && mv -f "$cfgfile.tmp" "$cfgfile" \
17140 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17141 test 0 -eq $? || _lt_function_replace_fail=:
17144 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17145 func_split_short_opt ()\
17147 \ func_split_short_opt_arg=${1#??}\
17148 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17149 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17150 && mv -f "$cfgfile.tmp" "$cfgfile" \
17151 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17152 test 0 -eq $? || _lt_function_replace_fail=:
17155 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17159 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17160 \ *) func_lo2o_result=${1} ;;\
17162 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17163 && mv -f "$cfgfile.tmp" "$cfgfile" \
17164 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17165 test 0 -eq $? || _lt_function_replace_fail=:
17168 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17171 func_xform_result=${1%.*}.lo\
17172 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17173 && mv -f "$cfgfile.tmp" "$cfgfile" \
17174 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17175 test 0 -eq $? || _lt_function_replace_fail=:
17178 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17181 func_arith_result=$(( $* ))\
17182 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17183 && mv -f "$cfgfile.tmp" "$cfgfile" \
17184 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17185 test 0 -eq $? || _lt_function_replace_fail=:
17188 sed -e '/^func_len ()$/,/^} # func_len /c\
17191 func_len_result=${#1}\
17192 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17193 && mv -f "$cfgfile.tmp" "$cfgfile" \
17194 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17195 test 0 -eq $? || _lt_function_replace_fail=:
17199 if test x"$lt_shell_append" = xyes; then
17200 sed -e '/^func_append ()$/,/^} # func_append /c\
17203 eval "${1}+=\\${2}"\
17204 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17205 && mv -f "$cfgfile.tmp" "$cfgfile" \
17206 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17207 test 0 -eq $? || _lt_function_replace_fail=:
17210 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17211 func_append_quoted ()\
17213 \ func_quote_for_eval "${2}"\
17214 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17215 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17216 && mv -f "$cfgfile.tmp" "$cfgfile" \
17217 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17218 test 0 -eq $? || _lt_function_replace_fail=:
17221 # Save a `func_append' function call where possible by direct use of '+='
17222 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17223 && mv -f "$cfgfile.tmp" "$cfgfile" \
17224 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17225 test 0 -eq $? || _lt_function_replace_fail=:
17227 # Save a `func_append' function call even when '+=' is not available
17228 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17229 && mv -f "$cfgfile.tmp" "$cfgfile" \
17230 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17231 test 0 -eq $? || _lt_function_replace_fail=:
17234 if test x"$_lt_function_replace_fail" = x":"; then
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17236 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17240 mv -f "$cfgfile" "$ofile" ||
17241 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17245 "po-directories":C)
17246 for ac_file in $CONFIG_FILES; do
17247 # Support "outfile[:infile[:infile...]]"
17249 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
17251 # PO directories have a Makefile.in generated from Makefile.in.in.
17252 case "$ac_file" in */Makefile.in)
17253 # Adjust a relative srcdir.
17254 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17255 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
17256 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17257 # In autoconf-2.13 it is called $ac_given_srcdir.
17258 # In autoconf-2.50 it is called $srcdir.
17259 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
17260 case "$ac_given_srcdir" in
17261 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
17262 /*) top_srcdir="$ac_given_srcdir" ;;
17263 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
17265 # Treat a directory as a PO directory if and only if it has a
17266 # POTFILES.in file. This allows packages to have multiple PO
17267 # directories under different names or in different locations.
17268 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17269 rm -f "$ac_dir/POTFILES"
17270 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
17271 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17272 POMAKEFILEDEPS="POTFILES.in"
17273 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
17274 # on $ac_dir but don't depend on user-specified configuration
17276 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17277 # The LINGUAS file contains the set of available languages.
17278 if test -n "$OBSOLETE_ALL_LINGUAS"; then
17279 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
17281 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17282 # Hide the ALL_LINGUAS assigment from automake < 1.5.
17283 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17284 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
17286 # The set of available languages was given in configure.in.
17287 # Hide the ALL_LINGUAS assigment from automake < 1.5.
17288 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
17291 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
17292 # Compute UPDATEPOFILES
17293 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
17294 # Compute DUMMYPOFILES
17295 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
17297 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
17298 case "$ac_given_srcdir" in
17300 *) srcdirpre='$(srcdir)/' ;;
17306 for lang in $ALL_LINGUAS; do
17307 POFILES="$POFILES $srcdirpre$lang.po"
17308 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
17309 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
17310 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
17312 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17313 # environment variable.
17315 if test -n "$ALL_LINGUAS"; then
17316 for presentlang in $ALL_LINGUAS; do
17318 if test "%UNSET%" != "$LINGUAS"; then
17319 desiredlanguages="$LINGUAS"
17321 desiredlanguages="$ALL_LINGUAS"
17323 for desiredlang in $desiredlanguages; do
17324 # Use the presentlang catalog if desiredlang is
17325 # a. equal to presentlang, or
17326 # b. a variant of presentlang (because in this case,
17327 # presentlang can be used as a fallback for messages
17328 # which are not translated in the desiredlang catalog).
17329 case "$desiredlang" in
17330 "$presentlang"*) useit=yes;;
17333 if test $useit = yes; then
17334 INST_LINGUAS="$INST_LINGUAS $presentlang"
17339 if test -n "$INST_LINGUAS"; then
17340 for lang in $INST_LINGUAS; do
17341 CATALOGS="$CATALOGS $lang.gmo"
17344 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
17345 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
17346 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
17347 if test -f "$f"; then
17349 *.orig | *.bak | *~) ;;
17350 *) cat "$f" >> "$ac_dir/Makefile" ;;
17358 "tests/atconfig":C) cat >tests/atconfig <<ATEOF
17359 # Configurable variable values for building test suites.
17361 # Copyright (C) 2012 Free Software Foundation, Inc.
17363 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
17365 abs_builddir='$ac_abs_builddir'
17366 at_srcdir='$ac_srcdir'
17367 abs_srcdir='$ac_abs_srcdir'
17368 at_top_srcdir='$ac_top_srcdir'
17369 abs_top_srcdir='$ac_abs_top_srcdir'
17370 at_top_build_prefix='$ac_top_build_prefix'
17371 abs_top_builddir='$ac_abs_top_builddir'
17373 # Backward compatibility with Autotest <= 2.59b:
17374 at_top_builddir=\$at_top_build_prefix
17376 AUTOTEST_PATH='tests'
17378 SHELL=\${CONFIG_SHELL-'$SHELL'}
17388 ac_clean_files=$ac_clean_files_save
17390 test $ac_write_fail = 0 ||
17391 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17394 # configure is writing to config.log, and then calls config.status.
17395 # config.status does its own redirection, appending to config.log.
17396 # Unfortunately, on DOS this fails, as config.log is still kept open
17397 # by configure, so config.status won't be able to write to it; its
17398 # output is simply discarded. So we exec the FD to /dev/null,
17399 # effectively closing config.log, so it can be properly (re)opened and
17400 # appended to by config.status. When coming back to configure, we
17401 # need to make the FD available again.
17402 if test "$no_create" != yes; then
17404 ac_config_status_args=
17405 test "$silent" = yes &&
17406 ac_config_status_args="$ac_config_status_args --quiet"
17408 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17410 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17411 # would make configure fail if this is the last instruction.
17412 $ac_cs_success || as_fn_exit 1
17414 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17416 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}