2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $echo works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if (echo_test_string
="`eval $cmd`") 2>/dev
/null
&&
289 echo_test_string
="`eval $cmd`" &&
290 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
297 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
299 test "X$echo_testing_string" = "X$echo_test_string"; then
302 # The Solaris, AIX, and Digital Unix default echo programs unquote
303 # backslashes. This makes it impossible to quote backslashes using
304 # echo "$something" | sed 's/\\/\\\\/g'
306 # So, first we look for a working echo in the user's PATH.
308 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
309 for dir
in $PATH /usr
/ucb
; do
311 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
312 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314 test "X$echo_testing_string" = "X$echo_test_string"; then
321 if test "X$echo" = Xecho
; then
322 # We didn't find a better echo, so look for alternatives.
323 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
325 test "X$echo_testing_string" = "X$echo_test_string"; then
326 # This shell has a builtin print -r that does the trick.
328 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
329 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
330 # If we have ksh, try running configure again with it.
331 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
332 export ORIGINAL_CONFIG_SHELL
333 CONFIG_SHELL
=/bin
/ksh
335 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
339 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
341 test "X$echo_testing_string" = "X$echo_test_string"; then
344 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345 test "X$echo_testing_string" = 'X\t' &&
346 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347 test "X$echo_testing_string" = "X$echo_test_string"; then
348 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
350 SHELL
="$CONFIG_SHELL"
352 echo="$CONFIG_SHELL $0 --fallback-echo"
353 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 echo="$CONFIG_SHELL $0 --fallback-echo"
359 # maybe with a smaller string...
362 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
370 if test "$prev" != 'sed 50q "$0"'; then
371 echo_test_string
=`eval $prev`
372 export echo_test_string
373 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
375 # Oops. We lost completely, so just stick with echo.
384 # Copy echo and quote the copy suitably for passing to libtool from
385 # the Makefile, instead of quoting the original, which is used later.
387 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 tagnames
=${tagnames+${tagnames},}CXX
396 tagnames
=${tagnames+${tagnames},}F77
399 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400 # so uname gets run too.
401 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
408 ac_default_prefix
=/usr
/local
409 ac_config_libobj_dir
=.
414 SHELL
=${CONFIG_SHELL-/bin/sh}
416 # Maximum number of lines to put in a shell here document.
417 # This variable seems obsolete. It should probably be removed, and
418 # only ac_max_sed_lines should be used.
419 : ${ac_max_here_lines=38}
421 # Identity of this package.
428 ac_unique_file
="src/msgfmt.c"
429 # Factoring default headers for most tests.
430 ac_includes_default
="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar localedir docdir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE YACC GCJ GCJFLAGS HAVE_GCJ BUILDJAVAEXE CPP EGREP HAVE_GCJ_IN_PATH HAVE_JAVAC_IN_PATH HAVE_JIKES_IN_PATH JAVAC CLASSPATH CLASSPATH_SEPARATOR HAVE_GCJ_C HAVE_JAVAC HAVE_JIKES JAR BUILDJAVA HAVE_GIJ_IN_PATH HAVE_JAVA_IN_PATH HAVE_JRE_IN_PATH HAVE_JVIEW_IN_PATH JAVA HAVE_GIJ HAVE_JAVA HAVE_JRE HAVE_JVIEW TESTJAVA CSHARP_CHOICE HAVE_CSCC_IN_PATH HAVE_MCS_IN_PATH HAVE_CSC_IN_PATH HAVE_CSCC HAVE_MCS HAVE_CSC BUILDCSHARP HAVE_ILRUN_IN_PATH HAVE_MONO_IN_PATH MONO_PATH MONO_PATH_SEPARATOR HAVE_ILRUN HAVE_MONO TESTCSHARP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RELOCATABLE LIBOBJS SET_RELOCATABLE RELOCATABLE_VIA_LD_TRUE RELOCATABLE_VIA_LD_FALSE STDBOOL_H HAVE__BOOL ALLOCA ALLOCA_H FNMATCH_H GETOPT_H LIBGREPOBJS MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE GLIBC2 GLIBC21 INTL_MACOSX_LIBS HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LIBEXPAT LTLIBEXPAT HAVE_LIBEXPAT EMACS EMACSLOADPATH lispdir aclocaldir DVIPS TEXI2PDF PERL CROSS_COMPILING LOCALE_FR LOCALE_FR_UTF8 TESTLIBASPRINTF LTLIBOBJS'
469 # Initialize some variables set by options.
471 ac_init_version
=false
472 # The variables have the same names as the options, with
473 # dashes changed to underlines.
481 program_transform_name
=s
,x
,x
,
489 # Installation directory options.
490 # These are left unexpanded so users can "make install exec_prefix=/foo"
491 # and all the variables that are supposed to be based on exec_prefix
492 # by default will actually change.
493 # Use braces instead of parens because sh, perl, etc. also accept them.
494 bindir
='${exec_prefix}/bin'
495 sbindir
='${exec_prefix}/sbin'
496 libexecdir
='${exec_prefix}/libexec'
497 datadir
='${prefix}/share'
498 sysconfdir
='${prefix}/etc'
499 sharedstatedir
='${prefix}/com'
500 localstatedir
='${prefix}/var'
501 libdir
='${exec_prefix}/lib'
502 includedir
='${prefix}/include'
503 oldincludedir
='/usr/include'
504 infodir
='${prefix}/info'
505 mandir
='${prefix}/man'
510 # If the previous option needs an argument, assign it.
511 if test -n "$ac_prev"; then
512 eval "$ac_prev=\$ac_option"
517 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
519 # Accept the important Cygnus configure options, so we can diagnose typos.
523 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
525 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
528 -build |
--build |
--buil |
--bui |
--bu)
529 ac_prev
=build_alias
;;
530 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
531 build_alias
=$ac_optarg ;;
533 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
534 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
535 ac_prev
=cache_file
;;
536 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
537 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
538 cache_file
=$ac_optarg ;;
541 cache_file
=config.cache
;;
543 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
545 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
547 datadir
=$ac_optarg ;;
549 -disable-* |
--disable-*)
550 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
554 { (exit 1); exit 1; }; }
555 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
556 eval "enable_$ac_feature=no" ;;
558 -enable-* |
--enable-*)
559 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560 # Reject names that are not valid shell variable names.
561 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
562 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
563 { (exit 1); exit 1; }; }
564 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
566 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
569 eval "enable_$ac_feature='$ac_optarg'" ;;
571 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
572 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
573 |
--exec |
--exe |
--ex)
574 ac_prev
=exec_prefix
;;
575 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
576 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
577 |
--exec=* |
--exe=* |
--ex=*)
578 exec_prefix
=$ac_optarg ;;
580 -gas |
--gas |
--ga |
--g)
581 # Obsolete; use --with-gas.
584 -help |
--help |
--hel |
--he |
-h)
586 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
587 ac_init_help
=recursive
;;
588 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
589 ac_init_help
=short
;;
591 -host |
--host |
--hos |
--ho)
592 ac_prev
=host_alias
;;
593 -host=* |
--host=* |
--hos=* |
--ho=*)
594 host_alias
=$ac_optarg ;;
596 -includedir |
--includedir |
--includedi |
--included |
--include \
597 |
--includ |
--inclu |
--incl |
--inc)
598 ac_prev
=includedir
;;
599 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
600 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
601 includedir
=$ac_optarg ;;
603 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
605 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
606 infodir
=$ac_optarg ;;
608 -libdir |
--libdir |
--libdi |
--libd)
610 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
613 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
614 |
--libexe |
--libex |
--libe)
615 ac_prev
=libexecdir
;;
616 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
617 |
--libexe=* |
--libex=* |
--libe=*)
618 libexecdir
=$ac_optarg ;;
620 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
621 |
--localstate |
--localstat |
--localsta |
--localst \
622 |
--locals |
--local |
--loca |
--loc |
--lo)
623 ac_prev
=localstatedir
;;
624 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
625 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
626 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
627 localstatedir
=$ac_optarg ;;
629 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
631 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
635 # Obsolete; use --without-fp.
638 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
639 |
--no-cr |
--no-c |
-n)
642 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
643 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
646 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
647 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
648 |
--oldin |
--oldi |
--old |
--ol |
--o)
649 ac_prev
=oldincludedir
;;
650 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
651 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
652 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
653 oldincludedir
=$ac_optarg ;;
655 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
657 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
660 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
661 |
--program-pre |
--program-pr |
--program-p)
662 ac_prev
=program_prefix
;;
663 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
664 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
665 program_prefix
=$ac_optarg ;;
667 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
668 |
--program-suf |
--program-su |
--program-s)
669 ac_prev
=program_suffix
;;
670 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
671 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
672 program_suffix
=$ac_optarg ;;
674 -program-transform-name |
--program-transform-name \
675 |
--program-transform-nam |
--program-transform-na \
676 |
--program-transform-n |
--program-transform- \
677 |
--program-transform |
--program-transfor \
678 |
--program-transfo |
--program-transf \
679 |
--program-trans |
--program-tran \
680 |
--progr-tra |
--program-tr |
--program-t)
681 ac_prev
=program_transform_name
;;
682 -program-transform-name=* |
--program-transform-name=* \
683 |
--program-transform-nam=* |
--program-transform-na=* \
684 |
--program-transform-n=* |
--program-transform-=* \
685 |
--program-transform=* |
--program-transfor=* \
686 |
--program-transfo=* |
--program-transf=* \
687 |
--program-trans=* |
--program-tran=* \
688 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
689 program_transform_name
=$ac_optarg ;;
691 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
692 |
-silent |
--silent |
--silen |
--sile |
--sil)
695 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
697 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
699 sbindir
=$ac_optarg ;;
701 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
702 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
703 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
705 ac_prev
=sharedstatedir
;;
706 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
707 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
708 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
710 sharedstatedir
=$ac_optarg ;;
712 -site |
--site |
--sit)
714 -site=* |
--site=* |
--sit=*)
717 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
719 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
722 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
723 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
724 ac_prev
=sysconfdir
;;
725 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
726 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
727 sysconfdir
=$ac_optarg ;;
729 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
730 ac_prev
=target_alias
;;
731 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
732 target_alias
=$ac_optarg ;;
734 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
737 -version |
--version |
--versio |
--versi |
--vers |
-V)
741 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742 # Reject names that are not valid shell variable names.
743 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
744 { echo "$as_me: error: invalid package name: $ac_package" >&2
745 { (exit 1); exit 1; }; }
746 ac_package
=`echo $ac_package| sed 's/-/_/g'`
748 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
751 eval "with_$ac_package='$ac_optarg'" ;;
753 -without-* |
--without-*)
754 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755 # Reject names that are not valid shell variable names.
756 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
757 { echo "$as_me: error: invalid package name: $ac_package" >&2
758 { (exit 1); exit 1; }; }
759 ac_package
=`echo $ac_package | sed 's/-/_/g'`
760 eval "with_$ac_package=no" ;;
763 # Obsolete; use --with-x.
766 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
767 |
--x-incl |
--x-inc |
--x-in |
--x-i)
768 ac_prev
=x_includes
;;
769 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
770 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
771 x_includes
=$ac_optarg ;;
773 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
774 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
775 ac_prev
=x_libraries
;;
776 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
777 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
778 x_libraries
=$ac_optarg ;;
780 -*) { echo "$as_me: error: unrecognized option: $ac_option
781 Try \`$0 --help' for more information." >&2
782 { (exit 1); exit 1; }; }
786 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
787 # Reject names that are not valid shell variable names.
788 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
789 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790 { (exit 1); exit 1; }; }
791 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792 eval "$ac_envvar='$ac_optarg'"
796 # FIXME: should be removed in autoconf 3.0.
797 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
798 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
799 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
800 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
806 if test -n "$ac_prev"; then
807 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
808 { echo "$as_me: error: missing argument to $ac_option" >&2
809 { (exit 1); exit 1; }; }
812 # Be sure to have absolute paths.
813 for ac_var
in exec_prefix prefix
815 eval ac_val
=$
`echo $ac_var`
817 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
818 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819 { (exit 1); exit 1; }; };;
823 # Be sure to have absolute paths.
824 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825 localstatedir libdir includedir oldincludedir infodir mandir
827 eval ac_val
=$
`echo $ac_var`
829 [\\/$
]* | ?
:[\\/]* ) ;;
830 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831 { (exit 1); exit 1; }; };;
835 # There might be people who depend on the old broken behavior: `$host'
836 # used to hold the argument of --host etc.
837 # FIXME: To remove some day.
842 # FIXME: To remove some day.
843 if test "x$host_alias" != x
; then
844 if test "x$build_alias" = x
; then
845 cross_compiling
=maybe
846 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847 If a cross compiler is detected then cross compile mode will be used." >&2
848 elif test "x$build_alias" != "x$host_alias"; then
854 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
856 test "$silent" = yes && exec 6>/dev
/null
859 # Find the source files, if location was not specified.
860 if test -z "$srcdir"; then
861 ac_srcdir_defaulted
=yes
862 # Try the directory containing this script, then its parent.
863 ac_confdir
=`(dirname "$0") 2>/dev/null ||
864 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865 X"$0" : 'X\(//\)[^/]' \| \
866 X"$0" : 'X\(//\)$' \| \
867 X"$0" : 'X\(/\)' \| \
868 . : '\(.\)' 2>/dev/null ||
870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872 /^X\(\/\/\)$/{ s//\1/; q; }
873 /^X\(\/\).*/{ s//\1/; q; }
876 if test ! -r $srcdir/$ac_unique_file; then
880 ac_srcdir_defaulted
=no
882 if test ! -r $srcdir/$ac_unique_file; then
883 if test "$ac_srcdir_defaulted" = yes; then
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885 { (exit 1); exit 1; }; }
887 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888 { (exit 1); exit 1; }; }
891 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
892 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893 { (exit 1); exit 1; }; }
894 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895 ac_env_build_alias_set
=${build_alias+set}
896 ac_env_build_alias_value
=$build_alias
897 ac_cv_env_build_alias_set
=${build_alias+set}
898 ac_cv_env_build_alias_value
=$build_alias
899 ac_env_host_alias_set
=${host_alias+set}
900 ac_env_host_alias_value
=$host_alias
901 ac_cv_env_host_alias_set
=${host_alias+set}
902 ac_cv_env_host_alias_value
=$host_alias
903 ac_env_target_alias_set
=${target_alias+set}
904 ac_env_target_alias_value
=$target_alias
905 ac_cv_env_target_alias_set
=${target_alias+set}
906 ac_cv_env_target_alias_value
=$target_alias
907 ac_env_CC_set
=${CC+set}
909 ac_cv_env_CC_set
=${CC+set}
910 ac_cv_env_CC_value
=$CC
911 ac_env_CFLAGS_set
=${CFLAGS+set}
912 ac_env_CFLAGS_value
=$CFLAGS
913 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
914 ac_cv_env_CFLAGS_value
=$CFLAGS
915 ac_env_LDFLAGS_set
=${LDFLAGS+set}
916 ac_env_LDFLAGS_value
=$LDFLAGS
917 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
918 ac_cv_env_LDFLAGS_value
=$LDFLAGS
919 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
920 ac_env_CPPFLAGS_value
=$CPPFLAGS
921 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
922 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
923 ac_env_GCJ_set
=${GCJ+set}
924 ac_env_GCJ_value
=$GCJ
925 ac_cv_env_GCJ_set
=${GCJ+set}
926 ac_cv_env_GCJ_value
=$GCJ
927 ac_env_GCJFLAGS_set
=${GCJFLAGS+set}
928 ac_env_GCJFLAGS_value
=$GCJFLAGS
929 ac_cv_env_GCJFLAGS_set
=${GCJFLAGS+set}
930 ac_cv_env_GCJFLAGS_value
=$GCJFLAGS
931 ac_env_CPP_set
=${CPP+set}
932 ac_env_CPP_value
=$CPP
933 ac_cv_env_CPP_set
=${CPP+set}
934 ac_cv_env_CPP_value
=$CPP
935 ac_env_CXX_set
=${CXX+set}
936 ac_env_CXX_value
=$CXX
937 ac_cv_env_CXX_set
=${CXX+set}
938 ac_cv_env_CXX_value
=$CXX
939 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
940 ac_env_CXXFLAGS_value
=$CXXFLAGS
941 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
942 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
943 ac_env_CXXCPP_set
=${CXXCPP+set}
944 ac_env_CXXCPP_value
=$CXXCPP
945 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
946 ac_cv_env_CXXCPP_value
=$CXXCPP
947 ac_env_F77_set
=${F77+set}
948 ac_env_F77_value
=$F77
949 ac_cv_env_F77_set
=${F77+set}
950 ac_cv_env_F77_value
=$F77
951 ac_env_FFLAGS_set
=${FFLAGS+set}
952 ac_env_FFLAGS_value
=$FFLAGS
953 ac_cv_env_FFLAGS_set
=${FFLAGS+set}
954 ac_cv_env_FFLAGS_value
=$FFLAGS
955 ac_env_EMACS_set
=${EMACS+set}
956 ac_env_EMACS_value
=$EMACS
957 ac_cv_env_EMACS_set
=${EMACS+set}
958 ac_cv_env_EMACS_value
=$EMACS
959 ac_env_EMACSLOADPATH_set
=${EMACSLOADPATH+set}
960 ac_env_EMACSLOADPATH_value
=$EMACSLOADPATH
961 ac_cv_env_EMACSLOADPATH_set
=${EMACSLOADPATH+set}
962 ac_cv_env_EMACSLOADPATH_value
=$EMACSLOADPATH
965 # Report the --help message.
967 if test "$ac_init_help" = "long"; then
968 # Omit some internal or obsolete options to make the list less imposing.
969 # This message is too long to be a string in the A/UX 3.1 sh.
971 \`configure' configures this package to adapt to many kinds of systems.
973 Usage: $0 [OPTION]... [VAR=VALUE]...
975 To assign environment variables (e.g., CC, CFLAGS...), specify them as
976 VAR=VALUE. See below for descriptions of some of the useful variables.
978 Defaults for the options are specified in brackets.
981 -h, --help display this help and exit
982 --help=short display options specific to this package
983 --help=recursive display the short help of all the included packages
984 -V, --version display version information and exit
985 -q, --quiet, --silent do not print \`checking...' messages
986 --cache-file=FILE cache test results in FILE [disabled]
987 -C, --config-cache alias for \`--cache-file=config.cache'
988 -n, --no-create do not create output files
989 --srcdir=DIR find the sources in DIR [configure dir or \`..']
994 Installation directories:
995 --prefix=PREFIX install architecture-independent files in PREFIX
997 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1000 By default, \`make install' will install all the files in
1001 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1002 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1003 for instance \`--prefix=\$HOME'.
1005 For better control, use the options below.
1007 Fine tuning of the installation directories:
1008 --bindir=DIR user executables [EPREFIX/bin]
1009 --sbindir=DIR system admin executables [EPREFIX/sbin]
1010 --libexecdir=DIR program executables [EPREFIX/libexec]
1011 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1012 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1013 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1014 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1015 --libdir=DIR object code libraries [EPREFIX/lib]
1016 --includedir=DIR C header files [PREFIX/include]
1017 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1018 --infodir=DIR info documentation [PREFIX/info]
1019 --mandir=DIR man documentation [PREFIX/man]
1025 --program-prefix=PREFIX prepend PREFIX to installed program names
1026 --program-suffix=SUFFIX append SUFFIX to installed program names
1027 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1030 --build=BUILD configure
for building on BUILD
[guessed
]
1031 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1035 if test -n "$ac_init_help"; then
1040 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1041 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1042 --disable-dependency-tracking speeds up one-time build
1043 --enable-dependency-tracking do not reject slow dependency extractors
1044 --enable-csharp[=IMPL
] choose preferred C
# implementation (pnet or mono)
1045 --enable-shared[=PKGS
]
1046 build shared libraries
[default
=yes]
1047 --enable-static[=PKGS
]
1048 build static libraries
[default
=yes]
1049 --enable-fast-install[=PKGS
]
1050 optimize
for fast installation
[default
=yes]
1051 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1052 --enable-relocatable install a package that can be moved
in the filesystem
1053 --disable-nls do not use Native Language Support
1054 --disable-rpath do not hardcode runtime library paths
1057 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1058 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1059 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1060 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1063 include additional configurations
[automatic
]
1064 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1065 --without-included-regex don
't compile regex; this is the default on
1066 systems with version 2 of the GNU C library
1067 (use with caution on other system)
1068 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1069 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1070 --with-included-gettext use the GNU
gettext library included here
1071 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1072 --without-libintl-prefix don
't search for libintl in includedir and libdir
1073 --with-libexpat-prefix[=DIR] search for libexpat in DIR/include and DIR/lib
1074 --without-libexpat-prefix don't search
for libexpat
in includedir and libdir
1075 --with-lispdir override the default lisp directory
1077 Some influential environment variables
:
1078 CC C compiler
command
1079 CFLAGS C compiler flags
1080 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1081 nonstandard directory
<lib dir
>
1082 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1083 headers
in a nonstandard directory
<include dir
>
1084 GCJ Java native code compiler
command
1085 GCJFLAGS Java native code compiler flags
1087 CXX C
++ compiler
command
1088 CXXFLAGS C
++ compiler flags
1089 CXXCPP C
++ preprocessor
1090 F77 Fortran
77 compiler
command
1091 FFLAGS Fortran
77 compiler flags
1092 EMACS the Emacs editor
command
1094 the Emacs library search path
1096 Use these variables to override the choices made by
`configure' or to help
1097 it to find libraries and programs with nonstandard names/locations.
1102 if test "$ac_init_help" = "recursive"; then
1103 # If there are subdirs, report their specific --help.
1105 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1106 test -d $ac_dir || continue
1109 if test "$ac_dir" != .; then
1110 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1111 # A "../" for each directory in $ac_dir_suffix.
1112 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1114 ac_dir_suffix= ac_top_builddir=
1118 .) # No --srcdir option. We are building in place.
1120 if test -z "$ac_top_builddir"; then
1123 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1125 [\\/]* | ?:[\\/]* ) # Absolute path.
1126 ac_srcdir=$srcdir$ac_dir_suffix;
1127 ac_top_srcdir=$srcdir ;;
1129 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1130 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1133 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1134 # the directories may not exist.
1136 .) ac_abs_builddir="$ac_dir";;
1139 .) ac_abs_builddir=`pwd`;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1141 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1144 case $ac_abs_builddir in
1145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 case ${ac_top_builddir}. in
1148 .) ac_abs_top_builddir=$ac_abs_builddir;;
1149 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1150 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1153 case $ac_abs_builddir in
1154 .) ac_abs_srcdir=$ac_srcdir;;
1157 .) ac_abs_srcdir=$ac_abs_builddir;;
1158 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1159 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1162 case $ac_abs_builddir in
1163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 case $ac_top_srcdir in
1166 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1167 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1168 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1173 # Check for guested configure; otherwise get Cygnus style configure.
1174 if test -f $ac_srcdir/configure.gnu; then
1176 $SHELL $ac_srcdir/configure.gnu --help=recursive
1177 elif test -f $ac_srcdir/configure; then
1179 $SHELL $ac_srcdir/configure --help=recursive
1180 elif test -f $ac_srcdir/configure.ac ||
1181 test -f $ac_srcdir/configure.in; then
1183 $ac_configure --help
1185 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1191 test -n "$ac_init_help" && exit 0
1192 if $ac_init_version; then
1195 Copyright (C) 2003 Free Software Foundation, Inc.
1196 This configure script is free software; the Free Software Foundation
1197 gives unlimited permission to copy, distribute and modify it.
1203 This file contains any messages produced by compilers while
1204 running configure, to aid debugging if configure makes a mistake.
1206 It was created by $as_me, which was
1207 generated by GNU Autoconf 2.59. Invocation command line was
1218 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1219 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1220 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1221 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1222 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1224 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1225 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1227 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1228 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1229 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1230 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1231 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1232 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1233 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1241 test -z "$as_dir" && as_dir=.
1242 echo "PATH: $as_dir"
1257 # Keep a trace of the command line.
1258 # Strip out --no-create and --no-recursion so they do not pile up.
1259 # Strip out --silent because we don't want to record it for future runs.
1260 # Also quote any args containing shell meta-characters.
1261 # Make two passes to allow for proper duplicate-argument suppression.
1266 ac_must_keep_next=false
1272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1280 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1282 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1283 if test $ac_must_keep_next = true; then
1284 ac_must_keep_next=false # Got value, back to normal.
1287 *=* | --config-cache | -C | -disable-* | --disable-* \
1288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1290 | -with-* | --with-* | -without-* | --without-* | --x)
1291 case "$ac_configure_args0 " in
1292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1295 -* ) ac_must_keep_next=true ;;
1298 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1299 # Get rid of the leading space.
1305 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1306 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1308 # When interrupted or exit'd, cleanup temporary files, and complete
1309 # config.log. We remove comments because anyway the quotes in there
1310 # would cause problems or look ugly.
1311 # WARNING: Be sure not to use single quotes in there, as some shells,
1312 # such as our DU 5.0 friend, will then `close
' the trap.
1313 trap 'exit_status
=$?
1314 # Save into config.log some information that might help in debugging.
1319 ## ---------------- ##
1320 ## Cache variables. ##
1321 ## ---------------- ##
1324 # The following way of writing the cache mishandles newlines in values,
1327 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1330 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1335 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1342 ## ----------------- ##
1343 ## Output variables. ##
1344 ## ----------------- ##
1347 for ac_var
in $ac_subst_vars
1349 eval ac_val
=$
`echo $ac_var`
1350 echo "$ac_var='"'"'$ac_val'"'"'"
1354 if test -n "$ac_subst_files"; then
1361 for ac_var
in $ac_subst_files
1363 eval ac_val
=$
`echo $ac_var`
1364 echo "$ac_var='"'"'$ac_val'"'"'"
1369 if test -s confdefs.h
; then
1376 sed "/^$/d" confdefs.h |
sort
1379 test "$ac_signal" != 0 &&
1380 echo "$as_me: caught signal $ac_signal"
1381 echo "$as_me: exit $exit_status"
1383 rm -f core
*.core
&&
1384 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1387 for ac_signal in 1 2 13 15; do
1388 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1393 rm -rf conftest* confdefs.h
1394 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1397 # Predefined preprocessor variables.
1399 cat >>confdefs.h <<_ACEOF
1400 #define PACKAGE_NAME "$PACKAGE_NAME"
1404 cat >>confdefs.h <<_ACEOF
1405 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_STRING "$PACKAGE_STRING"
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1424 # Let the site file select an alternate cache file if it wants to.
1425 # Prefer explicitly selected file to automatically selected ones.
1426 if test -z "$CONFIG_SITE"; then
1427 if test "x$prefix" != xNONE; then
1428 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1430 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1433 for ac_site_file in $CONFIG_SITE; do
1434 if test -r "$ac_site_file"; then
1435 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1436 echo "$as_me: loading site script $ac_site_file" >&6;}
1437 sed 's
/^
/|
/' "$ac_site_file" >&5
1442 if test -r "$cache_file"; then
1443 # Some versions of bash will fail to source /dev/null (special
1444 # files actually), so we avoid doing that.
1445 if test -f "$cache_file"; then
1446 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1447 echo "$as_me: loading cache $cache_file" >&6;}
1449 [\\/]* | ?:[\\/]* ) . $cache_file;;
1450 *) . ./$cache_file;;
1454 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1455 echo "$as_me: creating cache $cache_file" >&6;}
1459 # Check that the precious variables saved in the cache have kept the same
1461 ac_cache_corrupted=false
1462 for ac_var in `(set) 2>&1 |
1463 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1464 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1465 eval ac_new_set=\$ac_env_${ac_var}_set
1466 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1467 eval ac_new_val="\$ac_env_${ac_var}_value"
1468 case $ac_old_set,$ac_new_set in
1470 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1472 ac_cache_corrupted=: ;;
1474 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1476 ac_cache_corrupted=: ;;
1479 if test "x$ac_old_val" != "x$ac_new_val"; then
1480 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1481 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1482 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1483 echo "$as_me: former value: $ac_old_val" >&2;}
1484 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1485 echo "$as_me: current value: $ac_new_val" >&2;}
1486 ac_cache_corrupted=:
1489 # Pass precious variables to config.status.
1490 if test "$ac_new_set" = set; then
1492 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1493 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1494 *) ac_arg=$ac_var=$ac_new_val ;;
1496 case " $ac_configure_args " in
1497 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1498 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1502 if $ac_cache_corrupted; then
1503 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1504 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1505 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1506 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1507 { (exit 1); exit 1; }; }
1511 ac_cpp='$CPP $CPPFLAGS'
1512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1513 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1536 for ac_dir in ../build-aux $srcdir/../build-aux; do
1537 if test -f $ac_dir/install-sh; then
1539 ac_install_sh="$ac_aux_dir/install-sh -c"
1541 elif test -f $ac_dir/install.sh; then
1543 ac_install_sh="$ac_aux_dir/install.sh -c"
1545 elif test -f $ac_dir/shtool; then
1547 ac_install_sh="$ac_aux_dir/shtool install -c"
1551 if test -z "$ac_aux_dir"; then
1552 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../build-aux $srcdir/../build-aux" >&5
1553 echo "$as_me: error: cannot find install-sh or install.sh in ../build-aux $srcdir/../build-aux" >&2;}
1554 { (exit 1); exit 1; }; }
1556 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1557 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1558 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1560 . $srcdir/../version.sh
1561 am__api_version="1.9"
1562 # Find a good install program. We prefer a C program (faster),
1563 # so one script is as good as another. But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1585 test -z "$as_dir" && as_dir
=.
1586 # Account for people who put trailing slashes in PATH elements.
1588 .
/ | .
// |
/cC
/* | \
1589 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1590 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1593 # OSF1 and SCO ODT 3.0 have their own names for install.
1594 # Don't use installbsd from OSF since it installs stuff as root
1596 for ac_prog
in ginstall scoinst
install; do
1597 for ac_exec_ext
in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599 if test $ac_prog = install &&
1600 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1603 elif test $ac_prog = install &&
1604 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1605 # program-specific install script used by HP pwplus--don't use.
1608 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1620 if test "${ac_cv_path_install+set}" = set; then
1621 INSTALL
=$ac_cv_path_install
1623 # As a last resort, use the slow shell script. We don't cache a
1624 # path for INSTALL within a source directory, because that will
1625 # break other packages using the cache if that directory is
1626 # removed, or if the path is relative.
1627 INSTALL
=$ac_install_sh
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1639 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1645 echo timestamp
> conftest.
file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments. Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1652 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653 if test "$*" = "X"; then
1655 set X
`ls -t $srcdir/configure conftest.file`
1658 if test "$*" != "X $srcdir/configure conftest.file" \
1659 && test "$*" != "X conftest.file $srcdir/configure"; then
1661 # If neither matched, then we have a broken ls. This can happen
1662 # if, for instance, CONFIG_SHELL is bash and it inherits a
1663 # broken ls alias from the environment. This has actually
1664 # happened. Such a system could not be considered "sane".
1665 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&2;}
1669 { (exit 1); exit 1; }; }
1672 test "$2" = conftest.
file
1678 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE
&&
1687 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE
&&
1690 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $. echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF
>conftest.
sed
1694 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1696 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir
=`cd $ac_aux_dir && pwd`
1702 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705 am_missing_run
="$MISSING --run "
1708 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1712 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1713 # We used to keeping the `.' as first argument, in order to
1714 # allow $(mkdir_p) to be used without argument. As in
1715 # $(mkdir_p) $(somedir)
1716 # where $(somedir) is conditionally defined. However this is wrong
1718 # 1. if the package is installed by a user who cannot write `.'
1719 # make install will fail,
1720 # 2. the above comment should most certainly read
1721 # $(mkdir_p) $(DESTDIR)$(somedir)
1722 # so it does not work when $(somedir) is undefined and
1723 # $(DESTDIR) is not.
1724 # To support the latter case, we have to write
1725 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726 # so the `.' trick is pointless.
1727 mkdir_p
='mkdir -p --'
1729 # On NextStep and OpenStep, the `mkdir' command does not
1730 # recognize any option. It will interpret all options as
1731 # directories to create, and then abort because `.' already
1733 for d
in .
/-p .
/--version;
1735 test -d $d && rmdir $d
1737 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738 if test -f "$ac_aux_dir/mkinstalldirs"; then
1739 mkdir_p
='$(mkinstalldirs)'
1741 mkdir_p
='$(install_sh) -d'
1745 for ac_prog
in gawk mawk nawk
awk
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy
$ac_prog; ac_word
=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 if test -n "$AWK"; then
1755 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1761 test -z "$as_dir" && as_dir
=.
1762 for ac_exec_ext
in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_AWK
="$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1774 if test -n "$AWK"; then
1775 echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$AWK" && break
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1791 cat >conftest.
make <<\_ACEOF
1793 @
echo 'ac_maketemp="$(MAKE)"'
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798 eval ac_cv_prog_make_
${ac_make}_set
=yes
1800 eval ac_cv_prog_make_
${ac_make}_set
=no
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805 echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811 SET_MAKE
="MAKE=${MAKE-make}"
1814 rm -rf .tst
2>/dev
/null
1815 mkdir .tst
2>/dev
/null
1816 if test -d .tst
; then
1821 rmdir .tst
2>/dev
/null
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825 test -f $srcdir/config.status
; then
1826 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1834 CYGPATH_W
='cygpath -w'
1841 # Define the identity of the package.
1842 PACKAGE
=gettext-tools
1843 VERSION
=$VERSION_NUMBER
1846 cat >>confdefs.h
<<_ACEOF
1847 #define PACKAGE "$PACKAGE"
1851 cat >>confdefs.h
<<_ACEOF
1852 #define VERSION "$VERSION"
1855 # Some tools Automake needs.
1857 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1860 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1863 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1866 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1869 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1871 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1873 # Installed binaries are usually stripped using `strip' when the user
1874 # run `make install-strip'. However `strip' might not be the right
1875 # tool to use in cross-compilation environments, therefore Automake
1876 # will honor the `STRIP' environment variable to overrule this program.
1877 if test "$cross_compiling" != no
; then
1878 if test -n "$ac_tool_prefix"; then
1879 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1880 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1881 echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883 if test "${ac_cv_prog_STRIP+set}" = set; then
1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1886 if test -n "$STRIP"; then
1887 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1893 test -z "$as_dir" && as_dir
=.
1894 for ac_exec_ext
in '' $ac_executable_extensions; do
1895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 STRIP
=$ac_cv_prog_STRIP
1906 if test -n "$STRIP"; then
1907 echo "$as_me:$LINENO: result: $STRIP" >&5
1908 echo "${ECHO_T}$STRIP" >&6
1910 echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6
1915 if test -z "$ac_cv_prog_STRIP"; then
1917 # Extract the first word of "strip", so it can be a program name with args.
1918 set dummy strip
; ac_word
=$2
1919 echo "$as_me:$LINENO: checking for $ac_word" >&5
1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1921 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 if test -n "$ac_ct_STRIP"; then
1925 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1931 test -z "$as_dir" && as_dir
=.
1932 for ac_exec_ext
in '' $ac_executable_extensions; do
1933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1934 ac_cv_prog_ac_ct_STRIP
="strip"
1935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1944 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1945 if test -n "$ac_ct_STRIP"; then
1946 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1947 echo "${ECHO_T}$ac_ct_STRIP" >&6
1949 echo "$as_me:$LINENO: result: no" >&5
1950 echo "${ECHO_T}no" >&6
1955 STRIP
="$ac_cv_prog_STRIP"
1959 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1961 # We need awk for the "check" target. The system "awk" is bad on
1963 # Always define AMTAR for backward compatibility.
1965 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1967 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1973 ac_config_headers
="$ac_config_headers config.h"
1976 localedir
='${datadir}/locale'
1978 docdir
='${datadir}/doc/gettext'
1980 test "$mandir" != '${prefix}/man' || mandir
='${datadir}/man'
1983 ac_cpp
='$CPP $CPPFLAGS'
1984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1987 if test -n "$ac_tool_prefix"; then
1988 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1989 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1990 echo "$as_me:$LINENO: checking for $ac_word" >&5
1991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1992 if test "${ac_cv_prog_CC+set}" = set; then
1993 echo $ECHO_N "(cached) $ECHO_C" >&6
1995 if test -n "$CC"; then
1996 ac_cv_prog_CC
="$CC" # Let the user override the test.
1998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2002 test -z "$as_dir" && as_dir
=.
2003 for ac_exec_ext
in '' $ac_executable_extensions; do
2004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2005 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2015 if test -n "$CC"; then
2016 echo "$as_me:$LINENO: result: $CC" >&5
2017 echo "${ECHO_T}$CC" >&6
2019 echo "$as_me:$LINENO: result: no" >&5
2020 echo "${ECHO_T}no" >&6
2024 if test -z "$ac_cv_prog_CC"; then
2026 # Extract the first word of "gcc", so it can be a program name with args.
2027 set dummy gcc
; ac_word
=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$ac_ct_CC"; then
2034 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir
=.
2041 for ac_exec_ext
in '' $ac_executable_extensions; do
2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043 ac_cv_prog_ac_ct_CC
="gcc"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2052 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2053 if test -n "$ac_ct_CC"; then
2054 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2055 echo "${ECHO_T}$ac_ct_CC" >&6
2057 echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2066 if test -z "$CC"; then
2067 if test -n "$ac_tool_prefix"; then
2068 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2069 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2070 echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2072 if test "${ac_cv_prog_CC+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 if test -n "$CC"; then
2076 ac_cv_prog_CC
="$CC" # Let the user override the test.
2078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir
=.
2083 for ac_exec_ext
in '' $ac_executable_extensions; do
2084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 if test -n "$CC"; then
2096 echo "$as_me:$LINENO: result: $CC" >&5
2097 echo "${ECHO_T}$CC" >&6
2099 echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6
2104 if test -z "$ac_cv_prog_CC"; then
2106 # Extract the first word of "cc", so it can be a program name with args.
2107 set dummy cc
; ac_word
=$2
2108 echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir
=.
2121 for ac_exec_ext
in '' $ac_executable_extensions; do
2122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_ac_ct_CC
="cc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2133 if test -n "$ac_ct_CC"; then
2134 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2135 echo "${ECHO_T}$ac_ct_CC" >&6
2137 echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2147 if test -z "$CC"; then
2148 # Extract the first word of "cc", so it can be a program name with args.
2149 set dummy cc
; ac_word
=$2
2150 echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2152 if test "${ac_cv_prog_CC+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 if test -n "$CC"; then
2156 ac_cv_prog_CC
="$CC" # Let the user override the test.
2159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2163 test -z "$as_dir" && as_dir
=.
2164 for ac_exec_ext
in '' $ac_executable_extensions; do
2165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2166 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2167 ac_prog_rejected
=yes
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177 if test $ac_prog_rejected = yes; then
2178 # We found a bogon in the path, so make sure we never use it.
2179 set dummy
$ac_cv_prog_CC
2181 if test $# != 0; then
2182 # We chose a different compiler from the bogus one.
2183 # However, it has the same basename, so the bogon will be chosen
2184 # first if we set CC to just the basename; use the full file name.
2186 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2192 if test -n "$CC"; then
2193 echo "$as_me:$LINENO: result: $CC" >&5
2194 echo "${ECHO_T}$CC" >&6
2196 echo "$as_me:$LINENO: result: no" >&5
2197 echo "${ECHO_T}no" >&6
2201 if test -z "$CC"; then
2202 if test -n "$ac_tool_prefix"; then
2205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2206 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2207 echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2209 if test "${ac_cv_prog_CC+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 if test -n "$CC"; then
2213 ac_cv_prog_CC
="$CC" # Let the user override the test.
2215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir
=.
2220 for ac_exec_ext
in '' $ac_executable_extensions; do
2221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2222 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 if test -n "$CC"; then
2233 echo "$as_me:$LINENO: result: $CC" >&5
2234 echo "${ECHO_T}$CC" >&6
2236 echo "$as_me:$LINENO: result: no" >&5
2237 echo "${ECHO_T}no" >&6
2240 test -n "$CC" && break
2243 if test -z "$CC"; then
2247 # Extract the first word of "$ac_prog", so it can be a program name with args.
2248 set dummy
$ac_prog; ac_word
=$2
2249 echo "$as_me:$LINENO: checking for $ac_word" >&5
2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2251 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 if test -n "$ac_ct_CC"; then
2255 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir
=.
2262 for ac_exec_ext
in '' $ac_executable_extensions; do
2263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2264 ac_cv_prog_ac_ct_CC
="$ac_prog"
2265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2273 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2274 if test -n "$ac_ct_CC"; then
2275 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2276 echo "${ECHO_T}$ac_ct_CC" >&6
2278 echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6
2282 test -n "$ac_ct_CC" && break
2291 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2292 See \`config.log' for more details." >&5
2293 echo "$as_me: error: no acceptable C compiler found in \$PATH
2294 See \`config.log' for more details." >&2;}
2295 { (exit 1); exit 1; }; }
2297 # Provide some information about the compiler.
2298 echo "$as_me:$LINENO:" \
2299 "checking for C compiler version" >&5
2300 ac_compiler
=`set X $ac_compile; echo $2`
2301 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2302 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }
2306 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2307 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }
2311 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2312 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }
2317 cat >conftest.
$ac_ext <<_ACEOF
2320 cat confdefs.h
>>conftest.
$ac_ext
2321 cat >>conftest.
$ac_ext <<_ACEOF
2322 /* end confdefs.h. */
2332 ac_clean_files_save
=$ac_clean_files
2333 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2334 # Try to create an executable without -o first, disregard a.out.
2335 # It will help us diagnose broken compilers, and finding out an intuition
2337 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2338 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2339 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2340 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2341 (eval $ac_link_default) 2>&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; then
2345 # Find the output, starting from the most likely. This scheme is
2346 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2349 # Be careful to initialize this variable, since it used to be cached.
2350 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2352 # b.out is created by i960 compilers.
2353 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2355 test -f "$ac_file" ||
continue
2357 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2360 # This is the source file.
2363 # We found the default executable, but exeext='' is most
2367 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2368 # FIXME: I believe we export ac_cv_exeext for Libtool,
2369 # but it would be cool to find out if it's true. Does anybody
2370 # maintain Libtool? --akim.
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.
$ac_ext >&5
2381 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2382 See \`config.log' for more details." >&5
2383 echo "$as_me: error: C compiler cannot create executables
2384 See \`config.log' for more details." >&2;}
2385 { (exit 77); exit 77; }; }
2388 ac_exeext
=$ac_cv_exeext
2389 echo "$as_me:$LINENO: result: $ac_file" >&5
2390 echo "${ECHO_T}$ac_file" >&6
2392 # Check the compiler produces executables we can run. If not, either
2393 # the compiler is broken, or we cross compile.
2394 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2395 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2396 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2397 # If not cross compiling, check that we can run a simple program.
2398 if test "$cross_compiling" != yes; then
2399 if { ac_try
='./$ac_file'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; }; then
2407 if test "$cross_compiling" = maybe
; then
2410 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2411 If you meant to cross compile, use \`--host'.
2412 See \`config.log' for more details." >&5
2413 echo "$as_me: error: cannot run C compiled programs.
2414 If you meant to cross compile, use \`--host'.
2415 See \`config.log' for more details." >&2;}
2416 { (exit 1); exit 1; }; }
2420 echo "$as_me:$LINENO: result: yes" >&5
2421 echo "${ECHO_T}yes" >&6
2423 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2424 ac_clean_files
=$ac_clean_files_save
2425 # Check the compiler produces executables we can run. If not, either
2426 # the compiler is broken, or we cross compile.
2427 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2428 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2429 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2430 echo "${ECHO_T}$cross_compiling" >&6
2432 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2433 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2435 (eval $ac_link) 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; then
2439 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2440 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2441 # work properly (i.e., refer to `conftest.exe'), while it won't with
2443 for ac_file
in conftest.exe conftest conftest.
*; do
2444 test -f "$ac_file" ||
continue
2446 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2447 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2454 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2455 See \`config.log' for more details." >&5
2456 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2457 See \`config.log' for more details." >&2;}
2458 { (exit 1); exit 1; }; }
2461 rm -f conftest
$ac_cv_exeext
2462 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2463 echo "${ECHO_T}$ac_cv_exeext" >&6
2465 rm -f conftest.
$ac_ext
2466 EXEEXT
=$ac_cv_exeext
2468 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2469 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2470 if test "${ac_cv_objext+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 cat >conftest.
$ac_ext <<_ACEOF
2476 cat confdefs.h
>>conftest.
$ac_ext
2477 cat >>conftest.
$ac_ext <<_ACEOF
2478 /* end confdefs.h. */
2488 rm -f conftest.o conftest.obj
2489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2490 (eval $ac_compile) 2>&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); }; then
2494 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2496 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2497 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2502 echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.
$ac_ext >&5
2505 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2506 See \`config.log' for more details." >&5
2507 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2508 See \`config.log' for more details." >&2;}
2509 { (exit 1); exit 1; }; }
2512 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2514 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2515 echo "${ECHO_T}$ac_cv_objext" >&6
2516 OBJEXT
=$ac_cv_objext
2518 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2519 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2520 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2521 echo $ECHO_N "(cached) $ECHO_C" >&6
2523 cat >conftest.
$ac_ext <<_ACEOF
2526 cat confdefs.h
>>conftest.
$ac_ext
2527 cat >>conftest.
$ac_ext <<_ACEOF
2528 /* end confdefs.h. */
2541 rm -f conftest.
$ac_objext
2542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2543 (eval $ac_compile) 2>conftest.er1
2545 grep -v '^ *+' conftest.er1
>conftest.err
2547 cat conftest.err
>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); } &&
2550 { ac_try
='test -z "$ac_c_werror_flag"
2551 || test ! -s conftest.err'
2552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); }; } &&
2557 { ac_try
='test -s conftest.$ac_objext'
2558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; }; then
2565 echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.
$ac_ext >&5
2570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2571 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2574 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2575 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2576 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2577 ac_test_CFLAGS
=${CFLAGS+set}
2578 ac_save_CFLAGS
=$CFLAGS
2580 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2581 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2582 if test "${ac_cv_prog_cc_g+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 cat >conftest.
$ac_ext <<_ACEOF
2588 cat confdefs.h
>>conftest.
$ac_ext
2589 cat >>conftest.
$ac_ext <<_ACEOF
2590 /* end confdefs.h. */
2600 rm -f conftest.
$ac_objext
2601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2602 (eval $ac_compile) 2>conftest.er1
2604 grep -v '^ *+' conftest.er1
>conftest.err
2606 cat conftest.err
>&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); } &&
2609 { ac_try
='test -z "$ac_c_werror_flag"
2610 || test ! -s conftest.err'
2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; } &&
2616 { ac_try
='test -s conftest.$ac_objext'
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; }; then
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.
$ac_ext >&5
2629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2631 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2632 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2633 if test "$ac_test_CFLAGS" = set; then
2634 CFLAGS
=$ac_save_CFLAGS
2635 elif test $ac_cv_prog_cc_g = yes; then
2636 if test "$GCC" = yes; then
2642 if test "$GCC" = yes; then
2648 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2649 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2650 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 ac_cv_prog_cc_stdc
=no
2655 cat >conftest.
$ac_ext <<_ACEOF
2658 cat confdefs.h
>>conftest.
$ac_ext
2659 cat >>conftest.
$ac_ext <<_ACEOF
2660 /* end confdefs.h. */
2663 #include <sys/types.h>
2664 #include <sys/stat.h>
2665 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2666 struct buf { int x; };
2667 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2668 static char *e (p, i)
2674 static char *f (char * (*g) (char **, int), char **p, ...)
2679 s = g (p, va_arg (v,int));
2684 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2685 function prototypes and stuff, but not '\xHH' hex character constants.
2686 These don't provoke an error unfortunately, instead are silently treated
2687 as 'x'. The following induces an error, until -std1 is added to get
2688 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2689 array size at least. It's necessary to write '\x00'==0 to get something
2690 that's true only with -std1. */
2691 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2693 int test (int i, double x);
2694 struct s1 {int (*f) (int a);};
2695 struct s2 {int (*f) (double a);};
2696 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2702 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2707 # Don't try gcc -ansi; that turns off useful extensions and
2708 # breaks some systems' header files.
2709 # AIX -qlanglvl=ansi
2710 # Ultrix and OSF/1 -std1
2711 # HP-UX 10.20 and later -Ae
2712 # HP-UX older versions -Aa -D_HPUX_SOURCE
2713 # SVR4 -Xc -D__EXTENSIONS__
2714 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2716 CC
="$ac_save_CC $ac_arg"
2717 rm -f conftest.
$ac_objext
2718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2719 (eval $ac_compile) 2>conftest.er1
2721 grep -v '^ *+' conftest.er1
>conftest.err
2723 cat conftest.err
>&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } &&
2726 { ac_try
='test -z "$ac_c_werror_flag"
2727 || test ! -s conftest.err'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; } &&
2733 { ac_try
='test -s conftest.$ac_objext'
2734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2739 ac_cv_prog_cc_stdc
=$ac_arg
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.
$ac_ext >&5
2746 rm -f conftest.err conftest.
$ac_objext
2748 rm -f conftest.
$ac_ext conftest.
$ac_objext
2753 case "x$ac_cv_prog_cc_stdc" in
2755 echo "$as_me:$LINENO: result: none needed" >&5
2756 echo "${ECHO_T}none needed" >&6 ;;
2758 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2759 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2760 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2763 # Some people use a C++ compiler to compile C. Since we use `exit',
2764 # in C++ we need to declare it. In case someone uses the same compiler
2765 # for both compiling C and C++ we need to have the C++ compiler decide
2766 # the declaration of exit, since it's the most demanding environment.
2767 cat >conftest.
$ac_ext <<_ACEOF
2772 rm -f conftest.
$ac_objext
2773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2774 (eval $ac_compile) 2>conftest.er1
2776 grep -v '^ *+' conftest.er1
>conftest.err
2778 cat conftest.err
>&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try
='test -z "$ac_c_werror_flag"
2782 || test ! -s conftest.err'
2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; } &&
2788 { ac_try
='test -s conftest.$ac_objext'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; }; then
2794 for ac_declaration
in \
2796 'extern "C" void std::exit (int) throw (); using std::exit;' \
2797 'extern "C" void std::exit (int); using std::exit;' \
2798 'extern "C" void exit (int) throw ();' \
2799 'extern "C" void exit (int);' \
2802 cat >conftest.
$ac_ext <<_ACEOF
2805 cat confdefs.h
>>conftest.
$ac_ext
2806 cat >>conftest.
$ac_ext <<_ACEOF
2807 /* end confdefs.h. */
2818 rm -f conftest.
$ac_objext
2819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2820 (eval $ac_compile) 2>conftest.er1
2822 grep -v '^ *+' conftest.er1
>conftest.err
2824 cat conftest.err
>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } &&
2827 { ac_try
='test -z "$ac_c_werror_flag"
2828 || test ! -s conftest.err'
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; } &&
2834 { ac_try
='test -s conftest.$ac_objext'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; }; then
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2848 cat >conftest.
$ac_ext <<_ACEOF
2851 cat confdefs.h
>>conftest.
$ac_ext
2852 cat >>conftest.
$ac_ext <<_ACEOF
2853 /* end confdefs.h. */
2863 rm -f conftest.
$ac_objext
2864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2865 (eval $ac_compile) 2>conftest.er1
2867 grep -v '^ *+' conftest.er1
>conftest.err
2869 cat conftest.err
>&5
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); } &&
2872 { ac_try
='test -z "$ac_c_werror_flag"
2873 || test ! -s conftest.err'
2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; } &&
2879 { ac_try
='test -s conftest.$ac_objext'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; }; then
2887 echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.
$ac_ext >&5
2891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2894 if test -n "$ac_declaration"; then
2895 echo '#ifdef __cplusplus' >>confdefs.h
2896 echo $ac_declaration >>confdefs.h
2897 echo '#endif' >>confdefs.h
2901 echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.
$ac_ext >&5
2905 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2907 ac_cpp
='$CPP $CPPFLAGS'
2908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2911 DEPDIR
="${am__leading_dot}deps"
2913 ac_config_commands
="$ac_config_commands depfiles"
2916 am_make
=${MAKE-make}
2917 cat > confinc
<< 'END'
2922 # If we don't find an include directive, just comment out the code.
2923 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2924 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2928 # First try GNU make style include.
2929 echo "include confinc" > confmf
2930 # We grep out `Entering directory' and `Leaving directory'
2931 # messages which can occur if `w' ends up in MAKEFLAGS.
2932 # In particular we don't look at `^make:' because GNU make might
2933 # be invoked under some other name (usually "gmake"), in which
2934 # case it prints its new name instead of `make'.
2935 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2940 # Now try BSD make style include.
2941 if test "$am__include" = "#"; then
2942 echo '.include "confinc"' > confmf
2943 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2944 am__include
=.include
2951 echo "$as_me:$LINENO: result: $_am_result" >&5
2952 echo "${ECHO_T}$_am_result" >&6
2953 rm -f confinc confmf
2955 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2956 if test "${enable_dependency_tracking+set}" = set; then
2957 enableval
="$enable_dependency_tracking"
2960 if test "x$enable_dependency_tracking" != xno
; then
2961 am_depcomp
="$ac_aux_dir/depcomp"
2966 if test "x$enable_dependency_tracking" != xno; then
2977 depcc
="$CC" am_compiler_list
=
2979 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2980 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2981 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2982 echo $ECHO_N "(cached) $ECHO_C" >&6
2984 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2985 # We make a subdir and do the tests there. Otherwise we can end up
2986 # making bogus files that we don't know about and never remove. For
2987 # instance it was reported that on HP-UX the gcc test will end up
2988 # making a dummy file named `D' -- because `-MD' means `put the output
2991 # Copy depcomp to subdir because otherwise we won't find it if we're
2992 # using a relative directory.
2993 cp "$am_depcomp" conftest.dir
2995 # We will build objects and dependencies in a subdirectory because
2996 # it helps to detect inapplicable dependency modes. For instance
2997 # both Tru64's cc and ICC support -MD to output dependencies as a
2998 # side effect of compilation, but ICC will put the dependencies in
2999 # the current directory while Tru64 will put them in the object
3003 am_cv_CC_dependencies_compiler_type
=none
3004 if test "$am_compiler_list" = ""; then
3005 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3007 for depmode
in $am_compiler_list; do
3008 # Setup a source with many dependencies, because some compilers
3009 # like to wrap large dependency lists on column 80 (with \), and
3010 # we should not choose a depcomp mode which is confused by this.
3012 # We need to recreate these files for each test, as the compiler may
3013 # overwrite some of them when testing with obscure command lines.
3014 # This happens at least with the AIX C compiler.
3016 for i
in 1 2 3 4 5 6; do
3017 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3018 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3019 # Solaris 8's {/usr,}/bin/sh.
3020 touch sub
/conftst
$i.h
3022 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3026 # after this tag, mechanisms are not by side-effect, so they'll
3027 # only be used when explicitly requested
3028 if test "x$enable_dependency_tracking" = xyes
; then
3036 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3037 # mode. It turns out that the SunPro C++ compiler does not properly
3038 # handle `-M -o', and we need to detect this.
3039 if depmode
=$depmode \
3040 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3041 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3042 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3043 >/dev
/null
2>conftest.err
&&
3044 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3045 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3046 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3047 # icc doesn't choke on unknown options, it will just issue warnings
3048 # or remarks (even with -Werror). So we grep stderr for any message
3049 # that says an option was ignored or not supported.
3050 # When given -MP, icc 7.0 and 7.1 complain thusly:
3051 # icc: Command line warning: ignoring option '-M'; no argument required
3052 # The diagnosis changed in icc 8.0:
3053 # icc: Command line remark: option '-MP' not supported
3054 if (grep 'ignoring option' conftest.err ||
3055 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3056 am_cv_CC_dependencies_compiler_type
=$depmode
3065 am_cv_CC_dependencies_compiler_type
=none
3069 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3070 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3071 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3076 test "x$enable_dependency_tracking" != xno \
3077 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3079 am__fastdepCC_FALSE
='#'
3081 am__fastdepCC_TRUE
='#'
3082 am__fastdepCC_FALSE
=
3086 # Find a good install program. We prefer a C program (faster),
3087 # so one script is as good as another. But avoid the broken or
3088 # incompatible versions:
3089 # SysV /etc/install, /usr/sbin/install
3090 # SunOS /usr/etc/install
3091 # IRIX /sbin/install
3093 # AmigaOS /C/install, which installs bootblocks on floppy discs
3094 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3095 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3096 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3097 # OS/2's system install, which has a completely different semantic
3098 # ./install, which can be erroneously created by make from ./install.sh.
3099 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3100 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3101 if test -z "$INSTALL"; then
3102 if test "${ac_cv_path_install+set}" = set; then
3103 echo $ECHO_N "(cached) $ECHO_C" >&6
3105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir
=.
3110 # Account for people who put trailing slashes in PATH elements.
3112 .
/ | .
// |
/cC
/* | \
3113 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3114 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3117 # OSF1 and SCO ODT 3.0 have their own names for install.
3118 # Don't use installbsd from OSF since it installs stuff as root
3120 for ac_prog
in ginstall scoinst
install; do
3121 for ac_exec_ext
in '' $ac_executable_extensions; do
3122 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3123 if test $ac_prog = install &&
3124 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3125 # AIX install. It has an incompatible calling convention.
3127 elif test $ac_prog = install &&
3128 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3129 # program-specific install script used by HP pwplus--don't use.
3132 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3144 if test "${ac_cv_path_install+set}" = set; then
3145 INSTALL
=$ac_cv_path_install
3147 # As a last resort, use the slow shell script. We don't cache a
3148 # path for INSTALL within a source directory, because that will
3149 # break other packages using the cache if that directory is
3150 # removed, or if the path is relative.
3151 INSTALL
=$ac_install_sh
3154 echo "$as_me:$LINENO: result: $INSTALL" >&5
3155 echo "${ECHO_T}$INSTALL" >&6
3157 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3158 # It thinks the first close brace ends the variable substitution.
3159 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3161 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3163 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3165 for ac_prog
in 'bison -y' byacc
3167 # Extract the first word of "$ac_prog", so it can be a program name with args.
3168 set dummy
$ac_prog; ac_word
=$2
3169 echo "$as_me:$LINENO: checking for $ac_word" >&5
3170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3171 if test "${ac_cv_prog_YACC+set}" = set; then
3172 echo $ECHO_N "(cached) $ECHO_C" >&6
3174 if test -n "$YACC"; then
3175 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3181 test -z "$as_dir" && as_dir
=.
3182 for ac_exec_ext
in '' $ac_executable_extensions; do
3183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3184 ac_cv_prog_YACC
="$ac_prog"
3185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3193 YACC
=$ac_cv_prog_YACC
3194 if test -n "$YACC"; then
3195 echo "$as_me:$LINENO: result: $YACC" >&5
3196 echo "${ECHO_T}$YACC" >&6
3198 echo "$as_me:$LINENO: result: no" >&5
3199 echo "${ECHO_T}no" >&6
3202 test -n "$YACC" && break
3204 test -n "$YACC" || YACC
="yacc"
3211 echo "$as_me:$LINENO: checking for Java to native code compiler" >&5
3212 echo $ECHO_N "checking for Java to native code compiler... $ECHO_C" >&6
3213 # Search for the gcj command or use the one provided by the user.
3214 if test -z "$GCJ"; then
3217 # Extract the first word of "$ac_prog", so it can be a program name with args.
3218 set dummy
$ac_prog; ac_word
=$2
3220 if test "${ac_cv_prog_GCJ+set}" = set; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 if test -n "$GCJ"; then
3224 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
3226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3230 test -z "$as_dir" && as_dir
=.
3231 for ac_exec_ext
in '' $ac_executable_extensions; do
3232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3233 ac_cv_prog_GCJ
="$ac_prog"
3234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3243 if test -n "$GCJ"; then
3249 test -n "$GCJ" && break
3251 test -n "$GCJ" || GCJ
="none"
3254 # Choose GCJFLAGS or use the one provided by the user.
3255 if test "$GCJ" != none
; then
3256 test "${GCJFLAGS+set}" != set || GCJFLAGS
="-O2 -g"
3258 # Check whether the version is ok and it can create executables.
3259 ac_gcj_link
="$GCJ $GCJFLAGS conftest.java --main=conftest -o conftest$ac_exeext"
3260 if test "$GCJ" != none \
3261 && $GCJ --version 2>/dev
/null |
sed -e 's,^[^0-9]*,,' -e 1q |
grep '^[3-9]' >/dev
/null \
3263 # See if libgcj.so is well installed and if exception handling works.
3264 cat > conftest.java
<<EOF
3265 public class conftest {
3266 public static void main (String[] args) {
3268 java.util.ResourceBundle.getBundle("foobar");
3269 } catch (Exception e) {
3275 { (eval echo "$as_me:$LINENO: \"$ac_gcj_link\"") >&5
3276 (eval $ac_gcj_link) 2>&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }
3281 if test $error = 0 && test "$cross_compiling" != yes; then
3282 # Run conftest and catch its exit status, but silently.
3283 error
=`./conftest >/dev/null 2>&1; echo $?`
3284 test $error = 0 || error
=1
3285 rm -f core conftest.core
3287 rm -f conftest.java conftest
$ac_exeext
3294 echo "$as_me:$LINENO: result: $GCJ" >&5
3295 echo "${ECHO_T}$GCJ" >&6
3296 if test "$GCJ" != none
; then
3305 if test -n "$HAVE_GCJ"; then
3314 ac_cpp
='$CPP $CPPFLAGS'
3315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3318 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3319 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3320 # On Suns, sometimes $CPP names a directory.
3321 if test -n "$CPP" && test -d "$CPP"; then
3324 if test -z "$CPP"; then
3325 if test "${ac_cv_prog_CPP+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 # Double quotes because CPP needs to be expanded
3329 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3332 for ac_c_preproc_warn_flag
in '' yes
3334 # Use a header file that comes with gcc, so configuring glibc
3335 # with a fresh cross-compiler works.
3336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3337 # <limits.h> exists even on freestanding compilers.
3338 # On the NeXT, cc -E runs the code through the compiler's parser,
3339 # not just through cpp. "Syntax error" is here to catch this case.
3340 cat >conftest.
$ac_ext <<_ACEOF
3343 cat confdefs.h
>>conftest.
$ac_ext
3344 cat >>conftest.
$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3347 # include <limits.h>
3349 # include <assert.h>
3353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3356 grep -v '^ *+' conftest.er1
>conftest.err
3358 cat conftest.err
>&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } >/dev
/null
; then
3361 if test -s conftest.err
; then
3362 ac_cpp_err
=$ac_c_preproc_warn_flag
3363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3370 if test -z "$ac_cpp_err"; then
3373 echo "$as_me: failed program was:" >&5
3374 sed 's/^/| /' conftest.
$ac_ext >&5
3376 # Broken: fails on valid input.
3379 rm -f conftest.err conftest.
$ac_ext
3381 # OK, works on sane cases. Now check whether non-existent headers
3382 # can be detected and how.
3383 cat >conftest.
$ac_ext <<_ACEOF
3386 cat confdefs.h
>>conftest.
$ac_ext
3387 cat >>conftest.
$ac_ext <<_ACEOF
3388 /* end confdefs.h. */
3389 #include <ac_nonexistent.h>
3391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3394 grep -v '^ *+' conftest.er1
>conftest.err
3396 cat conftest.err
>&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } >/dev
/null
; then
3399 if test -s conftest.err
; then
3400 ac_cpp_err
=$ac_c_preproc_warn_flag
3401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3408 if test -z "$ac_cpp_err"; then
3409 # Broken: success on invalid input.
3412 echo "$as_me: failed program was:" >&5
3413 sed 's/^/| /' conftest.
$ac_ext >&5
3415 # Passes both tests.
3419 rm -f conftest.err conftest.
$ac_ext
3422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3423 rm -f conftest.err conftest.
$ac_ext
3424 if $ac_preproc_ok; then
3436 echo "$as_me:$LINENO: result: $CPP" >&5
3437 echo "${ECHO_T}$CPP" >&6
3439 for ac_c_preproc_warn_flag
in '' yes
3441 # Use a header file that comes with gcc, so configuring glibc
3442 # with a fresh cross-compiler works.
3443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3444 # <limits.h> exists even on freestanding compilers.
3445 # On the NeXT, cc -E runs the code through the compiler's parser,
3446 # not just through cpp. "Syntax error" is here to catch this case.
3447 cat >conftest.
$ac_ext <<_ACEOF
3450 cat confdefs.h
>>conftest.
$ac_ext
3451 cat >>conftest.
$ac_ext <<_ACEOF
3452 /* end confdefs.h. */
3454 # include <limits.h>
3456 # include <assert.h>
3460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3463 grep -v '^ *+' conftest.er1
>conftest.err
3465 cat conftest.err
>&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); } >/dev
/null
; then
3468 if test -s conftest.err
; then
3469 ac_cpp_err
=$ac_c_preproc_warn_flag
3470 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3477 if test -z "$ac_cpp_err"; then
3480 echo "$as_me: failed program was:" >&5
3481 sed 's/^/| /' conftest.
$ac_ext >&5
3483 # Broken: fails on valid input.
3486 rm -f conftest.err conftest.
$ac_ext
3488 # OK, works on sane cases. Now check whether non-existent headers
3489 # can be detected and how.
3490 cat >conftest.
$ac_ext <<_ACEOF
3493 cat confdefs.h
>>conftest.
$ac_ext
3494 cat >>conftest.
$ac_ext <<_ACEOF
3495 /* end confdefs.h. */
3496 #include <ac_nonexistent.h>
3498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3501 grep -v '^ *+' conftest.er1
>conftest.err
3503 cat conftest.err
>&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); } >/dev
/null
; then
3506 if test -s conftest.err
; then
3507 ac_cpp_err
=$ac_c_preproc_warn_flag
3508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3515 if test -z "$ac_cpp_err"; then
3516 # Broken: success on invalid input.
3519 echo "$as_me: failed program was:" >&5
3520 sed 's/^/| /' conftest.
$ac_ext >&5
3522 # Passes both tests.
3526 rm -f conftest.err conftest.
$ac_ext
3529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3530 rm -f conftest.err conftest.
$ac_ext
3531 if $ac_preproc_ok; then
3534 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3535 See \`config.log' for more details." >&5
3536 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3537 See \`config.log' for more details." >&2;}
3538 { (exit 1); exit 1; }; }
3542 ac_cpp
='$CPP $CPPFLAGS'
3543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3548 echo "$as_me:$LINENO: checking for egrep" >&5
3549 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3550 if test "${ac_cv_prog_egrep+set}" = set; then
3551 echo $ECHO_N "(cached) $ECHO_C" >&6
3553 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3554 then ac_cv_prog_egrep
='grep -E'
3555 else ac_cv_prog_egrep
='egrep'
3558 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3559 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3560 EGREP
=$ac_cv_prog_egrep
3564 echo "$as_me:$LINENO: checking for Java compiler" >&5
3565 echo $ECHO_N "checking for Java compiler... $ECHO_C" >&6
3566 cat >conftest.
$ac_ext <<_ACEOF
3569 cat confdefs.h
>>conftest.
$ac_ext
3570 cat >>conftest.
$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3573 #if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__
3578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3579 $EGREP "yes" >/dev
/null
2>&1; then
3580 CLASSPATH_SEPARATOR
=';'
3582 CLASSPATH_SEPARATOR
=':'
3587 if test -n "$JAVAC"; then
3590 # Extract the first word of "gcj", so it can be a program name with args.
3591 set dummy gcj
; ac_word
=$2
3593 if test "${ac_cv_prog_HAVE_GCJ_IN_PATH+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 if test -n "$HAVE_GCJ_IN_PATH"; then
3597 ac_cv_prog_HAVE_GCJ_IN_PATH
="$HAVE_GCJ_IN_PATH" # Let the user override the test.
3599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3603 test -z "$as_dir" && as_dir
=.
3604 for ac_exec_ext
in '' $ac_executable_extensions; do
3605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3606 ac_cv_prog_HAVE_GCJ_IN_PATH
="yes"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 HAVE_GCJ_IN_PATH
=$ac_cv_prog_HAVE_GCJ_IN_PATH
3616 if test -n "$HAVE_GCJ_IN_PATH"; then
3622 # Extract the first word of "javac", so it can be a program name with args.
3623 set dummy javac
; ac_word
=$2
3625 if test "${ac_cv_prog_HAVE_JAVAC_IN_PATH+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 if test -n "$HAVE_JAVAC_IN_PATH"; then
3629 ac_cv_prog_HAVE_JAVAC_IN_PATH
="$HAVE_JAVAC_IN_PATH" # Let the user override the test.
3631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3635 test -z "$as_dir" && as_dir
=.
3636 for ac_exec_ext
in '' $ac_executable_extensions; do
3637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3638 ac_cv_prog_HAVE_JAVAC_IN_PATH
="yes"
3639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 HAVE_JAVAC_IN_PATH
=$ac_cv_prog_HAVE_JAVAC_IN_PATH
3648 if test -n "$HAVE_JAVAC_IN_PATH"; then
3654 # Extract the first word of "jikes", so it can be a program name with args.
3655 set dummy jikes
; ac_word
=$2
3657 if test "${ac_cv_prog_HAVE_JIKES_IN_PATH+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 if test -n "$HAVE_JIKES_IN_PATH"; then
3661 ac_cv_prog_HAVE_JIKES_IN_PATH
="$HAVE_JIKES_IN_PATH" # Let the user override the test.
3663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir
=.
3668 for ac_exec_ext
in '' $ac_executable_extensions; do
3669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3670 ac_cv_prog_HAVE_JIKES_IN_PATH
="yes"
3671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 HAVE_JIKES_IN_PATH
=$ac_cv_prog_HAVE_JIKES_IN_PATH
3680 if test -n "$HAVE_JIKES_IN_PATH"; then
3686 # Test for a good gcj version (>= 3.0).
3687 # Exclude some versions of gcj: gcj 3.0.4 compiles GetURL.java to invalid
3688 # bytecode, that crashes with an IllegalAccessError when executed by
3689 # gij 3.0.4 or with a VerifyError when executed by Sun Java. Likewise for
3691 # I also exclude gcj 3.2, 3.3 etc. because I have no idea when this bug
3692 # will be fixed. The bug is registered as java/7066, see
3693 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7066
3694 # FIXME: Check new versions of gcj as they come out.
3695 if test -n "$HAVE_GCJ_IN_PATH" \
3696 && gcj
--version 2>/dev
/null |
sed -e 's,^[^0-9]*,,' -e 1q |
sed -e '/^3\.[0123456789]/d' |
grep '^[3-9]' >/dev
/null \
3698 # See if libgcj.jar is well installed.
3699 cat > conftest.java
<<EOF
3700 public class conftest {
3701 public static void main (String[] args) {
3705 gcj
-C -d . conftest.java
2>/dev
/null
3707 rm -f conftest.java conftest.class
3713 if test -n "$HAVE_JAVAC_IN_PATH" \
3714 && (javac
-version >/dev
/null
2>/dev
/null ||
test $?
-le 2) \
3715 && (if javac
-help 2>&1 >/dev
/null |
grep at.dms.kjc.Main
>/dev
/null
&& javac
-help 2>/dev
/null |
grep 'released.*2000' >/dev
/null
; then exit 1; else exit 0; fi); then
3719 if test -n "$HAVE_JIKES_IN_PATH" \
3720 && (jikes
>/dev
/null
2>/dev
/null ||
test $?
= 1) \
3722 # See if the existing CLASSPATH is sufficient to make jikes work.
3723 cat > conftest.java
<<EOF
3724 public class conftest {
3725 public static void main (String[] args) {
3730 jikes conftest.java
2>/dev
/null
3732 rm -f conftest.java conftest.class
3744 echo "$as_me:$LINENO: result: $ac_result" >&5
3745 echo "${ECHO_T}$ac_result" >&6
3753 # Extract the first word of "jar", so it can be a program name with args.
3754 set dummy jar
; ac_word
=$2
3755 echo "$as_me:$LINENO: checking for $ac_word" >&5
3756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3757 if test "${ac_cv_prog_JAR+set}" = set; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3760 if test -n "$JAR"; then
3761 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
3763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3767 test -z "$as_dir" && as_dir
=.
3768 for ac_exec_ext
in '' $ac_executable_extensions; do
3769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3770 ac_cv_prog_JAR
="jar"
3771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 if test -n "$JAR"; then
3781 echo "$as_me:$LINENO: result: $JAR" >&5
3782 echo "${ECHO_T}$JAR" >&6
3784 echo "$as_me:$LINENO: result: no" >&5
3785 echo "${ECHO_T}no" >&6
3788 if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
3796 echo "$as_me:$LINENO: checking for Java virtual machine" >&5
3797 echo $ECHO_N "checking for Java virtual machine... $ECHO_C" >&6
3798 cat >conftest.
$ac_ext <<_ACEOF
3801 cat confdefs.h
>>conftest.
$ac_ext
3802 cat >>conftest.
$ac_ext <<_ACEOF
3803 /* end confdefs.h. */
3805 #if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__
3810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3811 $EGREP "yes" >/dev
/null
2>&1; then
3812 CLASSPATH_SEPARATOR
=';'
3814 CLASSPATH_SEPARATOR
=':'
3819 if test -n "$JAVA"; then
3822 # Extract the first word of "gij", so it can be a program name with args.
3823 set dummy gij
; ac_word
=$2
3825 if test "${ac_cv_prog_HAVE_GIJ_IN_PATH+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 if test -n "$HAVE_GIJ_IN_PATH"; then
3829 ac_cv_prog_HAVE_GIJ_IN_PATH
="$HAVE_GIJ_IN_PATH" # Let the user override the test.
3831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3835 test -z "$as_dir" && as_dir
=.
3836 for ac_exec_ext
in '' $ac_executable_extensions; do
3837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3838 ac_cv_prog_HAVE_GIJ_IN_PATH
="yes"
3839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 HAVE_GIJ_IN_PATH
=$ac_cv_prog_HAVE_GIJ_IN_PATH
3848 if test -n "$HAVE_GIJ_IN_PATH"; then
3854 # Extract the first word of "java", so it can be a program name with args.
3855 set dummy java
; ac_word
=$2
3857 if test "${ac_cv_prog_HAVE_JAVA_IN_PATH+set}" = set; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 if test -n "$HAVE_JAVA_IN_PATH"; then
3861 ac_cv_prog_HAVE_JAVA_IN_PATH
="$HAVE_JAVA_IN_PATH" # Let the user override the test.
3863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3867 test -z "$as_dir" && as_dir
=.
3868 for ac_exec_ext
in '' $ac_executable_extensions; do
3869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870 ac_cv_prog_HAVE_JAVA_IN_PATH
="yes"
3871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 HAVE_JAVA_IN_PATH
=$ac_cv_prog_HAVE_JAVA_IN_PATH
3880 if test -n "$HAVE_JAVA_IN_PATH"; then
3886 # Extract the first word of "jre", so it can be a program name with args.
3887 set dummy jre
; ac_word
=$2
3889 if test "${ac_cv_prog_HAVE_JRE_IN_PATH+set}" = set; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3892 if test -n "$HAVE_JRE_IN_PATH"; then
3893 ac_cv_prog_HAVE_JRE_IN_PATH
="$HAVE_JRE_IN_PATH" # Let the user override the test.
3895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3899 test -z "$as_dir" && as_dir
=.
3900 for ac_exec_ext
in '' $ac_executable_extensions; do
3901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3902 ac_cv_prog_HAVE_JRE_IN_PATH
="yes"
3903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3911 HAVE_JRE_IN_PATH
=$ac_cv_prog_HAVE_JRE_IN_PATH
3912 if test -n "$HAVE_JRE_IN_PATH"; then
3918 # Extract the first word of "jview", so it can be a program name with args.
3919 set dummy jview
; ac_word
=$2
3921 if test "${ac_cv_prog_HAVE_JVIEW_IN_PATH+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 if test -n "$HAVE_JVIEW_IN_PATH"; then
3925 ac_cv_prog_HAVE_JVIEW_IN_PATH
="$HAVE_JVIEW_IN_PATH" # Let the user override the test.
3927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3931 test -z "$as_dir" && as_dir
=.
3932 for ac_exec_ext
in '' $ac_executable_extensions; do
3933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3934 ac_cv_prog_HAVE_JVIEW_IN_PATH
="yes"
3935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 HAVE_JVIEW_IN_PATH
=$ac_cv_prog_HAVE_JVIEW_IN_PATH
3944 if test -n "$HAVE_JVIEW_IN_PATH"; then
3952 if test -n "$HAVE_GIJ_IN_PATH" \
3953 && gij
--version >/dev
/null
2>/dev
/null \
3958 if test -n "$HAVE_JAVA_IN_PATH" \
3959 && java
-version >/dev
/null
2>/dev
/null \
3964 if test -n "$HAVE_JRE_IN_PATH" \
3965 && (jre
>/dev
/null
2>/dev
/null ||
test $?
= 1) \
3970 if test -n "$HAVE_JVIEW_IN_PATH" \
3971 && (jview
-?
>/dev
/null
2>/dev
/null ||
test $?
= 1) \
3984 echo "$as_me:$LINENO: result: $ac_result" >&5
3985 echo "${ECHO_T}$ac_result" >&6
3994 if test -n "$HAVE_JAVAEXEC" && test $BUILDJAVA = yes; then
4002 echo "$as_me:$LINENO: checking for preferred C# implementation" >&5
4003 echo $ECHO_N "checking for preferred C# implementation... $ECHO_C" >&6
4004 # Check whether --enable-csharp or --disable-csharp was given.
4005 if test "${enable_csharp+set}" = set; then
4006 enableval
="$enable_csharp"
4007 CSHARP_CHOICE
="$enableval"
4012 echo "$as_me:$LINENO: result: $CSHARP_CHOICE" >&5
4013 echo "${ECHO_T}$CSHARP_CHOICE" >&6
4014 case "$CSHARP_CHOICE" in
4017 cat >>confdefs.h
<<\_ACEOF
4018 #define CSHARP_CHOICE_PNET 1
4024 cat >>confdefs.h
<<\_ACEOF
4025 #define CSHARP_CHOICE_MONO 1
4033 echo "$as_me:$LINENO: checking for C# compiler" >&5
4034 echo $ECHO_N "checking for C# compiler... $ECHO_C" >&6
4036 # Extract the first word of "cscc", so it can be a program name with args.
4037 set dummy cscc
; ac_word
=$2
4039 if test "${ac_cv_prog_HAVE_CSCC_IN_PATH+set}" = set; then
4040 echo $ECHO_N "(cached) $ECHO_C" >&6
4042 if test -n "$HAVE_CSCC_IN_PATH"; then
4043 ac_cv_prog_HAVE_CSCC_IN_PATH
="$HAVE_CSCC_IN_PATH" # Let the user override the test.
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_exec_ext
in '' $ac_executable_extensions; do
4051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4052 ac_cv_prog_HAVE_CSCC_IN_PATH
="yes"
4053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 HAVE_CSCC_IN_PATH
=$ac_cv_prog_HAVE_CSCC_IN_PATH
4062 if test -n "$HAVE_CSCC_IN_PATH"; then
4068 # Extract the first word of "mcs", so it can be a program name with args.
4069 set dummy mcs
; ac_word
=$2
4071 if test "${ac_cv_prog_HAVE_MCS_IN_PATH+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 if test -n "$HAVE_MCS_IN_PATH"; then
4075 ac_cv_prog_HAVE_MCS_IN_PATH
="$HAVE_MCS_IN_PATH" # Let the user override the test.
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir
=.
4082 for ac_exec_ext
in '' $ac_executable_extensions; do
4083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_prog_HAVE_MCS_IN_PATH
="yes"
4085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 HAVE_MCS_IN_PATH
=$ac_cv_prog_HAVE_MCS_IN_PATH
4094 if test -n "$HAVE_MCS_IN_PATH"; then
4100 # Extract the first word of "csc", so it can be a program name with args.
4101 set dummy csc
; ac_word
=$2
4103 if test "${ac_cv_prog_HAVE_CSC_IN_PATH+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 if test -n "$HAVE_CSC_IN_PATH"; then
4107 ac_cv_prog_HAVE_CSC_IN_PATH
="$HAVE_CSC_IN_PATH" # Let the user override the test.
4109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir
=.
4114 for ac_exec_ext
in '' $ac_executable_extensions; do
4115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_prog_HAVE_CSC_IN_PATH
="yes"
4117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 HAVE_CSC_IN_PATH
=$ac_cv_prog_HAVE_CSC_IN_PATH
4126 if test -n "$HAVE_CSC_IN_PATH"; then
4132 for impl
in "$CSHARP_CHOICE" pnet mono sscli no
; do
4135 if test -n "$HAVE_CSCC_IN_PATH" \
4136 && cscc
--version >/dev
/null
2>/dev
/null
; then
4143 if test -n "$HAVE_MCS_IN_PATH" \
4144 && mcs
--version >/dev
/null
2>/dev
/null
; then
4151 if test -n "$HAVE_CSC_IN_PATH" \
4152 && csc
-help >/dev
/null
2>/dev
/null \
4153 && { if csc
-help 2>/dev
/null |
grep -i chicken
> /dev
/null
; then false
; else true
; fi; }; then
4166 echo "$as_me:$LINENO: result: $ac_result" >&5
4167 echo "${ECHO_T}$ac_result" >&6
4172 if test -n "$HAVE_CSHARPCOMP" && test "$CSHARP_CHOICE" != no
; then
4181 echo "$as_me:$LINENO: checking for C# program execution engine" >&5
4182 echo $ECHO_N "checking for C# program execution engine... $ECHO_C" >&6
4183 cat >conftest.
$ac_ext <<_ACEOF
4186 cat confdefs.h
>>conftest.
$ac_ext
4187 cat >>conftest.
$ac_ext <<_ACEOF
4188 /* end confdefs.h. */
4190 #if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__
4195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4196 $EGREP "yes" >/dev
/null
2>&1; then
4197 MONO_PATH_SEPARATOR
=';'
4199 MONO_PATH_SEPARATOR
=':'
4204 # Extract the first word of "ilrun", so it can be a program name with args.
4205 set dummy ilrun
; ac_word
=$2
4207 if test "${ac_cv_prog_HAVE_ILRUN_IN_PATH+set}" = set; then
4208 echo $ECHO_N "(cached) $ECHO_C" >&6
4210 if test -n "$HAVE_ILRUN_IN_PATH"; then
4211 ac_cv_prog_HAVE_ILRUN_IN_PATH
="$HAVE_ILRUN_IN_PATH" # Let the user override the test.
4213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir
=.
4218 for ac_exec_ext
in '' $ac_executable_extensions; do
4219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4220 ac_cv_prog_HAVE_ILRUN_IN_PATH
="yes"
4221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4229 HAVE_ILRUN_IN_PATH
=$ac_cv_prog_HAVE_ILRUN_IN_PATH
4230 if test -n "$HAVE_ILRUN_IN_PATH"; then
4236 # Extract the first word of "mono", so it can be a program name with args.
4237 set dummy mono
; ac_word
=$2
4239 if test "${ac_cv_prog_HAVE_MONO_IN_PATH+set}" = set; then
4240 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 if test -n "$HAVE_MONO_IN_PATH"; then
4243 ac_cv_prog_HAVE_MONO_IN_PATH
="$HAVE_MONO_IN_PATH" # Let the user override the test.
4245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4249 test -z "$as_dir" && as_dir
=.
4250 for ac_exec_ext
in '' $ac_executable_extensions; do
4251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4252 ac_cv_prog_HAVE_MONO_IN_PATH
="yes"
4253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4261 HAVE_MONO_IN_PATH
=$ac_cv_prog_HAVE_MONO_IN_PATH
4262 if test -n "$HAVE_MONO_IN_PATH"; then
4268 for impl
in "$CSHARP_CHOICE" pnet mono no
; do
4271 if test -n "$HAVE_ILRUN_IN_PATH" \
4272 && ilrun
--version >/dev
/null
2>/dev
/null
; then
4279 if test -n "$HAVE_MONO_IN_PATH" \
4280 && mono
--version >/dev
/null
2>/dev
/null
; then
4293 echo "$as_me:$LINENO: result: $ac_result" >&5
4294 echo "${ECHO_T}$ac_result" >&6
4300 if test -n "$HAVE_CSHARPEXEC" && test $BUILDCSHARP = yes; then
4307 # Make sure we can run config.sub.
4308 $ac_config_sub sun4
>/dev
/null
2>&1 ||
4309 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4310 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4311 { (exit 1); exit 1; }; }
4313 echo "$as_me:$LINENO: checking build system type" >&5
4314 echo $ECHO_N "checking build system type... $ECHO_C" >&6
4315 if test "${ac_cv_build+set}" = set; then
4316 echo $ECHO_N "(cached) $ECHO_C" >&6
4318 ac_cv_build_alias
=$build_alias
4319 test -z "$ac_cv_build_alias" &&
4320 ac_cv_build_alias
=`$ac_config_guess`
4321 test -z "$ac_cv_build_alias" &&
4322 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4323 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4324 { (exit 1); exit 1; }; }
4325 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
4326 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4327 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4328 { (exit 1); exit 1; }; }
4331 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4332 echo "${ECHO_T}$ac_cv_build" >&6
4334 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4335 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4336 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4339 echo "$as_me:$LINENO: checking host system type" >&5
4340 echo $ECHO_N "checking host system type... $ECHO_C" >&6
4341 if test "${ac_cv_host+set}" = set; then
4342 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 ac_cv_host_alias
=$host_alias
4345 test -z "$ac_cv_host_alias" &&
4346 ac_cv_host_alias
=$ac_cv_build_alias
4347 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
4348 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4349 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4350 { (exit 1); exit 1; }; }
4353 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4354 echo "${ECHO_T}$ac_cv_host" >&6
4356 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4357 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4358 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4362 echo "$as_me:$LINENO: checking for library containing strerror" >&5
4363 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
4364 if test "${ac_cv_search_strerror+set}" = set; then
4365 echo $ECHO_N "(cached) $ECHO_C" >&6
4367 ac_func_search_save_LIBS
=$LIBS
4368 ac_cv_search_strerror
=no
4369 cat >conftest.
$ac_ext <<_ACEOF
4372 cat confdefs.h
>>conftest.
$ac_ext
4373 cat >>conftest.
$ac_ext <<_ACEOF
4374 /* end confdefs.h. */
4376 /* Override any gcc2 internal prototype to avoid an error. */
4380 /* We use char because int might match the return type of a gcc2
4381 builtin and then its argument prototype would still apply. */
4391 rm -f conftest.
$ac_objext conftest
$ac_exeext
4392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4393 (eval $ac_link) 2>conftest.er1
4395 grep -v '^ *+' conftest.er1
>conftest.err
4397 cat conftest.err
>&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); } &&
4400 { ac_try
='test -z "$ac_c_werror_flag"
4401 || test ! -s conftest.err'
4402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); }; } &&
4407 { ac_try
='test -s conftest$ac_exeext'
4408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); }; }; then
4413 ac_cv_search_strerror
="none required"
4415 echo "$as_me: failed program was:" >&5
4416 sed 's/^/| /' conftest.
$ac_ext >&5
4419 rm -f conftest.err conftest.
$ac_objext \
4420 conftest
$ac_exeext conftest.
$ac_ext
4421 if test "$ac_cv_search_strerror" = no
; then
4422 for ac_lib
in cposix
; do
4423 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4424 cat >conftest.
$ac_ext <<_ACEOF
4427 cat confdefs.h
>>conftest.
$ac_ext
4428 cat >>conftest.
$ac_ext <<_ACEOF
4429 /* end confdefs.h. */
4431 /* Override any gcc2 internal prototype to avoid an error. */
4435 /* We use char because int might match the return type of a gcc2
4436 builtin and then its argument prototype would still apply. */
4446 rm -f conftest.
$ac_objext conftest
$ac_exeext
4447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4448 (eval $ac_link) 2>conftest.er1
4450 grep -v '^ *+' conftest.er1
>conftest.err
4452 cat conftest.err
>&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } &&
4455 { ac_try
='test -z "$ac_c_werror_flag"
4456 || test ! -s conftest.err'
4457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); }; } &&
4462 { ac_try
='test -s conftest$ac_exeext'
4463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); }; }; then
4468 ac_cv_search_strerror
="-l$ac_lib"
4471 echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.
$ac_ext >&5
4475 rm -f conftest.err conftest.
$ac_objext \
4476 conftest
$ac_exeext conftest.
$ac_ext
4479 LIBS
=$ac_func_search_save_LIBS
4481 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4482 echo "${ECHO_T}$ac_cv_search_strerror" >&6
4483 if test "$ac_cv_search_strerror" != no
; then
4484 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
4493 cat >>confdefs.h
<<\_ACEOF
4494 #define _GNU_SOURCE 1
4499 echo "$as_me:$LINENO: checking for AIX" >&5
4500 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
4501 cat >conftest.
$ac_ext <<_ACEOF
4504 cat confdefs.h
>>conftest.
$ac_ext
4505 cat >>conftest.
$ac_ext <<_ACEOF
4506 /* end confdefs.h. */
4512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4513 $EGREP "yes" >/dev
/null
2>&1; then
4514 echo "$as_me:$LINENO: result: yes" >&5
4515 echo "${ECHO_T}yes" >&6
4516 cat >>confdefs.h
<<\_ACEOF
4517 #define _ALL_SOURCE 1
4521 echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6
4527 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4528 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4529 if test "${ac_cv_header_stdc+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 cat >conftest.
$ac_ext <<_ACEOF
4535 cat confdefs.h
>>conftest.
$ac_ext
4536 cat >>conftest.
$ac_ext <<_ACEOF
4537 /* end confdefs.h. */
4551 rm -f conftest.
$ac_objext
4552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4553 (eval $ac_compile) 2>conftest.er1
4555 grep -v '^ *+' conftest.er1
>conftest.err
4557 cat conftest.err
>&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); } &&
4560 { ac_try
='test -z "$ac_c_werror_flag"
4561 || test ! -s conftest.err'
4562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); }; } &&
4567 { ac_try
='test -s conftest.$ac_objext'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; }; then
4573 ac_cv_header_stdc
=yes
4575 echo "$as_me: failed program was:" >&5
4576 sed 's/^/| /' conftest.
$ac_ext >&5
4578 ac_cv_header_stdc
=no
4580 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4582 if test $ac_cv_header_stdc = yes; then
4583 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4584 cat >conftest.
$ac_ext <<_ACEOF
4587 cat confdefs.h
>>conftest.
$ac_ext
4588 cat >>conftest.
$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4593 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4594 $EGREP "memchr" >/dev
/null
2>&1; then
4597 ac_cv_header_stdc
=no
4603 if test $ac_cv_header_stdc = yes; then
4604 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4605 cat >conftest.
$ac_ext <<_ACEOF
4608 cat confdefs.h
>>conftest.
$ac_ext
4609 cat >>conftest.
$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4615 $EGREP "free" >/dev
/null
2>&1; then
4618 ac_cv_header_stdc
=no
4624 if test $ac_cv_header_stdc = yes; then
4625 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4626 if test "$cross_compiling" = yes; then
4629 cat >conftest.
$ac_ext <<_ACEOF
4632 cat confdefs.h
>>conftest.
$ac_ext
4633 cat >>conftest.
$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4636 #if ((' ' & 0x0FF) == 0x020)
4637 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4638 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4640 # define ISLOWER(c) \
4641 (('a' <= (c) && (c) <= 'i') \
4642 || ('j' <= (c) && (c) <= 'r') \
4643 || ('s' <= (c) && (c) <= 'z'))
4644 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4647 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4652 for (i = 0; i < 256; i++)
4653 if (XOR (islower (i), ISLOWER (i))
4654 || toupper (i) != TOUPPER (i))
4659 rm -f conftest
$ac_exeext
4660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4661 (eval $ac_link) 2>&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4672 echo "$as_me: program exited with status $ac_status" >&5
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.
$ac_ext >&5
4677 ac_cv_header_stdc
=no
4679 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4683 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4684 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4685 if test $ac_cv_header_stdc = yes; then
4687 cat >>confdefs.h
<<\_ACEOF
4688 #define STDC_HEADERS 1
4693 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4703 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4704 inttypes.h stdint.h unistd.h
4706 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4707 echo "$as_me:$LINENO: checking for $ac_header" >&5
4708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 cat >conftest.
$ac_ext <<_ACEOF
4715 cat confdefs.h
>>conftest.
$ac_ext
4716 cat >>conftest.
$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4718 $ac_includes_default
4720 #include <$ac_header>
4722 rm -f conftest.
$ac_objext
4723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4724 (eval $ac_compile) 2>conftest.er1
4726 grep -v '^ *+' conftest.er1
>conftest.err
4728 cat conftest.err
>&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } &&
4731 { ac_try
='test -z "$ac_c_werror_flag"
4732 || test ! -s conftest.err'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; } &&
4738 { ac_try
='test -s conftest.$ac_objext'
4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; }; then
4744 eval "$as_ac_Header=yes"
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.
$ac_ext >&5
4749 eval "$as_ac_Header=no"
4751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4756 cat >>confdefs.h
<<_ACEOF
4757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4765 if test "${ac_cv_header_minix_config_h+set}" = set; then
4766 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4767 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4768 if test "${ac_cv_header_minix_config_h+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4772 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4774 # Is the header compilable?
4775 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4776 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
4777 cat >conftest.
$ac_ext <<_ACEOF
4780 cat confdefs.h
>>conftest.
$ac_ext
4781 cat >>conftest.
$ac_ext <<_ACEOF
4782 /* end confdefs.h. */
4783 $ac_includes_default
4784 #include <minix/config.h>
4786 rm -f conftest.
$ac_objext
4787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4788 (eval $ac_compile) 2>conftest.er1
4790 grep -v '^ *+' conftest.er1
>conftest.err
4792 cat conftest.err
>&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } &&
4795 { ac_try
='test -z "$ac_c_werror_flag"
4796 || test ! -s conftest.err'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; } &&
4802 { ac_try
='test -s conftest.$ac_objext'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; }; then
4808 ac_header_compiler
=yes
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.
$ac_ext >&5
4813 ac_header_compiler
=no
4815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4817 echo "${ECHO_T}$ac_header_compiler" >&6
4819 # Is the header present?
4820 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4821 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
4822 cat >conftest.
$ac_ext <<_ACEOF
4825 cat confdefs.h
>>conftest.
$ac_ext
4826 cat >>conftest.
$ac_ext <<_ACEOF
4827 /* end confdefs.h. */
4828 #include <minix/config.h>
4830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4831 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4833 grep -v '^ *+' conftest.er1
>conftest.err
4835 cat conftest.err
>&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } >/dev
/null
; then
4838 if test -s conftest.err
; then
4839 ac_cpp_err
=$ac_c_preproc_warn_flag
4840 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4847 if test -z "$ac_cpp_err"; then
4848 ac_header_preproc
=yes
4850 echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.
$ac_ext >&5
4853 ac_header_preproc
=no
4855 rm -f conftest.err conftest.
$ac_ext
4856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4857 echo "${ECHO_T}$ac_header_preproc" >&6
4859 # So? What about this header?
4860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4862 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4863 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4864 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4865 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4866 ac_header_preproc
=yes
4869 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4870 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4871 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4872 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4873 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4874 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4875 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4876 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4877 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4878 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4879 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4880 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4883 ## ------------------------------------------ ##
4884 ## Report this to the AC_PACKAGE_NAME lists. ##
4885 ## ------------------------------------------ ##
4888 sed "s/^/$as_me: WARNING: /" >&2
4891 echo "$as_me:$LINENO: checking for minix/config.h" >&5
4892 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
4893 if test "${ac_cv_header_minix_config_h+set}" = set; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 ac_cv_header_minix_config_h
=$ac_header_preproc
4898 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4899 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
4902 if test $ac_cv_header_minix_config_h = yes; then
4909 if test "$MINIX" = yes; then
4911 cat >>confdefs.h
<<\_ACEOF
4912 #define _POSIX_SOURCE 1
4916 cat >>confdefs.h
<<\_ACEOF
4917 #define _POSIX_1_SOURCE 2
4921 cat >>confdefs.h
<<\_ACEOF
4937 cat >>confdefs.h
<<\_ACEOF
4938 #define __EXTENSIONS__ 1
4945 # Check whether --enable-shared or --disable-shared was given.
4946 if test "${enable_shared+set}" = set; then
4947 enableval
="$enable_shared"
4948 p
=${PACKAGE-default}
4950 yes) enable_shared
=yes ;;
4951 no
) enable_shared
=no
;;
4954 # Look at the argument we got. We use all the common list separators.
4955 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4956 for pkg
in $enableval; do
4958 if test "X$pkg" = "X$p"; then
4969 # Check whether --enable-static or --disable-static was given.
4970 if test "${enable_static+set}" = set; then
4971 enableval
="$enable_static"
4972 p
=${PACKAGE-default}
4974 yes) enable_static
=yes ;;
4975 no
) enable_static
=no
;;
4978 # Look at the argument we got. We use all the common list separators.
4979 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4980 for pkg
in $enableval; do
4982 if test "X$pkg" = "X$p"; then
4993 # Check whether --enable-fast-install or --disable-fast-install was given.
4994 if test "${enable_fast_install+set}" = set; then
4995 enableval
="$enable_fast_install"
4996 p
=${PACKAGE-default}
4998 yes) enable_fast_install
=yes ;;
4999 no
) enable_fast_install
=no
;;
5001 enable_fast_install
=no
5002 # Look at the argument we got. We use all the common list separators.
5003 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5004 for pkg
in $enableval; do
5006 if test "X$pkg" = "X$p"; then
5007 enable_fast_install
=yes
5014 enable_fast_install
=yes
5017 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5018 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5019 if test "${lt_cv_path_SED+set}" = set; then
5020 echo $ECHO_N "(cached) $ECHO_C" >&6
5022 # Loop through the user's path and test for sed and gsed.
5023 # Then use that list of sed's as ones to test for truncation.
5024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5028 test -z "$as_dir" && as_dir
=.
5029 for lt_ac_prog
in sed gsed
; do
5030 for ac_exec_ext
in '' $ac_executable_extensions; do
5031 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5032 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5039 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5040 # along with /bin/sed that truncates output.
5041 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5042 test ! -f $lt_ac_sed && continue
5043 cat /dev
/null
> conftest.
in
5045 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5046 # Check for GNU sed and select it if it is found.
5047 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5048 lt_cv_path_SED
=$lt_ac_sed
5052 cat conftest.
in conftest.
in >conftest.tmp
5053 mv conftest.tmp conftest.
in
5054 cp conftest.
in conftest.
nl
5056 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5057 cmp -s conftest.out conftest.
nl ||
break
5058 # 10000 chars as input seems more than enough
5059 test $lt_ac_count -gt 10 && break
5060 lt_ac_count
=`expr $lt_ac_count + 1`
5061 if test $lt_ac_count -gt $lt_ac_max; then
5062 lt_ac_max
=$lt_ac_count
5063 lt_cv_path_SED
=$lt_ac_sed
5071 echo "$as_me:$LINENO: result: $SED" >&5
5072 echo "${ECHO_T}$SED" >&6
5075 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5076 if test "${with_gnu_ld+set}" = set; then
5077 withval
="$with_gnu_ld"
5078 test "$withval" = no || with_gnu_ld
=yes
5083 if test "$GCC" = yes; then
5084 # Check if gcc -print-prog-name=ld gives a path.
5085 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5086 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5089 # gcc leaves a trailing carriage return which upsets mingw
5090 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5092 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5095 # Accept absolute paths.
5097 re_direlt
='/[^/][^/]*/\.\./'
5098 # Canonicalize the pathname of ld
5099 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
5100 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
5101 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
5103 test -z "$LD" && LD
="$ac_prog"
5106 # If it fails, then pretend we aren't using GCC.
5110 # If it is relative, then search for the first ld in PATH.
5114 elif test "$with_gnu_ld" = yes; then
5115 echo "$as_me:$LINENO: checking for GNU ld" >&5
5116 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5118 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5119 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5121 if test "${lt_cv_path_LD+set}" = set; then
5122 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 if test -z "$LD"; then
5125 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5126 for ac_dir
in $PATH; do
5128 test -z "$ac_dir" && ac_dir
=.
5129 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5130 lt_cv_path_LD
="$ac_dir/$ac_prog"
5131 # Check to see if the program is GNU ld. I'd rather use --version,
5132 # but apparently some GNU ld's only accept -v.
5133 # Break only if it was the GNU/non-GNU ld that we prefer.
5134 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5135 *GNU
* |
*'with BFD'*)
5136 test "$with_gnu_ld" != no
&& break
5139 test "$with_gnu_ld" != yes && break
5146 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5151 if test -n "$LD"; then
5152 echo "$as_me:$LINENO: result: $LD" >&5
5153 echo "${ECHO_T}$LD" >&6
5155 echo "$as_me:$LINENO: result: no" >&5
5156 echo "${ECHO_T}no" >&6
5158 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5159 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5160 { (exit 1); exit 1; }; }
5161 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5162 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5163 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5164 echo $ECHO_N "(cached) $ECHO_C" >&6
5166 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5167 case `$LD -v 2>&1 </dev/null` in
5168 *GNU
* |
*'with BFD'*)
5169 lt_cv_prog_gnu_ld
=yes
5172 lt_cv_prog_gnu_ld
=no
5176 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5177 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5178 with_gnu_ld
=$lt_cv_prog_gnu_ld
5181 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5182 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5183 if test "${lt_cv_ld_reload_flag+set}" = set; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5186 lt_cv_ld_reload_flag
='-r'
5188 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5189 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5190 reload_flag
=$lt_cv_ld_reload_flag
5191 case $reload_flag in
5193 *) reload_flag
=" $reload_flag" ;;
5195 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5198 if test "$GCC" = yes; then
5199 reload_cmds
='$CC -nostdlib ${wl}-r -o $output$reload_objs'
5201 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5206 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5207 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5208 if test "${lt_cv_path_NM+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 if test -n "$NM"; then
5212 # Let the user override the test.
5215 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5216 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
5218 test -z "$ac_dir" && ac_dir
=.
5219 tmp_nm
="$ac_dir/${ac_tool_prefix}nm"
5220 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5221 # Check to see if the nm accepts a BSD-compat flag.
5222 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5223 # nm: unknown option "B" ignored
5224 # Tru64's nm complains that /dev/null is an invalid object file
5225 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5226 */dev
/null
* |
*'Invalid file or object type'*)
5227 lt_cv_path_NM
="$tmp_nm -B"
5231 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5233 lt_cv_path_NM
="$tmp_nm -p"
5237 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5238 continue # so that we can try to find one that supports BSD flags
5245 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
5248 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5249 echo "${ECHO_T}$lt_cv_path_NM" >&6
5252 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5253 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5255 if test "$LN_S" = "ln -s"; then
5256 echo "$as_me:$LINENO: result: yes" >&5
5257 echo "${ECHO_T}yes" >&6
5259 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5260 echo "${ECHO_T}no, using $LN_S" >&6
5263 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
5264 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
5265 if test "${lt_cv_deplibs_check_method+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5269 lt_cv_file_magic_test_file
=
5270 lt_cv_deplibs_check_method
='unknown'
5271 # Need to set the preceding variable on all platforms that support
5272 # interlibrary dependencies.
5273 # 'none' -- dependencies not supported.
5274 # `unknown' -- same as none, but documents that we really don't know.
5275 # 'pass_all' -- all dependencies passed with no checks.
5276 # 'test_compile' -- check by making test program.
5277 # 'file_magic [[regex]]' -- check by looking for files in library path
5278 # which responds to the $file_magic_cmd with a given extended regex.
5279 # If you have `file' or equivalent on your system and you're not sure
5280 # whether `pass_all' will *always* work, you probably want this one.
5284 lt_cv_deplibs_check_method
=pass_all
5288 lt_cv_deplibs_check_method
=pass_all
5292 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5293 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5294 lt_cv_file_magic_test_file
=/shlib
/libc.so
5298 # func_win32_libid is a shell function defined in ltmain.sh
5299 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5300 lt_cv_file_magic_cmd
='func_win32_libid'
5304 # Base MSYS/MinGW do not provide the 'file' command needed by
5305 # func_win32_libid shell function, so use a weaker test based on 'objdump'.
5306 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
5307 lt_cv_file_magic_cmd
='$OBJDUMP -f'
5310 darwin
* | rhapsody
*)
5311 lt_cv_deplibs_check_method
=pass_all
5314 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
5315 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5318 # Not sure whether the presence of OpenBSD here was a mistake.
5319 # Let's accept both of them until this is cleared up.
5320 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5321 lt_cv_file_magic_cmd
=/usr
/bin
/file
5322 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
5326 lt_cv_deplibs_check_method
=pass_all
5331 lt_cv_deplibs_check_method
=pass_all
5334 hpux10.20
* | hpux11
*)
5335 lt_cv_file_magic_cmd
=/usr
/bin
/file
5338 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5339 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
5342 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5343 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
5346 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5347 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
5352 irix5
* | irix6
* | nonstopux
*)
5354 *-32|
*"-32 ") libmagic
=32-bit;;
5355 *-n32|
*"-n32 ") libmagic
=N32
;;
5356 *-64|
*"-64 ") libmagic
=64-bit;;
5357 *) libmagic
=never-match
;;
5359 lt_cv_deplibs_check_method
=pass_all
5362 # This must be Linux ELF.
5364 lt_cv_deplibs_check_method
=pass_all
5368 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
5369 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5371 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5376 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5377 lt_cv_file_magic_cmd
=/usr
/bin
/file
5378 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
5382 lt_cv_deplibs_check_method
=unknown
5386 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5387 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5389 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5393 osf3
* | osf4
* | osf5
*)
5394 lt_cv_deplibs_check_method
=pass_all
5398 lt_cv_deplibs_check_method
=pass_all
5402 lt_cv_deplibs_check_method
=pass_all
5405 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5406 case $host_vendor in
5408 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]'
5409 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
5412 lt_cv_deplibs_check_method
=pass_all
5415 lt_cv_file_magic_cmd
='/bin/file'
5416 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5419 lt_cv_file_magic_cmd
='/bin/file'
5420 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5421 lt_cv_file_magic_test_file
=/lib
/libc.so
5424 lt_cv_deplibs_check_method
=pass_all
5429 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
* | sysv4
*uw2
*)
5430 lt_cv_deplibs_check_method
=pass_all
5435 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5436 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5437 file_magic_cmd
=$lt_cv_file_magic_cmd
5438 deplibs_check_method
=$lt_cv_deplibs_check_method
5439 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
5442 # If no C compiler was specified, use CC.
5445 # Allow CC to be a program name with arguments.
5448 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5449 if test "${enable_libtool_lock+set}" = set; then
5450 enableval
="$enable_libtool_lock"
5453 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
5455 # Some flags need to be propagated to the compiler or linker for good
5459 # Find out which ABI we are using.
5460 echo 'int i;' > conftest.
$ac_ext
5461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462 (eval $ac_compile) 2>&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); }; then
5466 case `/usr/bin/file conftest.$ac_objext` in
5478 # Find out which ABI we are using.
5479 echo '#line 5479 "configure"' > conftest.
$ac_ext
5480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5481 (eval $ac_compile) 2>&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); }; then
5485 if test "$lt_cv_prog_gnu_ld" = yes; then
5486 case `/usr/bin/file conftest.$ac_objext` in
5488 LD
="${LD-ld} -melf32bsmip"
5491 LD
="${LD-ld} -melf32bmipn32"
5494 LD
="${LD-ld} -melf64bmip"
5498 case `/usr/bin/file conftest.$ac_objext` in
5514 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
5515 # Find out which ABI we are using.
5516 echo 'int i;' > conftest.
$ac_ext
5517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5518 (eval $ac_compile) 2>&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); }; then
5522 case "`/usr/bin/file conftest.o`" in
5526 LD
="${LD-ld} -m elf_i386"
5528 ppc64-
*linux
*|powerpc64-
*linux
*)
5529 LD
="${LD-ld} -m elf32ppclinux"
5532 LD
="${LD-ld} -m elf_s390"
5535 LD
="${LD-ld} -m elf32_sparc"
5542 LD
="${LD-ld} -m elf_x86_64"
5544 ppc
*-*linux
*|powerpc
*-*linux
*)
5545 LD
="${LD-ld} -m elf64ppc"
5548 LD
="${LD-ld} -m elf64_s390"
5551 LD
="${LD-ld} -m elf64_sparc"
5561 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5562 SAVE_CFLAGS
="$CFLAGS"
5563 CFLAGS
="$CFLAGS -belf"
5564 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5565 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5566 if test "${lt_cv_cc_needs_belf+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5570 ac_cpp
='$CPP $CPPFLAGS'
5571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5575 cat >conftest.
$ac_ext <<_ACEOF
5578 cat confdefs.h
>>conftest.
$ac_ext
5579 cat >>conftest.
$ac_ext <<_ACEOF
5580 /* end confdefs.h. */
5590 rm -f conftest.
$ac_objext conftest
$ac_exeext
5591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5592 (eval $ac_link) 2>conftest.er1
5594 grep -v '^ *+' conftest.er1
>conftest.err
5596 cat conftest.err
>&5
5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } &&
5599 { ac_try
='test -z "$ac_c_werror_flag"
5600 || test ! -s conftest.err'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; } &&
5606 { ac_try
='test -s conftest$ac_exeext'
5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; }; then
5612 lt_cv_cc_needs_belf
=yes
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.
$ac_ext >&5
5617 lt_cv_cc_needs_belf
=no
5619 rm -f conftest.err conftest.
$ac_objext \
5620 conftest
$ac_exeext conftest.
$ac_ext
5622 ac_cpp
='$CPP $CPPFLAGS'
5623 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5624 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5625 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5628 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5629 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5630 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
5631 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5632 CFLAGS
="$SAVE_CFLAGS"
5635 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
5636 if test -n "$ac_tool_prefix"; then
5637 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5638 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5639 echo "$as_me:$LINENO: checking for $ac_word" >&5
5640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5641 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5642 echo $ECHO_N "(cached) $ECHO_C" >&6
5644 if test -n "$DLLTOOL"; then
5645 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5651 test -z "$as_dir" && as_dir
=.
5652 for ac_exec_ext
in '' $ac_executable_extensions; do
5653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5654 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 DLLTOOL
=$ac_cv_prog_DLLTOOL
5664 if test -n "$DLLTOOL"; then
5665 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5666 echo "${ECHO_T}$DLLTOOL" >&6
5668 echo "$as_me:$LINENO: result: no" >&5
5669 echo "${ECHO_T}no" >&6
5673 if test -z "$ac_cv_prog_DLLTOOL"; then
5674 ac_ct_DLLTOOL
=$DLLTOOL
5675 # Extract the first word of "dlltool", so it can be a program name with args.
5676 set dummy dlltool
; ac_word
=$2
5677 echo "$as_me:$LINENO: checking for $ac_word" >&5
5678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5679 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5682 if test -n "$ac_ct_DLLTOOL"; then
5683 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5689 test -z "$as_dir" && as_dir
=.
5690 for ac_exec_ext
in '' $ac_executable_extensions; do
5691 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
5702 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5703 if test -n "$ac_ct_DLLTOOL"; then
5704 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5705 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5711 DLLTOOL
=$ac_ct_DLLTOOL
5713 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5716 if test -n "$ac_tool_prefix"; then
5717 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5718 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5719 echo "$as_me:$LINENO: checking for $ac_word" >&5
5720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5721 if test "${ac_cv_prog_AS+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 if test -n "$AS"; then
5725 ac_cv_prog_AS
="$AS" # Let the user override the test.
5727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5731 test -z "$as_dir" && as_dir
=.
5732 for ac_exec_ext
in '' $ac_executable_extensions; do
5733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_AS
="${ac_tool_prefix}as"
5735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 if test -n "$AS"; then
5745 echo "$as_me:$LINENO: result: $AS" >&5
5746 echo "${ECHO_T}$AS" >&6
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5753 if test -z "$ac_cv_prog_AS"; then
5755 # Extract the first word of "as", so it can be a program name with args.
5756 set dummy as
; ac_word
=$2
5757 echo "$as_me:$LINENO: checking for $ac_word" >&5
5758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5759 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5760 echo $ECHO_N "(cached) $ECHO_C" >&6
5762 if test -n "$ac_ct_AS"; then
5763 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5769 test -z "$as_dir" && as_dir
=.
5770 for ac_exec_ext
in '' $ac_executable_extensions; do
5771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5772 ac_cv_prog_ac_ct_AS
="as"
5773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS
="false"
5782 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5783 if test -n "$ac_ct_AS"; then
5784 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5785 echo "${ECHO_T}$ac_ct_AS" >&6
5787 echo "$as_me:$LINENO: result: no" >&5
5788 echo "${ECHO_T}no" >&6
5796 if test -n "$ac_tool_prefix"; then
5797 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5798 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5799 echo "$as_me:$LINENO: checking for $ac_word" >&5
5800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5801 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 if test -n "$OBJDUMP"; then
5805 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir
=.
5812 for ac_exec_ext
in '' $ac_executable_extensions; do
5813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5823 OBJDUMP
=$ac_cv_prog_OBJDUMP
5824 if test -n "$OBJDUMP"; then
5825 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5826 echo "${ECHO_T}$OBJDUMP" >&6
5828 echo "$as_me:$LINENO: result: no" >&5
5829 echo "${ECHO_T}no" >&6
5833 if test -z "$ac_cv_prog_OBJDUMP"; then
5834 ac_ct_OBJDUMP
=$OBJDUMP
5835 # Extract the first word of "objdump", so it can be a program name with args.
5836 set dummy objdump
; ac_word
=$2
5837 echo "$as_me:$LINENO: checking for $ac_word" >&5
5838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5839 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5842 if test -n "$ac_ct_OBJDUMP"; then
5843 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5849 test -z "$as_dir" && as_dir
=.
5850 for ac_exec_ext
in '' $ac_executable_extensions; do
5851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP
="false"
5862 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5863 if test -n "$ac_ct_OBJDUMP"; then
5864 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5865 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
5867 echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6
5871 OBJDUMP
=$ac_ct_OBJDUMP
5873 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5880 need_locks
="$enable_libtool_lock"
5884 for ac_header
in dlfcn.h
5886 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5888 echo "$as_me:$LINENO: checking for $ac_header" >&5
5889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5896 # Is the header compilable?
5897 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5899 cat >conftest.
$ac_ext <<_ACEOF
5902 cat confdefs.h
>>conftest.
$ac_ext
5903 cat >>conftest.
$ac_ext <<_ACEOF
5904 /* end confdefs.h. */
5905 $ac_includes_default
5906 #include <$ac_header>
5908 rm -f conftest.
$ac_objext
5909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5910 (eval $ac_compile) 2>conftest.er1
5912 grep -v '^ *+' conftest.er1
>conftest.err
5914 cat conftest.err
>&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); } &&
5917 { ac_try
='test -z "$ac_c_werror_flag"
5918 || test ! -s conftest.err'
5919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923 (exit $ac_status); }; } &&
5924 { ac_try
='test -s conftest.$ac_objext'
5925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); }; }; then
5930 ac_header_compiler
=yes
5932 echo "$as_me: failed program was:" >&5
5933 sed 's/^/| /' conftest.
$ac_ext >&5
5935 ac_header_compiler
=no
5937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5939 echo "${ECHO_T}$ac_header_compiler" >&6
5941 # Is the header present?
5942 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5944 cat >conftest.
$ac_ext <<_ACEOF
5947 cat confdefs.h
>>conftest.
$ac_ext
5948 cat >>conftest.
$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 #include <$ac_header>
5952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5953 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5955 grep -v '^ *+' conftest.er1
>conftest.err
5957 cat conftest.err
>&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); } >/dev
/null
; then
5960 if test -s conftest.err
; then
5961 ac_cpp_err
=$ac_c_preproc_warn_flag
5962 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5969 if test -z "$ac_cpp_err"; then
5970 ac_header_preproc
=yes
5972 echo "$as_me: failed program was:" >&5
5973 sed 's/^/| /' conftest.
$ac_ext >&5
5975 ac_header_preproc
=no
5977 rm -f conftest.err conftest.
$ac_ext
5978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5979 echo "${ECHO_T}$ac_header_preproc" >&6
5981 # So? What about this header?
5982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5984 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5985 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5987 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5988 ac_header_preproc
=yes
5991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5995 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5996 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5997 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5998 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6001 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6002 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6005 ## ------------------------------------------ ##
6006 ## Report this to the AC_PACKAGE_NAME lists. ##
6007 ## ------------------------------------------ ##
6010 sed "s/^/$as_me: WARNING: /" >&2
6013 echo "$as_me:$LINENO: checking for $ac_header" >&5
6014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 eval "$as_ac_Header=\$ac_header_preproc"
6020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6025 cat >>confdefs.h
<<_ACEOF
6026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6034 ac_cpp
='$CXXCPP $CPPFLAGS'
6035 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6036 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6037 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6038 if test -n "$ac_tool_prefix"; then
6039 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6042 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6043 echo "$as_me:$LINENO: checking for $ac_word" >&5
6044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6045 if test "${ac_cv_prog_CXX+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 if test -n "$CXX"; then
6049 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6055 test -z "$as_dir" && as_dir
=.
6056 for ac_exec_ext
in '' $ac_executable_extensions; do
6057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6058 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 if test -n "$CXX"; then
6069 echo "$as_me:$LINENO: result: $CXX" >&5
6070 echo "${ECHO_T}$CXX" >&6
6072 echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6
6076 test -n "$CXX" && break
6079 if test -z "$CXX"; then
6081 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6083 # Extract the first word of "$ac_prog", so it can be a program name with args.
6084 set dummy
$ac_prog; ac_word
=$2
6085 echo "$as_me:$LINENO: checking for $ac_word" >&5
6086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6087 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6088 echo $ECHO_N "(cached) $ECHO_C" >&6
6090 if test -n "$ac_ct_CXX"; then
6091 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6097 test -z "$as_dir" && as_dir
=.
6098 for ac_exec_ext
in '' $ac_executable_extensions; do
6099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6100 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6110 if test -n "$ac_ct_CXX"; then
6111 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6112 echo "${ECHO_T}$ac_ct_CXX" >&6
6114 echo "$as_me:$LINENO: result: no" >&5
6115 echo "${ECHO_T}no" >&6
6118 test -n "$ac_ct_CXX" && break
6120 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
6126 # Provide some information about the compiler.
6127 echo "$as_me:$LINENO:" \
6128 "checking for C++ compiler version" >&5
6129 ac_compiler
=`set X $ac_compile; echo $2`
6130 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6131 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); }
6135 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6136 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 (exit $ac_status); }
6140 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6141 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }
6146 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6147 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6148 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6149 echo $ECHO_N "(cached) $ECHO_C" >&6
6151 cat >conftest.
$ac_ext <<_ACEOF
6154 cat confdefs.h
>>conftest.
$ac_ext
6155 cat >>conftest.
$ac_ext <<_ACEOF
6156 /* end confdefs.h. */
6169 rm -f conftest.
$ac_objext
6170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6171 (eval $ac_compile) 2>conftest.er1
6173 grep -v '^ *+' conftest.er1
>conftest.err
6175 cat conftest.err
>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); } &&
6178 { ac_try
='test -z "$ac_cxx_werror_flag"
6179 || test ! -s conftest.err'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; } &&
6185 { ac_try
='test -s conftest.$ac_objext'
6186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); }; }; then
6193 echo "$as_me: failed program was:" >&5
6194 sed 's/^/| /' conftest.
$ac_ext >&5
6198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6199 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6202 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6203 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6204 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6205 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6206 ac_save_CXXFLAGS
=$CXXFLAGS
6208 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6209 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6210 if test "${ac_cv_prog_cxx_g+set}" = set; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 cat >conftest.
$ac_ext <<_ACEOF
6216 cat confdefs.h
>>conftest.
$ac_ext
6217 cat >>conftest.
$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6228 rm -f conftest.
$ac_objext
6229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6230 (eval $ac_compile) 2>conftest.er1
6232 grep -v '^ *+' conftest.er1
>conftest.err
6234 cat conftest.err
>&5
6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); } &&
6237 { ac_try
='test -z "$ac_cxx_werror_flag"
6238 || test ! -s conftest.err'
6239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); }; } &&
6244 { ac_try
='test -s conftest.$ac_objext'
6245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); }; }; then
6250 ac_cv_prog_cxx_g
=yes
6252 echo "$as_me: failed program was:" >&5
6253 sed 's/^/| /' conftest.
$ac_ext >&5
6257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6259 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6260 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6261 if test "$ac_test_CXXFLAGS" = set; then
6262 CXXFLAGS
=$ac_save_CXXFLAGS
6263 elif test $ac_cv_prog_cxx_g = yes; then
6264 if test "$GXX" = yes; then
6270 if test "$GXX" = yes; then
6276 for ac_declaration
in \
6278 'extern "C" void std::exit (int) throw (); using std::exit;' \
6279 'extern "C" void std::exit (int); using std::exit;' \
6280 'extern "C" void exit (int) throw ();' \
6281 'extern "C" void exit (int);' \
6284 cat >conftest.
$ac_ext <<_ACEOF
6287 cat confdefs.h
>>conftest.
$ac_ext
6288 cat >>conftest.
$ac_ext <<_ACEOF
6289 /* end confdefs.h. */
6300 rm -f conftest.
$ac_objext
6301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6302 (eval $ac_compile) 2>conftest.er1
6304 grep -v '^ *+' conftest.er1
>conftest.err
6306 cat conftest.err
>&5
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); } &&
6309 { ac_try
='test -z "$ac_cxx_werror_flag"
6310 || test ! -s conftest.err'
6311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); }; } &&
6316 { ac_try
='test -s conftest.$ac_objext'
6317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); }; }; then
6324 echo "$as_me: failed program was:" >&5
6325 sed 's/^/| /' conftest.
$ac_ext >&5
6329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6330 cat >conftest.
$ac_ext <<_ACEOF
6333 cat confdefs.h
>>conftest.
$ac_ext
6334 cat >>conftest.
$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6345 rm -f conftest.
$ac_objext
6346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6347 (eval $ac_compile) 2>conftest.er1
6349 grep -v '^ *+' conftest.er1
>conftest.err
6351 cat conftest.err
>&5
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); } &&
6354 { ac_try
='test -z "$ac_cxx_werror_flag"
6355 || test ! -s conftest.err'
6356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); }; } &&
6361 { ac_try
='test -s conftest.$ac_objext'
6362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6366 (exit $ac_status); }; }; then
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.
$ac_ext >&5
6373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6376 if test -n "$ac_declaration"; then
6377 echo '#ifdef __cplusplus' >>confdefs.h
6378 echo $ac_declaration >>confdefs.h
6379 echo '#endif' >>confdefs.h
6383 ac_cpp
='$CXXCPP $CPPFLAGS'
6384 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6385 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6386 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6388 depcc
="$CXX" am_compiler_list
=
6390 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6391 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
6392 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6395 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6396 # We make a subdir and do the tests there. Otherwise we can end up
6397 # making bogus files that we don't know about and never remove. For
6398 # instance it was reported that on HP-UX the gcc test will end up
6399 # making a dummy file named `D' -- because `-MD' means `put the output
6402 # Copy depcomp to subdir because otherwise we won't find it if we're
6403 # using a relative directory.
6404 cp "$am_depcomp" conftest.dir
6406 # We will build objects and dependencies in a subdirectory because
6407 # it helps to detect inapplicable dependency modes. For instance
6408 # both Tru64's cc and ICC support -MD to output dependencies as a
6409 # side effect of compilation, but ICC will put the dependencies in
6410 # the current directory while Tru64 will put them in the object
6414 am_cv_CXX_dependencies_compiler_type
=none
6415 if test "$am_compiler_list" = ""; then
6416 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6418 for depmode
in $am_compiler_list; do
6419 # Setup a source with many dependencies, because some compilers
6420 # like to wrap large dependency lists on column 80 (with \), and
6421 # we should not choose a depcomp mode which is confused by this.
6423 # We need to recreate these files for each test, as the compiler may
6424 # overwrite some of them when testing with obscure command lines.
6425 # This happens at least with the AIX C compiler.
6427 for i
in 1 2 3 4 5 6; do
6428 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
6429 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6430 # Solaris 8's {/usr,}/bin/sh.
6431 touch sub
/conftst
$i.h
6433 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6437 # after this tag, mechanisms are not by side-effect, so they'll
6438 # only be used when explicitly requested
6439 if test "x$enable_dependency_tracking" = xyes
; then
6447 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6448 # mode. It turns out that the SunPro C++ compiler does not properly
6449 # handle `-M -o', and we need to detect this.
6450 if depmode
=$depmode \
6451 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6452 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6453 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6454 >/dev
/null
2>conftest.err
&&
6455 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6456 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6457 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6458 # icc doesn't choke on unknown options, it will just issue warnings
6459 # or remarks (even with -Werror). So we grep stderr for any message
6460 # that says an option was ignored or not supported.
6461 # When given -MP, icc 7.0 and 7.1 complain thusly:
6462 # icc: Command line warning: ignoring option '-M'; no argument required
6463 # The diagnosis changed in icc 8.0:
6464 # icc: Command line remark: option '-MP' not supported
6465 if (grep 'ignoring option' conftest.err ||
6466 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6467 am_cv_CXX_dependencies_compiler_type
=$depmode
6476 am_cv_CXX_dependencies_compiler_type
=none
6480 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6481 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
6482 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6487 test "x$enable_dependency_tracking" != xno \
6488 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6489 am__fastdepCXX_TRUE
=
6490 am__fastdepCXX_FALSE
='#'
6492 am__fastdepCXX_TRUE
='#'
6493 am__fastdepCXX_FALSE
=
6499 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6500 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6501 (test "X$CXX" != "Xg++"))) ; then
6503 ac_cpp
='$CXXCPP $CPPFLAGS'
6504 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6505 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6506 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6507 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6508 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6509 if test -z "$CXXCPP"; then
6510 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6513 # Double quotes because CXXCPP needs to be expanded
6514 for CXXCPP
in "$CXX -E" "/lib/cpp"
6517 for ac_cxx_preproc_warn_flag
in '' yes
6519 # Use a header file that comes with gcc, so configuring glibc
6520 # with a fresh cross-compiler works.
6521 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6522 # <limits.h> exists even on freestanding compilers.
6523 # On the NeXT, cc -E runs the code through the compiler's parser,
6524 # not just through cpp. "Syntax error" is here to catch this case.
6525 cat >conftest.
$ac_ext <<_ACEOF
6528 cat confdefs.h
>>conftest.
$ac_ext
6529 cat >>conftest.
$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6532 # include <limits.h>
6534 # include <assert.h>
6538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6539 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6541 grep -v '^ *+' conftest.er1
>conftest.err
6543 cat conftest.err
>&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } >/dev
/null
; then
6546 if test -s conftest.err
; then
6547 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6548 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6555 if test -z "$ac_cpp_err"; then
6558 echo "$as_me: failed program was:" >&5
6559 sed 's/^/| /' conftest.
$ac_ext >&5
6561 # Broken: fails on valid input.
6564 rm -f conftest.err conftest.
$ac_ext
6566 # OK, works on sane cases. Now check whether non-existent headers
6567 # can be detected and how.
6568 cat >conftest.
$ac_ext <<_ACEOF
6571 cat confdefs.h
>>conftest.
$ac_ext
6572 cat >>conftest.
$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6574 #include <ac_nonexistent.h>
6576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6577 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6579 grep -v '^ *+' conftest.er1
>conftest.err
6581 cat conftest.err
>&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); } >/dev
/null
; then
6584 if test -s conftest.err
; then
6585 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6586 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6593 if test -z "$ac_cpp_err"; then
6594 # Broken: success on invalid input.
6597 echo "$as_me: failed program was:" >&5
6598 sed 's/^/| /' conftest.
$ac_ext >&5
6600 # Passes both tests.
6604 rm -f conftest.err conftest.
$ac_ext
6607 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6608 rm -f conftest.err conftest.
$ac_ext
6609 if $ac_preproc_ok; then
6614 ac_cv_prog_CXXCPP
=$CXXCPP
6617 CXXCPP
=$ac_cv_prog_CXXCPP
6619 ac_cv_prog_CXXCPP
=$CXXCPP
6621 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6622 echo "${ECHO_T}$CXXCPP" >&6
6624 for ac_cxx_preproc_warn_flag
in '' yes
6626 # Use a header file that comes with gcc, so configuring glibc
6627 # with a fresh cross-compiler works.
6628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6629 # <limits.h> exists even on freestanding compilers.
6630 # On the NeXT, cc -E runs the code through the compiler's parser,
6631 # not just through cpp. "Syntax error" is here to catch this case.
6632 cat >conftest.
$ac_ext <<_ACEOF
6635 cat confdefs.h
>>conftest.
$ac_ext
6636 cat >>conftest.
$ac_ext <<_ACEOF
6637 /* end confdefs.h. */
6639 # include <limits.h>
6641 # include <assert.h>
6645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6646 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6648 grep -v '^ *+' conftest.er1
>conftest.err
6650 cat conftest.err
>&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } >/dev
/null
; then
6653 if test -s conftest.err
; then
6654 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6655 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6662 if test -z "$ac_cpp_err"; then
6665 echo "$as_me: failed program was:" >&5
6666 sed 's/^/| /' conftest.
$ac_ext >&5
6668 # Broken: fails on valid input.
6671 rm -f conftest.err conftest.
$ac_ext
6673 # OK, works on sane cases. Now check whether non-existent headers
6674 # can be detected and how.
6675 cat >conftest.
$ac_ext <<_ACEOF
6678 cat confdefs.h
>>conftest.
$ac_ext
6679 cat >>conftest.
$ac_ext <<_ACEOF
6680 /* end confdefs.h. */
6681 #include <ac_nonexistent.h>
6683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6684 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6686 grep -v '^ *+' conftest.er1
>conftest.err
6688 cat conftest.err
>&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); } >/dev
/null
; then
6691 if test -s conftest.err
; then
6692 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6693 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6700 if test -z "$ac_cpp_err"; then
6701 # Broken: success on invalid input.
6704 echo "$as_me: failed program was:" >&5
6705 sed 's/^/| /' conftest.
$ac_ext >&5
6707 # Passes both tests.
6711 rm -f conftest.err conftest.
$ac_ext
6714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6715 rm -f conftest.err conftest.
$ac_ext
6716 if $ac_preproc_ok; then
6719 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6720 See \`config.log' for more details." >&5
6721 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6722 See \`config.log' for more details." >&2;}
6723 { (exit 1); exit 1; }; }
6727 ac_cpp
='$CXXCPP $CPPFLAGS'
6728 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6729 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6730 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6736 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6737 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6738 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6739 if test -n "$ac_tool_prefix"; then
6740 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6743 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6744 echo "$as_me:$LINENO: checking for $ac_word" >&5
6745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6746 if test "${ac_cv_prog_F77+set}" = set; then
6747 echo $ECHO_N "(cached) $ECHO_C" >&6
6749 if test -n "$F77"; then
6750 ac_cv_prog_F77
="$F77" # Let the user override the test.
6752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6756 test -z "$as_dir" && as_dir
=.
6757 for ac_exec_ext
in '' $ac_executable_extensions; do
6758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6759 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6769 if test -n "$F77"; then
6770 echo "$as_me:$LINENO: result: $F77" >&5
6771 echo "${ECHO_T}$F77" >&6
6773 echo "$as_me:$LINENO: result: no" >&5
6774 echo "${ECHO_T}no" >&6
6777 test -n "$F77" && break
6780 if test -z "$F77"; then
6782 for ac_prog
in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6784 # Extract the first word of "$ac_prog", so it can be a program name with args.
6785 set dummy
$ac_prog; ac_word
=$2
6786 echo "$as_me:$LINENO: checking for $ac_word" >&5
6787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6788 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6789 echo $ECHO_N "(cached) $ECHO_C" >&6
6791 if test -n "$ac_ct_F77"; then
6792 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6798 test -z "$as_dir" && as_dir
=.
6799 for ac_exec_ext
in '' $ac_executable_extensions; do
6800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_ac_ct_F77
="$ac_prog"
6802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6810 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6811 if test -n "$ac_ct_F77"; then
6812 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6813 echo "${ECHO_T}$ac_ct_F77" >&6
6815 echo "$as_me:$LINENO: result: no" >&5
6816 echo "${ECHO_T}no" >&6
6819 test -n "$ac_ct_F77" && break
6826 # Provide some information about the compiler.
6827 echo "$as_me:6827:" \
6828 "checking for Fortran 77 compiler version" >&5
6829 ac_compiler
=`set X $ac_compile; echo $2`
6830 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6831 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }
6835 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6836 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); }
6840 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6841 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); }
6847 # If we don't use `.F' as extension, the preprocessor is not run on the
6848 # input file. (Note that this only needs to work for GNU compilers.)
6851 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6852 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
6853 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6854 echo $ECHO_N "(cached) $ECHO_C" >&6
6856 cat >conftest.
$ac_ext <<_ACEOF
6864 rm -f conftest.
$ac_objext
6865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6866 (eval $ac_compile) 2>conftest.er1
6868 grep -v '^ *+' conftest.er1
>conftest.err
6870 cat conftest.err
>&5
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); } &&
6873 { ac_try
='test -z "$ac_f77_werror_flag"
6874 || test ! -s conftest.err'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; } &&
6880 { ac_try
='test -s conftest.$ac_objext'
6881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); }; }; then
6888 echo "$as_me: failed program was:" >&5
6889 sed 's/^/| /' conftest.
$ac_ext >&5
6893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6894 ac_cv_f77_compiler_gnu
=$ac_compiler_gnu
6897 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6898 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6900 ac_test_FFLAGS
=${FFLAGS+set}
6901 ac_save_FFLAGS
=$FFLAGS
6903 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6904 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
6905 if test "${ac_cv_prog_f77_g+set}" = set; then
6906 echo $ECHO_N "(cached) $ECHO_C" >&6
6909 cat >conftest.
$ac_ext <<_ACEOF
6914 rm -f conftest.
$ac_objext
6915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6916 (eval $ac_compile) 2>conftest.er1
6918 grep -v '^ *+' conftest.er1
>conftest.err
6920 cat conftest.err
>&5
6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); } &&
6923 { ac_try
='test -z "$ac_f77_werror_flag"
6924 || test ! -s conftest.err'
6925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); }; } &&
6930 { ac_try
='test -s conftest.$ac_objext'
6931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); }; }; then
6936 ac_cv_prog_f77_g
=yes
6938 echo "$as_me: failed program was:" >&5
6939 sed 's/^/| /' conftest.
$ac_ext >&5
6943 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6946 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6947 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
6948 if test "$ac_test_FFLAGS" = set; then
6949 FFLAGS
=$ac_save_FFLAGS
6950 elif test $ac_cv_prog_f77_g = yes; then
6951 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
6957 if test "x$ac_cv_f77_compiler_gnu" = xyes
; then
6964 G77
=`test $ac_compiler_gnu = yes && echo yes`
6966 ac_cpp
='$CPP $CPPFLAGS'
6967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6973 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6975 # find the maximum length of command line arguments
6976 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6977 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6978 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6986 # On DJGPP, this test can blow up pretty badly due to problems in libc
6987 # (any single argument exceeding 2000 bytes causes a buffer overrun
6988 # during glob expansion). Even if it were fixed, the result of this
6989 # check would be larger than it should be.
6990 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6994 # Under GNU Hurd, this test is not required because there is
6995 # no limit to the length of command line arguments.
6996 # Libtool will interpret -1 as no limit whatsoever
6997 lt_cv_sys_max_cmd_len
=-1;
7001 # On Win9x/ME, this test blows up -- it succeeds, but takes
7002 # about 5 minutes as the teststring grows exponentially.
7003 # Worse, since 9x/ME are not pre-emptively multitasking,
7004 # you end up with a "frozen" computer, even though with patience
7005 # the test eventually succeeds (with a max line length of 256k).
7006 # Instead, let's just punt: use the minimum linelength reported by
7007 # all of the supported platforms: 8192 (on NT/2K/XP).
7008 lt_cv_sys_max_cmd_len
=8192;
7012 # On AmigaOS with pdksh, this test takes hours, literally.
7013 # So we just punt and use a minimum line length of 8192.
7014 lt_cv_sys_max_cmd_len
=8192;
7017 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7018 # This has been around since 386BSD, at least. Likely further.
7019 if test -x /sbin
/sysctl
; then
7020 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7021 elif test -x /usr
/sbin
/sysctl
; then
7022 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7024 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
7026 # And add a safety zone
7027 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7030 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7031 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7032 # nice to cause kernel panics so lets avoid the loop below.
7033 # First set a reasonable default.
7034 lt_cv_sys_max_cmd_len
=16384
7036 if test -x /sbin
/sysconfig
; then
7037 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7038 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7043 # If test is not a shell built-in, we'll probably end up computing a
7044 # maximum length that is only half of the actual maximum length, but
7046 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7047 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7048 = "XX$teststring") >/dev
/null
2>&1 &&
7049 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
7050 lt_cv_sys_max_cmd_len
=$new_result &&
7051 test $i != 17 # 1/2 MB should be enough
7054 teststring
=$teststring$teststring
7057 # Add a significant safety factor because C++ compilers can tack on massive
7058 # amounts of additional arguments before passing them to the linker.
7059 # It appears as though 1/2 is a usable value.
7060 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7066 if test -n $lt_cv_sys_max_cmd_len ; then
7067 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7068 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
7070 echo "$as_me:$LINENO: result: none" >&5
7071 echo "${ECHO_T}none" >&6
7077 # Check for command to grab the raw symbol name followed by C symbol from nm.
7078 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7079 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
7080 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7081 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 # These are sane defaults that work on at least a few old systems.
7085 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7087 # Character class describing NM global symbol codes.
7088 symcode
='[BCDEGRST]'
7090 # Regexp to match symbols that can be accessed directly from C.
7091 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7093 # Transform an extracted symbol line into a proper C declaration
7094 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7096 # Transform an extracted symbol line into symbol name and symbol address
7097 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7099 # Define system-specific variables.
7104 cygwin
* | mingw
* | pw32
*)
7105 symcode
='[ABCDGISTW]'
7107 hpux
*) # Its linker distinguishes data from code symbols
7108 if test "$host_cpu" = ia64
; then
7109 symcode
='[ABCDEGRST]'
7111 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7112 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7115 if test "$host_cpu" = ia64
; then
7116 symcode
='[ABCDGIRSTW]'
7117 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7118 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
7122 symcode
='[BCDEGRST]'
7125 symcode
='[BCDEGQRST]'
7135 # Handle CRLF in mingw tool chain
7139 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7143 # If we're using GNU nm, then use its standard symbol codes.
7144 case `$NM -V 2>&1` in
7145 *GNU
* |
*'with BFD'*)
7146 symcode
='[ABCDGIRSTW]' ;;
7149 # Try without a prefix undercore, then with it.
7150 for ac_symprfx
in "" "_"; do
7152 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7153 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7155 # Write the raw and C identifiers.
7156 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7158 # Check to see that the pipe works correctly.
7162 cat > conftest.
$ac_ext <<EOF
7167 void nm_test_func(){}
7171 int main(){nm_test_var='a';nm_test_func();return(0);}
7174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7175 (eval $ac_compile) 2>&5
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); }; then
7179 # Now try to grab the symbols.
7181 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7182 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); } && test -s "$nlist"; then
7186 # Try sorting and uniquifying the output.
7187 if sort "$nlist" |
uniq > "$nlist"T
; then
7188 mv -f "$nlist"T
"$nlist"
7193 # Make sure that we snagged all the symbols we need.
7194 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
7195 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
7196 cat <<EOF > conftest.$ac_ext
7202 # Now generate the symbol file.
7203 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7205 cat <<EOF >> conftest.$ac_ext
7206 #if defined (__STDC__) && __STDC__
7207 # define lt_ptr_t void *
7209 # define lt_ptr_t char *
7213 /* The mapping between symbol names and symbols. */
7218 lt_preloaded_symbols[] =
7221 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
7222 cat <<\EOF
>> conftest.
$ac_ext
7230 # Now try linking the two files.
7231 mv conftest.
$ac_objext conftstm.
$ac_objext
7232 lt_save_LIBS
="$LIBS"
7233 lt_save_CFLAGS
="$CFLAGS"
7234 LIBS
="conftstm.$ac_objext"
7235 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7237 (eval $ac_link) 2>&5
7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
7243 LIBS
="$lt_save_LIBS"
7244 CFLAGS
="$lt_save_CFLAGS"
7246 echo "cannot find nm_test_func in $nlist" >&5
7249 echo "cannot find nm_test_var in $nlist" >&5
7252 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7255 echo "$progname: failed program was:" >&5
7256 cat conftest.
$ac_ext >&5
7258 rm -f conftest
* conftst
*
7260 # Do not use the global_symbol_pipe unless it works.
7261 if test "$pipe_works" = yes; then
7264 lt_cv_sys_global_symbol_pipe
=
7270 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7271 lt_cv_sys_global_symbol_to_cdecl
=
7273 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7274 echo "$as_me:$LINENO: result: failed" >&5
7275 echo "${ECHO_T}failed" >&6
7277 echo "$as_me:$LINENO: result: ok" >&5
7278 echo "${ECHO_T}ok" >&6
7281 echo "$as_me:$LINENO: checking for objdir" >&5
7282 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7283 if test "${lt_cv_objdir+set}" = set; then
7284 echo $ECHO_N "(cached) $ECHO_C" >&6
7286 rm -f .libs
2>/dev
/null
7287 mkdir .libs
2>/dev
/null
7288 if test -d .libs
; then
7291 # MS-DOS does not allow filenames that begin with a dot.
7294 rmdir .libs
2>/dev
/null
7296 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7297 echo "${ECHO_T}$lt_cv_objdir" >&6
7298 objdir
=$lt_cv_objdir
7306 # AIX sometimes has problems with the GCC collect2 program. For some
7307 # reason, if we set the COLLECT_NAMES environment variable, the problems
7308 # vanish in a puff of smoke.
7309 if test "X${COLLECT_NAMES+set}" != Xset
; then
7311 export COLLECT_NAMES
7316 # Sed substitution that helps us do robust quoting. It backslashifies
7317 # metacharacters that are still active within double-quoted strings.
7318 Xsed
='sed -e s/^X//'
7319 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
7321 # Same as above, but do not quote variable references.
7322 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
7324 # Sed substitution to delay expansion of an escaped shell variable in a
7325 # double_quote_subst'ed string.
7326 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7328 # Sed substitution to avoid accidental globbing in evaled expressions
7329 no_glob_subst
='s/\*/\\\*/g'
7335 default_ofile
=libtool
7336 can_build_shared
=yes
7338 # All known linkers require a `.a' archive for static linking (except M$VC,
7339 # which needs '.lib').
7341 ltmain
="$ac_aux_dir/ltmain.sh"
7342 ofile
="$default_ofile"
7343 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7345 if test -n "$ac_tool_prefix"; then
7346 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7347 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7348 echo "$as_me:$LINENO: checking for $ac_word" >&5
7349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7350 if test "${ac_cv_prog_AR+set}" = set; then
7351 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 if test -n "$AR"; then
7354 ac_cv_prog_AR
="$AR" # Let the user override the test.
7356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir
=.
7361 for ac_exec_ext
in '' $ac_executable_extensions; do
7362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7363 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7373 if test -n "$AR"; then
7374 echo "$as_me:$LINENO: result: $AR" >&5
7375 echo "${ECHO_T}$AR" >&6
7377 echo "$as_me:$LINENO: result: no" >&5
7378 echo "${ECHO_T}no" >&6
7382 if test -z "$ac_cv_prog_AR"; then
7384 # Extract the first word of "ar", so it can be a program name with args.
7385 set dummy
ar; ac_word
=$2
7386 echo "$as_me:$LINENO: checking for $ac_word" >&5
7387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7388 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7389 echo $ECHO_N "(cached) $ECHO_C" >&6
7391 if test -n "$ac_ct_AR"; then
7392 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7398 test -z "$as_dir" && as_dir
=.
7399 for ac_exec_ext
in '' $ac_executable_extensions; do
7400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7401 ac_cv_prog_ac_ct_AR
="ar"
7402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7408 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="false"
7411 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7412 if test -n "$ac_ct_AR"; then
7413 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7414 echo "${ECHO_T}$ac_ct_AR" >&6
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7425 if test -n "$ac_tool_prefix"; then
7426 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7427 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7428 echo "$as_me:$LINENO: checking for $ac_word" >&5
7429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7430 if test "${ac_cv_prog_RANLIB+set}" = set; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 if test -n "$RANLIB"; then
7434 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7440 test -z "$as_dir" && as_dir
=.
7441 for ac_exec_ext
in '' $ac_executable_extensions; do
7442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7443 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 RANLIB
=$ac_cv_prog_RANLIB
7453 if test -n "$RANLIB"; then
7454 echo "$as_me:$LINENO: result: $RANLIB" >&5
7455 echo "${ECHO_T}$RANLIB" >&6
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7462 if test -z "$ac_cv_prog_RANLIB"; then
7463 ac_ct_RANLIB
=$RANLIB
7464 # Extract the first word of "ranlib", so it can be a program name with args.
7465 set dummy ranlib
; ac_word
=$2
7466 echo "$as_me:$LINENO: checking for $ac_word" >&5
7467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7468 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7469 echo $ECHO_N "(cached) $ECHO_C" >&6
7471 if test -n "$ac_ct_RANLIB"; then
7472 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir
=.
7479 for ac_exec_ext
in '' $ac_executable_extensions; do
7480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7481 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7488 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
7491 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7492 if test -n "$ac_ct_RANLIB"; then
7493 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7494 echo "${ECHO_T}$ac_ct_RANLIB" >&6
7496 echo "$as_me:$LINENO: result: no" >&5
7497 echo "${ECHO_T}no" >&6
7500 RANLIB
=$ac_ct_RANLIB
7502 RANLIB
="$ac_cv_prog_RANLIB"
7505 if test -n "$ac_tool_prefix"; then
7506 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7507 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7508 echo "$as_me:$LINENO: checking for $ac_word" >&5
7509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7510 if test "${ac_cv_prog_STRIP+set}" = set; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7513 if test -n "$STRIP"; then
7514 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir
=.
7521 for ac_exec_ext
in '' $ac_executable_extensions; do
7522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7523 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7532 STRIP
=$ac_cv_prog_STRIP
7533 if test -n "$STRIP"; then
7534 echo "$as_me:$LINENO: result: $STRIP" >&5
7535 echo "${ECHO_T}$STRIP" >&6
7537 echo "$as_me:$LINENO: result: no" >&5
7538 echo "${ECHO_T}no" >&6
7542 if test -z "$ac_cv_prog_STRIP"; then
7544 # Extract the first word of "strip", so it can be a program name with args.
7545 set dummy strip
; ac_word
=$2
7546 echo "$as_me:$LINENO: checking for $ac_word" >&5
7547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7548 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7549 echo $ECHO_N "(cached) $ECHO_C" >&6
7551 if test -n "$ac_ct_STRIP"; then
7552 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7558 test -z "$as_dir" && as_dir
=.
7559 for ac_exec_ext
in '' $ac_executable_extensions; do
7560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7561 ac_cv_prog_ac_ct_STRIP
="strip"
7562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
7571 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7572 if test -n "$ac_ct_STRIP"; then
7573 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7574 echo "${ECHO_T}$ac_ct_STRIP" >&6
7576 echo "$as_me:$LINENO: result: no" >&5
7577 echo "${ECHO_T}no" >&6
7582 STRIP
="$ac_cv_prog_STRIP"
7587 old_CFLAGS
="$CFLAGS"
7589 # Set sane defaults for various variables
7590 test -z "$AR" && AR
=ar
7591 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7592 test -z "$AS" && AS
=as
7593 test -z "$CC" && CC
=cc
7594 test -z "$LTCC" && LTCC
=$CC
7595 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7596 test -z "$LD" && LD
=ld
7597 test -z "$LN_S" && LN_S
="ln -s"
7598 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7599 test -z "$NM" && NM
=nm
7600 test -z "$SED" && SED
=sed
7601 test -z "$OBJDUMP" && OBJDUMP
=objdump
7602 test -z "$RANLIB" && RANLIB
=:
7603 test -z "$STRIP" && STRIP
=:
7604 test -z "$ac_objext" && ac_objext
=o
7606 # Determine commands to create old-style static archives.
7607 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7608 old_postinstall_cmds
='chmod 644 $oldlib'
7609 old_postuninstall_cmds
=
7611 if test -n "$RANLIB"; then
7614 old_postinstall_cmds
="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
7617 old_postinstall_cmds
="\$RANLIB \$oldlib~$old_postinstall_cmds"
7620 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7623 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
7625 # Only perform the check for file, if the check method requires it
7626 case $deplibs_check_method in
7628 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7629 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7630 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7631 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7636 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7639 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7640 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7641 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7642 for ac_dir
in $ac_dummy; do
7644 test -z "$ac_dir" && ac_dir
=.
7645 if test -f $ac_dir/${ac_tool_prefix}file; then
7646 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7647 if test -n "$file_magic_test_file"; then
7648 case $deplibs_check_method in
7650 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7651 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7652 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7653 $EGREP "$file_magic_regex" > /dev
/null
; then
7658 *** Warning: the command libtool uses to detect shared libraries,
7659 *** $file_magic_cmd, produces output that libtool cannot recognize.
7660 *** The result is that libtool may fail to recognize shared libraries
7661 *** as such. This will affect the creation of libtool libraries that
7662 *** depend on shared libraries, but programs linked with such libtool
7663 *** libraries will work regardless of this problem. Nevertheless, you
7664 *** may want to report the problem to your system manager and/or to
7665 *** bug-libtool@gnu.org
7675 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7680 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7681 if test -n "$MAGIC_CMD"; then
7682 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7683 echo "${ECHO_T}$MAGIC_CMD" >&6
7685 echo "$as_me:$LINENO: result: no" >&5
7686 echo "${ECHO_T}no" >&6
7689 if test -z "$lt_cv_path_MAGIC_CMD"; then
7690 if test -n "$ac_tool_prefix"; then
7691 echo "$as_me:$LINENO: checking for file" >&5
7692 echo $ECHO_N "checking for file... $ECHO_C" >&6
7693 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7694 echo $ECHO_N "(cached) $ECHO_C" >&6
7698 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7701 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7702 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7703 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7704 for ac_dir
in $ac_dummy; do
7706 test -z "$ac_dir" && ac_dir
=.
7707 if test -f $ac_dir/file; then
7708 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7709 if test -n "$file_magic_test_file"; then
7710 case $deplibs_check_method in
7712 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
7713 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7714 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7715 $EGREP "$file_magic_regex" > /dev
/null
; then
7720 *** Warning: the command libtool uses to detect shared libraries,
7721 *** $file_magic_cmd, produces output that libtool cannot recognize.
7722 *** The result is that libtool may fail to recognize shared libraries
7723 *** as such. This will affect the creation of libtool libraries that
7724 *** depend on shared libraries, but programs linked with such libtool
7725 *** libraries will work regardless of this problem. Nevertheless, you
7726 *** may want to report the problem to your system manager and/or to
7727 *** bug-libtool@gnu.org
7737 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7742 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7743 if test -n "$MAGIC_CMD"; then
7744 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7745 echo "${ECHO_T}$MAGIC_CMD" >&6
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7761 enable_win32_dll
=yes
7763 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7764 if test "${enable_libtool_lock+set}" = set; then
7765 enableval
="$enable_libtool_lock"
7768 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7771 # Check whether --with-pic or --without-pic was given.
7772 if test "${with_pic+set}" = set; then
7778 test -z "$pic_mode" && pic_mode
=default
7780 # Use C for the default configuration in the libtool script
7784 ac_cpp
='$CPP $CPPFLAGS'
7785 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7786 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7787 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7790 # Source file extension for C test sources.
7793 # Object file extension for compiled C test sources.
7797 # Code to be used in simple compile tests
7798 lt_simple_compile_test_code
="int some_variable = 0;\n"
7800 # Code to be used in simple link tests
7801 lt_simple_link_test_code
='int main(){return(0);}\n'
7804 # If no C compiler was specified, use CC.
7807 # Allow CC to be a program name with arguments.
7812 # Check for any special shared library compilation flags.
7815 if test "$GCC" = no
; then
7818 lt_prog_cc_shlib
='-belf'
7822 if test -n "$lt_prog_cc_shlib"; then
7823 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
7824 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
7825 if echo "$old_CC $old_CFLAGS " |
grep "[ ]$lt_prog_cc_shlib[ ]" >/dev
/null
; then :
7827 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
7828 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
7829 lt_cv_prog_cc_can_build_shared
=no
7835 # Check to make sure the static flag actually works.
7837 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
7838 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
7839 if test "${lt_prog_compiler_static_works+set}" = set; then
7840 echo $ECHO_N "(cached) $ECHO_C" >&6
7842 lt_prog_compiler_static_works
=no
7843 save_LDFLAGS
="$LDFLAGS"
7844 LDFLAGS
="$LDFLAGS $lt_prog_compiler_static"
7845 printf "$lt_simple_link_test_code" > conftest.
$ac_ext
7846 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7847 # The compiler can only warn and ignore the option if not recognized
7848 # So say no if there are warnings
7849 if test -s conftest.err
; then
7850 # Append any errors to the config.log.
7851 cat conftest.err
1>&5
7853 lt_prog_compiler_static_works
=yes
7857 LDFLAGS
="$save_LDFLAGS"
7860 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7861 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7863 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7866 lt_prog_compiler_static
=
7872 ## There is no encapsulation within the following macros, do not change
7873 ## the running order or otherwise move them around unless you know exactly
7874 ## what you are doing...
7876 lt_prog_compiler_no_builtin_flag
=
7878 if test "$GCC" = yes; then
7879 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7882 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7883 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7884 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7887 lt_cv_prog_compiler_rtti_exceptions
=no
7888 ac_outfile
=conftest.
$ac_objext
7889 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
7890 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7891 # Insert the option either (1) after the last *FLAGS variable, or
7892 # (2) before a word containing "conftest.", or (3) at the end.
7893 # Note that $ac_compile itself does not contain backslashes and begins
7894 # with a dollar sign (not a hyphen), so the echo should work correctly.
7895 # The option is referenced via a variable to avoid confusing sed.
7896 lt_compile
=`echo "$ac_compile" | $SED \
7897 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7898 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7899 -e 's:$: $lt_compiler_flag:'`
7900 (eval echo "\"\$as_me:7900: $lt_compile\"" >&5)
7901 (eval "$lt_compile" 2>conftest.err
)
7903 cat conftest.err
>&5
7904 echo "$as_me:7904: \$? = $ac_status" >&5
7905 if (exit $ac_status) && test -s "$ac_outfile"; then
7906 # The compiler can only warn and ignore the option if not recognized
7907 # So say no if there are warnings
7908 if test ! -s conftest.err
; then
7909 lt_cv_prog_compiler_rtti_exceptions
=yes
7915 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7916 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7918 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7919 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7926 lt_prog_compiler_wl
=
7927 lt_prog_compiler_pic
=
7928 lt_prog_compiler_static
=
7930 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7931 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7933 if test "$GCC" = yes; then
7934 lt_prog_compiler_wl
='-Wl,'
7935 lt_prog_compiler_static
='-static'
7939 # All AIX code is PIC.
7940 if test "$host_cpu" = ia64
; then
7941 # AIX 5 now supports IA64 processor
7942 lt_prog_compiler_static
='-Bstatic'
7947 # FIXME: we need at least 68020 code to build shared libraries, but
7948 # adding the `-m68020' flag to GCC prevents building anything better,
7950 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7953 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7954 # PIC is the default for these OSes.
7957 mingw
* | pw32
* | os2
*)
7958 # This hack is so that the source file can tell whether it is being
7959 # built for inclusion in a dll (and should export symbols for example).
7960 lt_prog_compiler_pic
='-DDLL_EXPORT'
7963 darwin
* | rhapsody
*)
7964 # PIC is the default on this platform
7965 # Common symbols not allowed in MH_DYLIB files
7966 lt_prog_compiler_pic
='-fno-common'
7970 # Just because we use GCC doesn't mean we suddenly get shared libraries
7971 # on systems that don't support them.
7972 lt_prog_compiler_can_build_shared
=no
7977 if test -d /usr
/nec
; then
7978 lt_prog_compiler_pic
=-Kconform_pic
7983 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7990 lt_prog_compiler_pic
='-fPIC'
7996 lt_prog_compiler_pic
='-fPIC'
8000 # PORTME Check for flag to pass linker flags through the system compiler.
8003 lt_prog_compiler_wl
='-Wl,'
8004 if test "$host_cpu" = ia64
; then
8005 # AIX 5 now supports IA64 processor
8006 lt_prog_compiler_static
='-Bstatic'
8008 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8012 # PIC is the default on this platform
8013 # Common symbols not allowed in MH_DYLIB files
8014 case "$cc_basename" in
8016 lt_prog_compiler_pic
='-qnocommon'
8017 lt_prog_compiler_wl
='-Wl,'
8022 mingw
* | pw32
* | os2
*)
8023 # This hack is so that the source file can tell whether it is being
8024 # built for inclusion in a dll (and should export symbols for example).
8025 lt_prog_compiler_pic
='-DDLL_EXPORT'
8028 hpux9
* | hpux10
* | hpux11
*)
8029 lt_prog_compiler_wl
='-Wl,'
8030 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8037 lt_prog_compiler_pic
='+Z'
8040 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8041 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8044 irix5
* | irix6
* | nonstopux
*)
8045 lt_prog_compiler_wl
='-Wl,'
8046 # PIC (with -KPIC) is the default.
8047 lt_prog_compiler_static
='-non_shared'
8051 lt_prog_compiler_pic
='-KPIC'
8052 lt_prog_compiler_static
='-Bstatic'
8056 case $cc_basename in
8058 lt_prog_compiler_wl
='-Wl,'
8059 lt_prog_compiler_pic
='-KPIC'
8060 lt_prog_compiler_static
='-static'
8062 pgcc | pgf77 | pgf90
)
8063 # Portland Group compilers (*not* the Pentium gcc compiler,
8064 # which looks to be a dead project)
8065 lt_prog_compiler_wl
='-Wl,'
8066 lt_prog_compiler_pic
='-fpic'
8067 lt_prog_compiler_static
='-static'
8070 lt_prog_compiler_wl
='-Wl,'
8071 # All Alpha code is PIC.
8072 lt_prog_compiler_static
='-non_shared'
8075 lt_prog_compiler_wl
='-lopt='
8080 osf3
* | osf4
* | osf5
*)
8081 lt_prog_compiler_wl
='-Wl,'
8082 # All OSF/1 code is PIC.
8083 lt_prog_compiler_static
='-non_shared'
8087 lt_prog_compiler_pic
='-Kpic'
8088 lt_prog_compiler_static
='-dn'
8092 lt_prog_compiler_wl
='-Wl,'
8093 lt_prog_compiler_pic
='-KPIC'
8094 lt_prog_compiler_static
='-Bstatic'
8098 lt_prog_compiler_wl
='-Qoption ld '
8099 lt_prog_compiler_pic
='-PIC'
8100 lt_prog_compiler_static
='-Bstatic'
8103 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8104 lt_prog_compiler_wl
='-Wl,'
8105 lt_prog_compiler_pic
='-KPIC'
8106 lt_prog_compiler_static
='-Bstatic'
8110 if test -d /usr
/nec
;then
8111 lt_prog_compiler_pic
='-Kconform_pic'
8112 lt_prog_compiler_static
='-Bstatic'
8117 lt_prog_compiler_wl
='-Wl,'
8118 lt_prog_compiler_can_build_shared
=no
8122 lt_prog_compiler_pic
='-pic'
8123 lt_prog_compiler_static
='-Bstatic'
8127 lt_prog_compiler_can_build_shared
=no
8132 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8133 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8136 # Check to make sure the PIC flag actually works.
8138 if test -n "$lt_prog_compiler_pic"; then
8140 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8141 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8142 if test "${lt_prog_compiler_pic_works+set}" = set; then
8143 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 lt_prog_compiler_pic_works
=no
8146 ac_outfile
=conftest.
$ac_objext
8147 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8148 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8149 # Insert the option either (1) after the last *FLAGS variable, or
8150 # (2) before a word containing "conftest.", or (3) at the end.
8151 # Note that $ac_compile itself does not contain backslashes and begins
8152 # with a dollar sign (not a hyphen), so the echo should work correctly.
8153 # The option is referenced via a variable to avoid confusing sed.
8154 lt_compile
=`echo "$ac_compile" | $SED \
8155 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8157 -e 's:$: $lt_compiler_flag:'`
8158 (eval echo "\"\$as_me:8158: $lt_compile\"" >&5)
8159 (eval "$lt_compile" 2>conftest.err
)
8161 cat conftest.err
>&5
8162 echo "$as_me:8162: \$? = $ac_status" >&5
8163 if (exit $ac_status) && test -s "$ac_outfile"; then
8164 # The compiler can only warn and ignore the option if not recognized
8165 # So say no if there are warnings
8166 if test ! -s conftest.err
; then
8167 lt_prog_compiler_pic_works
=yes
8173 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
8174 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
8176 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
8177 case $lt_prog_compiler_pic in
8179 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8182 lt_prog_compiler_pic
=
8183 lt_prog_compiler_can_build_shared
=no
8188 # For platforms which do not support PIC, -DPIC is meaningless:
8190 lt_prog_compiler_pic
=
8193 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8197 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8198 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8199 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8200 echo $ECHO_N "(cached) $ECHO_C" >&6
8202 lt_cv_prog_compiler_c_o
=no
8203 $rm -r conftest
2>/dev
/null
8207 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
8209 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8210 # Insert the option either (1) after the last *FLAGS variable, or
8211 # (2) before a word containing "conftest.", or (3) at the end.
8212 # Note that $ac_compile itself does not contain backslashes and begins
8213 # with a dollar sign (not a hyphen), so the echo should work correctly.
8214 lt_compile
=`echo "$ac_compile" | $SED \
8215 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
8216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8217 -e 's:$: $lt_compiler_flag:'`
8218 (eval echo "\"\$as_me:8218: $lt_compile\"" >&5)
8219 (eval "$lt_compile" 2>out
/conftest.err
)
8221 cat out
/conftest.err
>&5
8222 echo "$as_me:8222: \$? = $ac_status" >&5
8223 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8225 # The compiler can only warn and ignore the option if not recognized
8226 # So say no if there are warnings
8227 if test ! -s out
/conftest.err
; then
8228 lt_cv_prog_compiler_c_o
=yes
8233 # SGI C++ compiler will create directory out/ii_files/ for
8234 # template instantiation
8235 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8236 $rm out
/* && rmdir out
8242 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8243 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8246 hard_links
="nottested"
8247 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8248 # do not overwrite the value of need_locks provided by the user
8249 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8250 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8253 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8255 ln conftest.a conftest.b
2>&5 || hard_links
=no
8256 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8257 echo "$as_me:$LINENO: result: $hard_links" >&5
8258 echo "${ECHO_T}$hard_links" >&6
8259 if test "$hard_links" = no
; then
8260 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8261 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8268 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8269 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8272 allow_undefined_flag
=
8273 enable_shared_with_static_runtimes
=no
8275 archive_expsym_cmds
=
8276 old_archive_From_new_cmds
=
8277 old_archive_from_expsyms_cmds
=
8278 export_dynamic_flag_spec
=
8279 whole_archive_flag_spec
=
8280 thread_safe_flag_spec
=
8281 hardcode_libdir_flag_spec
=
8282 hardcode_libdir_flag_spec_ld
=
8283 hardcode_libdir_separator
=
8286 hardcode_shlibpath_var
=unsupported
8287 link_all_deplibs
=unknown
8288 hardcode_automatic
=no
8291 always_export_symbols
=no
8292 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8293 # include_expsyms should be a list of space-separated symbols to be *always*
8294 # included in the symbol list
8296 # exclude_expsyms can be an extended regexp of symbols to exclude
8297 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8298 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8299 # as well as any symbol that contains `d'.
8300 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8301 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8302 # platforms (ab)use it in PIC code, but their linkers get confused if
8303 # the symbol is explicitly referenced. Since portable code cannot
8304 # rely on this symbol name, it's probably fine to never include it in
8305 # preloaded symbol tables.
8306 extract_expsyms_cmds
=
8309 cygwin
* | mingw
* | pw32
*)
8310 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8311 # When not using gcc, we currently assume that we are using
8312 # Microsoft Visual C++.
8313 if test "$GCC" != yes; then
8323 if test "$with_gnu_ld" = yes; then
8324 # If archive_cmds runs LD, not CC, wlarc should be empty
8327 # See if GNU ld supports shared libraries.
8329 aix3
* | aix4
* | aix5
*)
8330 # On AIX/PPC, the GNU linker is very broken
8331 if test "$host_cpu" != ia64
; then
8335 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8336 *** to be unable to reliably create shared libraries on AIX.
8337 *** Therefore, libtool is disabling shared libraries support. If you
8338 *** really care for shared libraries, you may want to modify your PATH
8339 *** so that a non-GNU linker is found, and then restart.
8346 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)'
8347 hardcode_libdir_flag_spec
='-L$libdir'
8348 hardcode_minus_L
=yes
8350 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8351 # that the semantics of dynamic libraries on AmigaOS, at least up
8352 # to version 4, is to share data among multiple programs linked
8353 # with the same dynamic library. Since this doesn't match the
8354 # behavior of shared libraries on other platforms, we can't use
8360 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8361 allow_undefined_flag
=unsupported
8362 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8363 # support --undefined. This deserves some investigation. FIXME
8364 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8370 cygwin
* | mingw
* | pw32
*)
8371 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8372 # as there is no search path for DLLs.
8373 hardcode_libdir_flag_spec
='-L$libdir'
8374 allow_undefined_flag
=unsupported
8375 always_export_symbols
=no
8376 enable_shared_with_static_runtimes
=yes
8377 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
8379 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8380 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
8381 # If the export-symbols file already is a .def file (1st line
8382 # is EXPORTS), use it as is; otherwise, prepend...
8383 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8384 cp $export_symbols $output_objdir/$soname.def;
8386 echo EXPORTS > $output_objdir/$soname.def;
8387 cat $export_symbols >> $output_objdir/$soname.def;
8389 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
8396 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8397 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8400 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8401 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8406 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8410 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8411 *** create shared libraries on Solaris systems. Therefore, libtool
8412 *** is disabling shared libraries support. We urge you to upgrade GNU
8413 *** binutils to release 2.9.1 or newer. Another option is to modify
8414 *** your PATH or compiler configuration so that the native linker is
8415 *** used, and then restart.
8418 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8419 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8420 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8427 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8430 hardcode_shlibpath_var
=no
8434 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8436 case $CC,$host_cpu in
8437 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
8438 tmp_addflag
=' -fpic' ;;
8439 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8440 tmp_addflag
=' -i_dynamic' ;;
8441 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8442 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8443 ifc
* | ifort
*) # Intel Fortran compiler
8444 tmp_addflag
=' -nofor_main' ;;
8446 archive_cmds
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8447 supports_anon_versioning
=no
8448 case `$LD -v 2>/dev/null` in
8449 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8450 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8451 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8452 *\
2.11.
*) ;; # other 2.11 versions
8453 *) supports_anon_versioning
=yes ;;
8455 if test $supports_anon_versioning = yes; then
8456 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8457 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8458 $echo "local: *; };" >> $output_objdir/$libname.ver~
8459 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8461 archive_expsym_cmds
=$archive_cmds
8469 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8470 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8471 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8478 if test "$ld_shlibs" = yes; then
8479 runpath_var
=LD_RUN_PATH
8480 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8481 export_dynamic_flag_spec
='${wl}--export-dynamic'
8482 # ancient GNU ld didn't support --whole-archive et. al.
8483 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8484 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8486 whole_archive_flag_spec
=
8490 # PORTME fill in a description of your system's linker (not GNU ld)
8493 allow_undefined_flag
=unsupported
8494 always_export_symbols
=yes
8495 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'
8496 # Note: this linker hardcodes the directories in LIBPATH if there
8497 # are no directories specified by -L.
8498 hardcode_minus_L
=yes
8499 if test "$GCC" = yes && test -z "$link_static_flag"; then
8500 # Neither direct hardcoding nor static linking is supported with a
8502 hardcode_direct
=unsupported
8507 if test "$host_cpu" = ia64
; then
8508 # On IA64, the linker does run time linking by default, so we don't
8509 # have to do anything special.
8510 aix_use_runtimelinking
=no
8511 exp_sym_flag
='-Bexport'
8514 # If we're using GNU nm, then we don't want the "-C" option.
8515 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8516 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8517 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
8519 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'
8521 aix_use_runtimelinking
=no
8523 # Test if we are trying to use run time linking or normal
8524 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8525 # need to do runtime linking.
8526 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8527 for ld_flag
in $LDFLAGS; do
8528 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8529 aix_use_runtimelinking
=yes
8535 exp_sym_flag
='-bexport'
8536 no_entry_flag
='-bnoentry'
8539 # When large executables or shared objects are built, AIX ld can
8540 # have problems creating the table of contents. If linking a library
8541 # or program results in "error TOC overflow" add -mminimal-toc to
8542 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8543 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8547 hardcode_libdir_separator
=':'
8548 link_all_deplibs
=yes
8550 if test "$GCC" = yes; then
8551 case $host_os in aix4.
[012]|aix4.
[012].
*)
8552 # We only want to do this on AIX 4.2 and lower, the check
8553 # below for broken collect2 doesn't work under 4.3+
8554 collect2name
=`${CC} -print-prog-name=collect2`
8555 if test -f "$collect2name" && \
8556 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8558 # We have reworked collect2
8561 # We have old collect2
8562 hardcode_direct
=unsupported
8563 # It fails to find uninstalled libraries when the uninstalled
8564 # path is not listed in the libpath. Setting hardcode_minus_L
8565 # to unsupported forces relinking
8566 hardcode_minus_L
=yes
8567 hardcode_libdir_flag_spec
='-L$libdir'
8568 hardcode_libdir_separator
=
8571 shared_flag
='-shared'
8572 if test "$aix_use_runtimelinking" = yes; then
8573 shared_flag
="$shared_flag "'${wl}-G'
8577 if test "$host_cpu" = ia64
; then
8578 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8579 # chokes on -Wl,-G. The following line is correct:
8582 if test "$aix_use_runtimelinking" = yes; then
8583 shared_flag
='${wl}-G'
8585 shared_flag
='${wl}-bM:SRE'
8590 # It seems that -bexpall does not export symbols beginning with
8591 # underscore (_), so it is better to generate a list of symbols to export.
8592 always_export_symbols
=yes
8593 if test "$aix_use_runtimelinking" = yes; then
8594 # Warning - without using the other runtime loading flags (-brtl),
8595 # -berok will link without error, but may produce a broken library.
8596 allow_undefined_flag
='-berok'
8597 # Determine the default libpath from the value encoded in an empty executable.
8598 cat >conftest.
$ac_ext <<_ACEOF
8601 cat confdefs.h
>>conftest.
$ac_ext
8602 cat >>conftest.
$ac_ext <<_ACEOF
8603 /* end confdefs.h. */
8613 rm -f conftest.
$ac_objext conftest
$ac_exeext
8614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8615 (eval $ac_link) 2>conftest.er1
8617 grep -v '^ *+' conftest.er1
>conftest.err
8619 cat conftest.err
>&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); } &&
8622 { ac_try
='test -z "$ac_c_werror_flag"
8623 || test ! -s conftest.err'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; } &&
8629 { ac_try
='test -s conftest$ac_exeext'
8630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); }; }; then
8636 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8638 # Check for a 64-bit object if we didn't find anything.
8639 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8642 echo "$as_me: failed program was:" >&5
8643 sed 's/^/| /' conftest.
$ac_ext >&5
8646 rm -f conftest.err conftest.
$ac_objext \
8647 conftest
$ac_exeext conftest.
$ac_ext
8648 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8650 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8651 archive_expsym_cmds
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8653 if test "$host_cpu" = ia64; then
8654 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr
/lib
:/lib
'
8655 allow_undefined_flag="-z nodefs"
8656 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
8658 # Determine the default libpath from the value encoded in an empty executable.
8659 cat >conftest.$ac_ext <<_ACEOF
8662 cat confdefs.h >>conftest.$ac_ext
8663 cat >>conftest.$ac_ext <<_ACEOF
8664 /* end confdefs.h. */
8674 rm -f conftest.$ac_objext conftest$ac_exeext
8675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8676 (eval $ac_link) 2>conftest.er1
8678 grep -v '^ *+' conftest.er1 >conftest.err
8680 cat conftest.err >&5
8681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8682 (exit $ac_status); } &&
8683 { ac_try='test -z "$ac_c_werror_flag"
8684 || test ! -s conftest.err'
8685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8689 (exit $ac_status); }; } &&
8690 { ac_try='test -s conftest$ac_exeext'
8691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8694 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8695 (exit $ac_status); }; }; then
8697 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8699 # Check for a 64-bit object if we didn't find anything.
8700 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8703 echo "$as_me: failed program was
:" >&5
8704 sed 's/^/| /' conftest.$ac_ext >&5
8707 rm -f conftest.err conftest.$ac_objext \
8708 conftest$ac_exeext conftest.$ac_ext
8709 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
8711 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8712 # Warning - without using the other run time loading flags,
8713 # -berok will link without error, but may produce a broken library.
8714 no_undefined_flag=' ${wl}-bernotok'
8715 allow_undefined_flag=' ${wl}-berok'
8716 # -bexpall does not export symbols beginning with underscore (_)
8717 always_export_symbols=yes
8718 # Exported symbols can be pulled into shared objects from archives
8719 whole_archive_flag_spec=' '
8720 archive_cmds_need_lc=yes
8721 # This is similar to how AIX traditionally builds it's shared libraries.
8722 archive_expsym_cmds="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8728 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)'
8729 hardcode_libdir_flag_spec
='-L$libdir'
8730 hardcode_minus_L
=yes
8731 # see comment about different semantics on the GNU ld section
8736 export_dynamic_flag_spec
=-rdynamic
8739 cygwin
* | mingw
* | pw32
*)
8740 # When not using gcc, we currently assume that we are using
8741 # Microsoft Visual C++.
8742 # hardcode_libdir_flag_spec is actually meaningless, as there is
8743 # no search path for DLLs.
8744 hardcode_libdir_flag_spec
=' '
8745 allow_undefined_flag
=unsupported
8746 # Tell ltmain to make .lib files, not .a files.
8748 # Tell ltmain to make .dll files, not .so files.
8750 # FIXME: Setting linknames here is a bad hack.
8751 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8752 # The linker will automatically build a .lib file if we build a DLL.
8753 old_archive_From_new_cmds
='true'
8754 # FIXME: Should let the user specify the lib program.
8755 old_archive_cmds
='lib /OUT:$oldlib$oldobjs$old_deplibs'
8756 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8757 enable_shared_with_static_runtimes
=yes
8760 darwin
* | rhapsody
*)
8762 rhapsody
* | darwin1.
[012])
8763 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8766 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8767 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8769 case ${MACOSX_DEPLOYMENT_TARGET} in
8771 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8774 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8780 archive_cmds_need_lc
=no
8782 hardcode_automatic
=yes
8783 hardcode_shlibpath_var
=unsupported
8784 whole_archive_flag_spec
=''
8785 link_all_deplibs
=yes
8786 if test "$GCC" = yes ; then
8787 output_verbose_link_cmd
='echo'
8788 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8789 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8790 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8791 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8792 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8794 case "$cc_basename" in
8796 output_verbose_link_cmd
='echo'
8797 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8798 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8799 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8800 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8801 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8811 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8812 hardcode_libdir_flag_spec
='-L$libdir'
8813 hardcode_shlibpath_var
=no
8820 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8821 # support. Future versions do this automatically, but an explicit c++rt0.o
8822 # does not break anything, and helps significantly (at the cost of a little
8825 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8826 hardcode_libdir_flag_spec
='-R$libdir'
8828 hardcode_shlibpath_var
=no
8831 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8833 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8835 hardcode_minus_L
=yes
8836 hardcode_shlibpath_var
=no
8839 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8840 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
8841 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8842 hardcode_libdir_flag_spec
='-R$libdir'
8844 hardcode_shlibpath_var
=no
8848 if test "$GCC" = yes; then
8849 archive_cmds
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8851 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'
8853 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8854 hardcode_libdir_separator
=:
8857 # hardcode_minus_L: Not really in the search PATH,
8858 # but as the default location of the library.
8859 hardcode_minus_L
=yes
8860 export_dynamic_flag_spec
='${wl}-E'
8864 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8867 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8870 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8876 archive_cmds
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
8879 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8883 if test "$with_gnu_ld" = no
; then
8886 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8887 hardcode_libdir_flag_spec_ld
='+b $libdir'
8888 hardcode_libdir_separator
=:
8890 hardcode_shlibpath_var
=no
8893 hardcode_libdir_flag_spec
='-L$libdir'
8895 hardcode_shlibpath_var
=no
8897 # hardcode_minus_L: Not really in the search PATH,
8898 # but as the default location of the library.
8899 hardcode_minus_L
=yes
8902 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8903 hardcode_libdir_separator
=:
8905 export_dynamic_flag_spec
='${wl}-E'
8907 # hardcode_minus_L: Not really in the search PATH,
8908 # but as the default location of the library.
8909 hardcode_minus_L
=yes
8915 irix5
* | irix6
* | nonstopux
*)
8916 if test "$GCC" = yes; then
8917 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8919 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8920 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8922 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8923 hardcode_libdir_separator
=:
8924 link_all_deplibs
=yes
8928 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8929 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8931 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8933 hardcode_libdir_flag_spec
='-R$libdir'
8935 hardcode_shlibpath_var
=no
8939 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8941 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8942 hardcode_libdir_separator
=:
8943 hardcode_shlibpath_var
=no
8948 hardcode_shlibpath_var
=no
8949 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8950 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8951 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8952 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8953 export_dynamic_flag_spec
='${wl}-E'
8956 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8957 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8958 hardcode_libdir_flag_spec
='-R$libdir'
8961 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8962 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8969 hardcode_libdir_flag_spec
='-L$libdir'
8970 hardcode_minus_L
=yes
8971 allow_undefined_flag
=unsupported
8972 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'
8973 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8977 if test "$GCC" = yes; then
8978 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8979 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8981 allow_undefined_flag
=' -expect_unresolved \*'
8982 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8984 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8985 hardcode_libdir_separator
=:
8988 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8989 if test "$GCC" = yes; then
8990 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8991 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8992 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8994 allow_undefined_flag
=' -expect_unresolved \*'
8995 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8996 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8997 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
8999 # Both c and cxx compiler support -rpath directly
9000 hardcode_libdir_flag_spec
='-rpath $libdir'
9002 hardcode_libdir_separator
=:
9006 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9007 hardcode_shlibpath_var
=no
9008 export_dynamic_flag_spec
='${wl}-Bexport'
9009 runpath_var
=LD_RUN_PATH
9010 hardcode_runpath_var
=yes
9014 no_undefined_flag
=' -z text'
9015 if test "$GCC" = yes; then
9016 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9017 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9018 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
9020 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9021 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9022 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9024 hardcode_libdir_flag_spec
='-R$libdir'
9025 hardcode_shlibpath_var
=no
9027 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9028 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
9029 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
9031 link_all_deplibs
=yes
9035 if test "x$host_vendor" = xsequent
; then
9036 # Use $CC to link under sequent, because it throws in some extra .o
9037 # files that make .init and .fini sections work.
9038 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9040 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9042 hardcode_libdir_flag_spec
='-L$libdir'
9044 hardcode_minus_L
=yes
9045 hardcode_shlibpath_var
=no
9049 case $host_vendor in
9051 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9052 hardcode_direct
=yes # is this really true???
9055 ## LD is ld it makes a PLAMLIB
9056 ## CC just makes a GrossModule.
9057 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9058 reload_cmds
='$CC -r -o $output$reload_objs'
9062 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9063 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9066 runpath_var
='LD_RUN_PATH'
9067 hardcode_shlibpath_var
=no
9071 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9072 hardcode_shlibpath_var
=no
9073 export_dynamic_flag_spec
='-Bexport'
9077 if test -d /usr
/nec
; then
9078 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9079 hardcode_shlibpath_var
=no
9080 runpath_var
=LD_RUN_PATH
9081 hardcode_runpath_var
=yes
9087 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9090 hardcode_shlibpath_var
=no
9091 hardcode_runpath_var
=yes
9092 runpath_var
=LD_RUN_PATH
9095 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
9096 no_undefined_flag
='${wl}-z ${wl}text'
9097 if test "$GCC" = yes; then
9098 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9100 archive_cmds
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9102 runpath_var
='LD_RUN_PATH'
9103 hardcode_shlibpath_var
=no
9107 no_undefined_flag
=' -z text'
9108 # $CC -shared without GNU ld will not create a library from C++
9109 # object files and a static libstdc++, better avoid it by now
9110 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9111 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9112 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
9113 hardcode_libdir_flag_spec
=
9114 hardcode_shlibpath_var
=no
9115 runpath_var
='LD_RUN_PATH'
9119 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9120 hardcode_libdir_flag_spec
='-L$libdir'
9121 hardcode_shlibpath_var
=no
9130 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9131 echo "${ECHO_T}$ld_shlibs" >&6
9132 test "$ld_shlibs" = no
&& can_build_shared
=no
9134 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9135 if test "$GCC" = yes; then
9136 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9140 # Do we need to explicitly link libc?
9142 case "x$archive_cmds_need_lc" in
9144 # Assume -lc should be added
9145 archive_cmds_need_lc
=yes
9147 if test "$enable_shared" = yes && test "$GCC" = yes; then
9148 case $archive_cmds in
9150 # FIXME: we may have to deal with multi-command sequences.
9153 # Test whether the compiler implicitly links with -lc since on some
9154 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9155 # to ld, don't add -lc before -lgcc.
9156 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9157 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9159 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
9161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9162 (eval $ac_compile) 2>&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); } 2>conftest.err
; then
9168 libobjs
=conftest.
$ac_objext
9170 wl
=$lt_prog_compiler_wl
9176 lt_save_allow_undefined_flag
=$allow_undefined_flag
9177 allow_undefined_flag
=
9178 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9179 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); }
9184 archive_cmds_need_lc
=no
9186 archive_cmds_need_lc
=yes
9188 allow_undefined_flag
=$lt_save_allow_undefined_flag
9190 cat conftest.err
1>&5
9193 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9194 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9201 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9202 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9204 libname_spec
='lib$name'
9212 shlibpath_overrides_runpath
=unknown
9214 dynamic_linker
="$host_os ld.so"
9215 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9216 if test "$GCC" = yes; then
9217 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9218 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
9219 # if the path contains ";" then we assume it to be the separator
9220 # otherwise default to the standard path separator (i.e. ":") - it is
9221 # assumed that no part of a normal pathname contains ";" but that should
9222 # okay in the real world where ";" in dirpaths is itself problematic.
9223 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9225 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9228 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9230 need_lib_prefix
=unknown
9231 hardcode_into_libs
=no
9233 # when you set need_version to no, make sure it does not cause -set_version
9234 # flags to be left without arguments
9235 need_version
=unknown
9240 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9241 shlibpath_var
=LIBPATH
9243 # AIX 3 has no versioning support, so we append a major version to the name.
9244 soname_spec
='${libname}${release}${shared_ext}$major'
9251 hardcode_into_libs
=yes
9252 if test "$host_cpu" = ia64
; then
9253 # AIX 5 supports IA64
9254 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9255 shlibpath_var
=LD_LIBRARY_PATH
9257 # With GCC up to 2.95.x, collect2 would create an import file
9258 # for dependence libraries. The import file would start with
9259 # the line `#! .'. This would cause the generated library to
9260 # depend on `.', always an invalid library. This was fixed in
9261 # development snapshots of GCC prior to 3.0.
9263 aix4 | aix4.
[01] | aix4.
[01].
*)
9264 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9266 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9273 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9274 # soname into executable. Probably we can add versioning support to
9275 # collect2, so additional links can be useful in future.
9276 if test "$aix_use_runtimelinking" = yes; then
9277 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9278 # instead of lib<name>.a to let people know that these are not
9279 # typical AIX shared libraries.
9280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9282 # We preserve .a as extension for shared libraries through AIX4.2
9283 # and later when we are not doing run time linking.
9284 library_names_spec
='${libname}${release}.a $libname.a'
9285 soname_spec
='${libname}${release}${shared_ext}$major'
9287 shlibpath_var
=LIBPATH
9292 library_names_spec
='$libname.ixlibrary $libname.a'
9293 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9294 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9298 library_names_spec
='${libname}${shared_ext}'
9299 dynamic_linker
="$host_os ld.so"
9300 shlibpath_var
=LIBRARY_PATH
9306 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9307 soname_spec
='${libname}${release}${shared_ext}$major'
9308 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9309 shlibpath_var
=LD_LIBRARY_PATH
9310 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9311 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9312 # the default ld.so.conf also contains /usr/contrib/lib and
9313 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9314 # libtool to hard-code these into programs
9317 cygwin
* | mingw
* | pw32
*)
9318 version_type
=windows
9323 case $GCC,$host_os in
9324 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9325 library_names_spec
='$libname.dll.a'
9326 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9327 postinstall_cmds
='base_file=`basename \${file}`~
9328 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9329 dldir=$destdir/`dirname \$dlpath`~
9330 test -d \$dldir || mkdir -p \$dldir~
9331 $install_prog $dir/$dlname \$dldir/$dlname'
9332 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9333 dlpath=$dir/\$dldll~
9335 shlibpath_overrides_runpath
=yes
9339 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9340 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9341 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9344 # MinGW DLLs use traditional 'lib' prefix
9345 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9346 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9347 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9348 # It is most probably a Windows format PATH printed by
9349 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9350 # path with ; separators, and with drive letters. We can handle the
9351 # drive letters (cygwin fileutils understands them), so leave them,
9352 # especially as we might pass files found there to a mingw objdump,
9353 # which wouldn't understand a cygwinified path. Ahh.
9354 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9356 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9360 # pw32 DLLs use 'pw' prefix rather than 'lib'
9361 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9367 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9370 dynamic_linker
='Win32 ld.exe'
9371 # FIXME: first we should search . and the directory the executable is in
9375 darwin
* | rhapsody
*)
9376 dynamic_linker
="$host_os dyld"
9380 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9381 soname_spec
='${libname}${release}${major}$shared_ext'
9382 shlibpath_overrides_runpath
=yes
9383 shlibpath_var
=DYLD_LIBRARY_PATH
9384 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
9385 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9386 if test "$GCC" = yes; then
9387 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9389 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
9391 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9398 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9399 soname_spec
='${libname}${release}${shared_ext}$major'
9400 shlibpath_var
=LD_LIBRARY_PATH
9411 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9412 soname_spec
='${libname}${release}${shared_ext}$major'
9413 shlibpath_var
=LD_LIBRARY_PATH
9414 shlibpath_overrides_runpath
=no
9415 hardcode_into_libs
=yes
9416 dynamic_linker
='GNU ld.so'
9419 freebsd
* | dragonfly
*)
9420 # DragonFly does not have aout. When/if they implement a new
9421 # versioning mechanism, adjust this.
9422 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
9423 version_type
=freebsd-
$objformat
9424 case $version_type in
9426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9431 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9435 shlibpath_var
=LD_LIBRARY_PATH
9438 shlibpath_overrides_runpath
=yes
9440 freebsd3.
[01]* | freebsdelf3.
[01]*)
9441 shlibpath_overrides_runpath
=yes
9442 hardcode_into_libs
=yes
9445 shlibpath_overrides_runpath
=no
9446 hardcode_into_libs
=yes
9455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9456 soname_spec
='${libname}${release}${shared_ext}$major'
9457 shlibpath_var
=LD_LIBRARY_PATH
9458 hardcode_into_libs
=yes
9461 hpux9
* | hpux10
* | hpux11
*)
9462 # Give a soname corresponding to the major version so that dld.sl refuses to
9463 # link against other versions.
9470 hardcode_into_libs
=yes
9471 dynamic_linker
="$host_os dld.so"
9472 shlibpath_var
=LD_LIBRARY_PATH
9473 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9475 soname_spec
='${libname}${release}${shared_ext}$major'
9476 if test "X$HPUX_IA64_MODE" = X32
; then
9477 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9479 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9481 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9485 hardcode_into_libs
=yes
9486 dynamic_linker
="$host_os dld.sl"
9487 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9488 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9490 soname_spec
='${libname}${release}${shared_ext}$major'
9491 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9492 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9496 dynamic_linker
="$host_os dld.sl"
9497 shlibpath_var
=SHLIB_PATH
9498 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9500 soname_spec
='${libname}${release}${shared_ext}$major'
9503 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9504 postinstall_cmds
='chmod 555 $lib'
9507 irix5
* | irix6
* | nonstopux
*)
9509 nonstopux
*) version_type
=nonstopux
;;
9511 if test "$lt_cv_prog_gnu_ld" = yes; then
9519 soname_spec
='${libname}${release}${shared_ext}$major'
9520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9522 irix5
* | nonstopux
*)
9526 case $LD in # libtool.m4 will add one of these switches to LD
9527 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9528 libsuff
= shlibsuff
= libmagic
=32-bit;;
9529 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9530 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9531 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9532 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9533 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9537 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9538 shlibpath_overrides_runpath
=no
9539 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9540 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9541 hardcode_into_libs
=yes
9544 # No shared lib support for Linux oldld, aout, or coff.
9545 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9549 # This must be Linux ELF.
9554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9555 soname_spec
='${libname}${release}${shared_ext}$major'
9556 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9557 shlibpath_var
=LD_LIBRARY_PATH
9558 shlibpath_overrides_runpath
=no
9559 # This implies no fast_install, which is unacceptable.
9560 # Some rework will be needed to allow for fast_install
9561 # before this can be enabled.
9562 hardcode_into_libs
=yes
9564 # Append ld.so.conf contents to the search path
9565 if test -f /etc
/ld.so.conf
; then
9566 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9567 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9570 # We used to test for /lib/ld.so.1 and disable shared libraries on
9571 # powerpc, because MkLinux only supported shared libraries with the
9572 # GNU dynamic linker. Since this was broken with cross compilers,
9573 # most powerpc-linux boxes support dynamic linking these days and
9574 # people can always --disable-shared, the test was removed, and we
9575 # assume the GNU/Linux dynamic linker is in use.
9576 dynamic_linker
='GNU/Linux ld.so'
9583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9584 soname_spec
='${libname}${release}${shared_ext}$major'
9585 shlibpath_var
=LD_LIBRARY_PATH
9586 shlibpath_overrides_runpath
=no
9587 hardcode_into_libs
=yes
9588 dynamic_linker
='GNU ld.so'
9595 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9597 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9598 dynamic_linker
='NetBSD (a.out) ld.so'
9600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9601 soname_spec
='${libname}${release}${shared_ext}$major'
9602 dynamic_linker
='NetBSD ld.elf_so'
9604 shlibpath_var
=LD_LIBRARY_PATH
9605 shlibpath_overrides_runpath
=yes
9606 hardcode_into_libs
=yes
9611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9612 shlibpath_var
=LD_LIBRARY_PATH
9613 shlibpath_overrides_runpath
=yes
9620 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9621 soname_spec
='${libname}${release}${shared_ext}$major'
9622 shlibpath_var
=LD_LIBRARY_PATH
9623 shlibpath_overrides_runpath
=yes
9630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9631 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9632 shlibpath_var
=LD_LIBRARY_PATH
9633 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9635 openbsd2.
[89] | openbsd2.
[89].
*)
9636 shlibpath_overrides_runpath
=no
9639 shlibpath_overrides_runpath
=yes
9643 shlibpath_overrides_runpath
=yes
9648 libname_spec
='$name'
9651 library_names_spec
='$libname${shared_ext} $libname.a'
9652 dynamic_linker
='OS/2 ld.exe'
9653 shlibpath_var
=LIBPATH
9656 osf3
* | osf4
* | osf5
*)
9660 soname_spec
='${libname}${release}${shared_ext}$major'
9661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9662 shlibpath_var
=LD_LIBRARY_PATH
9663 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9664 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9669 soname_spec
='${libname}${release}${shared_ext}$major'
9670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9671 shlibpath_var
=LD_LIBRARY_PATH
9678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9679 soname_spec
='${libname}${release}${shared_ext}$major'
9680 shlibpath_var
=LD_LIBRARY_PATH
9681 shlibpath_overrides_runpath
=yes
9682 hardcode_into_libs
=yes
9683 # ldd complains unless libraries are executable
9684 postinstall_cmds
='chmod +x $lib'
9689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9690 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9691 shlibpath_var
=LD_LIBRARY_PATH
9692 shlibpath_overrides_runpath
=yes
9693 if test "$with_gnu_ld" = yes; then
9699 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9702 soname_spec
='${libname}${release}${shared_ext}$major'
9703 shlibpath_var
=LD_LIBRARY_PATH
9704 case $host_vendor in
9706 shlibpath_overrides_runpath
=no
9708 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9709 runpath_var
=LD_RUN_PATH
9717 shlibpath_overrides_runpath
=no
9718 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9724 if test -d /usr
/nec
;then
9726 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9727 soname_spec
='$libname${shared_ext}.$major'
9728 shlibpath_var
=LD_LIBRARY_PATH
9734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9735 soname_spec
='${libname}${release}${shared_ext}$major'
9736 shlibpath_var
=LD_LIBRARY_PATH
9743 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9744 echo "${ECHO_T}$dynamic_linker" >&6
9745 test "$dynamic_linker" = no
&& can_build_shared
=no
9747 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9748 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9750 if test -n "$hardcode_libdir_flag_spec" || \
9751 test -n "$runpath_var" || \
9752 test "X$hardcode_automatic" = "Xyes" ; then
9754 # We can hardcode non-existant directories.
9755 if test "$hardcode_direct" != no
&&
9756 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9757 # have to relink, otherwise we might link with an installed library
9758 # when we should be linking with a yet-to-be-installed one
9759 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9760 test "$hardcode_minus_L" != no
; then
9761 # Linking always hardcodes the temporary library directory.
9762 hardcode_action
=relink
9764 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9765 hardcode_action
=immediate
9768 # We cannot hardcode anything, or else we can only hardcode existing
9770 hardcode_action
=unsupported
9772 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9773 echo "${ECHO_T}$hardcode_action" >&6
9775 if test "$hardcode_action" = relink
; then
9776 # Fast installation is not supported
9777 enable_fast_install
=no
9778 elif test "$shlibpath_overrides_runpath" = yes ||
9779 test "$enable_shared" = no
; then
9780 # Fast installation is not necessary
9781 enable_fast_install
=needless
9786 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9787 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9788 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9789 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9790 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9791 echo "$as_me:$LINENO: result: yes" >&5
9792 echo "${ECHO_T}yes" >&6
9794 # FIXME - insert some real tests, host_os isn't really good enough
9797 if test -n "$STRIP" ; then
9798 striplib
="$STRIP -x"
9799 echo "$as_me:$LINENO: result: yes" >&5
9800 echo "${ECHO_T}yes" >&6
9802 echo "$as_me:$LINENO: result: no" >&5
9803 echo "${ECHO_T}no" >&6
9807 echo "$as_me:$LINENO: result: no" >&5
9808 echo "${ECHO_T}no" >&6
9813 if test "x$enable_dlopen" != xyes
; then
9814 enable_dlopen
=unknown
9815 enable_dlopen_self
=unknown
9816 enable_dlopen_self_static
=unknown
9823 lt_cv_dlopen
="load_add_on"
9825 lt_cv_dlopen_self
=yes
9829 lt_cv_dlopen
="LoadLibrary"
9834 lt_cv_dlopen
="dlopen"
9839 # if libdl is installed we need to link against it
9840 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9841 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9842 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9843 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 ac_check_lib_save_LIBS
=$LIBS
9847 cat >conftest.
$ac_ext <<_ACEOF
9850 cat confdefs.h
>>conftest.
$ac_ext
9851 cat >>conftest.
$ac_ext <<_ACEOF
9852 /* end confdefs.h. */
9854 /* Override any gcc2 internal prototype to avoid an error. */
9858 /* We use char because int might match the return type of a gcc2
9859 builtin and then its argument prototype would still apply. */
9869 rm -f conftest.
$ac_objext conftest
$ac_exeext
9870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9871 (eval $ac_link) 2>conftest.er1
9873 grep -v '^ *+' conftest.er1
>conftest.err
9875 cat conftest.err
>&5
9876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9877 (exit $ac_status); } &&
9878 { ac_try
='test -z "$ac_c_werror_flag"
9879 || test ! -s conftest.err'
9880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9884 (exit $ac_status); }; } &&
9885 { ac_try
='test -s conftest$ac_exeext'
9886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); }; }; then
9891 ac_cv_lib_dl_dlopen
=yes
9893 echo "$as_me: failed program was:" >&5
9894 sed 's/^/| /' conftest.
$ac_ext >&5
9896 ac_cv_lib_dl_dlopen
=no
9898 rm -f conftest.err conftest.
$ac_objext \
9899 conftest
$ac_exeext conftest.
$ac_ext
9900 LIBS
=$ac_check_lib_save_LIBS
9902 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9903 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9904 if test $ac_cv_lib_dl_dlopen = yes; then
9905 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9910 lt_cv_dlopen_self
=yes
9917 echo "$as_me:$LINENO: checking for shl_load" >&5
9918 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9919 if test "${ac_cv_func_shl_load+set}" = set; then
9920 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 cat >conftest.
$ac_ext <<_ACEOF
9925 cat confdefs.h
>>conftest.
$ac_ext
9926 cat >>conftest.
$ac_ext <<_ACEOF
9927 /* end confdefs.h. */
9928 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9930 #define shl_load innocuous_shl_load
9932 /* System header to define __stub macros and hopefully few prototypes,
9933 which can conflict with char shl_load (); below.
9934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9935 <limits.h> exists even on freestanding compilers. */
9938 # include <limits.h>
9940 # include <assert.h>
9945 /* Override any gcc2 internal prototype to avoid an error. */
9950 /* We use char because int might match the return type of a gcc2
9951 builtin and then its argument prototype would still apply. */
9953 /* The GNU C library defines this for functions which it implements
9954 to always fail with ENOSYS. Some functions are actually named
9955 something starting with __ and the normal name is an alias. */
9956 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9959 char (*f) () = shl_load;
9968 return f != shl_load;
9973 rm -f conftest.
$ac_objext conftest
$ac_exeext
9974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9975 (eval $ac_link) 2>conftest.er1
9977 grep -v '^ *+' conftest.er1
>conftest.err
9979 cat conftest.err
>&5
9980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9981 (exit $ac_status); } &&
9982 { ac_try
='test -z "$ac_c_werror_flag"
9983 || test ! -s conftest.err'
9984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; } &&
9989 { ac_try
='test -s conftest$ac_exeext'
9990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; }; then
9995 ac_cv_func_shl_load
=yes
9997 echo "$as_me: failed program was:" >&5
9998 sed 's/^/| /' conftest.
$ac_ext >&5
10000 ac_cv_func_shl_load
=no
10002 rm -f conftest.err conftest.
$ac_objext \
10003 conftest
$ac_exeext conftest.
$ac_ext
10005 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10006 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10007 if test $ac_cv_func_shl_load = yes; then
10008 lt_cv_dlopen
="shl_load"
10010 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10011 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10012 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10013 echo $ECHO_N "(cached) $ECHO_C" >&6
10015 ac_check_lib_save_LIBS
=$LIBS
10017 cat >conftest.
$ac_ext <<_ACEOF
10020 cat confdefs.h
>>conftest.
$ac_ext
10021 cat >>conftest.
$ac_ext <<_ACEOF
10022 /* end confdefs.h. */
10024 /* Override any gcc2 internal prototype to avoid an error. */
10028 /* We use char because int might match the return type of a gcc2
10029 builtin and then its argument prototype would still apply. */
10039 rm -f conftest.
$ac_objext conftest
$ac_exeext
10040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10041 (eval $ac_link) 2>conftest.er1
10043 grep -v '^ *+' conftest.er1
>conftest.err
10045 cat conftest.err
>&5
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); } &&
10048 { ac_try
='test -z "$ac_c_werror_flag"
10049 || test ! -s conftest.err'
10050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); }; } &&
10055 { ac_try
='test -s conftest$ac_exeext'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then
10061 ac_cv_lib_dld_shl_load
=yes
10063 echo "$as_me: failed program was:" >&5
10064 sed 's/^/| /' conftest.
$ac_ext >&5
10066 ac_cv_lib_dld_shl_load
=no
10068 rm -f conftest.err conftest.
$ac_objext \
10069 conftest
$ac_exeext conftest.
$ac_ext
10070 LIBS
=$ac_check_lib_save_LIBS
10072 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10073 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10074 if test $ac_cv_lib_dld_shl_load = yes; then
10075 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
10077 echo "$as_me:$LINENO: checking for dlopen" >&5
10078 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10079 if test "${ac_cv_func_dlopen+set}" = set; then
10080 echo $ECHO_N "(cached) $ECHO_C" >&6
10082 cat >conftest.
$ac_ext <<_ACEOF
10085 cat confdefs.h
>>conftest.
$ac_ext
10086 cat >>conftest.
$ac_ext <<_ACEOF
10087 /* end confdefs.h. */
10088 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10090 #define dlopen innocuous_dlopen
10092 /* System header to define __stub macros and hopefully few prototypes,
10093 which can conflict with char dlopen (); below.
10094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10095 <limits.h> exists even on freestanding compilers. */
10098 # include <limits.h>
10100 # include <assert.h>
10105 /* Override any gcc2 internal prototype to avoid an error. */
10110 /* We use char because int might match the return type of a gcc2
10111 builtin and then its argument prototype would still apply. */
10113 /* The GNU C library defines this for functions which it implements
10114 to always fail with ENOSYS. Some functions are actually named
10115 something starting with __ and the normal name is an alias. */
10116 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10119 char (*f) () = dlopen;
10128 return f != dlopen;
10133 rm -f conftest.
$ac_objext conftest
$ac_exeext
10134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10135 (eval $ac_link) 2>conftest.er1
10137 grep -v '^ *+' conftest.er1
>conftest.err
10139 cat conftest.err
>&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); } &&
10142 { ac_try
='test -z "$ac_c_werror_flag"
10143 || test ! -s conftest.err'
10144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10145 (eval $ac_try) 2>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); }; } &&
10149 { ac_try
='test -s conftest$ac_exeext'
10150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10151 (eval $ac_try) 2>&5
10153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10154 (exit $ac_status); }; }; then
10155 ac_cv_func_dlopen
=yes
10157 echo "$as_me: failed program was:" >&5
10158 sed 's/^/| /' conftest.
$ac_ext >&5
10160 ac_cv_func_dlopen
=no
10162 rm -f conftest.err conftest.
$ac_objext \
10163 conftest
$ac_exeext conftest.
$ac_ext
10165 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10166 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10167 if test $ac_cv_func_dlopen = yes; then
10168 lt_cv_dlopen
="dlopen"
10170 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10171 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10172 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6
10175 ac_check_lib_save_LIBS
=$LIBS
10177 cat >conftest.
$ac_ext <<_ACEOF
10180 cat confdefs.h
>>conftest.
$ac_ext
10181 cat >>conftest.
$ac_ext <<_ACEOF
10182 /* end confdefs.h. */
10184 /* Override any gcc2 internal prototype to avoid an error. */
10188 /* We use char because int might match the return type of a gcc2
10189 builtin and then its argument prototype would still apply. */
10199 rm -f conftest.
$ac_objext conftest
$ac_exeext
10200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10201 (eval $ac_link) 2>conftest.er1
10203 grep -v '^ *+' conftest.er1
>conftest.err
10205 cat conftest.err
>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } &&
10208 { ac_try
='test -z "$ac_c_werror_flag"
10209 || test ! -s conftest.err'
10210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10211 (eval $ac_try) 2>&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); }; } &&
10215 { ac_try
='test -s conftest$ac_exeext'
10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217 (eval $ac_try) 2>&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; }; then
10221 ac_cv_lib_dl_dlopen
=yes
10223 echo "$as_me: failed program was:" >&5
10224 sed 's/^/| /' conftest.
$ac_ext >&5
10226 ac_cv_lib_dl_dlopen
=no
10228 rm -f conftest.err conftest.
$ac_objext \
10229 conftest
$ac_exeext conftest.
$ac_ext
10230 LIBS
=$ac_check_lib_save_LIBS
10232 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10233 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10234 if test $ac_cv_lib_dl_dlopen = yes; then
10235 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10237 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10238 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10239 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10242 ac_check_lib_save_LIBS
=$LIBS
10243 LIBS
="-lsvld $LIBS"
10244 cat >conftest.
$ac_ext <<_ACEOF
10247 cat confdefs.h
>>conftest.
$ac_ext
10248 cat >>conftest.
$ac_ext <<_ACEOF
10249 /* end confdefs.h. */
10251 /* Override any gcc2 internal prototype to avoid an error. */
10255 /* We use char because int might match the return type of a gcc2
10256 builtin and then its argument prototype would still apply. */
10266 rm -f conftest.
$ac_objext conftest
$ac_exeext
10267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10268 (eval $ac_link) 2>conftest.er1
10270 grep -v '^ *+' conftest.er1
>conftest.err
10272 cat conftest.err
>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } &&
10275 { ac_try
='test -z "$ac_c_werror_flag"
10276 || test ! -s conftest.err'
10277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10278 (eval $ac_try) 2>&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }; } &&
10282 { ac_try
='test -s conftest$ac_exeext'
10283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10284 (eval $ac_try) 2>&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); }; }; then
10288 ac_cv_lib_svld_dlopen
=yes
10290 echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.
$ac_ext >&5
10293 ac_cv_lib_svld_dlopen
=no
10295 rm -f conftest.err conftest.
$ac_objext \
10296 conftest
$ac_exeext conftest.
$ac_ext
10297 LIBS
=$ac_check_lib_save_LIBS
10299 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10300 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10301 if test $ac_cv_lib_svld_dlopen = yes; then
10302 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10304 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10305 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10306 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 ac_check_lib_save_LIBS
=$LIBS
10311 cat >conftest.
$ac_ext <<_ACEOF
10314 cat confdefs.h
>>conftest.
$ac_ext
10315 cat >>conftest.
$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10318 /* Override any gcc2 internal prototype to avoid an error. */
10322 /* We use char because int might match the return type of a gcc2
10323 builtin and then its argument prototype would still apply. */
10333 rm -f conftest.
$ac_objext conftest
$ac_exeext
10334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10335 (eval $ac_link) 2>conftest.er1
10337 grep -v '^ *+' conftest.er1
>conftest.err
10339 cat conftest.err
>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); } &&
10342 { ac_try
='test -z "$ac_c_werror_flag"
10343 || test ! -s conftest.err'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; } &&
10349 { ac_try
='test -s conftest$ac_exeext'
10350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10351 (eval $ac_try) 2>&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); }; }; then
10355 ac_cv_lib_dld_dld_link
=yes
10357 echo "$as_me: failed program was:" >&5
10358 sed 's/^/| /' conftest.
$ac_ext >&5
10360 ac_cv_lib_dld_dld_link
=no
10362 rm -f conftest.err conftest.
$ac_objext \
10363 conftest
$ac_exeext conftest.
$ac_ext
10364 LIBS
=$ac_check_lib_save_LIBS
10366 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10367 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10368 if test $ac_cv_lib_dld_dld_link = yes; then
10369 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
10390 if test "x$lt_cv_dlopen" != xno
; then
10396 case $lt_cv_dlopen in
10398 save_CPPFLAGS
="$CPPFLAGS"
10399 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10401 save_LDFLAGS
="$LDFLAGS"
10402 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10405 LIBS
="$lt_cv_dlopen_libs $LIBS"
10407 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10408 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10409 if test "${lt_cv_dlopen_self+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 if test "$cross_compiling" = yes; then :
10413 lt_cv_dlopen_self
=cross
10415 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10416 lt_status
=$lt_dlunknown
10417 cat > conftest.
$ac_ext <<EOF
10418 #line 10418 "configure"
10419 #include "confdefs.h"
10428 # define LT_DLGLOBAL RTLD_GLOBAL
10431 # define LT_DLGLOBAL DL_GLOBAL
10433 # define LT_DLGLOBAL 0
10437 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10438 find out it does not work in some platform. */
10439 #ifndef LT_DLLAZY_OR_NOW
10441 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10444 # define LT_DLLAZY_OR_NOW DL_LAZY
10447 # define LT_DLLAZY_OR_NOW RTLD_NOW
10450 # define LT_DLLAZY_OR_NOW DL_NOW
10452 # define LT_DLLAZY_OR_NOW 0
10460 extern "C" void exit (int);
10463 void fnord() { int i=42;}
10466 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10467 int status = $lt_dlunknown;
10471 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10472 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10473 /* dlclose (self); */
10479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10480 (eval $ac_link) 2>&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10484 (.
/conftest
; exit; ) 2>/dev
/null
10486 case x
$lt_status in
10487 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10488 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10489 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
10492 # compilation failed
10493 lt_cv_dlopen_self
=no
10500 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10501 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10503 if test "x$lt_cv_dlopen_self" = xyes
; then
10504 LDFLAGS
="$LDFLAGS $link_static_flag"
10505 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10506 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10507 if test "${lt_cv_dlopen_self_static+set}" = set; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10510 if test "$cross_compiling" = yes; then :
10511 lt_cv_dlopen_self_static
=cross
10513 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10514 lt_status
=$lt_dlunknown
10515 cat > conftest.
$ac_ext <<EOF
10516 #line 10516 "configure"
10517 #include "confdefs.h"
10526 # define LT_DLGLOBAL RTLD_GLOBAL
10529 # define LT_DLGLOBAL DL_GLOBAL
10531 # define LT_DLGLOBAL 0
10535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10536 find out it does not work in some platform. */
10537 #ifndef LT_DLLAZY_OR_NOW
10539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10542 # define LT_DLLAZY_OR_NOW DL_LAZY
10545 # define LT_DLLAZY_OR_NOW RTLD_NOW
10548 # define LT_DLLAZY_OR_NOW DL_NOW
10550 # define LT_DLLAZY_OR_NOW 0
10558 extern "C" void exit (int);
10561 void fnord() { int i=42;}
10564 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10565 int status = $lt_dlunknown;
10569 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10570 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10571 /* dlclose (self); */
10577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10578 (eval $ac_link) 2>&5
10580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10582 (.
/conftest
; exit; ) 2>/dev
/null
10584 case x
$lt_status in
10585 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10586 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10587 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
10590 # compilation failed
10591 lt_cv_dlopen_self_static
=no
10598 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10599 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10602 CPPFLAGS
="$save_CPPFLAGS"
10603 LDFLAGS
="$save_LDFLAGS"
10608 case $lt_cv_dlopen_self in
10609 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10610 *) enable_dlopen_self
=unknown
;;
10613 case $lt_cv_dlopen_self_static in
10614 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10615 *) enable_dlopen_self_static
=unknown
;;
10620 # Report which librarie types wil actually be built
10621 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10622 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10623 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10624 echo "${ECHO_T}$can_build_shared" >&6
10626 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10627 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10628 test "$can_build_shared" = "no" && enable_shared
=no
10630 # On AIX, shared libraries and static libraries use the same namespace, and
10631 # are all built from PIC.
10634 test "$enable_shared" = yes && enable_static
=no
10635 if test -n "$RANLIB"; then
10636 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10637 postinstall_cmds
='$RANLIB $lib'
10642 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10643 test "$enable_shared" = yes && enable_static
=no
10647 echo "$as_me:$LINENO: result: $enable_shared" >&5
10648 echo "${ECHO_T}$enable_shared" >&6
10650 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10651 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10652 # Make sure either enable_shared or enable_static is yes.
10653 test "$enable_shared" = yes || enable_static
=yes
10654 echo "$as_me:$LINENO: result: $enable_static" >&5
10655 echo "${ECHO_T}$enable_static" >&6
10657 # The else clause should only fire when bootstrapping the
10658 # libtool distribution, otherwise you forgot to ship ltmain.sh
10659 # with your package, and you will get complaints that there are
10660 # no rules to generate ltmain.sh.
10661 if test -f "$ltmain"; then
10662 # See if we are running on zsh, and set the options which allow our commands through
10663 # without removal of \ escapes.
10664 if test -n "${ZSH_VERSION+set}" ; then
10665 setopt NO_GLOB_SUBST
10667 # Now quote all the things that may contain metacharacters while being
10668 # careful not to overquote the AC_SUBSTed values. We take copies of the
10669 # variables and quote the copies for generation of the libtool script.
10670 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
10672 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10673 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10674 deplibs_check_method reload_flag reload_cmds need_locks \
10675 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10676 lt_cv_sys_global_symbol_to_c_name_address \
10677 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10678 old_postinstall_cmds old_postuninstall_cmds \
10682 lt_prog_compiler_wl \
10683 lt_prog_compiler_pic \
10684 lt_prog_compiler_static \
10685 lt_prog_compiler_no_builtin_flag \
10686 export_dynamic_flag_spec \
10687 thread_safe_flag_spec \
10688 whole_archive_flag_spec \
10689 enable_shared_with_static_runtimes \
10691 old_archive_from_new_cmds \
10696 compiler_lib_search_path \
10698 archive_expsym_cmds \
10700 postuninstall_cmds \
10701 old_archive_from_expsyms_cmds \
10702 allow_undefined_flag \
10703 no_undefined_flag \
10704 export_symbols_cmds \
10705 hardcode_libdir_flag_spec \
10706 hardcode_libdir_flag_spec_ld \
10707 hardcode_libdir_separator \
10708 hardcode_automatic \
10710 module_expsym_cmds \
10711 lt_cv_prog_compiler_c_o \
10713 include_expsyms
; do
10716 old_archive_cmds | \
10717 old_archive_from_new_cmds | \
10719 archive_expsym_cmds | \
10721 module_expsym_cmds | \
10722 old_archive_from_expsyms_cmds | \
10723 export_symbols_cmds | \
10724 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10725 postinstall_cmds | postuninstall_cmds | \
10726 old_postinstall_cmds | old_postuninstall_cmds | \
10727 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
10728 # Double-quote double-evaled strings.
10729 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10732 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10738 *'\$0 --fallback-echo"')
10739 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10743 cfgfile
="${ofile}T"
10744 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10746 { echo "$as_me:$LINENO: creating $ofile" >&5
10747 echo "$as_me: creating $ofile" >&6;}
10749 cat <<__EOF__ >> "$cfgfile"
10752 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10753 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10754 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10756 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10757 # Free Software Foundation, Inc.
10759 # This file is part of GNU Libtool:
10760 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10762 # This program is free software; you can redistribute it and/or modify
10763 # it under the terms of the GNU General Public License as published by
10764 # the Free Software Foundation; either version 2 of the License, or
10765 # (at your option) any later version.
10767 # This program is distributed in the hope that it will be useful, but
10768 # WITHOUT ANY WARRANTY; without even the implied warranty of
10769 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10770 # General Public License for more details.
10772 # You should have received a copy of the GNU General Public License
10773 # along with this program; if not, write to the Free Software
10774 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
10776 # As a special exception to the GNU General Public License, if you
10777 # distribute this file as part of a program that contains a
10778 # configuration script generated by Autoconf, you may include it under
10779 # the same distribution terms that you use for the rest of that program.
10781 # A sed program that does not truncate output.
10784 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10785 Xsed="$SED -e s/^X//"
10787 # The HP-UX ksh and POSIX shell print the target directory to stdout
10788 # if CDPATH is set.
10789 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10791 # The names of the tagged configurations supported by this script.
10794 # ### BEGIN LIBTOOL CONFIG
10796 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10798 # Shell to use when invoking shell scripts.
10801 # Whether or not to build shared libraries.
10802 build_libtool_libs=$enable_shared
10804 # Whether or not to build static libraries.
10805 build_old_libs=$enable_static
10807 # Whether or not to add -lc for building shared libraries.
10808 build_libtool_need_lc=$archive_cmds_need_lc
10810 # Whether or not to disallow shared libs when runtime libs are static
10811 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10813 # Whether or not to optimize for fast installation.
10814 fast_install=$enable_fast_install
10817 host_alias=$host_alias
10821 # The build system.
10822 build_alias=$build_alias
10826 # An echo program that does not interpret backslashes.
10831 AR_FLAGS=$lt_AR_FLAGS
10836 # A language-specific compiler.
10839 # Is the compiler the GNU C compiler?
10845 # The linker used to build libraries.
10848 # Whether we need hard or soft links.
10851 # A BSD-compatible nm program.
10854 # A symbol stripping program
10857 # Used to examine libraries when file_magic_cmd begins "file"
10858 MAGIC_CMD=$MAGIC_CMD
10860 # Used on cygwin: DLL creation program.
10863 # Used on cygwin: object dumper.
10866 # Used on cygwin: assembler.
10869 # The name of the directory that contains temporary libtool files.
10872 # How to create reloadable object files.
10873 reload_flag=$lt_reload_flag
10874 reload_cmds=$lt_reload_cmds
10876 # How to pass a linker flag through the compiler.
10877 wl=$lt_lt_prog_compiler_wl
10879 # Object file suffix (normally "o").
10880 objext="$ac_objext"
10882 # Old archive suffix (normally "a").
10885 # Shared library suffix (normally ".so").
10886 shrext_cmds='$shrext_cmds'
10888 # Executable file suffix (normally "").
10891 # Additional compiler flags for building library objects.
10892 pic_flag=$lt_lt_prog_compiler_pic
10895 # What is the maximum length of a command?
10896 max_cmd_len=$lt_cv_sys_max_cmd_len
10898 # Does compiler simultaneously support -c and -o options?
10899 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10901 # Must we lock files when doing compilation ?
10902 need_locks=$lt_need_locks
10904 # Do we need the lib prefix for modules?
10905 need_lib_prefix=$need_lib_prefix
10907 # Do we need a version for libraries?
10908 need_version=$need_version
10910 # Whether dlopen is supported.
10911 dlopen_support=$enable_dlopen
10913 # Whether dlopen of programs is supported.
10914 dlopen_self=$enable_dlopen_self
10916 # Whether dlopen of statically linked programs is supported.
10917 dlopen_self_static=$enable_dlopen_self_static
10919 # Compiler flag to prevent dynamic linking.
10920 link_static_flag=$lt_lt_prog_compiler_static
10922 # Compiler flag to turn off builtin functions.
10923 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10925 # Compiler flag to allow reflexive dlopens.
10926 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10928 # Compiler flag to generate shared objects directly from archives.
10929 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10931 # Compiler flag to generate thread-safe objects.
10932 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10934 # Library versioning type.
10935 version_type=$version_type
10937 # Format of library name prefix.
10938 libname_spec=$lt_libname_spec
10940 # List of archive names. First name is the real one, the rest are links.
10941 # The last name is the one that the linker finds with -lNAME.
10942 library_names_spec=$lt_library_names_spec
10944 # The coded name of the library, if different from the real name.
10945 soname_spec=$lt_soname_spec
10947 # Commands used to build and install an old-style archive.
10949 old_archive_cmds=$lt_old_archive_cmds
10950 old_postinstall_cmds=$lt_old_postinstall_cmds
10951 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10953 # Create an old-style archive from a shared archive.
10954 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10956 # Create a temporary old-style archive to link instead of a shared archive.
10957 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10959 # Commands used to build and install a shared archive.
10960 archive_cmds=$lt_archive_cmds
10961 archive_expsym_cmds=$lt_archive_expsym_cmds
10962 postinstall_cmds=$lt_postinstall_cmds
10963 postuninstall_cmds=$lt_postuninstall_cmds
10965 # Commands used to build a loadable module (assumed same as above if empty)
10966 module_cmds=$lt_module_cmds
10967 module_expsym_cmds=$lt_module_expsym_cmds
10969 # Commands to strip libraries.
10970 old_striplib=$lt_old_striplib
10971 striplib=$lt_striplib
10973 # Dependencies to place before the objects being linked to create a
10975 predep_objects=$lt_predep_objects
10977 # Dependencies to place after the objects being linked to create a
10979 postdep_objects=$lt_postdep_objects
10981 # Dependencies to place before the objects being linked to create a
10983 predeps=$lt_predeps
10985 # Dependencies to place after the objects being linked to create a
10987 postdeps=$lt_postdeps
10989 # The library search path used internally by the compiler when linking
10990 # a shared library.
10991 compiler_lib_search_path=$lt_compiler_lib_search_path
10993 # Method to check whether dependent libraries are shared objects.
10994 deplibs_check_method=$lt_deplibs_check_method
10996 # Command to use when deplibs_check_method == file_magic.
10997 file_magic_cmd=$lt_file_magic_cmd
10999 # Flag that allows shared libraries with undefined symbols to be built.
11000 allow_undefined_flag=$lt_allow_undefined_flag
11002 # Flag that forces no undefined symbols.
11003 no_undefined_flag=$lt_no_undefined_flag
11005 # Commands used to finish a libtool library installation in a directory.
11006 finish_cmds=$lt_finish_cmds
11008 # Same as above, but a single script fragment to be evaled but not shown.
11009 finish_eval=$lt_finish_eval
11011 # Take the output of nm and produce a listing of raw symbols and C names.
11012 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11014 # Transform the output of nm in a proper C declaration
11015 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11017 # Transform the output of nm in a C name address pair
11018 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11020 # This is the shared library runtime path variable.
11021 runpath_var=$runpath_var
11023 # This is the shared library path variable.
11024 shlibpath_var=$shlibpath_var
11026 # Is shlibpath searched before the hard-coded library search path?
11027 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11029 # How to hardcode a shared library path into an executable.
11030 hardcode_action=$hardcode_action
11032 # Whether we should hardcode library paths into libraries.
11033 hardcode_into_libs=$hardcode_into_libs
11035 # Flag to hardcode \$libdir into a binary during linking.
11036 # This must work even if \$libdir does not exist.
11037 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11039 # If ld is used when linking, flag to hardcode \$libdir into
11040 # a binary during linking. This must work even if \$libdir does
11042 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11044 # Whether we need a single -rpath flag with a separated argument.
11045 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11047 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11048 # resulting binary.
11049 hardcode_direct=$hardcode_direct
11051 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11052 # resulting binary.
11053 hardcode_minus_L=$hardcode_minus_L
11055 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11056 # the resulting binary.
11057 hardcode_shlibpath_var=$hardcode_shlibpath_var
11059 # Set to yes if building a shared library automatically hardcodes DIR into the library
11060 # and all subsequent libraries and executables linked against it.
11061 hardcode_automatic=$hardcode_automatic
11063 # Variables whose values should be saved in libtool wrapper scripts and
11064 # restored at relink time.
11065 variables_saved_for_relink="$variables_saved_for_relink"
11067 # Whether libtool must link a program against all its dependency libraries.
11068 link_all_deplibs=$link_all_deplibs
11070 # Compile-time system search path for libraries
11071 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11073 # Run-time system search path for libraries
11074 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11076 # Fix the shell variable \$srcfile for the compiler.
11077 fix_srcfile_path="$fix_srcfile_path"
11079 # Set to yes if exported symbols are required.
11080 always_export_symbols=$always_export_symbols
11082 # The commands to list exported symbols.
11083 export_symbols_cmds=$lt_export_symbols_cmds
11085 # The commands to extract the exported symbol list from a shared archive.
11086 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11088 # Symbols that should not be listed in the preloaded symbols.
11089 exclude_expsyms=$lt_exclude_expsyms
11091 # Symbols that must always be exported.
11092 include_expsyms=$lt_include_expsyms
11094 # ### END LIBTOOL CONFIG
11101 cat <<\EOF
>> "$cfgfile"
11103 # AIX sometimes has problems with the GCC collect2 program. For some
11104 # reason, if we set the COLLECT_NAMES environment variable, the problems
11105 # vanish in a puff of smoke.
11106 if test "X${COLLECT_NAMES+set}" != Xset
; then
11108 export COLLECT_NAMES
11114 # We use sed instead of cat because bash on DJGPP gets confused if
11115 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11116 # text mode, it properly converts lines to CR/LF. This bash problem
11117 # is reportedly fixed, but why not run on old versions too?
11118 sed '$q' "$ltmain" >> "$cfgfile" ||
(rm -f "$cfgfile"; exit 1)
11120 mv -f "$cfgfile" "$ofile" || \
11121 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11125 # If there is no Makefile yet, we rely on a make rule to execute
11126 # `config.status --recheck' to rerun these tests and create the
11127 # libtool script then.
11128 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
11129 if test -f "$ltmain_in"; then
11130 test -f Makefile
&& make "$ltmain"
11136 ac_cpp
='$CPP $CPPFLAGS'
11137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11144 # Check whether --with-tags or --without-tags was given.
11145 if test "${with_tags+set}" = set; then
11146 withval
="$with_tags"
11147 tagnames
="$withval"
11150 if test -f "$ltmain" && test -n "$tagnames"; then
11151 if test ! -f "${ofile}"; then
11152 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
11153 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
11156 if test -z "$LTCC"; then
11157 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
11158 if test -z "$LTCC"; then
11159 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11160 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
11162 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
11163 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
11167 # Extract list of available tagged configurations in $ofile.
11168 # Note that this assumes the entire list is on one line.
11169 available_tags
=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11171 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
11172 for tagname
in $tagnames; do
11174 # Check whether tagname contains only valid characters
11175 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11177 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11178 echo "$as_me: error: invalid tag name: $tagname" >&2;}
11179 { (exit 1); exit 1; }; }
11183 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev
/null
11185 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11186 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11187 { (exit 1); exit 1; }; }
11190 # Update the list of available tags.
11191 if test -n "$tagname"; then
11192 echo appending configuration tag
\"$tagname\" to
$ofile
11196 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11197 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11198 (test "X$CXX" != "Xg++"))) ; then
11200 ac_cpp
='$CXXCPP $CPPFLAGS'
11201 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11202 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11203 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11208 archive_cmds_need_lc_CXX
=no
11209 allow_undefined_flag_CXX
=
11210 always_export_symbols_CXX
=no
11211 archive_expsym_cmds_CXX
=
11212 export_dynamic_flag_spec_CXX
=
11213 hardcode_direct_CXX
=no
11214 hardcode_libdir_flag_spec_CXX
=
11215 hardcode_libdir_flag_spec_ld_CXX
=
11216 hardcode_libdir_separator_CXX
=
11217 hardcode_minus_L_CXX
=no
11218 hardcode_automatic_CXX
=no
11220 module_expsym_cmds_CXX
=
11221 link_all_deplibs_CXX
=unknown
11222 old_archive_cmds_CXX
=$old_archive_cmds
11223 no_undefined_flag_CXX
=
11224 whole_archive_flag_spec_CXX
=
11225 enable_shared_with_static_runtimes_CXX
=no
11227 # Dependencies to place before and after the object being linked:
11228 predep_objects_CXX
=
11229 postdep_objects_CXX
=
11232 compiler_lib_search_path_CXX
=
11234 # Source file extension for C++ test sources.
11237 # Object file extension for compiled C++ test sources.
11241 # Code to be used in simple compile tests
11242 lt_simple_compile_test_code
="int some_variable = 0;\n"
11244 # Code to be used in simple link tests
11245 lt_simple_link_test_code
='int main(int, char *) { return(0); }\n'
11247 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11249 # If no C compiler was specified, use CC.
11252 # Allow CC to be a program name with arguments.
11256 # Allow CC to be a program name with arguments.
11261 lt_save_with_gnu_ld
=$with_gnu_ld
11262 lt_save_path_LD
=$lt_cv_path_LD
11263 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11264 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
11266 unset lt_cv_prog_gnu_ld
11268 if test -n "${lt_cv_path_LDCXX+set}"; then
11269 lt_cv_path_LD
=$lt_cv_path_LDCXX
11271 unset lt_cv_path_LD
11273 test -z "${LDCXX+set}" || LD
=$LDCXX
11277 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
11279 # We don't want -fno-exception wen compiling C++ code, so set the
11280 # no_builtin_flag separately
11281 if test "$GXX" = yes; then
11282 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
11284 lt_prog_compiler_no_builtin_flag_CXX
=
11287 if test "$GXX" = yes; then
11288 # Set up default GNU C++ configuration
11291 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11292 if test "${with_gnu_ld+set}" = set; then
11293 withval
="$with_gnu_ld"
11294 test "$withval" = no || with_gnu_ld
=yes
11299 if test "$GCC" = yes; then
11300 # Check if gcc -print-prog-name=ld gives a path.
11301 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11302 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11305 # gcc leaves a trailing carriage return which upsets mingw
11306 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11308 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11311 # Accept absolute paths.
11313 re_direlt
='/[^/][^/]*/\.\./'
11314 # Canonicalize the pathname of ld
11315 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
11316 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
11317 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11319 test -z "$LD" && LD
="$ac_prog"
11322 # If it fails, then pretend we aren't using GCC.
11326 # If it is relative, then search for the first ld in PATH.
11327 with_gnu_ld
=unknown
11330 elif test "$with_gnu_ld" = yes; then
11331 echo "$as_me:$LINENO: checking for GNU ld" >&5
11332 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11334 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11335 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11337 if test "${lt_cv_path_LD+set}" = set; then
11338 echo $ECHO_N "(cached) $ECHO_C" >&6
11340 if test -z "$LD"; then
11341 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
11342 for ac_dir
in $PATH; do
11344 test -z "$ac_dir" && ac_dir
=.
11345 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11346 lt_cv_path_LD
="$ac_dir/$ac_prog"
11347 # Check to see if the program is GNU ld. I'd rather use --version,
11348 # but apparently some GNU ld's only accept -v.
11349 # Break only if it was the GNU/non-GNU ld that we prefer.
11350 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11351 *GNU
* |
*'with BFD'*)
11352 test "$with_gnu_ld" != no
&& break
11355 test "$with_gnu_ld" != yes && break
11362 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
11366 LD
="$lt_cv_path_LD"
11367 if test -n "$LD"; then
11368 echo "$as_me:$LINENO: result: $LD" >&5
11369 echo "${ECHO_T}$LD" >&6
11371 echo "$as_me:$LINENO: result: no" >&5
11372 echo "${ECHO_T}no" >&6
11374 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11375 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11376 { (exit 1); exit 1; }; }
11377 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11378 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11379 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11380 echo $ECHO_N "(cached) $ECHO_C" >&6
11382 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11383 case `$LD -v 2>&1 </dev/null` in
11384 *GNU
* |
*'with BFD'*)
11385 lt_cv_prog_gnu_ld
=yes
11388 lt_cv_prog_gnu_ld
=no
11392 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11393 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11394 with_gnu_ld
=$lt_cv_prog_gnu_ld
11398 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11399 # archiving commands below assume that GNU ld is being used.
11400 if test "$with_gnu_ld" = yes; then
11401 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11402 archive_expsym_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11404 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11405 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11407 # If archive_cmds runs LD, not CC, wlarc should be empty
11408 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11409 # investigate it a little bit more. (MM)
11412 # ancient GNU ld didn't support --whole-archive et. al.
11413 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11414 grep 'no-whole-archive' > /dev
/null
; then
11415 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11417 whole_archive_flag_spec_CXX
=
11423 # A generic and very simple default shared library creation
11424 # command for GNU C++ for the case where it uses the native
11425 # linker, instead of GNU ld. If possible, this setting should
11426 # overridden to take advantage of the native linker features on
11427 # the platform it is being used on.
11428 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11431 # Commands to make compiler produce verbose output that lists
11432 # what "hidden" libraries, object files and flags are used when
11433 # linking a shared library.
11434 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11442 # PORTME: fill in a description of your system's C++ link characteristics
11443 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11444 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11448 # FIXME: insert proper C++ library support
11452 if test "$host_cpu" = ia64
; then
11453 # On IA64, the linker does run time linking by default, so we don't
11454 # have to do anything special.
11455 aix_use_runtimelinking
=no
11456 exp_sym_flag
='-Bexport'
11459 aix_use_runtimelinking
=no
11461 # Test if we are trying to use run time linking or normal
11462 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11463 # need to do runtime linking.
11464 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
11465 for ld_flag
in $LDFLAGS; do
11468 aix_use_runtimelinking
=yes
11475 exp_sym_flag
='-bexport'
11476 no_entry_flag
='-bnoentry'
11479 # When large executables or shared objects are built, AIX ld can
11480 # have problems creating the table of contents. If linking a library
11481 # or program results in "error TOC overflow" add -mminimal-toc to
11482 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11483 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11485 archive_cmds_CXX
=''
11486 hardcode_direct_CXX
=yes
11487 hardcode_libdir_separator_CXX
=':'
11488 link_all_deplibs_CXX
=yes
11490 if test "$GXX" = yes; then
11491 case $host_os in aix4.
[012]|aix4.
[012].
*)
11492 # We only want to do this on AIX 4.2 and lower, the check
11493 # below for broken collect2 doesn't work under 4.3+
11494 collect2name
=`${CC} -print-prog-name=collect2`
11495 if test -f "$collect2name" && \
11496 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
11498 # We have reworked collect2
11499 hardcode_direct_CXX
=yes
11501 # We have old collect2
11502 hardcode_direct_CXX
=unsupported
11503 # It fails to find uninstalled libraries when the uninstalled
11504 # path is not listed in the libpath. Setting hardcode_minus_L
11505 # to unsupported forces relinking
11506 hardcode_minus_L_CXX
=yes
11507 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11508 hardcode_libdir_separator_CXX
=
11511 shared_flag
='-shared'
11512 if test "$aix_use_runtimelinking" = yes; then
11513 shared_flag
="$shared_flag "'${wl}-G'
11517 if test "$host_cpu" = ia64
; then
11518 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11519 # chokes on -Wl,-G. The following line is correct:
11522 if test "$aix_use_runtimelinking" = yes; then
11523 shared_flag
='${wl}-G'
11525 shared_flag
='${wl}-bM:SRE'
11530 # It seems that -bexpall does not export symbols beginning with
11531 # underscore (_), so it is better to generate a list of symbols to export.
11532 always_export_symbols_CXX
=yes
11533 if test "$aix_use_runtimelinking" = yes; then
11534 # Warning - without using the other runtime loading flags (-brtl),
11535 # -berok will link without error, but may produce a broken library.
11536 allow_undefined_flag_CXX
='-berok'
11537 # Determine the default libpath from the value encoded in an empty executable.
11538 cat >conftest.
$ac_ext <<_ACEOF
11541 cat confdefs.h
>>conftest.
$ac_ext
11542 cat >>conftest.
$ac_ext <<_ACEOF
11543 /* end confdefs.h. */
11553 rm -f conftest.
$ac_objext conftest
$ac_exeext
11554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11555 (eval $ac_link) 2>conftest.er1
11557 grep -v '^ *+' conftest.er1
>conftest.err
11559 cat conftest.err
>&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } &&
11562 { ac_try
='test -z "$ac_cxx_werror_flag"
11563 || test ! -s conftest.err'
11564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11565 (eval $ac_try) 2>&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); }; } &&
11569 { ac_try
='test -s conftest$ac_exeext'
11570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571 (eval $ac_try) 2>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; }; then
11576 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11578 # Check for a 64-bit object if we didn't find anything.
11579 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11582 echo "$as_me: failed program was:" >&5
11583 sed 's/^/| /' conftest.
$ac_ext >&5
11586 rm -f conftest.err conftest.
$ac_objext \
11587 conftest
$ac_exeext conftest.
$ac_ext
11588 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11590 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11592 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11594 if test "$host_cpu" = ia64; then
11595 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr
/lib
:/lib
'
11596 allow_undefined_flag_CXX="-z nodefs"
11597 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
11599 # Determine the default libpath from the value encoded in an empty executable.
11600 cat >conftest.$ac_ext <<_ACEOF
11603 cat confdefs.h >>conftest.$ac_ext
11604 cat >>conftest.$ac_ext <<_ACEOF
11605 /* end confdefs.h. */
11615 rm -f conftest.$ac_objext conftest$ac_exeext
11616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11617 (eval $ac_link) 2>conftest.er1
11619 grep -v '^ *+' conftest.er1 >conftest.err
11621 cat conftest.err >&5
11622 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11623 (exit $ac_status); } &&
11624 { ac_try='test -z "$ac_cxx_werror_flag"
11625 || test ! -s conftest.err'
11626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627 (eval $ac_try) 2>&5
11629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11630 (exit $ac_status); }; } &&
11631 { ac_try='test -s conftest$ac_exeext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11635 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11636 (exit $ac_status); }; }; then
11638 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11640 # Check for a 64-bit object if we didn't find anything.
11641 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11644 echo "$as_me: failed program was
:" >&5
11645 sed 's/^/| /' conftest.$ac_ext >&5
11648 rm -f conftest.err conftest.$ac_objext \
11649 conftest$ac_exeext conftest.$ac_ext
11650 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
11652 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11653 # Warning - without using the other run time loading flags,
11654 # -berok will link without error, but may produce a broken library.
11655 no_undefined_flag_CXX=' ${wl}-bernotok'
11656 allow_undefined_flag_CXX=' ${wl}-berok'
11657 # -bexpall does not export symbols beginning with underscore (_)
11658 always_export_symbols_CXX=yes
11659 # Exported symbols can be pulled into shared objects from archives
11660 whole_archive_flag_spec_CXX=' '
11661 archive_cmds_need_lc_CXX=yes
11662 # This is similar to how AIX traditionally builds it's shared libraries.
11663 archive_expsym_cmds_CXX="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11668 case $cc_basename in
11670 # FIXME: insert proper C++ library support
11677 cygwin* | mingw* | pw32*)
11678 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11679 # as there is no search path for DLLs.
11680 hardcode_libdir_flag_spec_CXX='-L$libdir'
11681 allow_undefined_flag_CXX=unsupported
11682 always_export_symbols_CXX=no
11683 enable_shared_with_static_runtimes_CXX=yes
11685 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11686 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11687 # If the export-symbols file already is a .def file (1st line
11688 # is EXPORTS), use it as is; otherwise, prepend...
11689 archive_expsym_cmds_CXX='if test "x
`$SED 1q $export_symbols`" = xEXPORTS; then
11690 cp $export_symbols $output_objdir/$soname.def;
11692 echo EXPORTS > $output_objdir/$soname.def;
11693 cat $export_symbols >> $output_objdir/$soname.def;
11695 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
11700 darwin* | rhapsody*)
11702 rhapsody* | darwin1.[012])
11703 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11706 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11707 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11709 case ${MACOSX_DEPLOYMENT_TARGET} in
11711 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11714 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11720 archive_cmds_need_lc_CXX=no
11721 hardcode_direct_CXX=no
11722 hardcode_automatic_CXX=yes
11723 hardcode_shlibpath_var_CXX=unsupported
11724 whole_archive_flag_spec_CXX=''
11725 link_all_deplibs_CXX=yes
11727 if test "$GXX" = yes ; then
11728 lt_int_apple_cc_single_mod=no
11729 output_verbose_link_cmd='echo'
11730 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11731 lt_int_apple_cc_single_mod=yes
11733 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
11734 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11736 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11738 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11739 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11740 if test "X
$lt_int_apple_cc_single_mod" = Xyes ; then
11741 archive_expsym_cmds_CXX='sed -e "s
,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11743 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11745 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11747 case "$cc_basename" in
11749 output_verbose_link_cmd
='echo'
11750 archive_cmds_CXX
='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11751 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11752 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
11753 archive_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11754 module_expsym_cmds_CXX
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11764 case $cc_basename in
11766 # FIXME: insert proper C++ library support
11770 # Green Hills C++ Compiler
11771 # FIXME: insert proper C++ library support
11775 # FIXME: insert proper C++ library support
11781 # C++ shared libraries reported to be fairly broken before switch to ELF
11785 archive_cmds_need_lc_CXX
=no
11787 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
11788 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11795 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11796 hardcode_libdir_separator_CXX
=:
11797 export_dynamic_flag_spec_CXX
='${wl}-E'
11798 hardcode_direct_CXX
=yes
11799 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11800 # but as the default
11801 # location of the library.
11803 case $cc_basename in
11805 # FIXME: insert proper C++ library support
11809 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11810 # Commands to make compiler produce verbose output that lists
11811 # what "hidden" libraries, object files and flags are used when
11812 # linking a shared library.
11814 # There doesn't appear to be a way to prevent this compiler from
11815 # explicitly linking system object files so we need to strip them
11816 # from the output so that they don't get included in the library
11818 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11821 if test "$GXX" = yes; then
11822 archive_cmds_CXX
='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11824 # FIXME: insert proper C++ library support
11831 if test $with_gnu_ld = no
; then
11832 case "$host_cpu" in
11834 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11835 hardcode_libdir_flag_spec_ld_CXX
='+b $libdir'
11836 hardcode_libdir_separator_CXX
=:
11839 hardcode_libdir_flag_spec_CXX
='-L$libdir'
11842 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
11843 hardcode_libdir_separator_CXX
=:
11844 export_dynamic_flag_spec_CXX
='${wl}-E'
11848 case "$host_cpu" in
11850 hardcode_direct_CXX
=no
11851 hardcode_shlibpath_var_CXX
=no
11854 hardcode_direct_CXX
=no
11855 hardcode_shlibpath_var_CXX
=no
11856 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11857 # but as the default
11858 # location of the library.
11861 hardcode_direct_CXX
=yes
11862 hardcode_minus_L_CXX
=yes # Not in the search PATH,
11863 # but as the default
11864 # location of the library.
11868 case $cc_basename in
11870 # FIXME: insert proper C++ library support
11874 case "$host_cpu" in
11876 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11879 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11882 # Commands to make compiler produce verbose output that lists
11883 # what "hidden" libraries, object files and flags are used when
11884 # linking a shared library.
11886 # There doesn't appear to be a way to prevent this compiler from
11887 # explicitly linking system object files so we need to strip them
11888 # from the output so that they don't get included in the library
11890 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11893 if test "$GXX" = yes; then
11894 if test $with_gnu_ld = no
; then
11895 case "$host_cpu" in
11897 archive_cmds_CXX
='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
11900 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11905 # FIXME: insert proper C++ library support
11912 case $cc_basename in
11915 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
11917 # Archives containing C++ object files must be created using
11918 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11919 # necessary to make sure instantiated templates are included
11921 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
11924 if test "$GXX" = yes; then
11925 if test "$with_gnu_ld" = no
; then
11926 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
11928 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11931 link_all_deplibs_CXX
=yes
11934 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
11935 hardcode_libdir_separator_CXX
=:
11938 case $cc_basename in
11940 # Kuck and Associates, Inc. (KAI) C++ Compiler
11942 # KCC will only create a shared library if the output file
11943 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11944 # to its proper name (with version) after linking.
11945 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11946 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11947 # Commands to make compiler produce verbose output that lists
11948 # what "hidden" libraries, object files and flags are used when
11949 # linking a shared library.
11951 # There doesn't appear to be a way to prevent this compiler from
11952 # explicitly linking system object files so we need to strip them
11953 # from the output so that they don't get included in the library
11955 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11957 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11958 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11960 # Archives containing C++ object files must be created using
11961 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11962 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11967 # version 8.0 and above of icpc choke on multiply defined symbols
11968 # if we add $predep_objects and $postdep_objects, however 7.1 and
11969 # earlier do not add the objects themselves.
11970 case `$CC -V 2>&1` in
11972 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11973 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11975 *) # Version 8.0 or newer
11978 ia64
*) tmp_idyn
=' -i_dynamic';;
11980 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11981 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11984 archive_cmds_need_lc_CXX
=no
11985 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11986 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11987 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11990 # Portland Group C++ compiler
11991 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11992 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11994 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11995 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11999 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12000 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12002 runpath_var
=LD_RUN_PATH
12003 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12004 hardcode_libdir_separator_CXX
=:
12006 # Commands to make compiler produce verbose output that lists
12007 # what "hidden" libraries, object files and flags are used when
12008 # linking a shared library.
12010 # There doesn't appear to be a way to prevent this compiler from
12011 # explicitly linking system object files so we need to strip them
12012 # from the output so that they don't get included in the library
12014 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12019 # FIXME: insert proper C++ library support
12023 # FIXME: insert proper C++ library support
12027 case $cc_basename in
12029 # FIXME: insert proper C++ library support
12033 # FIXME: insert proper C++ library support
12039 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12040 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12042 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12043 hardcode_direct_CXX
=yes
12044 hardcode_shlibpath_var_CXX
=no
12046 # Workaround some broken pre-1.5 toolchains
12047 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12050 # C++ shared libraries are fairly broken
12054 hardcode_direct_CXX
=yes
12055 hardcode_shlibpath_var_CXX
=no
12056 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12057 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12058 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12059 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12060 export_dynamic_flag_spec_CXX
='${wl}-E'
12061 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12063 output_verbose_link_cmd
='echo'
12066 case $cc_basename in
12068 # Kuck and Associates, Inc. (KAI) C++ Compiler
12070 # KCC will only create a shared library if the output file
12071 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12072 # to its proper name (with version) after linking.
12073 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12075 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12076 hardcode_libdir_separator_CXX
=:
12078 # Archives containing C++ object files must be created using
12079 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12080 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12084 # Rational C++ 2.4.1
12085 # FIXME: insert proper C++ library support
12089 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12090 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12092 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12093 hardcode_libdir_separator_CXX
=:
12095 # Commands to make compiler produce verbose output that lists
12096 # what "hidden" libraries, object files and flags are used when
12097 # linking a shared library.
12099 # There doesn't appear to be a way to prevent this compiler from
12100 # explicitly linking system object files so we need to strip them
12101 # from the output so that they don't get included in the library
12103 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12106 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12107 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12108 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12110 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12111 hardcode_libdir_separator_CXX
=:
12113 # Commands to make compiler produce verbose output that lists
12114 # what "hidden" libraries, object files and flags are used when
12115 # linking a shared library.
12116 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12119 # FIXME: insert proper C++ library support
12126 case $cc_basename in
12128 # Kuck and Associates, Inc. (KAI) C++ Compiler
12130 # KCC will only create a shared library if the output file
12131 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12132 # to its proper name (with version) after linking.
12133 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12135 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12136 hardcode_libdir_separator_CXX
=:
12138 # Archives containing C++ object files must be created using
12139 # the KAI C++ compiler.
12140 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12143 # Rational C++ 2.4.1
12144 # FIXME: insert proper C++ library support
12148 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12149 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
12150 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12151 echo "-hidden">> $lib.exp~
12152 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
12155 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12156 hardcode_libdir_separator_CXX
=:
12158 # Commands to make compiler produce verbose output that lists
12159 # what "hidden" libraries, object files and flags are used when
12160 # linking a shared library.
12162 # There doesn't appear to be a way to prevent this compiler from
12163 # explicitly linking system object files so we need to strip them
12164 # from the output so that they don't get included in the library
12166 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12169 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12170 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12171 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
12173 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12174 hardcode_libdir_separator_CXX
=:
12176 # Commands to make compiler produce verbose output that lists
12177 # what "hidden" libraries, object files and flags are used when
12178 # linking a shared library.
12179 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12182 # FIXME: insert proper C++ library support
12189 # FIXME: insert proper C++ library support
12193 archive_cmds_need_lc_CXX
=no
12194 case $cc_basename in
12196 # FIXME: insert proper C++ library support
12200 # FIXME: insert proper C++ library support
12206 case $cc_basename in
12209 # FIXME: insert proper C++ library support
12214 # FIXME: insert proper C++ library support
12218 # FIXME: insert proper C++ library support
12224 case $cc_basename in
12226 # Sun C++ 4.2, 5.x and Centerline C++
12227 no_undefined_flag_CXX
=' -zdefs'
12228 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12229 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12230 $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12232 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12233 hardcode_shlibpath_var_CXX
=no
12235 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12237 # The C++ compiler is used as linker so we must use $wl
12238 # flag to pass the commands to the underlying system
12240 # Supported since Solaris 2.6 (maybe 2.5.1?)
12241 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12244 link_all_deplibs_CXX
=yes
12246 # Commands to make compiler produce verbose output that lists
12247 # what "hidden" libraries, object files and flags are used when
12248 # linking a shared library.
12250 # There doesn't appear to be a way to prevent this compiler from
12251 # explicitly linking system object files so we need to strip them
12252 # from the output so that they don't get included in the library
12254 output_verbose_link_cmd
='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12256 # Archives containing C++ object files must be created using
12257 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12258 # necessary to make sure instantiated templates are included
12260 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12263 # Green Hills C++ Compiler
12264 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12266 # The C++ compiler must be used to create the archive.
12267 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12270 # GNU C++ compiler with Solaris linker
12271 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12272 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12273 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12274 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12275 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12276 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12278 # Commands to make compiler produce verbose output that lists
12279 # what "hidden" libraries, object files and flags are used when
12280 # linking a shared library.
12281 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12283 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12285 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12286 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12287 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12289 # Commands to make compiler produce verbose output that lists
12290 # what "hidden" libraries, object files and flags are used when
12291 # linking a shared library.
12292 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12295 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12300 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
12301 archive_cmds_need_lc_CXX
=no
12304 case $cc_basename in
12306 # NonStop-UX NCC 3.20
12307 # FIXME: insert proper C++ library support
12311 # FIXME: insert proper C++ library support
12317 # FIXME: insert proper C++ library support
12321 # FIXME: insert proper C++ library support
12325 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12326 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12327 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12333 ## There is no encapsulation within the following macros, do not change
12334 ## the running order or otherwise move them around unless you know exactly
12335 ## what you are doing...
12337 cat > conftest.
$ac_ext <<EOF
12341 Foo (void) { a = 0; }
12347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12348 (eval $ac_compile) 2>&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }; then
12352 # Parse the compiler output and extract the necessary
12353 # objects, libraries and library flags.
12355 # Sentinel used to keep track of whether or not we are before
12356 # the conftest object file.
12357 pre_test_object_deps_done
=no
12359 # The `*' in the case matches for architectures that use `case' in
12360 # $output_verbose_cmd can trigger glob expansion during the loop
12361 # eval without this substitution.
12362 output_verbose_link_cmd
="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
12364 for p
in `eval $output_verbose_link_cmd`; do
12368 # Some compilers place space between "-{L,R}" and the path.
12369 # Remove the space.
12370 if test $p = "-L" \
12371 ||
test $p = "-R"; then
12378 if test "$pre_test_object_deps_done" = no
; then
12381 # Internal compiler library paths should come after those
12382 # provided the user. The postdeps already come after the
12383 # user supplied libs so there is no need to process them.
12384 if test -z "$compiler_lib_search_path_CXX"; then
12385 compiler_lib_search_path_CXX
="${prev}${p}"
12387 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12390 # The "-l" case would never come before the object being
12391 # linked, so don't bother handling this case.
12394 if test -z "$postdeps_CXX"; then
12395 postdeps_CXX
="${prev}${p}"
12397 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12403 # This assumes that the test object file only shows up
12404 # once in the compiler output.
12405 if test "$p" = "conftest.$objext"; then
12406 pre_test_object_deps_done
=yes
12410 if test "$pre_test_object_deps_done" = no
; then
12411 if test -z "$predep_objects_CXX"; then
12412 predep_objects_CXX
="$p"
12414 predep_objects_CXX
="$predep_objects_CXX $p"
12417 if test -z "$postdep_objects_CXX"; then
12418 postdep_objects_CXX
="$p"
12420 postdep_objects_CXX
="$postdep_objects_CXX $p"
12425 *) ;; # Ignore the rest.
12433 echo "libtool.m4: error: problem compiling CXX test program"
12436 $rm -f confest.
$objext
12438 case " $postdeps_CXX " in
12439 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12442 lt_prog_compiler_wl_CXX
=
12443 lt_prog_compiler_pic_CXX
=
12444 lt_prog_compiler_static_CXX
=
12446 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12447 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12449 # C++ specific cases for pic, static, wl, etc.
12450 if test "$GXX" = yes; then
12451 lt_prog_compiler_wl_CXX
='-Wl,'
12452 lt_prog_compiler_static_CXX
='-static'
12456 # All AIX code is PIC.
12457 if test "$host_cpu" = ia64
; then
12458 # AIX 5 now supports IA64 processor
12459 lt_prog_compiler_static_CXX
='-Bstatic'
12463 # FIXME: we need at least 68020 code to build shared libraries, but
12464 # adding the `-m68020' flag to GCC prevents building anything better,
12466 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12468 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12469 # PIC is the default for these OSes.
12471 mingw
* | os2
* | pw32
*)
12472 # This hack is so that the source file can tell whether it is being
12473 # built for inclusion in a dll (and should export symbols for example).
12474 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12476 darwin
* | rhapsody
*)
12477 # PIC is the default on this platform
12478 # Common symbols not allowed in MH_DYLIB files
12479 lt_prog_compiler_pic_CXX
='-fno-common'
12482 # DJGPP does not support shared libraries at all
12483 lt_prog_compiler_pic_CXX
=
12486 if test -d /usr
/nec
; then
12487 lt_prog_compiler_pic_CXX
=-Kconform_pic
12491 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12492 # not for PA HP-UX.
12493 case "$host_cpu" in
12497 lt_prog_compiler_pic_CXX
='-fPIC'
12502 lt_prog_compiler_pic_CXX
='-fPIC'
12508 # All AIX code is PIC.
12509 if test "$host_cpu" = ia64
; then
12510 # AIX 5 now supports IA64 processor
12511 lt_prog_compiler_static_CXX
='-Bstatic'
12513 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12517 case $cc_basename in
12519 # Green Hills C++ Compiler
12520 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12525 # PIC is the default on this platform
12526 # Common symbols not allowed in MH_DYLIB files
12527 case "$cc_basename" in
12529 lt_prog_compiler_pic_CXX
='-qnocommon'
12530 lt_prog_compiler_wl_CXX
='-Wl,'
12535 case $cc_basename in
12537 lt_prog_compiler_pic_CXX
='-KPIC'
12540 # Green Hills C++ Compiler
12541 lt_prog_compiler_pic_CXX
='-pic'
12547 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
12548 # FreeBSD uses GNU C++
12550 hpux9
* | hpux10
* | hpux11
*)
12551 case $cc_basename in
12553 lt_prog_compiler_wl_CXX
='-Wl,'
12554 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
12555 if test "$host_cpu" != ia64
; then
12556 lt_prog_compiler_pic_CXX
='+Z'
12560 lt_prog_compiler_wl_CXX
='-Wl,'
12561 lt_prog_compiler_static_CXX
="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
12562 case "$host_cpu" in
12567 lt_prog_compiler_pic_CXX
='+Z'
12575 irix5
* | irix6
* | nonstopux
*)
12576 case $cc_basename in
12578 lt_prog_compiler_wl_CXX
='-Wl,'
12579 lt_prog_compiler_static_CXX
='-non_shared'
12580 # CC pic flag -KPIC is the default.
12587 case $cc_basename in
12590 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12591 lt_prog_compiler_pic_CXX
='-fPIC'
12595 lt_prog_compiler_wl_CXX
='-Wl,'
12596 lt_prog_compiler_pic_CXX
='-KPIC'
12597 lt_prog_compiler_static_CXX
='-static'
12600 # Portland Group C++ compiler.
12601 lt_prog_compiler_wl_CXX
='-Wl,'
12602 lt_prog_compiler_pic_CXX
='-fpic'
12603 lt_prog_compiler_static_CXX
='-static'
12607 # Make sure the PIC flag is empty. It appears that all Alpha
12608 # Linux and Compaq Tru64 Unix objects are PIC.
12609 lt_prog_compiler_pic_CXX
=
12610 lt_prog_compiler_static_CXX
='-non_shared'
12621 case $cc_basename in
12623 lt_prog_compiler_pic_CXX
='-W c,exportall'
12631 osf3
* | osf4
* | osf5
*)
12632 case $cc_basename in
12634 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12637 # Rational C++ 2.4.1
12638 lt_prog_compiler_pic_CXX
='-pic'
12641 # Digital/Compaq C++
12642 lt_prog_compiler_wl_CXX
='-Wl,'
12643 # Make sure the PIC flag is empty. It appears that all Alpha
12644 # Linux and Compaq Tru64 Unix objects are PIC.
12645 lt_prog_compiler_pic_CXX
=
12646 lt_prog_compiler_static_CXX
='-non_shared'
12655 case $cc_basename in
12657 lt_prog_compiler_pic_CXX
='-fPIC'
12664 case $cc_basename in
12666 # Sun C++ 4.2, 5.x and Centerline C++
12667 lt_prog_compiler_pic_CXX
='-KPIC'
12668 lt_prog_compiler_static_CXX
='-Bstatic'
12669 lt_prog_compiler_wl_CXX
='-Qoption ld '
12672 # Green Hills C++ Compiler
12673 lt_prog_compiler_pic_CXX
='-PIC'
12680 case $cc_basename in
12683 lt_prog_compiler_pic_CXX
='-pic'
12684 lt_prog_compiler_static_CXX
='-Bstatic'
12688 lt_prog_compiler_pic_CXX
='-pic'
12695 case $cc_basename in
12697 # NonStop-UX NCC 3.20
12698 lt_prog_compiler_pic_CXX
='-KPIC'
12709 lt_prog_compiler_can_build_shared_CXX
=no
12714 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12715 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12718 # Check to make sure the PIC flag actually works.
12720 if test -n "$lt_prog_compiler_pic_CXX"; then
12722 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12723 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12724 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 lt_prog_compiler_pic_works_CXX
=no
12728 ac_outfile
=conftest.
$ac_objext
12729 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12730 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12731 # Insert the option either (1) after the last *FLAGS variable, or
12732 # (2) before a word containing "conftest.", or (3) at the end.
12733 # Note that $ac_compile itself does not contain backslashes and begins
12734 # with a dollar sign (not a hyphen), so the echo should work correctly.
12735 # The option is referenced via a variable to avoid confusing sed.
12736 lt_compile
=`echo "$ac_compile" | $SED \
12737 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12738 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12739 -e 's:$: $lt_compiler_flag:'`
12740 (eval echo "\"\$as_me:12740: $lt_compile\"" >&5)
12741 (eval "$lt_compile" 2>conftest.err
)
12743 cat conftest.err
>&5
12744 echo "$as_me:12744: \$? = $ac_status" >&5
12745 if (exit $ac_status) && test -s "$ac_outfile"; then
12746 # The compiler can only warn and ignore the option if not recognized
12747 # So say no if there are warnings
12748 if test ! -s conftest.err
; then
12749 lt_prog_compiler_pic_works_CXX
=yes
12755 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12756 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12758 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12759 case $lt_prog_compiler_pic_CXX in
12761 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12764 lt_prog_compiler_pic_CXX
=
12765 lt_prog_compiler_can_build_shared_CXX
=no
12770 # For platforms which do not support PIC, -DPIC is meaningless:
12772 lt_prog_compiler_pic_CXX
=
12775 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12779 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12780 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12781 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12782 echo $ECHO_N "(cached) $ECHO_C" >&6
12784 lt_cv_prog_compiler_c_o_CXX
=no
12785 $rm -r conftest
2>/dev
/null
12789 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12791 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12792 # Insert the option either (1) after the last *FLAGS variable, or
12793 # (2) before a word containing "conftest.", or (3) at the end.
12794 # Note that $ac_compile itself does not contain backslashes and begins
12795 # with a dollar sign (not a hyphen), so the echo should work correctly.
12796 lt_compile
=`echo "$ac_compile" | $SED \
12797 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12799 -e 's:$: $lt_compiler_flag:'`
12800 (eval echo "\"\$as_me:12800: $lt_compile\"" >&5)
12801 (eval "$lt_compile" 2>out
/conftest.err
)
12803 cat out
/conftest.err
>&5
12804 echo "$as_me:12804: \$? = $ac_status" >&5
12805 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12807 # The compiler can only warn and ignore the option if not recognized
12808 # So say no if there are warnings
12809 if test ! -s out
/conftest.err
; then
12810 lt_cv_prog_compiler_c_o_CXX
=yes
12815 # SGI C++ compiler will create directory out/ii_files/ for
12816 # template instantiation
12817 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12818 $rm out
/* && rmdir out
12824 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12825 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12828 hard_links
="nottested"
12829 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
12830 # do not overwrite the value of need_locks provided by the user
12831 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12832 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12835 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12837 ln conftest.a conftest.b
2>&5 || hard_links
=no
12838 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12839 echo "$as_me:$LINENO: result: $hard_links" >&5
12840 echo "${ECHO_T}$hard_links" >&6
12841 if test "$hard_links" = no
; then
12842 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12843 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12850 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12851 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12853 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12856 # If we're using GNU nm, then we don't want the "-C" option.
12857 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12858 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
12859 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12861 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12865 export_symbols_cmds_CXX
="$ltdll_cmds"
12868 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12871 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12875 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12876 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12877 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12879 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12880 if test "$GCC" = yes; then
12881 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12885 # Do we need to explicitly link libc?
12887 case "x$archive_cmds_need_lc_CXX" in
12889 # Assume -lc should be added
12890 archive_cmds_need_lc_CXX
=yes
12892 if test "$enable_shared" = yes && test "$GCC" = yes; then
12893 case $archive_cmds_CXX in
12895 # FIXME: we may have to deal with multi-command sequences.
12898 # Test whether the compiler implicitly links with -lc since on some
12899 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12900 # to ld, don't add -lc before -lgcc.
12901 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12902 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12904 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
12906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12907 (eval $ac_compile) 2>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); } 2>conftest.err
; then
12913 libobjs
=conftest.
$ac_objext
12915 wl
=$lt_prog_compiler_wl_CXX
12921 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
12922 allow_undefined_flag_CXX
=
12923 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12924 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); }
12929 archive_cmds_need_lc_CXX
=no
12931 archive_cmds_need_lc_CXX
=yes
12933 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
12935 cat conftest.err
1>&5
12938 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12939 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12946 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12947 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12948 library_names_spec
=
12949 libname_spec
='lib$name'
12953 postuninstall_cmds
=
12957 shlibpath_overrides_runpath
=unknown
12959 dynamic_linker
="$host_os ld.so"
12960 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12961 if test "$GCC" = yes; then
12962 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12963 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
12964 # if the path contains ";" then we assume it to be the separator
12965 # otherwise default to the standard path separator (i.e. ":") - it is
12966 # assumed that no part of a normal pathname contains ";" but that should
12967 # okay in the real world where ";" in dirpaths is itself problematic.
12968 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12970 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12973 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12975 need_lib_prefix
=unknown
12976 hardcode_into_libs
=no
12978 # when you set need_version to no, make sure it does not cause -set_version
12979 # flags to be left without arguments
12980 need_version
=unknown
12985 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12986 shlibpath_var
=LIBPATH
12988 # AIX 3 has no versioning support, so we append a major version to the name.
12989 soname_spec
='${libname}${release}${shared_ext}$major'
12996 hardcode_into_libs
=yes
12997 if test "$host_cpu" = ia64
; then
12998 # AIX 5 supports IA64
12999 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13000 shlibpath_var
=LD_LIBRARY_PATH
13002 # With GCC up to 2.95.x, collect2 would create an import file
13003 # for dependence libraries. The import file would start with
13004 # the line `#! .'. This would cause the generated library to
13005 # depend on `.', always an invalid library. This was fixed in
13006 # development snapshots of GCC prior to 3.0.
13008 aix4 | aix4.
[01] | aix4.
[01].
*)
13009 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13011 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13014 can_build_shared
=no
13018 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13019 # soname into executable. Probably we can add versioning support to
13020 # collect2, so additional links can be useful in future.
13021 if test "$aix_use_runtimelinking" = yes; then
13022 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13023 # instead of lib<name>.a to let people know that these are not
13024 # typical AIX shared libraries.
13025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13027 # We preserve .a as extension for shared libraries through AIX4.2
13028 # and later when we are not doing run time linking.
13029 library_names_spec
='${libname}${release}.a $libname.a'
13030 soname_spec
='${libname}${release}${shared_ext}$major'
13032 shlibpath_var
=LIBPATH
13037 library_names_spec
='$libname.ixlibrary $libname.a'
13038 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13039 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13043 library_names_spec
='${libname}${shared_ext}'
13044 dynamic_linker
="$host_os ld.so"
13045 shlibpath_var
=LIBRARY_PATH
13051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13052 soname_spec
='${libname}${release}${shared_ext}$major'
13053 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13054 shlibpath_var
=LD_LIBRARY_PATH
13055 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13056 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13057 # the default ld.so.conf also contains /usr/contrib/lib and
13058 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13059 # libtool to hard-code these into programs
13062 cygwin
* | mingw
* | pw32
*)
13063 version_type
=windows
13068 case $GCC,$host_os in
13069 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13070 library_names_spec
='$libname.dll.a'
13071 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13072 postinstall_cmds
='base_file=`basename \${file}`~
13073 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13074 dldir=$destdir/`dirname \$dlpath`~
13075 test -d \$dldir || mkdir -p \$dldir~
13076 $install_prog $dir/$dlname \$dldir/$dlname'
13077 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13078 dlpath=$dir/\$dldll~
13080 shlibpath_overrides_runpath
=yes
13084 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13085 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13086 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13089 # MinGW DLLs use traditional 'lib' prefix
13090 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13091 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13092 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13093 # It is most probably a Windows format PATH printed by
13094 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13095 # path with ; separators, and with drive letters. We can handle the
13096 # drive letters (cygwin fileutils understands them), so leave them,
13097 # especially as we might pass files found there to a mingw objdump,
13098 # which wouldn't understand a cygwinified path. Ahh.
13099 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13101 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13105 # pw32 DLLs use 'pw' prefix rather than 'lib'
13106 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13112 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13115 dynamic_linker
='Win32 ld.exe'
13116 # FIXME: first we should search . and the directory the executable is in
13120 darwin
* | rhapsody
*)
13121 dynamic_linker
="$host_os dyld"
13122 version_type
=darwin
13125 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13126 soname_spec
='${libname}${release}${major}$shared_ext'
13127 shlibpath_overrides_runpath
=yes
13128 shlibpath_var
=DYLD_LIBRARY_PATH
13129 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
13130 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13131 if test "$GCC" = yes; then
13132 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
13134 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
13136 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13143 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13144 soname_spec
='${libname}${release}${shared_ext}$major'
13145 shlibpath_var
=LD_LIBRARY_PATH
13156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13157 soname_spec
='${libname}${release}${shared_ext}$major'
13158 shlibpath_var
=LD_LIBRARY_PATH
13159 shlibpath_overrides_runpath
=no
13160 hardcode_into_libs
=yes
13161 dynamic_linker
='GNU ld.so'
13164 freebsd
* | dragonfly
*)
13165 # DragonFly does not have aout. When/if they implement a new
13166 # versioning mechanism, adjust this.
13167 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
13168 version_type
=freebsd-
$objformat
13169 case $version_type in
13171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13176 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13180 shlibpath_var
=LD_LIBRARY_PATH
13183 shlibpath_overrides_runpath
=yes
13185 freebsd3.
[01]* | freebsdelf3.
[01]*)
13186 shlibpath_overrides_runpath
=yes
13187 hardcode_into_libs
=yes
13190 shlibpath_overrides_runpath
=no
13191 hardcode_into_libs
=yes
13200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13201 soname_spec
='${libname}${release}${shared_ext}$major'
13202 shlibpath_var
=LD_LIBRARY_PATH
13203 hardcode_into_libs
=yes
13206 hpux9
* | hpux10
* | hpux11
*)
13207 # Give a soname corresponding to the major version so that dld.sl refuses to
13208 # link against other versions.
13212 case "$host_cpu" in
13215 hardcode_into_libs
=yes
13216 dynamic_linker
="$host_os dld.so"
13217 shlibpath_var
=LD_LIBRARY_PATH
13218 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13220 soname_spec
='${libname}${release}${shared_ext}$major'
13221 if test "X$HPUX_IA64_MODE" = X32
; then
13222 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13224 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13226 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13230 hardcode_into_libs
=yes
13231 dynamic_linker
="$host_os dld.sl"
13232 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13233 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13235 soname_spec
='${libname}${release}${shared_ext}$major'
13236 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13237 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13241 dynamic_linker
="$host_os dld.sl"
13242 shlibpath_var
=SHLIB_PATH
13243 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13245 soname_spec
='${libname}${release}${shared_ext}$major'
13248 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13249 postinstall_cmds
='chmod 555 $lib'
13252 irix5
* | irix6
* | nonstopux
*)
13254 nonstopux
*) version_type
=nonstopux
;;
13256 if test "$lt_cv_prog_gnu_ld" = yes; then
13264 soname_spec
='${libname}${release}${shared_ext}$major'
13265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13267 irix5
* | nonstopux
*)
13268 libsuff
= shlibsuff
=
13271 case $LD in # libtool.m4 will add one of these switches to LD
13272 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13273 libsuff
= shlibsuff
= libmagic
=32-bit;;
13274 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13275 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13276 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13277 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13278 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13282 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13283 shlibpath_overrides_runpath
=no
13284 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13285 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13286 hardcode_into_libs
=yes
13289 # No shared lib support for Linux oldld, aout, or coff.
13290 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13294 # This must be Linux ELF.
13299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13300 soname_spec
='${libname}${release}${shared_ext}$major'
13301 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13302 shlibpath_var
=LD_LIBRARY_PATH
13303 shlibpath_overrides_runpath
=no
13304 # This implies no fast_install, which is unacceptable.
13305 # Some rework will be needed to allow for fast_install
13306 # before this can be enabled.
13307 hardcode_into_libs
=yes
13309 # Append ld.so.conf contents to the search path
13310 if test -f /etc
/ld.so.conf
; then
13311 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13312 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13315 # We used to test for /lib/ld.so.1 and disable shared libraries on
13316 # powerpc, because MkLinux only supported shared libraries with the
13317 # GNU dynamic linker. Since this was broken with cross compilers,
13318 # most powerpc-linux boxes support dynamic linking these days and
13319 # people can always --disable-shared, the test was removed, and we
13320 # assume the GNU/Linux dynamic linker is in use.
13321 dynamic_linker
='GNU/Linux ld.so'
13328 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13329 soname_spec
='${libname}${release}${shared_ext}$major'
13330 shlibpath_var
=LD_LIBRARY_PATH
13331 shlibpath_overrides_runpath
=no
13332 hardcode_into_libs
=yes
13333 dynamic_linker
='GNU ld.so'
13340 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13342 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13343 dynamic_linker
='NetBSD (a.out) ld.so'
13345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13346 soname_spec
='${libname}${release}${shared_ext}$major'
13347 dynamic_linker
='NetBSD ld.elf_so'
13349 shlibpath_var
=LD_LIBRARY_PATH
13350 shlibpath_overrides_runpath
=yes
13351 hardcode_into_libs
=yes
13356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13357 shlibpath_var
=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath
=yes
13365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13366 soname_spec
='${libname}${release}${shared_ext}$major'
13367 shlibpath_var
=LD_LIBRARY_PATH
13368 shlibpath_overrides_runpath
=yes
13375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13376 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13377 shlibpath_var
=LD_LIBRARY_PATH
13378 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13380 openbsd2.
[89] | openbsd2.
[89].
*)
13381 shlibpath_overrides_runpath
=no
13384 shlibpath_overrides_runpath
=yes
13388 shlibpath_overrides_runpath
=yes
13393 libname_spec
='$name'
13396 library_names_spec
='$libname${shared_ext} $libname.a'
13397 dynamic_linker
='OS/2 ld.exe'
13398 shlibpath_var
=LIBPATH
13401 osf3
* | osf4
* | osf5
*)
13405 soname_spec
='${libname}${release}${shared_ext}$major'
13406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13407 shlibpath_var
=LD_LIBRARY_PATH
13408 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13409 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13414 soname_spec
='${libname}${release}${shared_ext}$major'
13415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13416 shlibpath_var
=LD_LIBRARY_PATH
13423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13424 soname_spec
='${libname}${release}${shared_ext}$major'
13425 shlibpath_var
=LD_LIBRARY_PATH
13426 shlibpath_overrides_runpath
=yes
13427 hardcode_into_libs
=yes
13428 # ldd complains unless libraries are executable
13429 postinstall_cmds
='chmod +x $lib'
13434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13435 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13436 shlibpath_var
=LD_LIBRARY_PATH
13437 shlibpath_overrides_runpath
=yes
13438 if test "$with_gnu_ld" = yes; then
13444 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13447 soname_spec
='${libname}${release}${shared_ext}$major'
13448 shlibpath_var
=LD_LIBRARY_PATH
13449 case $host_vendor in
13451 shlibpath_overrides_runpath
=no
13453 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13454 runpath_var
=LD_RUN_PATH
13462 shlibpath_overrides_runpath
=no
13463 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13469 if test -d /usr
/nec
;then
13471 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13472 soname_spec
='$libname${shared_ext}.$major'
13473 shlibpath_var
=LD_LIBRARY_PATH
13479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13480 soname_spec
='${libname}${release}${shared_ext}$major'
13481 shlibpath_var
=LD_LIBRARY_PATH
13488 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13489 echo "${ECHO_T}$dynamic_linker" >&6
13490 test "$dynamic_linker" = no
&& can_build_shared
=no
13492 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13493 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13494 hardcode_action_CXX
=
13495 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13496 test -n "$runpath_var_CXX" || \
13497 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13499 # We can hardcode non-existant directories.
13500 if test "$hardcode_direct_CXX" != no
&&
13501 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13502 # have to relink, otherwise we might link with an installed library
13503 # when we should be linking with a yet-to-be-installed one
13504 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13505 test "$hardcode_minus_L_CXX" != no
; then
13506 # Linking always hardcodes the temporary library directory.
13507 hardcode_action_CXX
=relink
13509 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13510 hardcode_action_CXX
=immediate
13513 # We cannot hardcode anything, or else we can only hardcode existing
13515 hardcode_action_CXX
=unsupported
13517 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13518 echo "${ECHO_T}$hardcode_action_CXX" >&6
13520 if test "$hardcode_action_CXX" = relink
; then
13521 # Fast installation is not supported
13522 enable_fast_install
=no
13523 elif test "$shlibpath_overrides_runpath" = yes ||
13524 test "$enable_shared" = no
; then
13525 # Fast installation is not necessary
13526 enable_fast_install
=needless
13531 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13532 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13533 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
13534 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13535 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13536 echo "$as_me:$LINENO: result: yes" >&5
13537 echo "${ECHO_T}yes" >&6
13539 # FIXME - insert some real tests, host_os isn't really good enough
13542 if test -n "$STRIP" ; then
13543 striplib
="$STRIP -x"
13544 echo "$as_me:$LINENO: result: yes" >&5
13545 echo "${ECHO_T}yes" >&6
13547 echo "$as_me:$LINENO: result: no" >&5
13548 echo "${ECHO_T}no" >&6
13552 echo "$as_me:$LINENO: result: no" >&5
13553 echo "${ECHO_T}no" >&6
13558 if test "x$enable_dlopen" != xyes
; then
13559 enable_dlopen
=unknown
13560 enable_dlopen_self
=unknown
13561 enable_dlopen_self_static
=unknown
13568 lt_cv_dlopen
="load_add_on"
13570 lt_cv_dlopen_self
=yes
13574 lt_cv_dlopen
="LoadLibrary"
13579 lt_cv_dlopen
="dlopen"
13584 # if libdl is installed we need to link against it
13585 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13586 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13587 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13590 ac_check_lib_save_LIBS
=$LIBS
13592 cat >conftest.
$ac_ext <<_ACEOF
13595 cat confdefs.h
>>conftest.
$ac_ext
13596 cat >>conftest.
$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13599 /* Override any gcc2 internal prototype to avoid an error. */
13603 /* We use char because int might match the return type of a gcc2
13604 builtin and then its argument prototype would still apply. */
13614 rm -f conftest.
$ac_objext conftest
$ac_exeext
13615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13616 (eval $ac_link) 2>conftest.er1
13618 grep -v '^ *+' conftest.er1
>conftest.err
13620 cat conftest.err
>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } &&
13623 { ac_try
='test -z "$ac_cxx_werror_flag"
13624 || test ! -s conftest.err'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; } &&
13630 { ac_try
='test -s conftest$ac_exeext'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; }; then
13636 ac_cv_lib_dl_dlopen
=yes
13638 echo "$as_me: failed program was:" >&5
13639 sed 's/^/| /' conftest.
$ac_ext >&5
13641 ac_cv_lib_dl_dlopen
=no
13643 rm -f conftest.err conftest.
$ac_objext \
13644 conftest
$ac_exeext conftest.
$ac_ext
13645 LIBS
=$ac_check_lib_save_LIBS
13647 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13648 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13649 if test $ac_cv_lib_dl_dlopen = yes; then
13650 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13653 lt_cv_dlopen
="dyld"
13655 lt_cv_dlopen_self
=yes
13662 echo "$as_me:$LINENO: checking for shl_load" >&5
13663 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
13664 if test "${ac_cv_func_shl_load+set}" = set; then
13665 echo $ECHO_N "(cached) $ECHO_C" >&6
13667 cat >conftest.
$ac_ext <<_ACEOF
13670 cat confdefs.h
>>conftest.
$ac_ext
13671 cat >>conftest.
$ac_ext <<_ACEOF
13672 /* end confdefs.h. */
13673 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13675 #define shl_load innocuous_shl_load
13677 /* System header to define __stub macros and hopefully few prototypes,
13678 which can conflict with char shl_load (); below.
13679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13680 <limits.h> exists even on freestanding compilers. */
13683 # include <limits.h>
13685 # include <assert.h>
13690 /* Override any gcc2 internal prototype to avoid an error. */
13695 /* We use char because int might match the return type of a gcc2
13696 builtin and then its argument prototype would still apply. */
13698 /* The GNU C library defines this for functions which it implements
13699 to always fail with ENOSYS. Some functions are actually named
13700 something starting with __ and the normal name is an alias. */
13701 #if defined (__stub_shl_load) || defined (__stub___shl_load)
13704 char (*f) () = shl_load;
13713 return f != shl_load;
13718 rm -f conftest.
$ac_objext conftest
$ac_exeext
13719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13720 (eval $ac_link) 2>conftest.er1
13722 grep -v '^ *+' conftest.er1
>conftest.err
13724 cat conftest.err
>&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } &&
13727 { ac_try
='test -z "$ac_cxx_werror_flag"
13728 || test ! -s conftest.err'
13729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13730 (eval $ac_try) 2>&5
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }; } &&
13734 { ac_try
='test -s conftest$ac_exeext'
13735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13736 (eval $ac_try) 2>&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); }; }; then
13740 ac_cv_func_shl_load
=yes
13742 echo "$as_me: failed program was:" >&5
13743 sed 's/^/| /' conftest.
$ac_ext >&5
13745 ac_cv_func_shl_load
=no
13747 rm -f conftest.err conftest.
$ac_objext \
13748 conftest
$ac_exeext conftest.
$ac_ext
13750 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13751 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
13752 if test $ac_cv_func_shl_load = yes; then
13753 lt_cv_dlopen
="shl_load"
13755 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13756 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
13757 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13758 echo $ECHO_N "(cached) $ECHO_C" >&6
13760 ac_check_lib_save_LIBS
=$LIBS
13762 cat >conftest.
$ac_ext <<_ACEOF
13765 cat confdefs.h
>>conftest.
$ac_ext
13766 cat >>conftest.
$ac_ext <<_ACEOF
13767 /* end confdefs.h. */
13769 /* Override any gcc2 internal prototype to avoid an error. */
13773 /* We use char because int might match the return type of a gcc2
13774 builtin and then its argument prototype would still apply. */
13784 rm -f conftest.
$ac_objext conftest
$ac_exeext
13785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13786 (eval $ac_link) 2>conftest.er1
13788 grep -v '^ *+' conftest.er1
>conftest.err
13790 cat conftest.err
>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); } &&
13793 { ac_try
='test -z "$ac_cxx_werror_flag"
13794 || test ! -s conftest.err'
13795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13796 (eval $ac_try) 2>&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); }; } &&
13800 { ac_try
='test -s conftest$ac_exeext'
13801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13802 (eval $ac_try) 2>&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); }; }; then
13806 ac_cv_lib_dld_shl_load
=yes
13808 echo "$as_me: failed program was:" >&5
13809 sed 's/^/| /' conftest.
$ac_ext >&5
13811 ac_cv_lib_dld_shl_load
=no
13813 rm -f conftest.err conftest.
$ac_objext \
13814 conftest
$ac_exeext conftest.
$ac_ext
13815 LIBS
=$ac_check_lib_save_LIBS
13817 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13818 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
13819 if test $ac_cv_lib_dld_shl_load = yes; then
13820 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
13822 echo "$as_me:$LINENO: checking for dlopen" >&5
13823 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
13824 if test "${ac_cv_func_dlopen+set}" = set; then
13825 echo $ECHO_N "(cached) $ECHO_C" >&6
13827 cat >conftest.
$ac_ext <<_ACEOF
13830 cat confdefs.h
>>conftest.
$ac_ext
13831 cat >>conftest.
$ac_ext <<_ACEOF
13832 /* end confdefs.h. */
13833 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13835 #define dlopen innocuous_dlopen
13837 /* System header to define __stub macros and hopefully few prototypes,
13838 which can conflict with char dlopen (); below.
13839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13840 <limits.h> exists even on freestanding compilers. */
13843 # include <limits.h>
13845 # include <assert.h>
13850 /* Override any gcc2 internal prototype to avoid an error. */
13855 /* We use char because int might match the return type of a gcc2
13856 builtin and then its argument prototype would still apply. */
13858 /* The GNU C library defines this for functions which it implements
13859 to always fail with ENOSYS. Some functions are actually named
13860 something starting with __ and the normal name is an alias. */
13861 #if defined (__stub_dlopen) || defined (__stub___dlopen)
13864 char (*f) () = dlopen;
13873 return f != dlopen;
13878 rm -f conftest.
$ac_objext conftest
$ac_exeext
13879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13880 (eval $ac_link) 2>conftest.er1
13882 grep -v '^ *+' conftest.er1
>conftest.err
13884 cat conftest.err
>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); } &&
13887 { ac_try
='test -z "$ac_cxx_werror_flag"
13888 || test ! -s conftest.err'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; } &&
13894 { ac_try
='test -s conftest$ac_exeext'
13895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13896 (eval $ac_try) 2>&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); }; }; then
13900 ac_cv_func_dlopen
=yes
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.
$ac_ext >&5
13905 ac_cv_func_dlopen
=no
13907 rm -f conftest.err conftest.
$ac_objext \
13908 conftest
$ac_exeext conftest.
$ac_ext
13910 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
13911 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
13912 if test $ac_cv_func_dlopen = yes; then
13913 lt_cv_dlopen
="dlopen"
13915 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13916 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13917 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13918 echo $ECHO_N "(cached) $ECHO_C" >&6
13920 ac_check_lib_save_LIBS
=$LIBS
13922 cat >conftest.
$ac_ext <<_ACEOF
13925 cat confdefs.h
>>conftest.
$ac_ext
13926 cat >>conftest.
$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13929 /* Override any gcc2 internal prototype to avoid an error. */
13933 /* We use char because int might match the return type of a gcc2
13934 builtin and then its argument prototype would still apply. */
13944 rm -f conftest.
$ac_objext conftest
$ac_exeext
13945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13946 (eval $ac_link) 2>conftest.er1
13948 grep -v '^ *+' conftest.er1
>conftest.err
13950 cat conftest.err
>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); } &&
13953 { ac_try
='test -z "$ac_cxx_werror_flag"
13954 || test ! -s conftest.err'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; } &&
13960 { ac_try
='test -s conftest$ac_exeext'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; }; then
13966 ac_cv_lib_dl_dlopen
=yes
13968 echo "$as_me: failed program was:" >&5
13969 sed 's/^/| /' conftest.
$ac_ext >&5
13971 ac_cv_lib_dl_dlopen
=no
13973 rm -f conftest.err conftest.
$ac_objext \
13974 conftest
$ac_exeext conftest.
$ac_ext
13975 LIBS
=$ac_check_lib_save_LIBS
13977 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13978 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13979 if test $ac_cv_lib_dl_dlopen = yes; then
13980 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13982 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
13983 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
13984 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
13985 echo $ECHO_N "(cached) $ECHO_C" >&6
13987 ac_check_lib_save_LIBS
=$LIBS
13988 LIBS
="-lsvld $LIBS"
13989 cat >conftest.
$ac_ext <<_ACEOF
13992 cat confdefs.h
>>conftest.
$ac_ext
13993 cat >>conftest.
$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13996 /* Override any gcc2 internal prototype to avoid an error. */
14000 /* We use char because int might match the return type of a gcc2
14001 builtin and then its argument prototype would still apply. */
14011 rm -f conftest.
$ac_objext conftest
$ac_exeext
14012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14013 (eval $ac_link) 2>conftest.er1
14015 grep -v '^ *+' conftest.er1
>conftest.err
14017 cat conftest.err
>&5
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } &&
14020 { ac_try
='test -z "$ac_cxx_werror_flag"
14021 || test ! -s conftest.err'
14022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14023 (eval $ac_try) 2>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); }; } &&
14027 { ac_try
='test -s conftest$ac_exeext'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; }; then
14033 ac_cv_lib_svld_dlopen
=yes
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.
$ac_ext >&5
14038 ac_cv_lib_svld_dlopen
=no
14040 rm -f conftest.err conftest.
$ac_objext \
14041 conftest
$ac_exeext conftest.
$ac_ext
14042 LIBS
=$ac_check_lib_save_LIBS
14044 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14045 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
14046 if test $ac_cv_lib_svld_dlopen = yes; then
14047 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
14049 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14050 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
14051 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14054 ac_check_lib_save_LIBS
=$LIBS
14056 cat >conftest.
$ac_ext <<_ACEOF
14059 cat confdefs.h
>>conftest.
$ac_ext
14060 cat >>conftest.
$ac_ext <<_ACEOF
14061 /* end confdefs.h. */
14063 /* Override any gcc2 internal prototype to avoid an error. */
14067 /* We use char because int might match the return type of a gcc2
14068 builtin and then its argument prototype would still apply. */
14078 rm -f conftest.
$ac_objext conftest
$ac_exeext
14079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14080 (eval $ac_link) 2>conftest.er1
14082 grep -v '^ *+' conftest.er1
>conftest.err
14084 cat conftest.err
>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } &&
14087 { ac_try
='test -z "$ac_cxx_werror_flag"
14088 || test ! -s conftest.err'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; } &&
14094 { ac_try
='test -s conftest$ac_exeext'
14095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14096 (eval $ac_try) 2>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }; }; then
14100 ac_cv_lib_dld_dld_link
=yes
14102 echo "$as_me: failed program was:" >&5
14103 sed 's/^/| /' conftest.
$ac_ext >&5
14105 ac_cv_lib_dld_dld_link
=no
14107 rm -f conftest.err conftest.
$ac_objext \
14108 conftest
$ac_exeext conftest.
$ac_ext
14109 LIBS
=$ac_check_lib_save_LIBS
14111 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14112 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
14113 if test $ac_cv_lib_dld_dld_link = yes; then
14114 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
14135 if test "x$lt_cv_dlopen" != xno
; then
14141 case $lt_cv_dlopen in
14143 save_CPPFLAGS
="$CPPFLAGS"
14144 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
14146 save_LDFLAGS
="$LDFLAGS"
14147 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
14150 LIBS
="$lt_cv_dlopen_libs $LIBS"
14152 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14153 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
14154 if test "${lt_cv_dlopen_self+set}" = set; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6
14157 if test "$cross_compiling" = yes; then :
14158 lt_cv_dlopen_self
=cross
14160 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14161 lt_status
=$lt_dlunknown
14162 cat > conftest.
$ac_ext <<EOF
14163 #line 14163 "configure"
14164 #include "confdefs.h"
14173 # define LT_DLGLOBAL RTLD_GLOBAL
14176 # define LT_DLGLOBAL DL_GLOBAL
14178 # define LT_DLGLOBAL 0
14182 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14183 find out it does not work in some platform. */
14184 #ifndef LT_DLLAZY_OR_NOW
14186 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14189 # define LT_DLLAZY_OR_NOW DL_LAZY
14192 # define LT_DLLAZY_OR_NOW RTLD_NOW
14195 # define LT_DLLAZY_OR_NOW DL_NOW
14197 # define LT_DLLAZY_OR_NOW 0
14205 extern "C" void exit (int);
14208 void fnord() { int i=42;}
14211 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14212 int status = $lt_dlunknown;
14216 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14217 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14218 /* dlclose (self); */
14224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14225 (eval $ac_link) 2>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14229 (.
/conftest
; exit; ) 2>/dev
/null
14231 case x
$lt_status in
14232 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
14233 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
14234 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
14237 # compilation failed
14238 lt_cv_dlopen_self
=no
14245 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14246 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
14248 if test "x$lt_cv_dlopen_self" = xyes
; then
14249 LDFLAGS
="$LDFLAGS $link_static_flag"
14250 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14251 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
14252 if test "${lt_cv_dlopen_self_static+set}" = set; then
14253 echo $ECHO_N "(cached) $ECHO_C" >&6
14255 if test "$cross_compiling" = yes; then :
14256 lt_cv_dlopen_self_static
=cross
14258 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
14259 lt_status
=$lt_dlunknown
14260 cat > conftest.
$ac_ext <<EOF
14261 #line 14261 "configure"
14262 #include "confdefs.h"
14271 # define LT_DLGLOBAL RTLD_GLOBAL
14274 # define LT_DLGLOBAL DL_GLOBAL
14276 # define LT_DLGLOBAL 0
14280 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14281 find out it does not work in some platform. */
14282 #ifndef LT_DLLAZY_OR_NOW
14284 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14287 # define LT_DLLAZY_OR_NOW DL_LAZY
14290 # define LT_DLLAZY_OR_NOW RTLD_NOW
14293 # define LT_DLLAZY_OR_NOW DL_NOW
14295 # define LT_DLLAZY_OR_NOW 0
14303 extern "C" void exit (int);
14306 void fnord() { int i=42;}
14309 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14310 int status = $lt_dlunknown;
14314 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14315 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14316 /* dlclose (self); */
14322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14323 (eval $ac_link) 2>&5
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
14327 (.
/conftest
; exit; ) 2>/dev
/null
14329 case x
$lt_status in
14330 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
14331 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
14332 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
14335 # compilation failed
14336 lt_cv_dlopen_self_static
=no
14343 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14344 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
14347 CPPFLAGS
="$save_CPPFLAGS"
14348 LDFLAGS
="$save_LDFLAGS"
14353 case $lt_cv_dlopen_self in
14354 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
14355 *) enable_dlopen_self
=unknown
;;
14358 case $lt_cv_dlopen_self_static in
14359 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
14360 *) enable_dlopen_self_static
=unknown
;;
14365 # The else clause should only fire when bootstrapping the
14366 # libtool distribution, otherwise you forgot to ship ltmain.sh
14367 # with your package, and you will get complaints that there are
14368 # no rules to generate ltmain.sh.
14369 if test -f "$ltmain"; then
14370 # See if we are running on zsh, and set the options which allow our commands through
14371 # without removal of \ escapes.
14372 if test -n "${ZSH_VERSION+set}" ; then
14373 setopt NO_GLOB_SUBST
14375 # Now quote all the things that may contain metacharacters while being
14376 # careful not to overquote the AC_SUBSTed values. We take copies of the
14377 # variables and quote the copies for generation of the libtool script.
14378 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
14380 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14381 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14382 deplibs_check_method reload_flag reload_cmds need_locks \
14383 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14384 lt_cv_sys_global_symbol_to_c_name_address \
14385 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14386 old_postinstall_cmds old_postuninstall_cmds \
14390 lt_prog_compiler_wl_CXX \
14391 lt_prog_compiler_pic_CXX \
14392 lt_prog_compiler_static_CXX \
14393 lt_prog_compiler_no_builtin_flag_CXX \
14394 export_dynamic_flag_spec_CXX \
14395 thread_safe_flag_spec_CXX \
14396 whole_archive_flag_spec_CXX \
14397 enable_shared_with_static_runtimes_CXX \
14398 old_archive_cmds_CXX \
14399 old_archive_from_new_cmds_CXX \
14400 predep_objects_CXX \
14401 postdep_objects_CXX \
14404 compiler_lib_search_path_CXX \
14406 archive_expsym_cmds_CXX \
14407 postinstall_cmds_CXX \
14408 postuninstall_cmds_CXX \
14409 old_archive_from_expsyms_cmds_CXX \
14410 allow_undefined_flag_CXX \
14411 no_undefined_flag_CXX \
14412 export_symbols_cmds_CXX \
14413 hardcode_libdir_flag_spec_CXX \
14414 hardcode_libdir_flag_spec_ld_CXX \
14415 hardcode_libdir_separator_CXX \
14416 hardcode_automatic_CXX \
14418 module_expsym_cmds_CXX \
14419 lt_cv_prog_compiler_c_o_CXX \
14420 exclude_expsyms_CXX \
14421 include_expsyms_CXX
; do
14424 old_archive_cmds_CXX | \
14425 old_archive_from_new_cmds_CXX | \
14426 archive_cmds_CXX | \
14427 archive_expsym_cmds_CXX | \
14428 module_cmds_CXX | \
14429 module_expsym_cmds_CXX | \
14430 old_archive_from_expsyms_cmds_CXX | \
14431 export_symbols_cmds_CXX | \
14432 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14433 postinstall_cmds | postuninstall_cmds | \
14434 old_postinstall_cmds | old_postuninstall_cmds | \
14435 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
14436 # Double-quote double-evaled strings.
14437 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14440 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14446 *'\$0 --fallback-echo"')
14447 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14453 cat <<__EOF__ >> "$cfgfile"
14454 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14456 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14458 # Shell to use when invoking shell scripts.
14461 # Whether or not to build shared libraries.
14462 build_libtool_libs=$enable_shared
14464 # Whether or not to build static libraries.
14465 build_old_libs=$enable_static
14467 # Whether or not to add -lc for building shared libraries.
14468 build_libtool_need_lc=$archive_cmds_need_lc_CXX
14470 # Whether or not to disallow shared libs when runtime libs are static
14471 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14473 # Whether or not to optimize for fast installation.
14474 fast_install=$enable_fast_install
14477 host_alias=$host_alias
14481 # The build system.
14482 build_alias=$build_alias
14486 # An echo program that does not interpret backslashes.
14491 AR_FLAGS=$lt_AR_FLAGS
14496 # A language-specific compiler.
14497 CC=$lt_compiler_CXX
14499 # Is the compiler the GNU C compiler?
14505 # The linker used to build libraries.
14508 # Whether we need hard or soft links.
14511 # A BSD-compatible nm program.
14514 # A symbol stripping program
14517 # Used to examine libraries when file_magic_cmd begins "file"
14518 MAGIC_CMD=$MAGIC_CMD
14520 # Used on cygwin: DLL creation program.
14523 # Used on cygwin: object dumper.
14526 # Used on cygwin: assembler.
14529 # The name of the directory that contains temporary libtool files.
14532 # How to create reloadable object files.
14533 reload_flag=$lt_reload_flag
14534 reload_cmds=$lt_reload_cmds
14536 # How to pass a linker flag through the compiler.
14537 wl=$lt_lt_prog_compiler_wl_CXX
14539 # Object file suffix (normally "o").
14540 objext="$ac_objext"
14542 # Old archive suffix (normally "a").
14545 # Shared library suffix (normally ".so").
14546 shrext_cmds='$shrext_cmds'
14548 # Executable file suffix (normally "").
14551 # Additional compiler flags for building library objects.
14552 pic_flag=$lt_lt_prog_compiler_pic_CXX
14555 # What is the maximum length of a command?
14556 max_cmd_len=$lt_cv_sys_max_cmd_len
14558 # Does compiler simultaneously support -c and -o options?
14559 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14561 # Must we lock files when doing compilation ?
14562 need_locks=$lt_need_locks
14564 # Do we need the lib prefix for modules?
14565 need_lib_prefix=$need_lib_prefix
14567 # Do we need a version for libraries?
14568 need_version=$need_version
14570 # Whether dlopen is supported.
14571 dlopen_support=$enable_dlopen
14573 # Whether dlopen of programs is supported.
14574 dlopen_self=$enable_dlopen_self
14576 # Whether dlopen of statically linked programs is supported.
14577 dlopen_self_static=$enable_dlopen_self_static
14579 # Compiler flag to prevent dynamic linking.
14580 link_static_flag=$lt_lt_prog_compiler_static_CXX
14582 # Compiler flag to turn off builtin functions.
14583 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14585 # Compiler flag to allow reflexive dlopens.
14586 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14588 # Compiler flag to generate shared objects directly from archives.
14589 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14591 # Compiler flag to generate thread-safe objects.
14592 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14594 # Library versioning type.
14595 version_type=$version_type
14597 # Format of library name prefix.
14598 libname_spec=$lt_libname_spec
14600 # List of archive names. First name is the real one, the rest are links.
14601 # The last name is the one that the linker finds with -lNAME.
14602 library_names_spec=$lt_library_names_spec
14604 # The coded name of the library, if different from the real name.
14605 soname_spec=$lt_soname_spec
14607 # Commands used to build and install an old-style archive.
14609 old_archive_cmds=$lt_old_archive_cmds_CXX
14610 old_postinstall_cmds=$lt_old_postinstall_cmds
14611 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14613 # Create an old-style archive from a shared archive.
14614 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14616 # Create a temporary old-style archive to link instead of a shared archive.
14617 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14619 # Commands used to build and install a shared archive.
14620 archive_cmds=$lt_archive_cmds_CXX
14621 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14622 postinstall_cmds=$lt_postinstall_cmds
14623 postuninstall_cmds=$lt_postuninstall_cmds
14625 # Commands used to build a loadable module (assumed same as above if empty)
14626 module_cmds=$lt_module_cmds_CXX
14627 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14629 # Commands to strip libraries.
14630 old_striplib=$lt_old_striplib
14631 striplib=$lt_striplib
14633 # Dependencies to place before the objects being linked to create a
14635 predep_objects=$lt_predep_objects_CXX
14637 # Dependencies to place after the objects being linked to create a
14639 postdep_objects=$lt_postdep_objects_CXX
14641 # Dependencies to place before the objects being linked to create a
14643 predeps=$lt_predeps_CXX
14645 # Dependencies to place after the objects being linked to create a
14647 postdeps=$lt_postdeps_CXX
14649 # The library search path used internally by the compiler when linking
14650 # a shared library.
14651 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14653 # Method to check whether dependent libraries are shared objects.
14654 deplibs_check_method=$lt_deplibs_check_method
14656 # Command to use when deplibs_check_method == file_magic.
14657 file_magic_cmd=$lt_file_magic_cmd
14659 # Flag that allows shared libraries with undefined symbols to be built.
14660 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14662 # Flag that forces no undefined symbols.
14663 no_undefined_flag=$lt_no_undefined_flag_CXX
14665 # Commands used to finish a libtool library installation in a directory.
14666 finish_cmds=$lt_finish_cmds
14668 # Same as above, but a single script fragment to be evaled but not shown.
14669 finish_eval=$lt_finish_eval
14671 # Take the output of nm and produce a listing of raw symbols and C names.
14672 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14674 # Transform the output of nm in a proper C declaration
14675 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14677 # Transform the output of nm in a C name address pair
14678 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14680 # This is the shared library runtime path variable.
14681 runpath_var=$runpath_var
14683 # This is the shared library path variable.
14684 shlibpath_var=$shlibpath_var
14686 # Is shlibpath searched before the hard-coded library search path?
14687 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14689 # How to hardcode a shared library path into an executable.
14690 hardcode_action=$hardcode_action_CXX
14692 # Whether we should hardcode library paths into libraries.
14693 hardcode_into_libs=$hardcode_into_libs
14695 # Flag to hardcode \$libdir into a binary during linking.
14696 # This must work even if \$libdir does not exist.
14697 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14699 # If ld is used when linking, flag to hardcode \$libdir into
14700 # a binary during linking. This must work even if \$libdir does
14702 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14704 # Whether we need a single -rpath flag with a separated argument.
14705 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14707 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14708 # resulting binary.
14709 hardcode_direct=$hardcode_direct_CXX
14711 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14712 # resulting binary.
14713 hardcode_minus_L=$hardcode_minus_L_CXX
14715 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14716 # the resulting binary.
14717 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14719 # Set to yes if building a shared library automatically hardcodes DIR into the library
14720 # and all subsequent libraries and executables linked against it.
14721 hardcode_automatic=$hardcode_automatic_CXX
14723 # Variables whose values should be saved in libtool wrapper scripts and
14724 # restored at relink time.
14725 variables_saved_for_relink="$variables_saved_for_relink"
14727 # Whether libtool must link a program against all its dependency libraries.
14728 link_all_deplibs=$link_all_deplibs_CXX
14730 # Compile-time system search path for libraries
14731 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14733 # Run-time system search path for libraries
14734 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14736 # Fix the shell variable \$srcfile for the compiler.
14737 fix_srcfile_path="$fix_srcfile_path_CXX"
14739 # Set to yes if exported symbols are required.
14740 always_export_symbols=$always_export_symbols_CXX
14742 # The commands to list exported symbols.
14743 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14745 # The commands to extract the exported symbol list from a shared archive.
14746 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14748 # Symbols that should not be listed in the preloaded symbols.
14749 exclude_expsyms=$lt_exclude_expsyms_CXX
14751 # Symbols that must always be exported.
14752 include_expsyms=$lt_include_expsyms_CXX
14754 # ### END LIBTOOL TAG CONFIG: $tagname
14760 # If there is no Makefile yet, we rely on a make rule to execute
14761 # `config.status --recheck' to rerun these tests and create the
14762 # libtool script then.
14763 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14764 if test -f "$ltmain_in"; then
14765 test -f Makefile
&& make "$ltmain"
14771 ac_cpp
='$CPP $CPPFLAGS'
14772 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14773 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14774 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14780 with_gnu_ldcxx
=$with_gnu_ld
14781 with_gnu_ld
=$lt_save_with_gnu_ld
14782 lt_cv_path_LDCXX
=$lt_cv_path_LD
14783 lt_cv_path_LD
=$lt_save_path_LD
14784 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14785 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14793 if test -n "$F77" && test "X$F77" != "Xno"; then
14796 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14797 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14798 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14801 archive_cmds_need_lc_F77
=no
14802 allow_undefined_flag_F77
=
14803 always_export_symbols_F77
=no
14804 archive_expsym_cmds_F77
=
14805 export_dynamic_flag_spec_F77
=
14806 hardcode_direct_F77
=no
14807 hardcode_libdir_flag_spec_F77
=
14808 hardcode_libdir_flag_spec_ld_F77
=
14809 hardcode_libdir_separator_F77
=
14810 hardcode_minus_L_F77
=no
14811 hardcode_automatic_F77
=no
14813 module_expsym_cmds_F77
=
14814 link_all_deplibs_F77
=unknown
14815 old_archive_cmds_F77
=$old_archive_cmds
14816 no_undefined_flag_F77
=
14817 whole_archive_flag_spec_F77
=
14818 enable_shared_with_static_runtimes_F77
=no
14820 # Source file extension for f77 test sources.
14823 # Object file extension for compiled f77 test sources.
14827 # Code to be used in simple compile tests
14828 lt_simple_compile_test_code
=" subroutine t\n return\n end\n"
14830 # Code to be used in simple link tests
14831 lt_simple_link_test_code
=" program t\n end\n"
14833 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14835 # If no C compiler was specified, use CC.
14838 # Allow CC to be a program name with arguments.
14842 # Allow CC to be a program name with arguments.
14847 cc_basename
=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
14849 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14850 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
14851 echo "$as_me:$LINENO: result: $can_build_shared" >&5
14852 echo "${ECHO_T}$can_build_shared" >&6
14854 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14855 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
14856 test "$can_build_shared" = "no" && enable_shared
=no
14858 # On AIX, shared libraries and static libraries use the same namespace, and
14859 # are all built from PIC.
14862 test "$enable_shared" = yes && enable_static
=no
14863 if test -n "$RANLIB"; then
14864 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14865 postinstall_cmds
='$RANLIB $lib'
14869 test "$enable_shared" = yes && enable_static
=no
14872 echo "$as_me:$LINENO: result: $enable_shared" >&5
14873 echo "${ECHO_T}$enable_shared" >&6
14875 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14876 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
14877 # Make sure either enable_shared or enable_static is yes.
14878 test "$enable_shared" = yes || enable_static
=yes
14879 echo "$as_me:$LINENO: result: $enable_static" >&5
14880 echo "${ECHO_T}$enable_static" >&6
14882 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
14887 lt_prog_compiler_wl_F77
=
14888 lt_prog_compiler_pic_F77
=
14889 lt_prog_compiler_static_F77
=
14891 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14892 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14894 if test "$GCC" = yes; then
14895 lt_prog_compiler_wl_F77
='-Wl,'
14896 lt_prog_compiler_static_F77
='-static'
14900 # All AIX code is PIC.
14901 if test "$host_cpu" = ia64
; then
14902 # AIX 5 now supports IA64 processor
14903 lt_prog_compiler_static_F77
='-Bstatic'
14908 # FIXME: we need at least 68020 code to build shared libraries, but
14909 # adding the `-m68020' flag to GCC prevents building anything better,
14911 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14914 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14915 # PIC is the default for these OSes.
14918 mingw
* | pw32
* | os2
*)
14919 # This hack is so that the source file can tell whether it is being
14920 # built for inclusion in a dll (and should export symbols for example).
14921 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14924 darwin
* | rhapsody
*)
14925 # PIC is the default on this platform
14926 # Common symbols not allowed in MH_DYLIB files
14927 lt_prog_compiler_pic_F77
='-fno-common'
14931 # Just because we use GCC doesn't mean we suddenly get shared libraries
14932 # on systems that don't support them.
14933 lt_prog_compiler_can_build_shared_F77
=no
14938 if test -d /usr
/nec
; then
14939 lt_prog_compiler_pic_F77
=-Kconform_pic
14944 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14945 # not for PA HP-UX.
14946 case "$host_cpu" in
14951 lt_prog_compiler_pic_F77
='-fPIC'
14957 lt_prog_compiler_pic_F77
='-fPIC'
14961 # PORTME Check for flag to pass linker flags through the system compiler.
14964 lt_prog_compiler_wl_F77
='-Wl,'
14965 if test "$host_cpu" = ia64
; then
14966 # AIX 5 now supports IA64 processor
14967 lt_prog_compiler_static_F77
='-Bstatic'
14969 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14973 # PIC is the default on this platform
14974 # Common symbols not allowed in MH_DYLIB files
14975 case "$cc_basename" in
14977 lt_prog_compiler_pic_F77
='-qnocommon'
14978 lt_prog_compiler_wl_F77
='-Wl,'
14983 mingw
* | pw32
* | os2
*)
14984 # This hack is so that the source file can tell whether it is being
14985 # built for inclusion in a dll (and should export symbols for example).
14986 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14989 hpux9
* | hpux10
* | hpux11
*)
14990 lt_prog_compiler_wl_F77
='-Wl,'
14991 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14992 # not for PA HP-UX.
14993 case "$host_cpu" in
14998 lt_prog_compiler_pic_F77
='+Z'
15001 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15002 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
15005 irix5
* | irix6
* | nonstopux
*)
15006 lt_prog_compiler_wl_F77
='-Wl,'
15007 # PIC (with -KPIC) is the default.
15008 lt_prog_compiler_static_F77
='-non_shared'
15012 lt_prog_compiler_pic_F77
='-KPIC'
15013 lt_prog_compiler_static_F77
='-Bstatic'
15017 case $cc_basename in
15019 lt_prog_compiler_wl_F77
='-Wl,'
15020 lt_prog_compiler_pic_F77
='-KPIC'
15021 lt_prog_compiler_static_F77
='-static'
15023 pgcc | pgf77 | pgf90
)
15024 # Portland Group compilers (*not* the Pentium gcc compiler,
15025 # which looks to be a dead project)
15026 lt_prog_compiler_wl_F77
='-Wl,'
15027 lt_prog_compiler_pic_F77
='-fpic'
15028 lt_prog_compiler_static_F77
='-static'
15031 lt_prog_compiler_wl_F77
='-Wl,'
15032 # All Alpha code is PIC.
15033 lt_prog_compiler_static_F77
='-non_shared'
15036 lt_prog_compiler_wl_F77
='-lopt='
15041 osf3
* | osf4
* | osf5
*)
15042 lt_prog_compiler_wl_F77
='-Wl,'
15043 # All OSF/1 code is PIC.
15044 lt_prog_compiler_static_F77
='-non_shared'
15048 lt_prog_compiler_pic_F77
='-Kpic'
15049 lt_prog_compiler_static_F77
='-dn'
15053 lt_prog_compiler_wl_F77
='-Wl,'
15054 lt_prog_compiler_pic_F77
='-KPIC'
15055 lt_prog_compiler_static_F77
='-Bstatic'
15059 lt_prog_compiler_wl_F77
='-Qoption ld '
15060 lt_prog_compiler_pic_F77
='-PIC'
15061 lt_prog_compiler_static_F77
='-Bstatic'
15064 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15065 lt_prog_compiler_wl_F77
='-Wl,'
15066 lt_prog_compiler_pic_F77
='-KPIC'
15067 lt_prog_compiler_static_F77
='-Bstatic'
15071 if test -d /usr
/nec
;then
15072 lt_prog_compiler_pic_F77
='-Kconform_pic'
15073 lt_prog_compiler_static_F77
='-Bstatic'
15078 lt_prog_compiler_wl_F77
='-Wl,'
15079 lt_prog_compiler_can_build_shared_F77
=no
15083 lt_prog_compiler_pic_F77
='-pic'
15084 lt_prog_compiler_static_F77
='-Bstatic'
15088 lt_prog_compiler_can_build_shared_F77
=no
15093 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15094 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
15097 # Check to make sure the PIC flag actually works.
15099 if test -n "$lt_prog_compiler_pic_F77"; then
15101 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15102 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
15103 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15106 lt_prog_compiler_pic_works_F77
=no
15107 ac_outfile
=conftest.
$ac_objext
15108 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15109 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
15110 # Insert the option either (1) after the last *FLAGS variable, or
15111 # (2) before a word containing "conftest.", or (3) at the end.
15112 # Note that $ac_compile itself does not contain backslashes and begins
15113 # with a dollar sign (not a hyphen), so the echo should work correctly.
15114 # The option is referenced via a variable to avoid confusing sed.
15115 lt_compile
=`echo "$ac_compile" | $SED \
15116 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15117 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15118 -e 's:$: $lt_compiler_flag:'`
15119 (eval echo "\"\$as_me:15119: $lt_compile\"" >&5)
15120 (eval "$lt_compile" 2>conftest.err
)
15122 cat conftest.err
>&5
15123 echo "$as_me:15123: \$? = $ac_status" >&5
15124 if (exit $ac_status) && test -s "$ac_outfile"; then
15125 # The compiler can only warn and ignore the option if not recognized
15126 # So say no if there are warnings
15127 if test ! -s conftest.err
; then
15128 lt_prog_compiler_pic_works_F77
=yes
15134 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
15135 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
15137 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
15138 case $lt_prog_compiler_pic_F77 in
15140 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
15143 lt_prog_compiler_pic_F77
=
15144 lt_prog_compiler_can_build_shared_F77
=no
15149 # For platforms which do not support PIC, -DPIC is meaningless:
15151 lt_prog_compiler_pic_F77
=
15154 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
15158 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15159 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15160 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 lt_cv_prog_compiler_c_o_F77
=no
15164 $rm -r conftest
2>/dev
/null
15168 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
15170 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15171 # Insert the option either (1) after the last *FLAGS variable, or
15172 # (2) before a word containing "conftest.", or (3) at the end.
15173 # Note that $ac_compile itself does not contain backslashes and begins
15174 # with a dollar sign (not a hyphen), so the echo should work correctly.
15175 lt_compile
=`echo "$ac_compile" | $SED \
15176 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15177 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15178 -e 's:$: $lt_compiler_flag:'`
15179 (eval echo "\"\$as_me:15179: $lt_compile\"" >&5)
15180 (eval "$lt_compile" 2>out
/conftest.err
)
15182 cat out
/conftest.err
>&5
15183 echo "$as_me:15183: \$? = $ac_status" >&5
15184 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15186 # The compiler can only warn and ignore the option if not recognized
15187 # So say no if there are warnings
15188 if test ! -s out
/conftest.err
; then
15189 lt_cv_prog_compiler_c_o_F77
=yes
15194 # SGI C++ compiler will create directory out/ii_files/ for
15195 # template instantiation
15196 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
15197 $rm out
/* && rmdir out
15203 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15204 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
15207 hard_links
="nottested"
15208 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
15209 # do not overwrite the value of need_locks provided by the user
15210 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15211 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15214 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15216 ln conftest.a conftest.b
2>&5 || hard_links
=no
15217 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15218 echo "$as_me:$LINENO: result: $hard_links" >&5
15219 echo "${ECHO_T}$hard_links" >&6
15220 if test "$hard_links" = no
; then
15221 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15222 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15229 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15230 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15233 allow_undefined_flag_F77
=
15234 enable_shared_with_static_runtimes_F77
=no
15236 archive_expsym_cmds_F77
=
15237 old_archive_From_new_cmds_F77
=
15238 old_archive_from_expsyms_cmds_F77
=
15239 export_dynamic_flag_spec_F77
=
15240 whole_archive_flag_spec_F77
=
15241 thread_safe_flag_spec_F77
=
15242 hardcode_libdir_flag_spec_F77
=
15243 hardcode_libdir_flag_spec_ld_F77
=
15244 hardcode_libdir_separator_F77
=
15245 hardcode_direct_F77
=no
15246 hardcode_minus_L_F77
=no
15247 hardcode_shlibpath_var_F77
=unsupported
15248 link_all_deplibs_F77
=unknown
15249 hardcode_automatic_F77
=no
15251 module_expsym_cmds_F77
=
15252 always_export_symbols_F77
=no
15253 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15254 # include_expsyms should be a list of space-separated symbols to be *always*
15255 # included in the symbol list
15256 include_expsyms_F77
=
15257 # exclude_expsyms can be an extended regexp of symbols to exclude
15258 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15259 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15260 # as well as any symbol that contains `d'.
15261 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
15262 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15263 # platforms (ab)use it in PIC code, but their linkers get confused if
15264 # the symbol is explicitly referenced. Since portable code cannot
15265 # rely on this symbol name, it's probably fine to never include it in
15266 # preloaded symbol tables.
15267 extract_expsyms_cmds
=
15270 cygwin
* | mingw
* | pw32
*)
15271 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15272 # When not using gcc, we currently assume that we are using
15273 # Microsoft Visual C++.
15274 if test "$GCC" != yes; then
15284 if test "$with_gnu_ld" = yes; then
15285 # If archive_cmds runs LD, not CC, wlarc should be empty
15288 # See if GNU ld supports shared libraries.
15290 aix3
* | aix4
* | aix5
*)
15291 # On AIX/PPC, the GNU linker is very broken
15292 if test "$host_cpu" != ia64
; then
15296 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15297 *** to be unable to reliably create shared libraries on AIX.
15298 *** Therefore, libtool is disabling shared libraries support. If you
15299 *** really care for shared libraries, you may want to modify your PATH
15300 *** so that a non-GNU linker is found, and then restart.
15307 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15308 hardcode_libdir_flag_spec_F77
='-L$libdir'
15309 hardcode_minus_L_F77
=yes
15311 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15312 # that the semantics of dynamic libraries on AmigaOS, at least up
15313 # to version 4, is to share data among multiple programs linked
15314 # with the same dynamic library. Since this doesn't match the
15315 # behavior of shared libraries on other platforms, we can't use
15321 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15322 allow_undefined_flag_F77
=unsupported
15323 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15324 # support --undefined. This deserves some investigation. FIXME
15325 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15331 cygwin
* | mingw
* | pw32
*)
15332 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15333 # as there is no search path for DLLs.
15334 hardcode_libdir_flag_spec_F77
='-L$libdir'
15335 allow_undefined_flag_F77
=unsupported
15336 always_export_symbols_F77
=no
15337 enable_shared_with_static_runtimes_F77
=yes
15338 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15340 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
15341 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15342 # If the export-symbols file already is a .def file (1st line
15343 # is EXPORTS), use it as is; otherwise, prepend...
15344 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15345 cp $export_symbols $output_objdir/$soname.def;
15347 echo EXPORTS > $output_objdir/$soname.def;
15348 cat $export_symbols >> $output_objdir/$soname.def;
15350 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15357 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15358 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15361 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15362 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15367 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15371 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15372 *** create shared libraries on Solaris systems. Therefore, libtool
15373 *** is disabling shared libraries support. We urge you to upgrade GNU
15374 *** binutils to release 2.9.1 or newer. Another option is to modify
15375 *** your PATH or compiler configuration so that the native linker is
15376 *** used, and then restart.
15379 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15380 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15381 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15388 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15390 hardcode_direct_F77
=yes
15391 hardcode_shlibpath_var_F77
=no
15395 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15397 case $CC,$host_cpu in
15398 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
15399 tmp_addflag
=' -fpic' ;;
15400 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
15401 tmp_addflag
=' -i_dynamic' ;;
15402 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
15403 tmp_addflag
=' -i_dynamic -nofor_main' ;;
15404 ifc
* | ifort
*) # Intel Fortran compiler
15405 tmp_addflag
=' -nofor_main' ;;
15407 archive_cmds_F77
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15408 supports_anon_versioning
=no
15409 case `$LD -v 2>/dev/null` in
15410 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
15411 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
15412 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
15413 *\
2.11.
*) ;; # other 2.11 versions
15414 *) supports_anon_versioning
=yes ;;
15416 if test $supports_anon_versioning = yes; then
15417 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
15418 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15419 $echo "local: *; };" >> $output_objdir/$libname.ver~
15420 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15422 archive_expsym_cmds_F77
=$archive_cmds_F77
15430 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15431 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15432 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15439 if test "$ld_shlibs_F77" = yes; then
15440 runpath_var
=LD_RUN_PATH
15441 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
15442 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
15443 # ancient GNU ld didn't support --whole-archive et. al.
15444 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
15445 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15447 whole_archive_flag_spec_F77
=
15451 # PORTME fill in a description of your system's linker (not GNU ld)
15454 allow_undefined_flag_F77
=unsupported
15455 always_export_symbols_F77
=yes
15456 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15457 # Note: this linker hardcodes the directories in LIBPATH if there
15458 # are no directories specified by -L.
15459 hardcode_minus_L_F77
=yes
15460 if test "$GCC" = yes && test -z "$link_static_flag"; then
15461 # Neither direct hardcoding nor static linking is supported with a
15463 hardcode_direct_F77
=unsupported
15468 if test "$host_cpu" = ia64
; then
15469 # On IA64, the linker does run time linking by default, so we don't
15470 # have to do anything special.
15471 aix_use_runtimelinking
=no
15472 exp_sym_flag
='-Bexport'
15475 # If we're using GNU nm, then we don't want the "-C" option.
15476 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15477 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15478 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15480 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15482 aix_use_runtimelinking
=no
15484 # Test if we are trying to use run time linking or normal
15485 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15486 # need to do runtime linking.
15487 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15488 for ld_flag
in $LDFLAGS; do
15489 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15490 aix_use_runtimelinking
=yes
15496 exp_sym_flag
='-bexport'
15497 no_entry_flag
='-bnoentry'
15500 # When large executables or shared objects are built, AIX ld can
15501 # have problems creating the table of contents. If linking a library
15502 # or program results in "error TOC overflow" add -mminimal-toc to
15503 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15504 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15506 archive_cmds_F77
=''
15507 hardcode_direct_F77
=yes
15508 hardcode_libdir_separator_F77
=':'
15509 link_all_deplibs_F77
=yes
15511 if test "$GCC" = yes; then
15512 case $host_os in aix4.
[012]|aix4.
[012].
*)
15513 # We only want to do this on AIX 4.2 and lower, the check
15514 # below for broken collect2 doesn't work under 4.3+
15515 collect2name
=`${CC} -print-prog-name=collect2`
15516 if test -f "$collect2name" && \
15517 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15519 # We have reworked collect2
15520 hardcode_direct_F77
=yes
15522 # We have old collect2
15523 hardcode_direct_F77
=unsupported
15524 # It fails to find uninstalled libraries when the uninstalled
15525 # path is not listed in the libpath. Setting hardcode_minus_L
15526 # to unsupported forces relinking
15527 hardcode_minus_L_F77
=yes
15528 hardcode_libdir_flag_spec_F77
='-L$libdir'
15529 hardcode_libdir_separator_F77
=
15532 shared_flag
='-shared'
15533 if test "$aix_use_runtimelinking" = yes; then
15534 shared_flag
="$shared_flag "'${wl}-G'
15538 if test "$host_cpu" = ia64
; then
15539 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15540 # chokes on -Wl,-G. The following line is correct:
15543 if test "$aix_use_runtimelinking" = yes; then
15544 shared_flag
='${wl}-G'
15546 shared_flag
='${wl}-bM:SRE'
15551 # It seems that -bexpall does not export symbols beginning with
15552 # underscore (_), so it is better to generate a list of symbols to export.
15553 always_export_symbols_F77
=yes
15554 if test "$aix_use_runtimelinking" = yes; then
15555 # Warning - without using the other runtime loading flags (-brtl),
15556 # -berok will link without error, but may produce a broken library.
15557 allow_undefined_flag_F77
='-berok'
15558 # Determine the default libpath from the value encoded in an empty executable.
15559 cat >conftest.
$ac_ext <<_ACEOF
15564 rm -f conftest.
$ac_objext conftest
$ac_exeext
15565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15566 (eval $ac_link) 2>conftest.er1
15568 grep -v '^ *+' conftest.er1
>conftest.err
15570 cat conftest.err
>&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } &&
15573 { ac_try
='test -z "$ac_f77_werror_flag"
15574 || test ! -s conftest.err'
15575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15576 (eval $ac_try) 2>&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); }; } &&
15580 { ac_try
='test -s conftest$ac_exeext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15587 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15589 # Check for a 64-bit object if we didn't find anything.
15590 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.
$ac_ext >&5
15597 rm -f conftest.err conftest.
$ac_objext \
15598 conftest
$ac_exeext conftest.
$ac_ext
15599 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15601 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15602 archive_expsym_cmds_F77
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15604 if test "$host_cpu" = ia64; then
15605 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr
/lib
:/lib
'
15606 allow_undefined_flag_F77="-z nodefs"
15607 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
15609 # Determine the default libpath from the value encoded in an empty executable.
15610 cat >conftest.$ac_ext <<_ACEOF
15615 rm -f conftest.$ac_objext conftest$ac_exeext
15616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15617 (eval $ac_link) 2>conftest.er1
15619 grep -v '^ *+' conftest.er1 >conftest.err
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15623 (exit $ac_status); } &&
15624 { ac_try='test -z "$ac_f77_werror_flag"
15625 || test ! -s conftest.err'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15630 (exit $ac_status); }; } &&
15631 { ac_try='test -s conftest$ac_exeext'
15632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15633 (eval $ac_try) 2>&5
15635 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15636 (exit $ac_status); }; }; then
15638 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15640 # Check for a 64-bit object if we didn't find anything.
15641 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15644 echo "$as_me: failed program was
:" >&5
15645 sed 's/^/| /' conftest.$ac_ext >&5
15648 rm -f conftest.err conftest.$ac_objext \
15649 conftest$ac_exeext conftest.$ac_ext
15650 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
15652 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15653 # Warning - without using the other run time loading flags,
15654 # -berok will link without error, but may produce a broken library.
15655 no_undefined_flag_F77=' ${wl}-bernotok'
15656 allow_undefined_flag_F77=' ${wl}-berok'
15657 # -bexpall does not export symbols beginning with underscore (_)
15658 always_export_symbols_F77=yes
15659 # Exported symbols can be pulled into shared objects from archives
15660 whole_archive_flag_spec_F77=' '
15661 archive_cmds_need_lc_F77=yes
15662 # This is similar to how AIX traditionally builds it's shared libraries.
15663 archive_expsym_cmds_F77="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15669 archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15670 hardcode_libdir_flag_spec_F77
='-L$libdir'
15671 hardcode_minus_L_F77
=yes
15672 # see comment about different semantics on the GNU ld section
15677 export_dynamic_flag_spec_F77
=-rdynamic
15680 cygwin
* | mingw
* | pw32
*)
15681 # When not using gcc, we currently assume that we are using
15682 # Microsoft Visual C++.
15683 # hardcode_libdir_flag_spec is actually meaningless, as there is
15684 # no search path for DLLs.
15685 hardcode_libdir_flag_spec_F77
=' '
15686 allow_undefined_flag_F77
=unsupported
15687 # Tell ltmain to make .lib files, not .a files.
15689 # Tell ltmain to make .dll files, not .so files.
15691 # FIXME: Setting linknames here is a bad hack.
15692 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15693 # The linker will automatically build a .lib file if we build a DLL.
15694 old_archive_From_new_cmds_F77
='true'
15695 # FIXME: Should let the user specify the lib program.
15696 old_archive_cmds_F77
='lib /OUT:$oldlib$oldobjs$old_deplibs'
15697 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15698 enable_shared_with_static_runtimes_F77
=yes
15701 darwin
* | rhapsody
*)
15703 rhapsody
* | darwin1.
[012])
15704 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15707 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15708 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15710 case ${MACOSX_DEPLOYMENT_TARGET} in
15712 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15715 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15721 archive_cmds_need_lc_F77
=no
15722 hardcode_direct_F77
=no
15723 hardcode_automatic_F77
=yes
15724 hardcode_shlibpath_var_F77
=unsupported
15725 whole_archive_flag_spec_F77
=''
15726 link_all_deplibs_F77
=yes
15727 if test "$GCC" = yes ; then
15728 output_verbose_link_cmd
='echo'
15729 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15730 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15731 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15732 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15733 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15735 case "$cc_basename" in
15737 output_verbose_link_cmd
='echo'
15738 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
15739 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15740 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15741 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15742 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15752 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15753 hardcode_libdir_flag_spec_F77
='-L$libdir'
15754 hardcode_shlibpath_var_F77
=no
15761 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15762 # support. Future versions do this automatically, but an explicit c++rt0.o
15763 # does not break anything, and helps significantly (at the cost of a little
15766 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15767 hardcode_libdir_flag_spec_F77
='-R$libdir'
15768 hardcode_direct_F77
=yes
15769 hardcode_shlibpath_var_F77
=no
15772 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15774 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15775 hardcode_direct_F77
=yes
15776 hardcode_minus_L_F77
=yes
15777 hardcode_shlibpath_var_F77
=no
15780 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15781 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
15782 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15783 hardcode_libdir_flag_spec_F77
='-R$libdir'
15784 hardcode_direct_F77
=yes
15785 hardcode_shlibpath_var_F77
=no
15789 if test "$GCC" = yes; then
15790 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15792 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15794 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15795 hardcode_libdir_separator_F77
=:
15796 hardcode_direct_F77
=yes
15798 # hardcode_minus_L: Not really in the search PATH,
15799 # but as the default location of the library.
15800 hardcode_minus_L_F77
=yes
15801 export_dynamic_flag_spec_F77
='${wl}-E'
15805 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15806 case "$host_cpu" in
15808 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15811 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15815 case "$host_cpu" in
15817 archive_cmds_F77
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15820 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15824 if test "$with_gnu_ld" = no
; then
15825 case "$host_cpu" in
15827 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15828 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15829 hardcode_libdir_separator_F77
=:
15830 hardcode_direct_F77
=no
15831 hardcode_shlibpath_var_F77
=no
15834 hardcode_libdir_flag_spec_F77
='-L$libdir'
15835 hardcode_direct_F77
=no
15836 hardcode_shlibpath_var_F77
=no
15838 # hardcode_minus_L: Not really in the search PATH,
15839 # but as the default location of the library.
15840 hardcode_minus_L_F77
=yes
15843 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15844 hardcode_libdir_separator_F77
=:
15845 hardcode_direct_F77
=yes
15846 export_dynamic_flag_spec_F77
='${wl}-E'
15848 # hardcode_minus_L: Not really in the search PATH,
15849 # but as the default location of the library.
15850 hardcode_minus_L_F77
=yes
15856 irix5
* | irix6
* | nonstopux
*)
15857 if test "$GCC" = yes; then
15858 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15860 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15861 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15863 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15864 hardcode_libdir_separator_F77
=:
15865 link_all_deplibs_F77
=yes
15869 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15870 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15872 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15874 hardcode_libdir_flag_spec_F77
='-R$libdir'
15875 hardcode_direct_F77
=yes
15876 hardcode_shlibpath_var_F77
=no
15880 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15881 hardcode_direct_F77
=yes
15882 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15883 hardcode_libdir_separator_F77
=:
15884 hardcode_shlibpath_var_F77
=no
15888 hardcode_direct_F77
=yes
15889 hardcode_shlibpath_var_F77
=no
15890 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15891 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15892 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15893 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15894 export_dynamic_flag_spec_F77
='${wl}-E'
15897 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15898 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15899 hardcode_libdir_flag_spec_F77
='-R$libdir'
15902 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15903 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15910 hardcode_libdir_flag_spec_F77
='-L$libdir'
15911 hardcode_minus_L_F77
=yes
15912 allow_undefined_flag_F77
=unsupported
15913 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15914 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15918 if test "$GCC" = yes; then
15919 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15920 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15922 allow_undefined_flag_F77
=' -expect_unresolved \*'
15923 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15925 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15926 hardcode_libdir_separator_F77
=:
15929 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15930 if test "$GCC" = yes; then
15931 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15932 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15933 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15935 allow_undefined_flag_F77
=' -expect_unresolved \*'
15936 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15937 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15938 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
15940 # Both c and cxx compiler support -rpath directly
15941 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15943 hardcode_libdir_separator_F77
=:
15947 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15948 hardcode_shlibpath_var_F77
=no
15949 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15950 runpath_var
=LD_RUN_PATH
15951 hardcode_runpath_var
=yes
15955 no_undefined_flag_F77
=' -z text'
15956 if test "$GCC" = yes; then
15957 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15958 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15959 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15961 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15962 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15963 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15965 hardcode_libdir_flag_spec_F77
='-R$libdir'
15966 hardcode_shlibpath_var_F77
=no
15968 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15969 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
15970 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
15972 link_all_deplibs_F77
=yes
15976 if test "x$host_vendor" = xsequent
; then
15977 # Use $CC to link under sequent, because it throws in some extra .o
15978 # files that make .init and .fini sections work.
15979 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15981 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15983 hardcode_libdir_flag_spec_F77
='-L$libdir'
15984 hardcode_direct_F77
=yes
15985 hardcode_minus_L_F77
=yes
15986 hardcode_shlibpath_var_F77
=no
15990 case $host_vendor in
15992 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15993 hardcode_direct_F77
=yes # is this really true???
15996 ## LD is ld it makes a PLAMLIB
15997 ## CC just makes a GrossModule.
15998 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15999 reload_cmds_F77
='$CC -r -o $output$reload_objs'
16000 hardcode_direct_F77
=no
16003 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16004 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
16007 runpath_var
='LD_RUN_PATH'
16008 hardcode_shlibpath_var_F77
=no
16012 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16013 hardcode_shlibpath_var_F77
=no
16014 export_dynamic_flag_spec_F77
='-Bexport'
16018 if test -d /usr
/nec
; then
16019 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16020 hardcode_shlibpath_var_F77
=no
16021 runpath_var
=LD_RUN_PATH
16022 hardcode_runpath_var
=yes
16028 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16029 hardcode_direct_F77
=yes
16030 hardcode_minus_L_F77
=no
16031 hardcode_shlibpath_var_F77
=no
16032 hardcode_runpath_var
=yes
16033 runpath_var
=LD_RUN_PATH
16036 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
16037 no_undefined_flag_F77
='${wl}-z ${wl}text'
16038 if test "$GCC" = yes; then
16039 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16041 archive_cmds_F77
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16043 runpath_var
='LD_RUN_PATH'
16044 hardcode_shlibpath_var_F77
=no
16048 no_undefined_flag_F77
=' -z text'
16049 # $CC -shared without GNU ld will not create a library from C++
16050 # object files and a static libstdc++, better avoid it by now
16051 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16052 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16053 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16054 hardcode_libdir_flag_spec_F77
=
16055 hardcode_shlibpath_var_F77
=no
16056 runpath_var
='LD_RUN_PATH'
16060 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16061 hardcode_libdir_flag_spec_F77
='-L$libdir'
16062 hardcode_shlibpath_var_F77
=no
16071 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16072 echo "${ECHO_T}$ld_shlibs_F77" >&6
16073 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
16075 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16076 if test "$GCC" = yes; then
16077 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16081 # Do we need to explicitly link libc?
16083 case "x$archive_cmds_need_lc_F77" in
16085 # Assume -lc should be added
16086 archive_cmds_need_lc_F77
=yes
16088 if test "$enable_shared" = yes && test "$GCC" = yes; then
16089 case $archive_cmds_F77 in
16091 # FIXME: we may have to deal with multi-command sequences.
16094 # Test whether the compiler implicitly links with -lc since on some
16095 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16096 # to ld, don't add -lc before -lgcc.
16097 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16098 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16100 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
16102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16103 (eval $ac_compile) 2>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } 2>conftest.err
; then
16109 libobjs
=conftest.
$ac_objext
16111 wl
=$lt_prog_compiler_wl_F77
16117 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
16118 allow_undefined_flag_F77
=
16119 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16120 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); }
16125 archive_cmds_need_lc_F77
=no
16127 archive_cmds_need_lc_F77
=yes
16129 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
16131 cat conftest.err
1>&5
16134 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16135 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
16142 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16143 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16144 library_names_spec
=
16145 libname_spec
='lib$name'
16149 postuninstall_cmds
=
16153 shlibpath_overrides_runpath
=unknown
16155 dynamic_linker
="$host_os ld.so"
16156 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16157 if test "$GCC" = yes; then
16158 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16159 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
16160 # if the path contains ";" then we assume it to be the separator
16161 # otherwise default to the standard path separator (i.e. ":") - it is
16162 # assumed that no part of a normal pathname contains ";" but that should
16163 # okay in the real world where ";" in dirpaths is itself problematic.
16164 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16166 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16169 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
16171 need_lib_prefix
=unknown
16172 hardcode_into_libs
=no
16174 # when you set need_version to no, make sure it does not cause -set_version
16175 # flags to be left without arguments
16176 need_version
=unknown
16181 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16182 shlibpath_var
=LIBPATH
16184 # AIX 3 has no versioning support, so we append a major version to the name.
16185 soname_spec
='${libname}${release}${shared_ext}$major'
16192 hardcode_into_libs
=yes
16193 if test "$host_cpu" = ia64
; then
16194 # AIX 5 supports IA64
16195 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16196 shlibpath_var
=LD_LIBRARY_PATH
16198 # With GCC up to 2.95.x, collect2 would create an import file
16199 # for dependence libraries. The import file would start with
16200 # the line `#! .'. This would cause the generated library to
16201 # depend on `.', always an invalid library. This was fixed in
16202 # development snapshots of GCC prior to 3.0.
16204 aix4 | aix4.
[01] | aix4.
[01].
*)
16205 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16207 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
16210 can_build_shared
=no
16214 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16215 # soname into executable. Probably we can add versioning support to
16216 # collect2, so additional links can be useful in future.
16217 if test "$aix_use_runtimelinking" = yes; then
16218 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16219 # instead of lib<name>.a to let people know that these are not
16220 # typical AIX shared libraries.
16221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16223 # We preserve .a as extension for shared libraries through AIX4.2
16224 # and later when we are not doing run time linking.
16225 library_names_spec
='${libname}${release}.a $libname.a'
16226 soname_spec
='${libname}${release}${shared_ext}$major'
16228 shlibpath_var
=LIBPATH
16233 library_names_spec
='$libname.ixlibrary $libname.a'
16234 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16235 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16239 library_names_spec
='${libname}${shared_ext}'
16240 dynamic_linker
="$host_os ld.so"
16241 shlibpath_var
=LIBRARY_PATH
16247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16248 soname_spec
='${libname}${release}${shared_ext}$major'
16249 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16250 shlibpath_var
=LD_LIBRARY_PATH
16251 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16252 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16253 # the default ld.so.conf also contains /usr/contrib/lib and
16254 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16255 # libtool to hard-code these into programs
16258 cygwin
* | mingw
* | pw32
*)
16259 version_type
=windows
16264 case $GCC,$host_os in
16265 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
16266 library_names_spec
='$libname.dll.a'
16267 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16268 postinstall_cmds
='base_file=`basename \${file}`~
16269 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16270 dldir=$destdir/`dirname \$dlpath`~
16271 test -d \$dldir || mkdir -p \$dldir~
16272 $install_prog $dir/$dlname \$dldir/$dlname'
16273 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16274 dlpath=$dir/\$dldll~
16276 shlibpath_overrides_runpath
=yes
16280 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16281 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16282 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
16285 # MinGW DLLs use traditional 'lib' prefix
16286 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16287 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16288 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
16289 # It is most probably a Windows format PATH printed by
16290 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16291 # path with ; separators, and with drive letters. We can handle the
16292 # drive letters (cygwin fileutils understands them), so leave them,
16293 # especially as we might pass files found there to a mingw objdump,
16294 # which wouldn't understand a cygwinified path. Ahh.
16295 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16297 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16301 # pw32 DLLs use 'pw' prefix rather than 'lib'
16302 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16308 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16311 dynamic_linker
='Win32 ld.exe'
16312 # FIXME: first we should search . and the directory the executable is in
16316 darwin
* | rhapsody
*)
16317 dynamic_linker
="$host_os dyld"
16318 version_type
=darwin
16321 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16322 soname_spec
='${libname}${release}${major}$shared_ext'
16323 shlibpath_overrides_runpath
=yes
16324 shlibpath_var
=DYLD_LIBRARY_PATH
16325 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
16326 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16327 if test "$GCC" = yes; then
16328 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16330 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
16332 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16340 soname_spec
='${libname}${release}${shared_ext}$major'
16341 shlibpath_var
=LD_LIBRARY_PATH
16352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16353 soname_spec
='${libname}${release}${shared_ext}$major'
16354 shlibpath_var
=LD_LIBRARY_PATH
16355 shlibpath_overrides_runpath
=no
16356 hardcode_into_libs
=yes
16357 dynamic_linker
='GNU ld.so'
16360 freebsd
* | dragonfly
*)
16361 # DragonFly does not have aout. When/if they implement a new
16362 # versioning mechanism, adjust this.
16363 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16364 version_type
=freebsd-
$objformat
16365 case $version_type in
16367 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16372 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16376 shlibpath_var
=LD_LIBRARY_PATH
16379 shlibpath_overrides_runpath
=yes
16381 freebsd3.
[01]* | freebsdelf3.
[01]*)
16382 shlibpath_overrides_runpath
=yes
16383 hardcode_into_libs
=yes
16386 shlibpath_overrides_runpath
=no
16387 hardcode_into_libs
=yes
16396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16397 soname_spec
='${libname}${release}${shared_ext}$major'
16398 shlibpath_var
=LD_LIBRARY_PATH
16399 hardcode_into_libs
=yes
16402 hpux9
* | hpux10
* | hpux11
*)
16403 # Give a soname corresponding to the major version so that dld.sl refuses to
16404 # link against other versions.
16408 case "$host_cpu" in
16411 hardcode_into_libs
=yes
16412 dynamic_linker
="$host_os dld.so"
16413 shlibpath_var
=LD_LIBRARY_PATH
16414 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16416 soname_spec
='${libname}${release}${shared_ext}$major'
16417 if test "X$HPUX_IA64_MODE" = X32
; then
16418 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16420 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16422 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16426 hardcode_into_libs
=yes
16427 dynamic_linker
="$host_os dld.sl"
16428 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16429 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16430 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16431 soname_spec
='${libname}${release}${shared_ext}$major'
16432 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16433 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16437 dynamic_linker
="$host_os dld.sl"
16438 shlibpath_var
=SHLIB_PATH
16439 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16441 soname_spec
='${libname}${release}${shared_ext}$major'
16444 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16445 postinstall_cmds
='chmod 555 $lib'
16448 irix5
* | irix6
* | nonstopux
*)
16450 nonstopux
*) version_type
=nonstopux
;;
16452 if test "$lt_cv_prog_gnu_ld" = yes; then
16460 soname_spec
='${libname}${release}${shared_ext}$major'
16461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16463 irix5
* | nonstopux
*)
16464 libsuff
= shlibsuff
=
16467 case $LD in # libtool.m4 will add one of these switches to LD
16468 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16469 libsuff
= shlibsuff
= libmagic
=32-bit;;
16470 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16471 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16472 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16473 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16474 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16478 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16479 shlibpath_overrides_runpath
=no
16480 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16481 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16482 hardcode_into_libs
=yes
16485 # No shared lib support for Linux oldld, aout, or coff.
16486 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16490 # This must be Linux ELF.
16495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16496 soname_spec
='${libname}${release}${shared_ext}$major'
16497 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16498 shlibpath_var
=LD_LIBRARY_PATH
16499 shlibpath_overrides_runpath
=no
16500 # This implies no fast_install, which is unacceptable.
16501 # Some rework will be needed to allow for fast_install
16502 # before this can be enabled.
16503 hardcode_into_libs
=yes
16505 # Append ld.so.conf contents to the search path
16506 if test -f /etc
/ld.so.conf
; then
16507 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16508 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16511 # We used to test for /lib/ld.so.1 and disable shared libraries on
16512 # powerpc, because MkLinux only supported shared libraries with the
16513 # GNU dynamic linker. Since this was broken with cross compilers,
16514 # most powerpc-linux boxes support dynamic linking these days and
16515 # people can always --disable-shared, the test was removed, and we
16516 # assume the GNU/Linux dynamic linker is in use.
16517 dynamic_linker
='GNU/Linux ld.so'
16524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16525 soname_spec
='${libname}${release}${shared_ext}$major'
16526 shlibpath_var
=LD_LIBRARY_PATH
16527 shlibpath_overrides_runpath
=no
16528 hardcode_into_libs
=yes
16529 dynamic_linker
='GNU ld.so'
16536 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16538 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16539 dynamic_linker
='NetBSD (a.out) ld.so'
16541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16542 soname_spec
='${libname}${release}${shared_ext}$major'
16543 dynamic_linker
='NetBSD ld.elf_so'
16545 shlibpath_var
=LD_LIBRARY_PATH
16546 shlibpath_overrides_runpath
=yes
16547 hardcode_into_libs
=yes
16552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16553 shlibpath_var
=LD_LIBRARY_PATH
16554 shlibpath_overrides_runpath
=yes
16561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16562 soname_spec
='${libname}${release}${shared_ext}$major'
16563 shlibpath_var
=LD_LIBRARY_PATH
16564 shlibpath_overrides_runpath
=yes
16571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16572 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16573 shlibpath_var
=LD_LIBRARY_PATH
16574 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16576 openbsd2.
[89] | openbsd2.
[89].
*)
16577 shlibpath_overrides_runpath
=no
16580 shlibpath_overrides_runpath
=yes
16584 shlibpath_overrides_runpath
=yes
16589 libname_spec
='$name'
16592 library_names_spec
='$libname${shared_ext} $libname.a'
16593 dynamic_linker
='OS/2 ld.exe'
16594 shlibpath_var
=LIBPATH
16597 osf3
* | osf4
* | osf5
*)
16601 soname_spec
='${libname}${release}${shared_ext}$major'
16602 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16603 shlibpath_var
=LD_LIBRARY_PATH
16604 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16605 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16610 soname_spec
='${libname}${release}${shared_ext}$major'
16611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16612 shlibpath_var
=LD_LIBRARY_PATH
16619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16620 soname_spec
='${libname}${release}${shared_ext}$major'
16621 shlibpath_var
=LD_LIBRARY_PATH
16622 shlibpath_overrides_runpath
=yes
16623 hardcode_into_libs
=yes
16624 # ldd complains unless libraries are executable
16625 postinstall_cmds
='chmod +x $lib'
16630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16631 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16632 shlibpath_var
=LD_LIBRARY_PATH
16633 shlibpath_overrides_runpath
=yes
16634 if test "$with_gnu_ld" = yes; then
16640 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
16642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16643 soname_spec
='${libname}${release}${shared_ext}$major'
16644 shlibpath_var
=LD_LIBRARY_PATH
16645 case $host_vendor in
16647 shlibpath_overrides_runpath
=no
16649 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16650 runpath_var
=LD_RUN_PATH
16658 shlibpath_overrides_runpath
=no
16659 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16665 if test -d /usr
/nec
;then
16667 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16668 soname_spec
='$libname${shared_ext}.$major'
16669 shlibpath_var
=LD_LIBRARY_PATH
16675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16676 soname_spec
='${libname}${release}${shared_ext}$major'
16677 shlibpath_var
=LD_LIBRARY_PATH
16684 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16685 echo "${ECHO_T}$dynamic_linker" >&6
16686 test "$dynamic_linker" = no
&& can_build_shared
=no
16688 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16689 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16690 hardcode_action_F77
=
16691 if test -n "$hardcode_libdir_flag_spec_F77" || \
16692 test -n "$runpath_var_F77" || \
16693 test "X$hardcode_automatic_F77" = "Xyes" ; then
16695 # We can hardcode non-existant directories.
16696 if test "$hardcode_direct_F77" != no
&&
16697 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16698 # have to relink, otherwise we might link with an installed library
16699 # when we should be linking with a yet-to-be-installed one
16700 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16701 test "$hardcode_minus_L_F77" != no
; then
16702 # Linking always hardcodes the temporary library directory.
16703 hardcode_action_F77
=relink
16705 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16706 hardcode_action_F77
=immediate
16709 # We cannot hardcode anything, or else we can only hardcode existing
16711 hardcode_action_F77
=unsupported
16713 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16714 echo "${ECHO_T}$hardcode_action_F77" >&6
16716 if test "$hardcode_action_F77" = relink
; then
16717 # Fast installation is not supported
16718 enable_fast_install
=no
16719 elif test "$shlibpath_overrides_runpath" = yes ||
16720 test "$enable_shared" = no
; then
16721 # Fast installation is not necessary
16722 enable_fast_install
=needless
16727 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16728 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16729 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
16730 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
16731 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
16732 echo "$as_me:$LINENO: result: yes" >&5
16733 echo "${ECHO_T}yes" >&6
16735 # FIXME - insert some real tests, host_os isn't really good enough
16738 if test -n "$STRIP" ; then
16739 striplib
="$STRIP -x"
16740 echo "$as_me:$LINENO: result: yes" >&5
16741 echo "${ECHO_T}yes" >&6
16743 echo "$as_me:$LINENO: result: no" >&5
16744 echo "${ECHO_T}no" >&6
16748 echo "$as_me:$LINENO: result: no" >&5
16749 echo "${ECHO_T}no" >&6
16756 # The else clause should only fire when bootstrapping the
16757 # libtool distribution, otherwise you forgot to ship ltmain.sh
16758 # with your package, and you will get complaints that there are
16759 # no rules to generate ltmain.sh.
16760 if test -f "$ltmain"; then
16761 # See if we are running on zsh, and set the options which allow our commands through
16762 # without removal of \ escapes.
16763 if test -n "${ZSH_VERSION+set}" ; then
16764 setopt NO_GLOB_SUBST
16766 # Now quote all the things that may contain metacharacters while being
16767 # careful not to overquote the AC_SUBSTed values. We take copies of the
16768 # variables and quote the copies for generation of the libtool script.
16769 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
16771 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16772 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16773 deplibs_check_method reload_flag reload_cmds need_locks \
16774 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16775 lt_cv_sys_global_symbol_to_c_name_address \
16776 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16777 old_postinstall_cmds old_postuninstall_cmds \
16781 lt_prog_compiler_wl_F77 \
16782 lt_prog_compiler_pic_F77 \
16783 lt_prog_compiler_static_F77 \
16784 lt_prog_compiler_no_builtin_flag_F77 \
16785 export_dynamic_flag_spec_F77 \
16786 thread_safe_flag_spec_F77 \
16787 whole_archive_flag_spec_F77 \
16788 enable_shared_with_static_runtimes_F77 \
16789 old_archive_cmds_F77 \
16790 old_archive_from_new_cmds_F77 \
16791 predep_objects_F77 \
16792 postdep_objects_F77 \
16795 compiler_lib_search_path_F77 \
16797 archive_expsym_cmds_F77 \
16798 postinstall_cmds_F77 \
16799 postuninstall_cmds_F77 \
16800 old_archive_from_expsyms_cmds_F77 \
16801 allow_undefined_flag_F77 \
16802 no_undefined_flag_F77 \
16803 export_symbols_cmds_F77 \
16804 hardcode_libdir_flag_spec_F77 \
16805 hardcode_libdir_flag_spec_ld_F77 \
16806 hardcode_libdir_separator_F77 \
16807 hardcode_automatic_F77 \
16809 module_expsym_cmds_F77 \
16810 lt_cv_prog_compiler_c_o_F77 \
16811 exclude_expsyms_F77 \
16812 include_expsyms_F77
; do
16815 old_archive_cmds_F77 | \
16816 old_archive_from_new_cmds_F77 | \
16817 archive_cmds_F77 | \
16818 archive_expsym_cmds_F77 | \
16819 module_cmds_F77 | \
16820 module_expsym_cmds_F77 | \
16821 old_archive_from_expsyms_cmds_F77 | \
16822 export_symbols_cmds_F77 | \
16823 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16824 postinstall_cmds | postuninstall_cmds | \
16825 old_postinstall_cmds | old_postuninstall_cmds | \
16826 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16827 # Double-quote double-evaled strings.
16828 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16831 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16837 *'\$0 --fallback-echo"')
16838 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16844 cat <<__EOF__ >> "$cfgfile"
16845 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16847 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16849 # Shell to use when invoking shell scripts.
16852 # Whether or not to build shared libraries.
16853 build_libtool_libs=$enable_shared
16855 # Whether or not to build static libraries.
16856 build_old_libs=$enable_static
16858 # Whether or not to add -lc for building shared libraries.
16859 build_libtool_need_lc=$archive_cmds_need_lc_F77
16861 # Whether or not to disallow shared libs when runtime libs are static
16862 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16864 # Whether or not to optimize for fast installation.
16865 fast_install=$enable_fast_install
16868 host_alias=$host_alias
16872 # The build system.
16873 build_alias=$build_alias
16877 # An echo program that does not interpret backslashes.
16882 AR_FLAGS=$lt_AR_FLAGS
16887 # A language-specific compiler.
16888 CC=$lt_compiler_F77
16890 # Is the compiler the GNU C compiler?
16896 # The linker used to build libraries.
16899 # Whether we need hard or soft links.
16902 # A BSD-compatible nm program.
16905 # A symbol stripping program
16908 # Used to examine libraries when file_magic_cmd begins "file"
16909 MAGIC_CMD=$MAGIC_CMD
16911 # Used on cygwin: DLL creation program.
16914 # Used on cygwin: object dumper.
16917 # Used on cygwin: assembler.
16920 # The name of the directory that contains temporary libtool files.
16923 # How to create reloadable object files.
16924 reload_flag=$lt_reload_flag
16925 reload_cmds=$lt_reload_cmds
16927 # How to pass a linker flag through the compiler.
16928 wl=$lt_lt_prog_compiler_wl_F77
16930 # Object file suffix (normally "o").
16931 objext="$ac_objext"
16933 # Old archive suffix (normally "a").
16936 # Shared library suffix (normally ".so").
16937 shrext_cmds='$shrext_cmds'
16939 # Executable file suffix (normally "").
16942 # Additional compiler flags for building library objects.
16943 pic_flag=$lt_lt_prog_compiler_pic_F77
16946 # What is the maximum length of a command?
16947 max_cmd_len=$lt_cv_sys_max_cmd_len
16949 # Does compiler simultaneously support -c and -o options?
16950 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16952 # Must we lock files when doing compilation ?
16953 need_locks=$lt_need_locks
16955 # Do we need the lib prefix for modules?
16956 need_lib_prefix=$need_lib_prefix
16958 # Do we need a version for libraries?
16959 need_version=$need_version
16961 # Whether dlopen is supported.
16962 dlopen_support=$enable_dlopen
16964 # Whether dlopen of programs is supported.
16965 dlopen_self=$enable_dlopen_self
16967 # Whether dlopen of statically linked programs is supported.
16968 dlopen_self_static=$enable_dlopen_self_static
16970 # Compiler flag to prevent dynamic linking.
16971 link_static_flag=$lt_lt_prog_compiler_static_F77
16973 # Compiler flag to turn off builtin functions.
16974 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16976 # Compiler flag to allow reflexive dlopens.
16977 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16979 # Compiler flag to generate shared objects directly from archives.
16980 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16982 # Compiler flag to generate thread-safe objects.
16983 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16985 # Library versioning type.
16986 version_type=$version_type
16988 # Format of library name prefix.
16989 libname_spec=$lt_libname_spec
16991 # List of archive names. First name is the real one, the rest are links.
16992 # The last name is the one that the linker finds with -lNAME.
16993 library_names_spec=$lt_library_names_spec
16995 # The coded name of the library, if different from the real name.
16996 soname_spec=$lt_soname_spec
16998 # Commands used to build and install an old-style archive.
17000 old_archive_cmds=$lt_old_archive_cmds_F77
17001 old_postinstall_cmds=$lt_old_postinstall_cmds
17002 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17004 # Create an old-style archive from a shared archive.
17005 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17007 # Create a temporary old-style archive to link instead of a shared archive.
17008 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17010 # Commands used to build and install a shared archive.
17011 archive_cmds=$lt_archive_cmds_F77
17012 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17013 postinstall_cmds=$lt_postinstall_cmds
17014 postuninstall_cmds=$lt_postuninstall_cmds
17016 # Commands used to build a loadable module (assumed same as above if empty)
17017 module_cmds=$lt_module_cmds_F77
17018 module_expsym_cmds=$lt_module_expsym_cmds_F77
17020 # Commands to strip libraries.
17021 old_striplib=$lt_old_striplib
17022 striplib=$lt_striplib
17024 # Dependencies to place before the objects being linked to create a
17026 predep_objects=$lt_predep_objects_F77
17028 # Dependencies to place after the objects being linked to create a
17030 postdep_objects=$lt_postdep_objects_F77
17032 # Dependencies to place before the objects being linked to create a
17034 predeps=$lt_predeps_F77
17036 # Dependencies to place after the objects being linked to create a
17038 postdeps=$lt_postdeps_F77
17040 # The library search path used internally by the compiler when linking
17041 # a shared library.
17042 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17044 # Method to check whether dependent libraries are shared objects.
17045 deplibs_check_method=$lt_deplibs_check_method
17047 # Command to use when deplibs_check_method == file_magic.
17048 file_magic_cmd=$lt_file_magic_cmd
17050 # Flag that allows shared libraries with undefined symbols to be built.
17051 allow_undefined_flag=$lt_allow_undefined_flag_F77
17053 # Flag that forces no undefined symbols.
17054 no_undefined_flag=$lt_no_undefined_flag_F77
17056 # Commands used to finish a libtool library installation in a directory.
17057 finish_cmds=$lt_finish_cmds
17059 # Same as above, but a single script fragment to be evaled but not shown.
17060 finish_eval=$lt_finish_eval
17062 # Take the output of nm and produce a listing of raw symbols and C names.
17063 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17065 # Transform the output of nm in a proper C declaration
17066 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17068 # Transform the output of nm in a C name address pair
17069 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17071 # This is the shared library runtime path variable.
17072 runpath_var=$runpath_var
17074 # This is the shared library path variable.
17075 shlibpath_var=$shlibpath_var
17077 # Is shlibpath searched before the hard-coded library search path?
17078 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17080 # How to hardcode a shared library path into an executable.
17081 hardcode_action=$hardcode_action_F77
17083 # Whether we should hardcode library paths into libraries.
17084 hardcode_into_libs=$hardcode_into_libs
17086 # Flag to hardcode \$libdir into a binary during linking.
17087 # This must work even if \$libdir does not exist.
17088 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17090 # If ld is used when linking, flag to hardcode \$libdir into
17091 # a binary during linking. This must work even if \$libdir does
17093 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17095 # Whether we need a single -rpath flag with a separated argument.
17096 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17098 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17099 # resulting binary.
17100 hardcode_direct=$hardcode_direct_F77
17102 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17103 # resulting binary.
17104 hardcode_minus_L=$hardcode_minus_L_F77
17106 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17107 # the resulting binary.
17108 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17110 # Set to yes if building a shared library automatically hardcodes DIR into the library
17111 # and all subsequent libraries and executables linked against it.
17112 hardcode_automatic=$hardcode_automatic_F77
17114 # Variables whose values should be saved in libtool wrapper scripts and
17115 # restored at relink time.
17116 variables_saved_for_relink="$variables_saved_for_relink"
17118 # Whether libtool must link a program against all its dependency libraries.
17119 link_all_deplibs=$link_all_deplibs_F77
17121 # Compile-time system search path for libraries
17122 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17124 # Run-time system search path for libraries
17125 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17127 # Fix the shell variable \$srcfile for the compiler.
17128 fix_srcfile_path="$fix_srcfile_path_F77"
17130 # Set to yes if exported symbols are required.
17131 always_export_symbols=$always_export_symbols_F77
17133 # The commands to list exported symbols.
17134 export_symbols_cmds=$lt_export_symbols_cmds_F77
17136 # The commands to extract the exported symbol list from a shared archive.
17137 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17139 # Symbols that should not be listed in the preloaded symbols.
17140 exclude_expsyms=$lt_exclude_expsyms_F77
17142 # Symbols that must always be exported.
17143 include_expsyms=$lt_include_expsyms_F77
17145 # ### END LIBTOOL TAG CONFIG: $tagname
17151 # If there is no Makefile yet, we rely on a make rule to execute
17152 # `config.status --recheck' to rerun these tests and create the
17153 # libtool script then.
17154 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17155 if test -f "$ltmain_in"; then
17156 test -f Makefile
&& make "$ltmain"
17162 ac_cpp
='$CPP $CPPFLAGS'
17163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17175 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17179 # Source file extension for Java test sources.
17182 # Object file extension for compiled Java test sources.
17186 # Code to be used in simple compile tests
17187 lt_simple_compile_test_code
="class foo {}\n"
17189 # Code to be used in simple link tests
17190 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }\n'
17192 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17194 # If no C compiler was specified, use CC.
17197 # Allow CC to be a program name with arguments.
17201 # Allow CC to be a program name with arguments.
17207 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17208 archive_cmds_need_lc_GCJ
=no
17211 ## There is no encapsulation within the following macros, do not change
17212 ## the running order or otherwise move them around unless you know exactly
17213 ## what you are doing...
17215 lt_prog_compiler_no_builtin_flag_GCJ
=
17217 if test "$GCC" = yes; then
17218 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
17221 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17222 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
17223 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 lt_cv_prog_compiler_rtti_exceptions
=no
17227 ac_outfile
=conftest.
$ac_objext
17228 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17229 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17230 # Insert the option either (1) after the last *FLAGS variable, or
17231 # (2) before a word containing "conftest.", or (3) at the end.
17232 # Note that $ac_compile itself does not contain backslashes and begins
17233 # with a dollar sign (not a hyphen), so the echo should work correctly.
17234 # The option is referenced via a variable to avoid confusing sed.
17235 lt_compile
=`echo "$ac_compile" | $SED \
17236 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17237 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17238 -e 's:$: $lt_compiler_flag:'`
17239 (eval echo "\"\$as_me:17239: $lt_compile\"" >&5)
17240 (eval "$lt_compile" 2>conftest.err
)
17242 cat conftest.err
>&5
17243 echo "$as_me:17243: \$? = $ac_status" >&5
17244 if (exit $ac_status) && test -s "$ac_outfile"; then
17245 # The compiler can only warn and ignore the option if not recognized
17246 # So say no if there are warnings
17247 if test ! -s conftest.err
; then
17248 lt_cv_prog_compiler_rtti_exceptions
=yes
17254 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17255 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
17257 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17258 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17265 lt_prog_compiler_wl_GCJ
=
17266 lt_prog_compiler_pic_GCJ
=
17267 lt_prog_compiler_static_GCJ
=
17269 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17270 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
17272 if test "$GCC" = yes; then
17273 lt_prog_compiler_wl_GCJ
='-Wl,'
17274 lt_prog_compiler_static_GCJ
='-static'
17278 # All AIX code is PIC.
17279 if test "$host_cpu" = ia64
; then
17280 # AIX 5 now supports IA64 processor
17281 lt_prog_compiler_static_GCJ
='-Bstatic'
17286 # FIXME: we need at least 68020 code to build shared libraries, but
17287 # adding the `-m68020' flag to GCC prevents building anything better,
17289 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17292 beos
* | cygwin
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17293 # PIC is the default for these OSes.
17296 mingw
* | pw32
* | os2
*)
17297 # This hack is so that the source file can tell whether it is being
17298 # built for inclusion in a dll (and should export symbols for example).
17299 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17302 darwin
* | rhapsody
*)
17303 # PIC is the default on this platform
17304 # Common symbols not allowed in MH_DYLIB files
17305 lt_prog_compiler_pic_GCJ
='-fno-common'
17309 # Just because we use GCC doesn't mean we suddenly get shared libraries
17310 # on systems that don't support them.
17311 lt_prog_compiler_can_build_shared_GCJ
=no
17316 if test -d /usr
/nec
; then
17317 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17322 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17323 # not for PA HP-UX.
17324 case "$host_cpu" in
17329 lt_prog_compiler_pic_GCJ
='-fPIC'
17335 lt_prog_compiler_pic_GCJ
='-fPIC'
17339 # PORTME Check for flag to pass linker flags through the system compiler.
17342 lt_prog_compiler_wl_GCJ
='-Wl,'
17343 if test "$host_cpu" = ia64
; then
17344 # AIX 5 now supports IA64 processor
17345 lt_prog_compiler_static_GCJ
='-Bstatic'
17347 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17351 # PIC is the default on this platform
17352 # Common symbols not allowed in MH_DYLIB files
17353 case "$cc_basename" in
17355 lt_prog_compiler_pic_GCJ
='-qnocommon'
17356 lt_prog_compiler_wl_GCJ
='-Wl,'
17361 mingw
* | pw32
* | os2
*)
17362 # This hack is so that the source file can tell whether it is being
17363 # built for inclusion in a dll (and should export symbols for example).
17364 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
17367 hpux9
* | hpux10
* | hpux11
*)
17368 lt_prog_compiler_wl_GCJ
='-Wl,'
17369 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17370 # not for PA HP-UX.
17371 case "$host_cpu" in
17376 lt_prog_compiler_pic_GCJ
='+Z'
17379 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17380 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17383 irix5
* | irix6
* | nonstopux
*)
17384 lt_prog_compiler_wl_GCJ
='-Wl,'
17385 # PIC (with -KPIC) is the default.
17386 lt_prog_compiler_static_GCJ
='-non_shared'
17390 lt_prog_compiler_pic_GCJ
='-KPIC'
17391 lt_prog_compiler_static_GCJ
='-Bstatic'
17395 case $cc_basename in
17397 lt_prog_compiler_wl_GCJ
='-Wl,'
17398 lt_prog_compiler_pic_GCJ
='-KPIC'
17399 lt_prog_compiler_static_GCJ
='-static'
17401 pgcc | pgf77 | pgf90
)
17402 # Portland Group compilers (*not* the Pentium gcc compiler,
17403 # which looks to be a dead project)
17404 lt_prog_compiler_wl_GCJ
='-Wl,'
17405 lt_prog_compiler_pic_GCJ
='-fpic'
17406 lt_prog_compiler_static_GCJ
='-static'
17409 lt_prog_compiler_wl_GCJ
='-Wl,'
17410 # All Alpha code is PIC.
17411 lt_prog_compiler_static_GCJ
='-non_shared'
17414 lt_prog_compiler_wl_GCJ
='-lopt='
17419 osf3
* | osf4
* | osf5
*)
17420 lt_prog_compiler_wl_GCJ
='-Wl,'
17421 # All OSF/1 code is PIC.
17422 lt_prog_compiler_static_GCJ
='-non_shared'
17426 lt_prog_compiler_pic_GCJ
='-Kpic'
17427 lt_prog_compiler_static_GCJ
='-dn'
17431 lt_prog_compiler_wl_GCJ
='-Wl,'
17432 lt_prog_compiler_pic_GCJ
='-KPIC'
17433 lt_prog_compiler_static_GCJ
='-Bstatic'
17437 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17438 lt_prog_compiler_pic_GCJ
='-PIC'
17439 lt_prog_compiler_static_GCJ
='-Bstatic'
17442 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17443 lt_prog_compiler_wl_GCJ
='-Wl,'
17444 lt_prog_compiler_pic_GCJ
='-KPIC'
17445 lt_prog_compiler_static_GCJ
='-Bstatic'
17449 if test -d /usr
/nec
;then
17450 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17451 lt_prog_compiler_static_GCJ
='-Bstatic'
17456 lt_prog_compiler_wl_GCJ
='-Wl,'
17457 lt_prog_compiler_can_build_shared_GCJ
=no
17461 lt_prog_compiler_pic_GCJ
='-pic'
17462 lt_prog_compiler_static_GCJ
='-Bstatic'
17466 lt_prog_compiler_can_build_shared_GCJ
=no
17471 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17472 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
17475 # Check to make sure the PIC flag actually works.
17477 if test -n "$lt_prog_compiler_pic_GCJ"; then
17479 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17480 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
17481 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17484 lt_prog_compiler_pic_works_GCJ
=no
17485 ac_outfile
=conftest.
$ac_objext
17486 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17487 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17488 # Insert the option either (1) after the last *FLAGS variable, or
17489 # (2) before a word containing "conftest.", or (3) at the end.
17490 # Note that $ac_compile itself does not contain backslashes and begins
17491 # with a dollar sign (not a hyphen), so the echo should work correctly.
17492 # The option is referenced via a variable to avoid confusing sed.
17493 lt_compile
=`echo "$ac_compile" | $SED \
17494 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17495 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17496 -e 's:$: $lt_compiler_flag:'`
17497 (eval echo "\"\$as_me:17497: $lt_compile\"" >&5)
17498 (eval "$lt_compile" 2>conftest.err
)
17500 cat conftest.err
>&5
17501 echo "$as_me:17501: \$? = $ac_status" >&5
17502 if (exit $ac_status) && test -s "$ac_outfile"; then
17503 # The compiler can only warn and ignore the option if not recognized
17504 # So say no if there are warnings
17505 if test ! -s conftest.err
; then
17506 lt_prog_compiler_pic_works_GCJ
=yes
17512 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17513 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
17515 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
17516 case $lt_prog_compiler_pic_GCJ in
17518 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17521 lt_prog_compiler_pic_GCJ
=
17522 lt_prog_compiler_can_build_shared_GCJ
=no
17527 # For platforms which do not support PIC, -DPIC is meaningless:
17529 lt_prog_compiler_pic_GCJ
=
17532 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17536 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17537 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17538 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17539 echo $ECHO_N "(cached) $ECHO_C" >&6
17541 lt_cv_prog_compiler_c_o_GCJ
=no
17542 $rm -r conftest
2>/dev
/null
17546 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
17548 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17549 # Insert the option either (1) after the last *FLAGS variable, or
17550 # (2) before a word containing "conftest.", or (3) at the end.
17551 # Note that $ac_compile itself does not contain backslashes and begins
17552 # with a dollar sign (not a hyphen), so the echo should work correctly.
17553 lt_compile
=`echo "$ac_compile" | $SED \
17554 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17556 -e 's:$: $lt_compiler_flag:'`
17557 (eval echo "\"\$as_me:17557: $lt_compile\"" >&5)
17558 (eval "$lt_compile" 2>out
/conftest.err
)
17560 cat out
/conftest.err
>&5
17561 echo "$as_me:17561: \$? = $ac_status" >&5
17562 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17564 # The compiler can only warn and ignore the option if not recognized
17565 # So say no if there are warnings
17566 if test ! -s out
/conftest.err
; then
17567 lt_cv_prog_compiler_c_o_GCJ
=yes
17572 # SGI C++ compiler will create directory out/ii_files/ for
17573 # template instantiation
17574 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17575 $rm out
/* && rmdir out
17581 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17582 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
17585 hard_links
="nottested"
17586 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17587 # do not overwrite the value of need_locks provided by the user
17588 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17589 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17592 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17594 ln conftest.a conftest.b
2>&5 || hard_links
=no
17595 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17596 echo "$as_me:$LINENO: result: $hard_links" >&5
17597 echo "${ECHO_T}$hard_links" >&6
17598 if test "$hard_links" = no
; then
17599 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17600 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17607 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17608 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17611 allow_undefined_flag_GCJ
=
17612 enable_shared_with_static_runtimes_GCJ
=no
17614 archive_expsym_cmds_GCJ
=
17615 old_archive_From_new_cmds_GCJ
=
17616 old_archive_from_expsyms_cmds_GCJ
=
17617 export_dynamic_flag_spec_GCJ
=
17618 whole_archive_flag_spec_GCJ
=
17619 thread_safe_flag_spec_GCJ
=
17620 hardcode_libdir_flag_spec_GCJ
=
17621 hardcode_libdir_flag_spec_ld_GCJ
=
17622 hardcode_libdir_separator_GCJ
=
17623 hardcode_direct_GCJ
=no
17624 hardcode_minus_L_GCJ
=no
17625 hardcode_shlibpath_var_GCJ
=unsupported
17626 link_all_deplibs_GCJ
=unknown
17627 hardcode_automatic_GCJ
=no
17629 module_expsym_cmds_GCJ
=
17630 always_export_symbols_GCJ
=no
17631 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17632 # include_expsyms should be a list of space-separated symbols to be *always*
17633 # included in the symbol list
17634 include_expsyms_GCJ
=
17635 # exclude_expsyms can be an extended regexp of symbols to exclude
17636 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17637 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17638 # as well as any symbol that contains `d'.
17639 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17640 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17641 # platforms (ab)use it in PIC code, but their linkers get confused if
17642 # the symbol is explicitly referenced. Since portable code cannot
17643 # rely on this symbol name, it's probably fine to never include it in
17644 # preloaded symbol tables.
17645 extract_expsyms_cmds
=
17648 cygwin
* | mingw
* | pw32
*)
17649 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17650 # When not using gcc, we currently assume that we are using
17651 # Microsoft Visual C++.
17652 if test "$GCC" != yes; then
17662 if test "$with_gnu_ld" = yes; then
17663 # If archive_cmds runs LD, not CC, wlarc should be empty
17666 # See if GNU ld supports shared libraries.
17668 aix3
* | aix4
* | aix5
*)
17669 # On AIX/PPC, the GNU linker is very broken
17670 if test "$host_cpu" != ia64
; then
17674 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17675 *** to be unable to reliably create shared libraries on AIX.
17676 *** Therefore, libtool is disabling shared libraries support. If you
17677 *** really care for shared libraries, you may want to modify your PATH
17678 *** so that a non-GNU linker is found, and then restart.
17685 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17686 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17687 hardcode_minus_L_GCJ
=yes
17689 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17690 # that the semantics of dynamic libraries on AmigaOS, at least up
17691 # to version 4, is to share data among multiple programs linked
17692 # with the same dynamic library. Since this doesn't match the
17693 # behavior of shared libraries on other platforms, we can't use
17699 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17700 allow_undefined_flag_GCJ
=unsupported
17701 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17702 # support --undefined. This deserves some investigation. FIXME
17703 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17709 cygwin
* | mingw
* | pw32
*)
17710 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17711 # as there is no search path for DLLs.
17712 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17713 allow_undefined_flag_GCJ
=unsupported
17714 always_export_symbols_GCJ
=no
17715 enable_shared_with_static_runtimes_GCJ
=yes
17716 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17718 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17719 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17720 # If the export-symbols file already is a .def file (1st line
17721 # is EXPORTS), use it as is; otherwise, prepend...
17722 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17723 cp $export_symbols $output_objdir/$soname.def;
17725 echo EXPORTS > $output_objdir/$soname.def;
17726 cat $export_symbols >> $output_objdir/$soname.def;
17728 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
17735 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17736 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17739 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17740 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17745 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17749 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17750 *** create shared libraries on Solaris systems. Therefore, libtool
17751 *** is disabling shared libraries support. We urge you to upgrade GNU
17752 *** binutils to release 2.9.1 or newer. Another option is to modify
17753 *** your PATH or compiler configuration so that the native linker is
17754 *** used, and then restart.
17757 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17758 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17759 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17766 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17768 hardcode_direct_GCJ
=yes
17769 hardcode_shlibpath_var_GCJ
=no
17773 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17775 case $CC,$host_cpu in
17776 pgf77
* | pgf90
* ) # Portland Group f77 and f90 compilers
17777 tmp_addflag
=' -fpic' ;;
17778 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17779 tmp_addflag
=' -i_dynamic' ;;
17780 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17781 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17782 ifc
* | ifort
*) # Intel Fortran compiler
17783 tmp_addflag
=' -nofor_main' ;;
17785 archive_cmds_GCJ
='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17786 supports_anon_versioning
=no
17787 case `$LD -v 2>/dev/null` in
17788 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17789 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17790 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17791 *\
2.11.
*) ;; # other 2.11 versions
17792 *) supports_anon_versioning
=yes ;;
17794 if test $supports_anon_versioning = yes; then
17795 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17796 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17797 $echo "local: *; };" >> $output_objdir/$libname.ver~
17798 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17800 archive_expsym_cmds_GCJ
=$archive_cmds_GCJ
17808 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17809 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17810 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17817 if test "$ld_shlibs_GCJ" = yes; then
17818 runpath_var
=LD_RUN_PATH
17819 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17820 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17821 # ancient GNU ld didn't support --whole-archive et. al.
17822 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17823 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17825 whole_archive_flag_spec_GCJ
=
17829 # PORTME fill in a description of your system's linker (not GNU ld)
17832 allow_undefined_flag_GCJ
=unsupported
17833 always_export_symbols_GCJ
=yes
17834 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17835 # Note: this linker hardcodes the directories in LIBPATH if there
17836 # are no directories specified by -L.
17837 hardcode_minus_L_GCJ
=yes
17838 if test "$GCC" = yes && test -z "$link_static_flag"; then
17839 # Neither direct hardcoding nor static linking is supported with a
17841 hardcode_direct_GCJ
=unsupported
17846 if test "$host_cpu" = ia64
; then
17847 # On IA64, the linker does run time linking by default, so we don't
17848 # have to do anything special.
17849 aix_use_runtimelinking
=no
17850 exp_sym_flag
='-Bexport'
17853 # If we're using GNU nm, then we don't want the "-C" option.
17854 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17855 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17856 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17858 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17860 aix_use_runtimelinking
=no
17862 # Test if we are trying to use run time linking or normal
17863 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17864 # need to do runtime linking.
17865 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17866 for ld_flag
in $LDFLAGS; do
17867 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17868 aix_use_runtimelinking
=yes
17874 exp_sym_flag
='-bexport'
17875 no_entry_flag
='-bnoentry'
17878 # When large executables or shared objects are built, AIX ld can
17879 # have problems creating the table of contents. If linking a library
17880 # or program results in "error TOC overflow" add -mminimal-toc to
17881 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17882 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17884 archive_cmds_GCJ
=''
17885 hardcode_direct_GCJ
=yes
17886 hardcode_libdir_separator_GCJ
=':'
17887 link_all_deplibs_GCJ
=yes
17889 if test "$GCC" = yes; then
17890 case $host_os in aix4.
[012]|aix4.
[012].
*)
17891 # We only want to do this on AIX 4.2 and lower, the check
17892 # below for broken collect2 doesn't work under 4.3+
17893 collect2name
=`${CC} -print-prog-name=collect2`
17894 if test -f "$collect2name" && \
17895 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17897 # We have reworked collect2
17898 hardcode_direct_GCJ
=yes
17900 # We have old collect2
17901 hardcode_direct_GCJ
=unsupported
17902 # It fails to find uninstalled libraries when the uninstalled
17903 # path is not listed in the libpath. Setting hardcode_minus_L
17904 # to unsupported forces relinking
17905 hardcode_minus_L_GCJ
=yes
17906 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17907 hardcode_libdir_separator_GCJ
=
17910 shared_flag
='-shared'
17911 if test "$aix_use_runtimelinking" = yes; then
17912 shared_flag
="$shared_flag "'${wl}-G'
17916 if test "$host_cpu" = ia64
; then
17917 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17918 # chokes on -Wl,-G. The following line is correct:
17921 if test "$aix_use_runtimelinking" = yes; then
17922 shared_flag
='${wl}-G'
17924 shared_flag
='${wl}-bM:SRE'
17929 # It seems that -bexpall does not export symbols beginning with
17930 # underscore (_), so it is better to generate a list of symbols to export.
17931 always_export_symbols_GCJ
=yes
17932 if test "$aix_use_runtimelinking" = yes; then
17933 # Warning - without using the other runtime loading flags (-brtl),
17934 # -berok will link without error, but may produce a broken library.
17935 allow_undefined_flag_GCJ
='-berok'
17936 # Determine the default libpath from the value encoded in an empty executable.
17937 cat >conftest.
$ac_ext <<_ACEOF
17940 cat confdefs.h
>>conftest.
$ac_ext
17941 cat >>conftest.
$ac_ext <<_ACEOF
17942 /* end confdefs.h. */
17952 rm -f conftest.
$ac_objext conftest
$ac_exeext
17953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17954 (eval $ac_link) 2>conftest.er1
17956 grep -v '^ *+' conftest.er1
>conftest.err
17958 cat conftest.err
>&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); } &&
17961 { ac_try
='test -z "$ac_c_werror_flag"
17962 || test ! -s conftest.err'
17963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17964 (eval $ac_try) 2>&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); }; } &&
17968 { ac_try
='test -s conftest$ac_exeext'
17969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17970 (eval $ac_try) 2>&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); }; }; then
17975 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17977 # Check for a 64-bit object if we didn't find anything.
17978 if test -z "$aix_libpath"; then aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17981 echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.
$ac_ext >&5
17985 rm -f conftest.err conftest.
$ac_objext \
17986 conftest
$ac_exeext conftest.
$ac_ext
17987 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17989 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17990 archive_expsym_cmds_GCJ
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17992 if test "$host_cpu" = ia64; then
17993 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr
/lib
:/lib
'
17994 allow_undefined_flag_GCJ="-z nodefs"
17995 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\
$export_symbols"
17997 # Determine the default libpath from the value encoded in an empty executable.
17998 cat >conftest.$ac_ext <<_ACEOF
18001 cat confdefs.h >>conftest.$ac_ext
18002 cat >>conftest.$ac_ext <<_ACEOF
18003 /* end confdefs.h. */
18013 rm -f conftest.$ac_objext conftest$ac_exeext
18014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18015 (eval $ac_link) 2>conftest.er1
18017 grep -v '^ *+' conftest.er1 >conftest.err
18019 cat conftest.err >&5
18020 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18021 (exit $ac_status); } &&
18022 { ac_try='test -z "$ac_c_werror_flag"
18023 || test ! -s conftest.err'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18027 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try='test -s conftest$ac_exeext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18034 (exit $ac_status); }; }; then
18036 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18038 # Check for a 64-bit object if we didn't find anything.
18039 if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
18042 echo "$as_me: failed program was
:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18046 rm -f conftest.err conftest.$ac_objext \
18047 conftest$ac_exeext conftest.$ac_ext
18048 if test -z "$aix_libpath"; then aix_libpath="/usr
/lib
:/lib
"; fi
18050 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18051 # Warning - without using the other run time loading flags,
18052 # -berok will link without error, but may produce a broken library.
18053 no_undefined_flag_GCJ=' ${wl}-bernotok'
18054 allow_undefined_flag_GCJ=' ${wl}-berok'
18055 # -bexpall does not export symbols beginning with underscore (_)
18056 always_export_symbols_GCJ=yes
18057 # Exported symbols can be pulled into shared objects from archives
18058 whole_archive_flag_spec_GCJ=' '
18059 archive_cmds_need_lc_GCJ=yes
18060 # This is similar to how AIX traditionally builds it's shared libraries.
18061 archive_expsym_cmds_GCJ="\
$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18067 archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18068 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18069 hardcode_minus_L_GCJ
=yes
18070 # see comment about different semantics on the GNU ld section
18075 export_dynamic_flag_spec_GCJ
=-rdynamic
18078 cygwin
* | mingw
* | pw32
*)
18079 # When not using gcc, we currently assume that we are using
18080 # Microsoft Visual C++.
18081 # hardcode_libdir_flag_spec is actually meaningless, as there is
18082 # no search path for DLLs.
18083 hardcode_libdir_flag_spec_GCJ
=' '
18084 allow_undefined_flag_GCJ
=unsupported
18085 # Tell ltmain to make .lib files, not .a files.
18087 # Tell ltmain to make .dll files, not .so files.
18089 # FIXME: Setting linknames here is a bad hack.
18090 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18091 # The linker will automatically build a .lib file if we build a DLL.
18092 old_archive_From_new_cmds_GCJ
='true'
18093 # FIXME: Should let the user specify the lib program.
18094 old_archive_cmds_GCJ
='lib /OUT:$oldlib$oldobjs$old_deplibs'
18095 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18096 enable_shared_with_static_runtimes_GCJ
=yes
18099 darwin
* | rhapsody
*)
18101 rhapsody
* | darwin1.
[012])
18102 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
18105 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18106 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18108 case ${MACOSX_DEPLOYMENT_TARGET} in
18110 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18113 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
18119 archive_cmds_need_lc_GCJ
=no
18120 hardcode_direct_GCJ
=no
18121 hardcode_automatic_GCJ
=yes
18122 hardcode_shlibpath_var_GCJ
=unsupported
18123 whole_archive_flag_spec_GCJ
=''
18124 link_all_deplibs_GCJ
=yes
18125 if test "$GCC" = yes ; then
18126 output_verbose_link_cmd
='echo'
18127 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
18128 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18129 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18130 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18131 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18133 case "$cc_basename" in
18135 output_verbose_link_cmd
='echo'
18136 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
18137 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18138 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
18139 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18140 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18150 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18151 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18152 hardcode_shlibpath_var_GCJ
=no
18159 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18160 # support. Future versions do this automatically, but an explicit c++rt0.o
18161 # does not break anything, and helps significantly (at the cost of a little
18164 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18165 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18166 hardcode_direct_GCJ
=yes
18167 hardcode_shlibpath_var_GCJ
=no
18170 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18172 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18173 hardcode_direct_GCJ
=yes
18174 hardcode_minus_L_GCJ
=yes
18175 hardcode_shlibpath_var_GCJ
=no
18178 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18179 freebsd
* | kfreebsd
*-gnu | dragonfly
*)
18180 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18181 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18182 hardcode_direct_GCJ
=yes
18183 hardcode_shlibpath_var_GCJ
=no
18187 if test "$GCC" = yes; then
18188 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18190 archive_cmds_GCJ
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18192 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18193 hardcode_libdir_separator_GCJ
=:
18194 hardcode_direct_GCJ
=yes
18196 # hardcode_minus_L: Not really in the search PATH,
18197 # but as the default location of the library.
18198 hardcode_minus_L_GCJ
=yes
18199 export_dynamic_flag_spec_GCJ
='${wl}-E'
18203 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18204 case "$host_cpu" in
18206 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18209 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18213 case "$host_cpu" in
18215 archive_cmds_GCJ
='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
18218 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18222 if test "$with_gnu_ld" = no
; then
18223 case "$host_cpu" in
18225 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18226 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18227 hardcode_libdir_separator_GCJ
=:
18228 hardcode_direct_GCJ
=no
18229 hardcode_shlibpath_var_GCJ
=no
18232 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18233 hardcode_direct_GCJ
=no
18234 hardcode_shlibpath_var_GCJ
=no
18236 # hardcode_minus_L: Not really in the search PATH,
18237 # but as the default location of the library.
18238 hardcode_minus_L_GCJ
=yes
18241 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18242 hardcode_libdir_separator_GCJ
=:
18243 hardcode_direct_GCJ
=yes
18244 export_dynamic_flag_spec_GCJ
='${wl}-E'
18246 # hardcode_minus_L: Not really in the search PATH,
18247 # but as the default location of the library.
18248 hardcode_minus_L_GCJ
=yes
18254 irix5
* | irix6
* | nonstopux
*)
18255 if test "$GCC" = yes; then
18256 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18258 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18259 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18261 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18262 hardcode_libdir_separator_GCJ
=:
18263 link_all_deplibs_GCJ
=yes
18267 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18268 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18270 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18272 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18273 hardcode_direct_GCJ
=yes
18274 hardcode_shlibpath_var_GCJ
=no
18278 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18279 hardcode_direct_GCJ
=yes
18280 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18281 hardcode_libdir_separator_GCJ
=:
18282 hardcode_shlibpath_var_GCJ
=no
18286 hardcode_direct_GCJ
=yes
18287 hardcode_shlibpath_var_GCJ
=no
18288 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18289 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18290 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18291 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18292 export_dynamic_flag_spec_GCJ
='${wl}-E'
18295 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18296 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18297 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18300 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18301 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18308 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18309 hardcode_minus_L_GCJ
=yes
18310 allow_undefined_flag_GCJ
=unsupported
18311 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18312 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18316 if test "$GCC" = yes; then
18317 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18318 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18320 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18321 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18323 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18324 hardcode_libdir_separator_GCJ
=:
18327 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18328 if test "$GCC" = yes; then
18329 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18330 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18331 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18333 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18334 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18335 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18336 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
18338 # Both c and cxx compiler support -rpath directly
18339 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18341 hardcode_libdir_separator_GCJ
=:
18345 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18346 hardcode_shlibpath_var_GCJ
=no
18347 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18348 runpath_var
=LD_RUN_PATH
18349 hardcode_runpath_var
=yes
18353 no_undefined_flag_GCJ
=' -z text'
18354 if test "$GCC" = yes; then
18355 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18356 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18357 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18359 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18360 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18361 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18363 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18364 hardcode_shlibpath_var_GCJ
=no
18366 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18367 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
18368 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;;
18370 link_all_deplibs_GCJ
=yes
18374 if test "x$host_vendor" = xsequent
; then
18375 # Use $CC to link under sequent, because it throws in some extra .o
18376 # files that make .init and .fini sections work.
18377 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18379 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18381 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18382 hardcode_direct_GCJ
=yes
18383 hardcode_minus_L_GCJ
=yes
18384 hardcode_shlibpath_var_GCJ
=no
18388 case $host_vendor in
18390 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18391 hardcode_direct_GCJ
=yes # is this really true???
18394 ## LD is ld it makes a PLAMLIB
18395 ## CC just makes a GrossModule.
18396 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18397 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18398 hardcode_direct_GCJ
=no
18401 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18402 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18405 runpath_var
='LD_RUN_PATH'
18406 hardcode_shlibpath_var_GCJ
=no
18410 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18411 hardcode_shlibpath_var_GCJ
=no
18412 export_dynamic_flag_spec_GCJ
='-Bexport'
18416 if test -d /usr
/nec
; then
18417 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18418 hardcode_shlibpath_var_GCJ
=no
18419 runpath_var
=LD_RUN_PATH
18420 hardcode_runpath_var
=yes
18426 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18427 hardcode_direct_GCJ
=yes
18428 hardcode_minus_L_GCJ
=no
18429 hardcode_shlibpath_var_GCJ
=no
18430 hardcode_runpath_var
=yes
18431 runpath_var
=LD_RUN_PATH
18434 sysv5OpenUNIX8
* | sysv5UnixWare7
* | sysv5uw
[78]* | unixware7
*)
18435 no_undefined_flag_GCJ
='${wl}-z ${wl}text'
18436 if test "$GCC" = yes; then
18437 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18439 archive_cmds_GCJ
='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18441 runpath_var
='LD_RUN_PATH'
18442 hardcode_shlibpath_var_GCJ
=no
18446 no_undefined_flag_GCJ
=' -z text'
18447 # $CC -shared without GNU ld will not create a library from C++
18448 # object files and a static libstdc++, better avoid it by now
18449 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18450 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18451 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18452 hardcode_libdir_flag_spec_GCJ
=
18453 hardcode_shlibpath_var_GCJ
=no
18454 runpath_var
='LD_RUN_PATH'
18458 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18459 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18460 hardcode_shlibpath_var_GCJ
=no
18469 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18470 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
18471 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18473 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18474 if test "$GCC" = yes; then
18475 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18479 # Do we need to explicitly link libc?
18481 case "x$archive_cmds_need_lc_GCJ" in
18483 # Assume -lc should be added
18484 archive_cmds_need_lc_GCJ
=yes
18486 if test "$enable_shared" = yes && test "$GCC" = yes; then
18487 case $archive_cmds_GCJ in
18489 # FIXME: we may have to deal with multi-command sequences.
18492 # Test whether the compiler implicitly links with -lc since on some
18493 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18494 # to ld, don't add -lc before -lgcc.
18495 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18496 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18498 printf "$lt_simple_compile_test_code" > conftest.
$ac_ext
18500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18501 (eval $ac_compile) 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); } 2>conftest.err
; then
18507 libobjs
=conftest.
$ac_objext
18509 wl
=$lt_prog_compiler_wl_GCJ
18515 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18516 allow_undefined_flag_GCJ
=
18517 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18518 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }
18523 archive_cmds_need_lc_GCJ
=no
18525 archive_cmds_need_lc_GCJ
=yes
18527 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18529 cat conftest.err
1>&5
18532 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18533 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
18540 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18541 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
18542 library_names_spec
=
18543 libname_spec
='lib$name'
18547 postuninstall_cmds
=
18551 shlibpath_overrides_runpath
=unknown
18553 dynamic_linker
="$host_os ld.so"
18554 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18555 if test "$GCC" = yes; then
18556 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18557 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
18558 # if the path contains ";" then we assume it to be the separator
18559 # otherwise default to the standard path separator (i.e. ":") - it is
18560 # assumed that no part of a normal pathname contains ";" but that should
18561 # okay in the real world where ";" in dirpaths is itself problematic.
18562 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18564 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18567 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
18569 need_lib_prefix
=unknown
18570 hardcode_into_libs
=no
18572 # when you set need_version to no, make sure it does not cause -set_version
18573 # flags to be left without arguments
18574 need_version
=unknown
18579 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18580 shlibpath_var
=LIBPATH
18582 # AIX 3 has no versioning support, so we append a major version to the name.
18583 soname_spec
='${libname}${release}${shared_ext}$major'
18590 hardcode_into_libs
=yes
18591 if test "$host_cpu" = ia64
; then
18592 # AIX 5 supports IA64
18593 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18594 shlibpath_var
=LD_LIBRARY_PATH
18596 # With GCC up to 2.95.x, collect2 would create an import file
18597 # for dependence libraries. The import file would start with
18598 # the line `#! .'. This would cause the generated library to
18599 # depend on `.', always an invalid library. This was fixed in
18600 # development snapshots of GCC prior to 3.0.
18602 aix4 | aix4.
[01] | aix4.
[01].
*)
18603 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18605 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18608 can_build_shared
=no
18612 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18613 # soname into executable. Probably we can add versioning support to
18614 # collect2, so additional links can be useful in future.
18615 if test "$aix_use_runtimelinking" = yes; then
18616 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18617 # instead of lib<name>.a to let people know that these are not
18618 # typical AIX shared libraries.
18619 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18621 # We preserve .a as extension for shared libraries through AIX4.2
18622 # and later when we are not doing run time linking.
18623 library_names_spec
='${libname}${release}.a $libname.a'
18624 soname_spec
='${libname}${release}${shared_ext}$major'
18626 shlibpath_var
=LIBPATH
18631 library_names_spec
='$libname.ixlibrary $libname.a'
18632 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18633 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
18637 library_names_spec
='${libname}${shared_ext}'
18638 dynamic_linker
="$host_os ld.so"
18639 shlibpath_var
=LIBRARY_PATH
18645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18646 soname_spec
='${libname}${release}${shared_ext}$major'
18647 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18648 shlibpath_var
=LD_LIBRARY_PATH
18649 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18650 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18651 # the default ld.so.conf also contains /usr/contrib/lib and
18652 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18653 # libtool to hard-code these into programs
18656 cygwin
* | mingw
* | pw32
*)
18657 version_type
=windows
18662 case $GCC,$host_os in
18663 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18664 library_names_spec
='$libname.dll.a'
18665 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18666 postinstall_cmds
='base_file=`basename \${file}`~
18667 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18668 dldir=$destdir/`dirname \$dlpath`~
18669 test -d \$dldir || mkdir -p \$dldir~
18670 $install_prog $dir/$dlname \$dldir/$dlname'
18671 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18672 dlpath=$dir/\$dldll~
18674 shlibpath_overrides_runpath
=yes
18678 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18679 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18680 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18683 # MinGW DLLs use traditional 'lib' prefix
18684 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18685 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18686 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18687 # It is most probably a Windows format PATH printed by
18688 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18689 # path with ; separators, and with drive letters. We can handle the
18690 # drive letters (cygwin fileutils understands them), so leave them,
18691 # especially as we might pass files found there to a mingw objdump,
18692 # which wouldn't understand a cygwinified path. Ahh.
18693 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18695 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18699 # pw32 DLLs use 'pw' prefix rather than 'lib'
18700 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18706 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18709 dynamic_linker
='Win32 ld.exe'
18710 # FIXME: first we should search . and the directory the executable is in
18714 darwin
* | rhapsody
*)
18715 dynamic_linker
="$host_os dyld"
18716 version_type
=darwin
18719 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18720 soname_spec
='${libname}${release}${major}$shared_ext'
18721 shlibpath_overrides_runpath
=yes
18722 shlibpath_var
=DYLD_LIBRARY_PATH
18723 shrext_cmds
='$(test .$module = .yes && echo .so || echo .dylib)'
18724 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18725 if test "$GCC" = yes; then
18726 sys_lib_search_path_spec
=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18728 sys_lib_search_path_spec
='/lib /usr/lib /usr/local/lib'
18730 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18738 soname_spec
='${libname}${release}${shared_ext}$major'
18739 shlibpath_var
=LD_LIBRARY_PATH
18750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18751 soname_spec
='${libname}${release}${shared_ext}$major'
18752 shlibpath_var
=LD_LIBRARY_PATH
18753 shlibpath_overrides_runpath
=no
18754 hardcode_into_libs
=yes
18755 dynamic_linker
='GNU ld.so'
18758 freebsd
* | dragonfly
*)
18759 # DragonFly does not have aout. When/if they implement a new
18760 # versioning mechanism, adjust this.
18761 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
18762 version_type
=freebsd-
$objformat
18763 case $version_type in
18765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18770 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18774 shlibpath_var
=LD_LIBRARY_PATH
18777 shlibpath_overrides_runpath
=yes
18779 freebsd3.
[01]* | freebsdelf3.
[01]*)
18780 shlibpath_overrides_runpath
=yes
18781 hardcode_into_libs
=yes
18784 shlibpath_overrides_runpath
=no
18785 hardcode_into_libs
=yes
18794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18795 soname_spec
='${libname}${release}${shared_ext}$major'
18796 shlibpath_var
=LD_LIBRARY_PATH
18797 hardcode_into_libs
=yes
18800 hpux9
* | hpux10
* | hpux11
*)
18801 # Give a soname corresponding to the major version so that dld.sl refuses to
18802 # link against other versions.
18806 case "$host_cpu" in
18809 hardcode_into_libs
=yes
18810 dynamic_linker
="$host_os dld.so"
18811 shlibpath_var
=LD_LIBRARY_PATH
18812 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18814 soname_spec
='${libname}${release}${shared_ext}$major'
18815 if test "X$HPUX_IA64_MODE" = X32
; then
18816 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18818 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18820 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18824 hardcode_into_libs
=yes
18825 dynamic_linker
="$host_os dld.sl"
18826 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18827 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18829 soname_spec
='${libname}${release}${shared_ext}$major'
18830 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18831 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18835 dynamic_linker
="$host_os dld.sl"
18836 shlibpath_var
=SHLIB_PATH
18837 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18838 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18839 soname_spec
='${libname}${release}${shared_ext}$major'
18842 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18843 postinstall_cmds
='chmod 555 $lib'
18846 irix5
* | irix6
* | nonstopux
*)
18848 nonstopux
*) version_type
=nonstopux
;;
18850 if test "$lt_cv_prog_gnu_ld" = yes; then
18858 soname_spec
='${libname}${release}${shared_ext}$major'
18859 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18861 irix5
* | nonstopux
*)
18862 libsuff
= shlibsuff
=
18865 case $LD in # libtool.m4 will add one of these switches to LD
18866 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18867 libsuff
= shlibsuff
= libmagic
=32-bit;;
18868 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18869 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18870 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18871 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18872 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18876 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18877 shlibpath_overrides_runpath
=no
18878 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18879 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18880 hardcode_into_libs
=yes
18883 # No shared lib support for Linux oldld, aout, or coff.
18884 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18888 # This must be Linux ELF.
18893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18894 soname_spec
='${libname}${release}${shared_ext}$major'
18895 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18896 shlibpath_var
=LD_LIBRARY_PATH
18897 shlibpath_overrides_runpath
=no
18898 # This implies no fast_install, which is unacceptable.
18899 # Some rework will be needed to allow for fast_install
18900 # before this can be enabled.
18901 hardcode_into_libs
=yes
18903 # Append ld.so.conf contents to the search path
18904 if test -f /etc
/ld.so.conf
; then
18905 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18906 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18909 # We used to test for /lib/ld.so.1 and disable shared libraries on
18910 # powerpc, because MkLinux only supported shared libraries with the
18911 # GNU dynamic linker. Since this was broken with cross compilers,
18912 # most powerpc-linux boxes support dynamic linking these days and
18913 # people can always --disable-shared, the test was removed, and we
18914 # assume the GNU/Linux dynamic linker is in use.
18915 dynamic_linker
='GNU/Linux ld.so'
18922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18923 soname_spec
='${libname}${release}${shared_ext}$major'
18924 shlibpath_var
=LD_LIBRARY_PATH
18925 shlibpath_overrides_runpath
=no
18926 hardcode_into_libs
=yes
18927 dynamic_linker
='GNU ld.so'
18934 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18936 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18937 dynamic_linker
='NetBSD (a.out) ld.so'
18939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18940 soname_spec
='${libname}${release}${shared_ext}$major'
18941 dynamic_linker
='NetBSD ld.elf_so'
18943 shlibpath_var
=LD_LIBRARY_PATH
18944 shlibpath_overrides_runpath
=yes
18945 hardcode_into_libs
=yes
18950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18951 shlibpath_var
=LD_LIBRARY_PATH
18952 shlibpath_overrides_runpath
=yes
18959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18960 soname_spec
='${libname}${release}${shared_ext}$major'
18961 shlibpath_var
=LD_LIBRARY_PATH
18962 shlibpath_overrides_runpath
=yes
18969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18970 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18971 shlibpath_var
=LD_LIBRARY_PATH
18972 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18974 openbsd2.
[89] | openbsd2.
[89].
*)
18975 shlibpath_overrides_runpath
=no
18978 shlibpath_overrides_runpath
=yes
18982 shlibpath_overrides_runpath
=yes
18987 libname_spec
='$name'
18990 library_names_spec
='$libname${shared_ext} $libname.a'
18991 dynamic_linker
='OS/2 ld.exe'
18992 shlibpath_var
=LIBPATH
18995 osf3
* | osf4
* | osf5
*)
18999 soname_spec
='${libname}${release}${shared_ext}$major'
19000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19001 shlibpath_var
=LD_LIBRARY_PATH
19002 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19003 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
19008 soname_spec
='${libname}${release}${shared_ext}$major'
19009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19010 shlibpath_var
=LD_LIBRARY_PATH
19017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19018 soname_spec
='${libname}${release}${shared_ext}$major'
19019 shlibpath_var
=LD_LIBRARY_PATH
19020 shlibpath_overrides_runpath
=yes
19021 hardcode_into_libs
=yes
19022 # ldd complains unless libraries are executable
19023 postinstall_cmds
='chmod +x $lib'
19028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19029 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19030 shlibpath_var
=LD_LIBRARY_PATH
19031 shlibpath_overrides_runpath
=yes
19032 if test "$with_gnu_ld" = yes; then
19038 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
19040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19041 soname_spec
='${libname}${release}${shared_ext}$major'
19042 shlibpath_var
=LD_LIBRARY_PATH
19043 case $host_vendor in
19045 shlibpath_overrides_runpath
=no
19047 export_dynamic_flag_spec
='${wl}-Blargedynsym'
19048 runpath_var
=LD_RUN_PATH
19056 shlibpath_overrides_runpath
=no
19057 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
19063 if test -d /usr
/nec
;then
19065 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19066 soname_spec
='$libname${shared_ext}.$major'
19067 shlibpath_var
=LD_LIBRARY_PATH
19073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19074 soname_spec
='${libname}${release}${shared_ext}$major'
19075 shlibpath_var
=LD_LIBRARY_PATH
19082 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19083 echo "${ECHO_T}$dynamic_linker" >&6
19084 test "$dynamic_linker" = no
&& can_build_shared
=no
19086 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19087 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
19088 hardcode_action_GCJ
=
19089 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19090 test -n "$runpath_var_GCJ" || \
19091 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19093 # We can hardcode non-existant directories.
19094 if test "$hardcode_direct_GCJ" != no
&&
19095 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19096 # have to relink, otherwise we might link with an installed library
19097 # when we should be linking with a yet-to-be-installed one
19098 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19099 test "$hardcode_minus_L_GCJ" != no
; then
19100 # Linking always hardcodes the temporary library directory.
19101 hardcode_action_GCJ
=relink
19103 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19104 hardcode_action_GCJ
=immediate
19107 # We cannot hardcode anything, or else we can only hardcode existing
19109 hardcode_action_GCJ
=unsupported
19111 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19112 echo "${ECHO_T}$hardcode_action_GCJ" >&6
19114 if test "$hardcode_action_GCJ" = relink
; then
19115 # Fast installation is not supported
19116 enable_fast_install
=no
19117 elif test "$shlibpath_overrides_runpath" = yes ||
19118 test "$enable_shared" = no
; then
19119 # Fast installation is not necessary
19120 enable_fast_install
=needless
19125 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
19126 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
19127 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
19128 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
19129 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
19130 echo "$as_me:$LINENO: result: yes" >&5
19131 echo "${ECHO_T}yes" >&6
19133 # FIXME - insert some real tests, host_os isn't really good enough
19136 if test -n "$STRIP" ; then
19137 striplib
="$STRIP -x"
19138 echo "$as_me:$LINENO: result: yes" >&5
19139 echo "${ECHO_T}yes" >&6
19141 echo "$as_me:$LINENO: result: no" >&5
19142 echo "${ECHO_T}no" >&6
19146 echo "$as_me:$LINENO: result: no" >&5
19147 echo "${ECHO_T}no" >&6
19152 if test "x$enable_dlopen" != xyes
; then
19153 enable_dlopen
=unknown
19154 enable_dlopen_self
=unknown
19155 enable_dlopen_self_static
=unknown
19162 lt_cv_dlopen
="load_add_on"
19164 lt_cv_dlopen_self
=yes
19168 lt_cv_dlopen
="LoadLibrary"
19173 lt_cv_dlopen
="dlopen"
19178 # if libdl is installed we need to link against it
19179 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19180 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19181 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19182 echo $ECHO_N "(cached) $ECHO_C" >&6
19184 ac_check_lib_save_LIBS
=$LIBS
19186 cat >conftest.
$ac_ext <<_ACEOF
19189 cat confdefs.h
>>conftest.
$ac_ext
19190 cat >>conftest.
$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19193 /* Override any gcc2 internal prototype to avoid an error. */
19197 /* We use char because int might match the return type of a gcc2
19198 builtin and then its argument prototype would still apply. */
19208 rm -f conftest.
$ac_objext conftest
$ac_exeext
19209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19210 (eval $ac_link) 2>conftest.er1
19212 grep -v '^ *+' conftest.er1
>conftest.err
19214 cat conftest.err
>&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } &&
19217 { ac_try
='test -z "$ac_c_werror_flag"
19218 || test ! -s conftest.err'
19219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220 (eval $ac_try) 2>&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; } &&
19224 { ac_try
='test -s conftest$ac_exeext'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 ac_cv_lib_dl_dlopen
=yes
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.
$ac_ext >&5
19235 ac_cv_lib_dl_dlopen
=no
19237 rm -f conftest.err conftest.
$ac_objext \
19238 conftest
$ac_exeext conftest.
$ac_ext
19239 LIBS
=$ac_check_lib_save_LIBS
19241 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19242 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19243 if test $ac_cv_lib_dl_dlopen = yes; then
19244 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
19247 lt_cv_dlopen
="dyld"
19249 lt_cv_dlopen_self
=yes
19256 echo "$as_me:$LINENO: checking for shl_load" >&5
19257 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
19258 if test "${ac_cv_func_shl_load+set}" = set; then
19259 echo $ECHO_N "(cached) $ECHO_C" >&6
19261 cat >conftest.
$ac_ext <<_ACEOF
19264 cat confdefs.h
>>conftest.
$ac_ext
19265 cat >>conftest.
$ac_ext <<_ACEOF
19266 /* end confdefs.h. */
19267 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
19268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19269 #define shl_load innocuous_shl_load
19271 /* System header to define __stub macros and hopefully few prototypes,
19272 which can conflict with char shl_load (); below.
19273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19274 <limits.h> exists even on freestanding compilers. */
19277 # include <limits.h>
19279 # include <assert.h>
19284 /* Override any gcc2 internal prototype to avoid an error. */
19289 /* We use char because int might match the return type of a gcc2
19290 builtin and then its argument prototype would still apply. */
19292 /* The GNU C library defines this for functions which it implements
19293 to always fail with ENOSYS. Some functions are actually named
19294 something starting with __ and the normal name is an alias. */
19295 #if defined (__stub_shl_load) || defined (__stub___shl_load)
19298 char (*f) () = shl_load;
19307 return f != shl_load;
19312 rm -f conftest.
$ac_objext conftest
$ac_exeext
19313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19314 (eval $ac_link) 2>conftest.er1
19316 grep -v '^ *+' conftest.er1
>conftest.err
19318 cat conftest.err
>&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } &&
19321 { ac_try
='test -z "$ac_c_werror_flag"
19322 || test ! -s conftest.err'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; } &&
19328 { ac_try
='test -s conftest$ac_exeext'
19329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19330 (eval $ac_try) 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 ac_cv_func_shl_load
=yes
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.
$ac_ext >&5
19339 ac_cv_func_shl_load
=no
19341 rm -f conftest.err conftest.
$ac_objext \
19342 conftest
$ac_exeext conftest.
$ac_ext
19344 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
19345 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
19346 if test $ac_cv_func_shl_load = yes; then
19347 lt_cv_dlopen
="shl_load"
19349 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
19350 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
19351 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
19352 echo $ECHO_N "(cached) $ECHO_C" >&6
19354 ac_check_lib_save_LIBS
=$LIBS
19356 cat >conftest.
$ac_ext <<_ACEOF
19359 cat confdefs.h
>>conftest.
$ac_ext
19360 cat >>conftest.
$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19363 /* Override any gcc2 internal prototype to avoid an error. */
19367 /* We use char because int might match the return type of a gcc2
19368 builtin and then its argument prototype would still apply. */
19378 rm -f conftest.
$ac_objext conftest
$ac_exeext
19379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19380 (eval $ac_link) 2>conftest.er1
19382 grep -v '^ *+' conftest.er1
>conftest.err
19384 cat conftest.err
>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } &&
19387 { ac_try
='test -z "$ac_c_werror_flag"
19388 || test ! -s conftest.err'
19389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390 (eval $ac_try) 2>&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; } &&
19394 { ac_try
='test -s conftest$ac_exeext'
19395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19396 (eval $ac_try) 2>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); }; }; then
19400 ac_cv_lib_dld_shl_load
=yes
19402 echo "$as_me: failed program was:" >&5
19403 sed 's/^/| /' conftest.
$ac_ext >&5
19405 ac_cv_lib_dld_shl_load
=no
19407 rm -f conftest.err conftest.
$ac_objext \
19408 conftest
$ac_exeext conftest.
$ac_ext
19409 LIBS
=$ac_check_lib_save_LIBS
19411 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
19412 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
19413 if test $ac_cv_lib_dld_shl_load = yes; then
19414 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
19416 echo "$as_me:$LINENO: checking for dlopen" >&5
19417 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
19418 if test "${ac_cv_func_dlopen+set}" = set; then
19419 echo $ECHO_N "(cached) $ECHO_C" >&6
19421 cat >conftest.
$ac_ext <<_ACEOF
19424 cat confdefs.h
>>conftest.
$ac_ext
19425 cat >>conftest.
$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
19428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19429 #define dlopen innocuous_dlopen
19431 /* System header to define __stub macros and hopefully few prototypes,
19432 which can conflict with char dlopen (); below.
19433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19434 <limits.h> exists even on freestanding compilers. */
19437 # include <limits.h>
19439 # include <assert.h>
19444 /* Override any gcc2 internal prototype to avoid an error. */
19449 /* We use char because int might match the return type of a gcc2
19450 builtin and then its argument prototype would still apply. */
19452 /* The GNU C library defines this for functions which it implements
19453 to always fail with ENOSYS. Some functions are actually named
19454 something starting with __ and the normal name is an alias. */
19455 #if defined (__stub_dlopen) || defined (__stub___dlopen)
19458 char (*f) () = dlopen;
19467 return f != dlopen;
19472 rm -f conftest.
$ac_objext conftest
$ac_exeext
19473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19474 (eval $ac_link) 2>conftest.er1
19476 grep -v '^ *+' conftest.er1
>conftest.err
19478 cat conftest.err
>&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } &&
19481 { ac_try
='test -z "$ac_c_werror_flag"
19482 || test ! -s conftest.err'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; } &&
19488 { ac_try
='test -s conftest$ac_exeext'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; }; then
19494 ac_cv_func_dlopen
=yes
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.
$ac_ext >&5
19499 ac_cv_func_dlopen
=no
19501 rm -f conftest.err conftest.
$ac_objext \
19502 conftest
$ac_exeext conftest.
$ac_ext
19504 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
19505 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
19506 if test $ac_cv_func_dlopen = yes; then
19507 lt_cv_dlopen
="dlopen"
19509 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
19510 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
19511 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 ac_check_lib_save_LIBS
=$LIBS
19516 cat >conftest.
$ac_ext <<_ACEOF
19519 cat confdefs.h
>>conftest.
$ac_ext
19520 cat >>conftest.
$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19523 /* Override any gcc2 internal prototype to avoid an error. */
19527 /* We use char because int might match the return type of a gcc2
19528 builtin and then its argument prototype would still apply. */
19538 rm -f conftest.
$ac_objext conftest
$ac_exeext
19539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19540 (eval $ac_link) 2>conftest.er1
19542 grep -v '^ *+' conftest.er1
>conftest.err
19544 cat conftest.err
>&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } &&
19547 { ac_try
='test -z "$ac_c_werror_flag"
19548 || test ! -s conftest.err'
19549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550 (eval $ac_try) 2>&5
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; } &&
19554 { ac_try
='test -s conftest$ac_exeext'
19555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19556 (eval $ac_try) 2>&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); }; }; then
19560 ac_cv_lib_dl_dlopen
=yes
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.
$ac_ext >&5
19565 ac_cv_lib_dl_dlopen
=no
19567 rm -f conftest.err conftest.
$ac_objext \
19568 conftest
$ac_exeext conftest.
$ac_ext
19569 LIBS
=$ac_check_lib_save_LIBS
19571 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
19572 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
19573 if test $ac_cv_lib_dl_dlopen = yes; then
19574 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
19576 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
19577 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
19578 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
19579 echo $ECHO_N "(cached) $ECHO_C" >&6
19581 ac_check_lib_save_LIBS
=$LIBS
19582 LIBS
="-lsvld $LIBS"
19583 cat >conftest.
$ac_ext <<_ACEOF
19586 cat confdefs.h
>>conftest.
$ac_ext
19587 cat >>conftest.
$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19590 /* Override any gcc2 internal prototype to avoid an error. */
19594 /* We use char because int might match the return type of a gcc2
19595 builtin and then its argument prototype would still apply. */
19605 rm -f conftest.
$ac_objext conftest
$ac_exeext
19606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19607 (eval $ac_link) 2>conftest.er1
19609 grep -v '^ *+' conftest.er1
>conftest.err
19611 cat conftest.err
>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } &&
19614 { ac_try
='test -z "$ac_c_werror_flag"
19615 || test ! -s conftest.err'
19616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617 (eval $ac_try) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; } &&
19621 { ac_try
='test -s conftest$ac_exeext'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; }; then
19627 ac_cv_lib_svld_dlopen
=yes
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.
$ac_ext >&5
19632 ac_cv_lib_svld_dlopen
=no
19634 rm -f conftest.err conftest.
$ac_objext \
19635 conftest
$ac_exeext conftest.
$ac_ext
19636 LIBS
=$ac_check_lib_save_LIBS
19638 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
19639 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
19640 if test $ac_cv_lib_svld_dlopen = yes; then
19641 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
19643 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
19644 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
19645 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
19646 echo $ECHO_N "(cached) $ECHO_C" >&6
19648 ac_check_lib_save_LIBS
=$LIBS
19650 cat >conftest.
$ac_ext <<_ACEOF
19653 cat confdefs.h
>>conftest.
$ac_ext
19654 cat >>conftest.
$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19657 /* Override any gcc2 internal prototype to avoid an error. */
19661 /* We use char because int might match the return type of a gcc2
19662 builtin and then its argument prototype would still apply. */
19672 rm -f conftest.
$ac_objext conftest
$ac_exeext
19673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19674 (eval $ac_link) 2>conftest.er1
19676 grep -v '^ *+' conftest.er1
>conftest.err
19678 cat conftest.err
>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); } &&
19681 { ac_try
='test -z "$ac_c_werror_flag"
19682 || test ! -s conftest.err'
19683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19684 (eval $ac_try) 2>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); }; } &&
19688 { ac_try
='test -s conftest$ac_exeext'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; }; then
19694 ac_cv_lib_dld_dld_link
=yes
19696 echo "$as_me: failed program was:" >&5
19697 sed 's/^/| /' conftest.
$ac_ext >&5
19699 ac_cv_lib_dld_dld_link
=no
19701 rm -f conftest.err conftest.
$ac_objext \
19702 conftest
$ac_exeext conftest.
$ac_ext
19703 LIBS
=$ac_check_lib_save_LIBS
19705 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
19706 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
19707 if test $ac_cv_lib_dld_dld_link = yes; then
19708 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
19729 if test "x$lt_cv_dlopen" != xno
; then
19735 case $lt_cv_dlopen in
19737 save_CPPFLAGS
="$CPPFLAGS"
19738 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
19740 save_LDFLAGS
="$LDFLAGS"
19741 eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
19744 LIBS
="$lt_cv_dlopen_libs $LIBS"
19746 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
19747 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
19748 if test "${lt_cv_dlopen_self+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19751 if test "$cross_compiling" = yes; then :
19752 lt_cv_dlopen_self
=cross
19754 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
19755 lt_status
=$lt_dlunknown
19756 cat > conftest.
$ac_ext <<EOF
19757 #line 19757 "configure"
19758 #include "confdefs.h"
19767 # define LT_DLGLOBAL RTLD_GLOBAL
19770 # define LT_DLGLOBAL DL_GLOBAL
19772 # define LT_DLGLOBAL 0
19776 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19777 find out it does not work in some platform. */
19778 #ifndef LT_DLLAZY_OR_NOW
19780 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19783 # define LT_DLLAZY_OR_NOW DL_LAZY
19786 # define LT_DLLAZY_OR_NOW RTLD_NOW
19789 # define LT_DLLAZY_OR_NOW DL_NOW
19791 # define LT_DLLAZY_OR_NOW 0
19799 extern "C" void exit (int);
19802 void fnord() { int i=42;}
19805 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19806 int status = $lt_dlunknown;
19810 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19811 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19812 /* dlclose (self); */
19818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19819 (eval $ac_link) 2>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
19823 (.
/conftest
; exit; ) 2>/dev
/null
19825 case x
$lt_status in
19826 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
19827 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
19828 x
$lt_unknown|x
*) lt_cv_dlopen_self
=no
;;
19831 # compilation failed
19832 lt_cv_dlopen_self
=no
19839 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
19840 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
19842 if test "x$lt_cv_dlopen_self" = xyes
; then
19843 LDFLAGS
="$LDFLAGS $link_static_flag"
19844 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
19845 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
19846 if test "${lt_cv_dlopen_self_static+set}" = set; then
19847 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 if test "$cross_compiling" = yes; then :
19850 lt_cv_dlopen_self_static
=cross
19852 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
19853 lt_status
=$lt_dlunknown
19854 cat > conftest.
$ac_ext <<EOF
19855 #line 19855 "configure"
19856 #include "confdefs.h"
19865 # define LT_DLGLOBAL RTLD_GLOBAL
19868 # define LT_DLGLOBAL DL_GLOBAL
19870 # define LT_DLGLOBAL 0
19874 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
19875 find out it does not work in some platform. */
19876 #ifndef LT_DLLAZY_OR_NOW
19878 # define LT_DLLAZY_OR_NOW RTLD_LAZY
19881 # define LT_DLLAZY_OR_NOW DL_LAZY
19884 # define LT_DLLAZY_OR_NOW RTLD_NOW
19887 # define LT_DLLAZY_OR_NOW DL_NOW
19889 # define LT_DLLAZY_OR_NOW 0
19897 extern "C" void exit (int);
19900 void fnord() { int i=42;}
19903 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
19904 int status = $lt_dlunknown;
19908 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
19909 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
19910 /* dlclose (self); */
19916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19917 (eval $ac_link) 2>&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
19921 (.
/conftest
; exit; ) 2>/dev
/null
19923 case x
$lt_status in
19924 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
19925 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
19926 x
$lt_unknown|x
*) lt_cv_dlopen_self_static
=no
;;
19929 # compilation failed
19930 lt_cv_dlopen_self_static
=no
19937 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
19938 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
19941 CPPFLAGS
="$save_CPPFLAGS"
19942 LDFLAGS
="$save_LDFLAGS"
19947 case $lt_cv_dlopen_self in
19948 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
19949 *) enable_dlopen_self
=unknown
;;
19952 case $lt_cv_dlopen_self_static in
19953 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
19954 *) enable_dlopen_self_static
=unknown
;;
19959 # The else clause should only fire when bootstrapping the
19960 # libtool distribution, otherwise you forgot to ship ltmain.sh
19961 # with your package, and you will get complaints that there are
19962 # no rules to generate ltmain.sh.
19963 if test -f "$ltmain"; then
19964 # See if we are running on zsh, and set the options which allow our commands through
19965 # without removal of \ escapes.
19966 if test -n "${ZSH_VERSION+set}" ; then
19967 setopt NO_GLOB_SUBST
19969 # Now quote all the things that may contain metacharacters while being
19970 # careful not to overquote the AC_SUBSTed values. We take copies of the
19971 # variables and quote the copies for generation of the libtool script.
19972 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
19974 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19975 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19976 deplibs_check_method reload_flag reload_cmds need_locks \
19977 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19978 lt_cv_sys_global_symbol_to_c_name_address \
19979 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19980 old_postinstall_cmds old_postuninstall_cmds \
19984 lt_prog_compiler_wl_GCJ \
19985 lt_prog_compiler_pic_GCJ \
19986 lt_prog_compiler_static_GCJ \
19987 lt_prog_compiler_no_builtin_flag_GCJ \
19988 export_dynamic_flag_spec_GCJ \
19989 thread_safe_flag_spec_GCJ \
19990 whole_archive_flag_spec_GCJ \
19991 enable_shared_with_static_runtimes_GCJ \
19992 old_archive_cmds_GCJ \
19993 old_archive_from_new_cmds_GCJ \
19994 predep_objects_GCJ \
19995 postdep_objects_GCJ \
19998 compiler_lib_search_path_GCJ \
20000 archive_expsym_cmds_GCJ \
20001 postinstall_cmds_GCJ \
20002 postuninstall_cmds_GCJ \
20003 old_archive_from_expsyms_cmds_GCJ \
20004 allow_undefined_flag_GCJ \
20005 no_undefined_flag_GCJ \
20006 export_symbols_cmds_GCJ \
20007 hardcode_libdir_flag_spec_GCJ \
20008 hardcode_libdir_flag_spec_ld_GCJ \
20009 hardcode_libdir_separator_GCJ \
20010 hardcode_automatic_GCJ \
20012 module_expsym_cmds_GCJ \
20013 lt_cv_prog_compiler_c_o_GCJ \
20014 exclude_expsyms_GCJ \
20015 include_expsyms_GCJ
; do
20018 old_archive_cmds_GCJ | \
20019 old_archive_from_new_cmds_GCJ | \
20020 archive_cmds_GCJ | \
20021 archive_expsym_cmds_GCJ | \
20022 module_cmds_GCJ | \
20023 module_expsym_cmds_GCJ | \
20024 old_archive_from_expsyms_cmds_GCJ | \
20025 export_symbols_cmds_GCJ | \
20026 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20027 postinstall_cmds | postuninstall_cmds | \
20028 old_postinstall_cmds | old_postuninstall_cmds | \
20029 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20030 # Double-quote double-evaled strings.
20031 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20034 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20040 *'\$0 --fallback-echo"')
20041 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20047 cat <<__EOF__ >> "$cfgfile"
20048 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20050 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20052 # Shell to use when invoking shell scripts.
20055 # Whether or not to build shared libraries.
20056 build_libtool_libs=$enable_shared
20058 # Whether or not to build static libraries.
20059 build_old_libs=$enable_static
20061 # Whether or not to add -lc for building shared libraries.
20062 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20064 # Whether or not to disallow shared libs when runtime libs are static
20065 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20067 # Whether or not to optimize for fast installation.
20068 fast_install=$enable_fast_install
20071 host_alias=$host_alias
20075 # The build system.
20076 build_alias=$build_alias
20080 # An echo program that does not interpret backslashes.
20085 AR_FLAGS=$lt_AR_FLAGS
20090 # A language-specific compiler.
20091 CC=$lt_compiler_GCJ
20093 # Is the compiler the GNU C compiler?
20099 # The linker used to build libraries.
20102 # Whether we need hard or soft links.
20105 # A BSD-compatible nm program.
20108 # A symbol stripping program
20111 # Used to examine libraries when file_magic_cmd begins "file"
20112 MAGIC_CMD=$MAGIC_CMD
20114 # Used on cygwin: DLL creation program.
20117 # Used on cygwin: object dumper.
20120 # Used on cygwin: assembler.
20123 # The name of the directory that contains temporary libtool files.
20126 # How to create reloadable object files.
20127 reload_flag=$lt_reload_flag
20128 reload_cmds=$lt_reload_cmds
20130 # How to pass a linker flag through the compiler.
20131 wl=$lt_lt_prog_compiler_wl_GCJ
20133 # Object file suffix (normally "o").
20134 objext="$ac_objext"
20136 # Old archive suffix (normally "a").
20139 # Shared library suffix (normally ".so").
20140 shrext_cmds='$shrext_cmds'
20142 # Executable file suffix (normally "").
20145 # Additional compiler flags for building library objects.
20146 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20149 # What is the maximum length of a command?
20150 max_cmd_len=$lt_cv_sys_max_cmd_len
20152 # Does compiler simultaneously support -c and -o options?
20153 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20155 # Must we lock files when doing compilation ?
20156 need_locks=$lt_need_locks
20158 # Do we need the lib prefix for modules?
20159 need_lib_prefix=$need_lib_prefix
20161 # Do we need a version for libraries?
20162 need_version=$need_version
20164 # Whether dlopen is supported.
20165 dlopen_support=$enable_dlopen
20167 # Whether dlopen of programs is supported.
20168 dlopen_self=$enable_dlopen_self
20170 # Whether dlopen of statically linked programs is supported.
20171 dlopen_self_static=$enable_dlopen_self_static
20173 # Compiler flag to prevent dynamic linking.
20174 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20176 # Compiler flag to turn off builtin functions.
20177 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20179 # Compiler flag to allow reflexive dlopens.
20180 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20182 # Compiler flag to generate shared objects directly from archives.
20183 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20185 # Compiler flag to generate thread-safe objects.
20186 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20188 # Library versioning type.
20189 version_type=$version_type
20191 # Format of library name prefix.
20192 libname_spec=$lt_libname_spec
20194 # List of archive names. First name is the real one, the rest are links.
20195 # The last name is the one that the linker finds with -lNAME.
20196 library_names_spec=$lt_library_names_spec
20198 # The coded name of the library, if different from the real name.
20199 soname_spec=$lt_soname_spec
20201 # Commands used to build and install an old-style archive.
20203 old_archive_cmds=$lt_old_archive_cmds_GCJ
20204 old_postinstall_cmds=$lt_old_postinstall_cmds
20205 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20207 # Create an old-style archive from a shared archive.
20208 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20210 # Create a temporary old-style archive to link instead of a shared archive.
20211 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20213 # Commands used to build and install a shared archive.
20214 archive_cmds=$lt_archive_cmds_GCJ
20215 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20216 postinstall_cmds=$lt_postinstall_cmds
20217 postuninstall_cmds=$lt_postuninstall_cmds
20219 # Commands used to build a loadable module (assumed same as above if empty)
20220 module_cmds=$lt_module_cmds_GCJ
20221 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20223 # Commands to strip libraries.
20224 old_striplib=$lt_old_striplib
20225 striplib=$lt_striplib
20227 # Dependencies to place before the objects being linked to create a
20229 predep_objects=$lt_predep_objects_GCJ
20231 # Dependencies to place after the objects being linked to create a
20233 postdep_objects=$lt_postdep_objects_GCJ
20235 # Dependencies to place before the objects being linked to create a
20237 predeps=$lt_predeps_GCJ
20239 # Dependencies to place after the objects being linked to create a
20241 postdeps=$lt_postdeps_GCJ
20243 # The library search path used internally by the compiler when linking
20244 # a shared library.
20245 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20247 # Method to check whether dependent libraries are shared objects.
20248 deplibs_check_method=$lt_deplibs_check_method
20250 # Command to use when deplibs_check_method == file_magic.
20251 file_magic_cmd=$lt_file_magic_cmd
20253 # Flag that allows shared libraries with undefined symbols to be built.
20254 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20256 # Flag that forces no undefined symbols.
20257 no_undefined_flag=$lt_no_undefined_flag_GCJ
20259 # Commands used to finish a libtool library installation in a directory.
20260 finish_cmds=$lt_finish_cmds
20262 # Same as above, but a single script fragment to be evaled but not shown.
20263 finish_eval=$lt_finish_eval
20265 # Take the output of nm and produce a listing of raw symbols and C names.
20266 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20268 # Transform the output of nm in a proper C declaration
20269 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20271 # Transform the output of nm in a C name address pair
20272 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20274 # This is the shared library runtime path variable.
20275 runpath_var=$runpath_var
20277 # This is the shared library path variable.
20278 shlibpath_var=$shlibpath_var
20280 # Is shlibpath searched before the hard-coded library search path?
20281 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20283 # How to hardcode a shared library path into an executable.
20284 hardcode_action=$hardcode_action_GCJ
20286 # Whether we should hardcode library paths into libraries.
20287 hardcode_into_libs=$hardcode_into_libs
20289 # Flag to hardcode \$libdir into a binary during linking.
20290 # This must work even if \$libdir does not exist.
20291 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20293 # If ld is used when linking, flag to hardcode \$libdir into
20294 # a binary during linking. This must work even if \$libdir does
20296 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20298 # Whether we need a single -rpath flag with a separated argument.
20299 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20301 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20302 # resulting binary.
20303 hardcode_direct=$hardcode_direct_GCJ
20305 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20306 # resulting binary.
20307 hardcode_minus_L=$hardcode_minus_L_GCJ
20309 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20310 # the resulting binary.
20311 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20313 # Set to yes if building a shared library automatically hardcodes DIR into the library
20314 # and all subsequent libraries and executables linked against it.
20315 hardcode_automatic=$hardcode_automatic_GCJ
20317 # Variables whose values should be saved in libtool wrapper scripts and
20318 # restored at relink time.
20319 variables_saved_for_relink="$variables_saved_for_relink"
20321 # Whether libtool must link a program against all its dependency libraries.
20322 link_all_deplibs=$link_all_deplibs_GCJ
20324 # Compile-time system search path for libraries
20325 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20327 # Run-time system search path for libraries
20328 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20330 # Fix the shell variable \$srcfile for the compiler.
20331 fix_srcfile_path="$fix_srcfile_path_GCJ"
20333 # Set to yes if exported symbols are required.
20334 always_export_symbols=$always_export_symbols_GCJ
20336 # The commands to list exported symbols.
20337 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20339 # The commands to extract the exported symbol list from a shared archive.
20340 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20342 # Symbols that should not be listed in the preloaded symbols.
20343 exclude_expsyms=$lt_exclude_expsyms_GCJ
20345 # Symbols that must always be exported.
20346 include_expsyms=$lt_include_expsyms_GCJ
20348 # ### END LIBTOOL TAG CONFIG: $tagname
20354 # If there is no Makefile yet, we rely on a make rule to execute
20355 # `config.status --recheck' to rerun these tests and create the
20356 # libtool script then.
20357 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20358 if test -f "$ltmain_in"; then
20359 test -f Makefile
&& make "$ltmain"
20365 ac_cpp
='$CPP $CPPFLAGS'
20366 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20367 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20368 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20381 # Source file extension for RC test sources.
20384 # Object file extension for compiled RC test sources.
20388 # Code to be used in simple compile tests
20389 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
20391 # Code to be used in simple link tests
20392 lt_simple_link_test_code
="$lt_simple_compile_test_code"
20394 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20396 # If no C compiler was specified, use CC.
20399 # Allow CC to be a program name with arguments.
20403 # Allow CC to be a program name with arguments.
20408 lt_cv_prog_compiler_c_o_RC
=yes
20410 # The else clause should only fire when bootstrapping the
20411 # libtool distribution, otherwise you forgot to ship ltmain.sh
20412 # with your package, and you will get complaints that there are
20413 # no rules to generate ltmain.sh.
20414 if test -f "$ltmain"; then
20415 # See if we are running on zsh, and set the options which allow our commands through
20416 # without removal of \ escapes.
20417 if test -n "${ZSH_VERSION+set}" ; then
20418 setopt NO_GLOB_SUBST
20420 # Now quote all the things that may contain metacharacters while being
20421 # careful not to overquote the AC_SUBSTed values. We take copies of the
20422 # variables and quote the copies for generation of the libtool script.
20423 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM \
20425 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20426 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20427 deplibs_check_method reload_flag reload_cmds need_locks \
20428 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20429 lt_cv_sys_global_symbol_to_c_name_address \
20430 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20431 old_postinstall_cmds old_postuninstall_cmds \
20435 lt_prog_compiler_wl_RC \
20436 lt_prog_compiler_pic_RC \
20437 lt_prog_compiler_static_RC \
20438 lt_prog_compiler_no_builtin_flag_RC \
20439 export_dynamic_flag_spec_RC \
20440 thread_safe_flag_spec_RC \
20441 whole_archive_flag_spec_RC \
20442 enable_shared_with_static_runtimes_RC \
20443 old_archive_cmds_RC \
20444 old_archive_from_new_cmds_RC \
20445 predep_objects_RC \
20446 postdep_objects_RC \
20449 compiler_lib_search_path_RC \
20451 archive_expsym_cmds_RC \
20452 postinstall_cmds_RC \
20453 postuninstall_cmds_RC \
20454 old_archive_from_expsyms_cmds_RC \
20455 allow_undefined_flag_RC \
20456 no_undefined_flag_RC \
20457 export_symbols_cmds_RC \
20458 hardcode_libdir_flag_spec_RC \
20459 hardcode_libdir_flag_spec_ld_RC \
20460 hardcode_libdir_separator_RC \
20461 hardcode_automatic_RC \
20463 module_expsym_cmds_RC \
20464 lt_cv_prog_compiler_c_o_RC \
20465 exclude_expsyms_RC \
20466 include_expsyms_RC
; do
20469 old_archive_cmds_RC | \
20470 old_archive_from_new_cmds_RC | \
20471 archive_cmds_RC | \
20472 archive_expsym_cmds_RC | \
20474 module_expsym_cmds_RC | \
20475 old_archive_from_expsyms_cmds_RC | \
20476 export_symbols_cmds_RC | \
20477 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20478 postinstall_cmds | postuninstall_cmds | \
20479 old_postinstall_cmds | old_postuninstall_cmds | \
20480 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
20481 # Double-quote double-evaled strings.
20482 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20485 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20491 *'\$0 --fallback-echo"')
20492 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20498 cat <<__EOF__ >> "$cfgfile"
20499 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20501 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20503 # Shell to use when invoking shell scripts.
20506 # Whether or not to build shared libraries.
20507 build_libtool_libs=$enable_shared
20509 # Whether or not to build static libraries.
20510 build_old_libs=$enable_static
20512 # Whether or not to add -lc for building shared libraries.
20513 build_libtool_need_lc=$archive_cmds_need_lc_RC
20515 # Whether or not to disallow shared libs when runtime libs are static
20516 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20518 # Whether or not to optimize for fast installation.
20519 fast_install=$enable_fast_install
20522 host_alias=$host_alias
20526 # The build system.
20527 build_alias=$build_alias
20531 # An echo program that does not interpret backslashes.
20536 AR_FLAGS=$lt_AR_FLAGS
20541 # A language-specific compiler.
20544 # Is the compiler the GNU C compiler?
20550 # The linker used to build libraries.
20553 # Whether we need hard or soft links.
20556 # A BSD-compatible nm program.
20559 # A symbol stripping program
20562 # Used to examine libraries when file_magic_cmd begins "file"
20563 MAGIC_CMD=$MAGIC_CMD
20565 # Used on cygwin: DLL creation program.
20568 # Used on cygwin: object dumper.
20571 # Used on cygwin: assembler.
20574 # The name of the directory that contains temporary libtool files.
20577 # How to create reloadable object files.
20578 reload_flag=$lt_reload_flag
20579 reload_cmds=$lt_reload_cmds
20581 # How to pass a linker flag through the compiler.
20582 wl=$lt_lt_prog_compiler_wl_RC
20584 # Object file suffix (normally "o").
20585 objext="$ac_objext"
20587 # Old archive suffix (normally "a").
20590 # Shared library suffix (normally ".so").
20591 shrext_cmds='$shrext_cmds'
20593 # Executable file suffix (normally "").
20596 # Additional compiler flags for building library objects.
20597 pic_flag=$lt_lt_prog_compiler_pic_RC
20600 # What is the maximum length of a command?
20601 max_cmd_len=$lt_cv_sys_max_cmd_len
20603 # Does compiler simultaneously support -c and -o options?
20604 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20606 # Must we lock files when doing compilation ?
20607 need_locks=$lt_need_locks
20609 # Do we need the lib prefix for modules?
20610 need_lib_prefix=$need_lib_prefix
20612 # Do we need a version for libraries?
20613 need_version=$need_version
20615 # Whether dlopen is supported.
20616 dlopen_support=$enable_dlopen
20618 # Whether dlopen of programs is supported.
20619 dlopen_self=$enable_dlopen_self
20621 # Whether dlopen of statically linked programs is supported.
20622 dlopen_self_static=$enable_dlopen_self_static
20624 # Compiler flag to prevent dynamic linking.
20625 link_static_flag=$lt_lt_prog_compiler_static_RC
20627 # Compiler flag to turn off builtin functions.
20628 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20630 # Compiler flag to allow reflexive dlopens.
20631 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20633 # Compiler flag to generate shared objects directly from archives.
20634 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20636 # Compiler flag to generate thread-safe objects.
20637 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20639 # Library versioning type.
20640 version_type=$version_type
20642 # Format of library name prefix.
20643 libname_spec=$lt_libname_spec
20645 # List of archive names. First name is the real one, the rest are links.
20646 # The last name is the one that the linker finds with -lNAME.
20647 library_names_spec=$lt_library_names_spec
20649 # The coded name of the library, if different from the real name.
20650 soname_spec=$lt_soname_spec
20652 # Commands used to build and install an old-style archive.
20654 old_archive_cmds=$lt_old_archive_cmds_RC
20655 old_postinstall_cmds=$lt_old_postinstall_cmds
20656 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20658 # Create an old-style archive from a shared archive.
20659 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20661 # Create a temporary old-style archive to link instead of a shared archive.
20662 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20664 # Commands used to build and install a shared archive.
20665 archive_cmds=$lt_archive_cmds_RC
20666 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20667 postinstall_cmds=$lt_postinstall_cmds
20668 postuninstall_cmds=$lt_postuninstall_cmds
20670 # Commands used to build a loadable module (assumed same as above if empty)
20671 module_cmds=$lt_module_cmds_RC
20672 module_expsym_cmds=$lt_module_expsym_cmds_RC
20674 # Commands to strip libraries.
20675 old_striplib=$lt_old_striplib
20676 striplib=$lt_striplib
20678 # Dependencies to place before the objects being linked to create a
20680 predep_objects=$lt_predep_objects_RC
20682 # Dependencies to place after the objects being linked to create a
20684 postdep_objects=$lt_postdep_objects_RC
20686 # Dependencies to place before the objects being linked to create a
20688 predeps=$lt_predeps_RC
20690 # Dependencies to place after the objects being linked to create a
20692 postdeps=$lt_postdeps_RC
20694 # The library search path used internally by the compiler when linking
20695 # a shared library.
20696 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20698 # Method to check whether dependent libraries are shared objects.
20699 deplibs_check_method=$lt_deplibs_check_method
20701 # Command to use when deplibs_check_method == file_magic.
20702 file_magic_cmd=$lt_file_magic_cmd
20704 # Flag that allows shared libraries with undefined symbols to be built.
20705 allow_undefined_flag=$lt_allow_undefined_flag_RC
20707 # Flag that forces no undefined symbols.
20708 no_undefined_flag=$lt_no_undefined_flag_RC
20710 # Commands used to finish a libtool library installation in a directory.
20711 finish_cmds=$lt_finish_cmds
20713 # Same as above, but a single script fragment to be evaled but not shown.
20714 finish_eval=$lt_finish_eval
20716 # Take the output of nm and produce a listing of raw symbols and C names.
20717 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20719 # Transform the output of nm in a proper C declaration
20720 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20722 # Transform the output of nm in a C name address pair
20723 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20725 # This is the shared library runtime path variable.
20726 runpath_var=$runpath_var
20728 # This is the shared library path variable.
20729 shlibpath_var=$shlibpath_var
20731 # Is shlibpath searched before the hard-coded library search path?
20732 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20734 # How to hardcode a shared library path into an executable.
20735 hardcode_action=$hardcode_action_RC
20737 # Whether we should hardcode library paths into libraries.
20738 hardcode_into_libs=$hardcode_into_libs
20740 # Flag to hardcode \$libdir into a binary during linking.
20741 # This must work even if \$libdir does not exist.
20742 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20744 # If ld is used when linking, flag to hardcode \$libdir into
20745 # a binary during linking. This must work even if \$libdir does
20747 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20749 # Whether we need a single -rpath flag with a separated argument.
20750 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20752 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20753 # resulting binary.
20754 hardcode_direct=$hardcode_direct_RC
20756 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20757 # resulting binary.
20758 hardcode_minus_L=$hardcode_minus_L_RC
20760 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20761 # the resulting binary.
20762 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20764 # Set to yes if building a shared library automatically hardcodes DIR into the library
20765 # and all subsequent libraries and executables linked against it.
20766 hardcode_automatic=$hardcode_automatic_RC
20768 # Variables whose values should be saved in libtool wrapper scripts and
20769 # restored at relink time.
20770 variables_saved_for_relink="$variables_saved_for_relink"
20772 # Whether libtool must link a program against all its dependency libraries.
20773 link_all_deplibs=$link_all_deplibs_RC
20775 # Compile-time system search path for libraries
20776 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20778 # Run-time system search path for libraries
20779 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20781 # Fix the shell variable \$srcfile for the compiler.
20782 fix_srcfile_path="$fix_srcfile_path_RC"
20784 # Set to yes if exported symbols are required.
20785 always_export_symbols=$always_export_symbols_RC
20787 # The commands to list exported symbols.
20788 export_symbols_cmds=$lt_export_symbols_cmds_RC
20790 # The commands to extract the exported symbol list from a shared archive.
20791 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20793 # Symbols that should not be listed in the preloaded symbols.
20794 exclude_expsyms=$lt_exclude_expsyms_RC
20796 # Symbols that must always be exported.
20797 include_expsyms=$lt_include_expsyms_RC
20799 # ### END LIBTOOL TAG CONFIG: $tagname
20805 # If there is no Makefile yet, we rely on a make rule to execute
20806 # `config.status --recheck' to rerun these tests and create the
20807 # libtool script then.
20808 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20809 if test -f "$ltmain_in"; then
20810 test -f Makefile
&& make "$ltmain"
20816 ac_cpp
='$CPP $CPPFLAGS'
20817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20826 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20827 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20828 { (exit 1); exit 1; }; }
20832 # Append the new tag name to the list of available tags.
20833 if test -n "$tagname" ; then
20834 available_tags
="$available_tags $tagname"
20840 # Now substitute the updated list of available tags.
20841 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20842 mv "${ofile}T" "$ofile"
20846 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20847 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20848 { (exit 1); exit 1; }; }
20854 # This can be used to rebuild libtool when needed
20855 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
20857 # Always use our own libtool.
20858 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
20860 # Prevent multiple expansion
20883 # Check whether --with-gnu-ld or --without-gnu-ld was given.
20884 if test "${with_gnu_ld+set}" = set; then
20885 withval
="$with_gnu_ld"
20886 test "$withval" = no || with_gnu_ld
=yes
20890 # Prepare PATH_SEPARATOR.
20891 # The user is always right.
20892 if test "${PATH_SEPARATOR+set}" != set; then
20893 echo "#! /bin/sh" >conf$$.sh
20894 echo "exit 0" >>conf$$.sh
20896 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20904 if test "$GCC" = yes; then
20905 # Check if gcc -print-prog-name=ld gives a path.
20906 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
20907 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
20910 # gcc leaves a trailing carriage return which upsets mingw
20911 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20913 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
20916 # Accept absolute paths.
20917 [\\/]* |
[A-Za-z
]:[\\/]*)
20918 re_direlt
='/[^/][^/]*/\.\./'
20919 # Canonicalize the path of ld
20920 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
20921 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
20922 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
20924 test -z "$LD" && LD
="$ac_prog"
20927 # If it fails, then pretend we aren't using GCC.
20931 # If it is relative, then search for the first ld in PATH.
20932 with_gnu_ld
=unknown
20935 elif test "$with_gnu_ld" = yes; then
20936 echo "$as_me:$LINENO: checking for GNU ld" >&5
20937 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
20939 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
20940 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
20942 if test "${acl_cv_path_LD+set}" = set; then
20943 echo $ECHO_N "(cached) $ECHO_C" >&6
20945 if test -z "$LD"; then
20946 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
20947 for ac_dir
in $PATH; do
20948 test -z "$ac_dir" && ac_dir
=.
20949 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
20950 acl_cv_path_LD
="$ac_dir/$ac_prog"
20951 # Check to see if the program is GNU ld. I'd rather use --version,
20952 # but apparently some GNU ld's only accept -v.
20953 # Break only if it was the GNU/non-GNU ld that we prefer.
20954 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
20955 *GNU
* |
*'with BFD'*)
20956 test "$with_gnu_ld" != no
&& break ;;
20958 test "$with_gnu_ld" != yes && break ;;
20964 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
20968 LD
="$acl_cv_path_LD"
20969 if test -n "$LD"; then
20970 echo "$as_me:$LINENO: result: $LD" >&5
20971 echo "${ECHO_T}$LD" >&6
20973 echo "$as_me:$LINENO: result: no" >&5
20974 echo "${ECHO_T}no" >&6
20976 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
20977 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
20978 { (exit 1); exit 1; }; }
20979 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
20980 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
20981 if test "${acl_cv_prog_gnu_ld+set}" = set; then
20982 echo $ECHO_N "(cached) $ECHO_C" >&6
20984 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
20985 case `$LD -v 2>&1 </dev/null` in
20986 *GNU
* |
*'with BFD'*)
20987 acl_cv_prog_gnu_ld
=yes ;;
20989 acl_cv_prog_gnu_ld
=no
;;
20992 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
20993 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
20994 with_gnu_ld
=$acl_cv_prog_gnu_ld
20998 echo "$as_me:$LINENO: checking for shared library path variable" >&5
20999 echo $ECHO_N "checking for shared library path variable... $ECHO_C" >&6
21000 if test "${acl_cv_libpath+set}" = set; then
21001 echo $ECHO_N "(cached) $ECHO_C" >&6
21005 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.libpath" "$host" > conftest.sh
21007 rm -f .
/conftest.sh
21008 acl_cv_libpath
=${acl_cv_shlibpath_var:-none}
21011 echo "$as_me:$LINENO: result: $acl_cv_libpath" >&5
21012 echo "${ECHO_T}$acl_cv_libpath" >&6
21013 shlibpath_var
="$acl_cv_shlibpath_var"
21016 echo "$as_me:$LINENO: checking whether to activate relocatable installation" >&5
21017 echo $ECHO_N "checking whether to activate relocatable installation... $ECHO_C" >&6
21018 # Check whether --enable-relocatable or --disable-relocatable was given.
21019 if test "${enable_relocatable+set}" = set; then
21020 enableval
="$enable_relocatable"
21021 if test "$enableval" != no
; then
21031 echo "$as_me:$LINENO: result: $RELOCATABLE" >&5
21032 echo "${ECHO_T}$RELOCATABLE" >&6
21036 if test "X$prefix" = "XNONE"; then
21037 reloc_final_prefix
="$ac_default_prefix"
21039 reloc_final_prefix
="$prefix"
21042 cat >>confdefs.h
<<_ACEOF
21043 #define INSTALLPREFIX "${reloc_final_prefix}"
21052 use_elf_origin_trick
=no
21053 if test $RELOCATABLE = yes; then
21054 # --enable-relocatable implies --disable-rpath
21057 "relocatable.$ac_objext" | \
21058 *" relocatable.$ac_objext" | \
21059 "relocatable.$ac_objext "* | \
21060 *" relocatable.$ac_objext "* ) ;;
21061 *) LIBOBJS
="$LIBOBJS relocatable.$ac_objext" ;;
21065 cat >>confdefs.h
<<\_ACEOF
21066 #define ENABLE_RELOCATABLE 1
21070 linux
*) use_elf_origin_trick
=yes ;;
21072 if test $use_elf_origin_trick = yes; then
21073 case "$ac_aux_dir" in
21074 /*) reloc_ldflags
="$ac_aux_dir/reloc-ldflags" ;;
21075 *) reloc_ldflags
="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;;
21077 SET_RELOCATABLE
="RELOCATABLE_LDFLAGS = \"$reloc_ldflags\" \"\$(host)\" \"\$(RELOCATABLE_LIBRARY_PATH)\""
21079 SET_RELOCATABLE
="INSTALL_PROGRAM_ENV = RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\""
21080 case "$ac_aux_dir" in
21081 /*) INSTALL_PROGRAM
="$ac_aux_dir/install-reloc" ;;
21082 *) INSTALL_PROGRAM
="\$(top_builddir)/$ac_aux_dir/install-reloc" ;;
21091 if test $use_elf_origin_trick = yes; then
21092 RELOCATABLE_VIA_LD_TRUE
=
21093 RELOCATABLE_VIA_LD_FALSE
='#'
21095 RELOCATABLE_VIA_LD_TRUE
='#'
21096 RELOCATABLE_VIA_LD_FALSE
=
21102 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21103 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
21104 if test "${ac_cv_header_stdc+set}" = set; then
21105 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 cat >conftest.
$ac_ext <<_ACEOF
21110 cat confdefs.h
>>conftest.
$ac_ext
21111 cat >>conftest.
$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 #include <stdlib.h>
21114 #include <stdarg.h>
21115 #include <string.h>
21126 rm -f conftest.
$ac_objext
21127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21128 (eval $ac_compile) 2>conftest.er1
21130 grep -v '^ *+' conftest.er1
>conftest.err
21132 cat conftest.err
>&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try
='test -z "$ac_c_werror_flag"
21136 || test ! -s conftest.err'
21137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21138 (eval $ac_try) 2>&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); }; } &&
21142 { ac_try
='test -s conftest.$ac_objext'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; }; then
21148 ac_cv_header_stdc
=yes
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.
$ac_ext >&5
21153 ac_cv_header_stdc
=no
21155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21157 if test $ac_cv_header_stdc = yes; then
21158 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21159 cat >conftest.
$ac_ext <<_ACEOF
21162 cat confdefs.h
>>conftest.
$ac_ext
21163 cat >>conftest.
$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21165 #include <string.h>
21168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21169 $EGREP "memchr" >/dev
/null
2>&1; then
21172 ac_cv_header_stdc
=no
21178 if test $ac_cv_header_stdc = yes; then
21179 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21180 cat >conftest.
$ac_ext <<_ACEOF
21183 cat confdefs.h
>>conftest.
$ac_ext
21184 cat >>conftest.
$ac_ext <<_ACEOF
21185 /* end confdefs.h. */
21186 #include <stdlib.h>
21189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21190 $EGREP "free" >/dev
/null
2>&1; then
21193 ac_cv_header_stdc
=no
21199 if test $ac_cv_header_stdc = yes; then
21200 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21201 if test "$cross_compiling" = yes; then
21204 cat >conftest.
$ac_ext <<_ACEOF
21207 cat confdefs.h
>>conftest.
$ac_ext
21208 cat >>conftest.
$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21211 #if ((' ' & 0x0FF) == 0x020)
21212 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21213 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21215 # define ISLOWER(c) \
21216 (('a' <= (c) && (c) <= 'i') \
21217 || ('j' <= (c) && (c) <= 'r') \
21218 || ('s' <= (c) && (c) <= 'z'))
21219 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21222 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21227 for (i = 0; i < 256; i++)
21228 if (XOR (islower (i), ISLOWER (i))
21229 || toupper (i) != TOUPPER (i))
21234 rm -f conftest
$ac_exeext
21235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21236 (eval $ac_link) 2>&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; }; then
21247 echo "$as_me: program exited with status $ac_status" >&5
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.
$ac_ext >&5
21251 ( exit $ac_status )
21252 ac_cv_header_stdc
=no
21254 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21258 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21259 echo "${ECHO_T}$ac_cv_header_stdc" >&6
21260 if test $ac_cv_header_stdc = yes; then
21262 cat >>confdefs.h
<<\_ACEOF
21263 #define STDC_HEADERS 1
21275 for ac_header
in limits.h malloc.h
pwd.h string.h unistd.h utime.h values.h
21277 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21279 echo "$as_me:$LINENO: checking for $ac_header" >&5
21280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21281 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21282 echo $ECHO_N "(cached) $ECHO_C" >&6
21284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21287 # Is the header compilable?
21288 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21289 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21290 cat >conftest.
$ac_ext <<_ACEOF
21293 cat confdefs.h
>>conftest.
$ac_ext
21294 cat >>conftest.
$ac_ext <<_ACEOF
21295 /* end confdefs.h. */
21296 $ac_includes_default
21297 #include <$ac_header>
21299 rm -f conftest.
$ac_objext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21301 (eval $ac_compile) 2>conftest.er1
21303 grep -v '^ *+' conftest.er1
>conftest.err
21305 cat conftest.err
>&5
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } &&
21308 { ac_try
='test -z "$ac_c_werror_flag"
21309 || test ! -s conftest.err'
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; } &&
21315 { ac_try
='test -s conftest.$ac_objext'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21321 ac_header_compiler
=yes
21323 echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.
$ac_ext >&5
21326 ac_header_compiler
=no
21328 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21330 echo "${ECHO_T}$ac_header_compiler" >&6
21332 # Is the header present?
21333 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21334 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21335 cat >conftest.
$ac_ext <<_ACEOF
21338 cat confdefs.h
>>conftest.
$ac_ext
21339 cat >>conftest.
$ac_ext <<_ACEOF
21340 /* end confdefs.h. */
21341 #include <$ac_header>
21343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21344 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21346 grep -v '^ *+' conftest.er1
>conftest.err
21348 cat conftest.err
>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); } >/dev
/null
; then
21351 if test -s conftest.err
; then
21352 ac_cpp_err
=$ac_c_preproc_warn_flag
21353 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21360 if test -z "$ac_cpp_err"; then
21361 ac_header_preproc
=yes
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.
$ac_ext >&5
21366 ac_header_preproc
=no
21368 rm -f conftest.err conftest.
$ac_ext
21369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21370 echo "${ECHO_T}$ac_header_preproc" >&6
21372 # So? What about this header?
21373 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21376 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21378 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21379 ac_header_preproc
=yes
21382 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21383 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21384 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21385 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21386 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21387 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21388 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21389 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21392 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21393 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21396 ## ------------------------------------------ ##
21397 ## Report this to the AC_PACKAGE_NAME lists. ##
21398 ## ------------------------------------------ ##
21401 sed "s/^/$as_me: WARNING: /" >&2
21404 echo "$as_me:$LINENO: checking for $ac_header" >&5
21405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21407 echo $ECHO_N "(cached) $ECHO_C" >&6
21409 eval "$as_ac_Header=\$ac_header_preproc"
21411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21416 cat >>confdefs.h
<<_ACEOF
21417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21424 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
21425 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
21426 if test "${ac_cv_header_stdbool_h+set}" = set; then
21427 echo $ECHO_N "(cached) $ECHO_C" >&6
21429 cat >conftest.
$ac_ext <<_ACEOF
21432 cat confdefs.h
>>conftest.
$ac_ext
21433 cat >>conftest.
$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21436 #include <stdbool.h>
21438 "error: bool is not defined"
21441 "error: false is not defined"
21444 "error: false is not 0"
21447 "error: true is not defined"
21450 "error: true is not 1"
21452 #ifndef __bool_true_false_are_defined
21453 "error: __bool_true_false_are_defined is not defined"
21456 struct s { _Bool s: 1; _Bool t; } s;
21458 char a[true == 1 ? 1 : -1];
21459 char b[false == 0 ? 1 : -1];
21460 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
21461 char d[(bool) -0.5 == true ? 1 : -1];
21463 char f[(_Bool) -0.0 == false ? 1 : -1];
21465 char h[sizeof (_Bool)];
21466 char i[sizeof s.t];
21467 enum { j = false, k = true, l = false * true, m = true * 256 };
21469 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
21475 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k + !l
21482 rm -f conftest.
$ac_objext
21483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21484 (eval $ac_compile) 2>conftest.er1
21486 grep -v '^ *+' conftest.er1
>conftest.err
21488 cat conftest.err
>&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } &&
21491 { ac_try
='test -z "$ac_c_werror_flag"
21492 || test ! -s conftest.err'
21493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21494 (eval $ac_try) 2>&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); }; } &&
21498 { ac_try
='test -s conftest.$ac_objext'
21499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21500 (eval $ac_try) 2>&5
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); }; }; then
21504 ac_cv_header_stdbool_h
=yes
21506 echo "$as_me: failed program was:" >&5
21507 sed 's/^/| /' conftest.
$ac_ext >&5
21509 ac_cv_header_stdbool_h
=no
21511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21513 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
21514 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
21515 echo "$as_me:$LINENO: checking for _Bool" >&5
21516 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
21517 if test "${ac_cv_type__Bool+set}" = set; then
21518 echo $ECHO_N "(cached) $ECHO_C" >&6
21520 cat >conftest.
$ac_ext <<_ACEOF
21523 cat confdefs.h
>>conftest.
$ac_ext
21524 cat >>conftest.
$ac_ext <<_ACEOF
21525 /* end confdefs.h. */
21526 $ac_includes_default
21532 if (sizeof (_Bool))
21538 rm -f conftest.
$ac_objext
21539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21540 (eval $ac_compile) 2>conftest.er1
21542 grep -v '^ *+' conftest.er1
>conftest.err
21544 cat conftest.err
>&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); } &&
21547 { ac_try
='test -z "$ac_c_werror_flag"
21548 || test ! -s conftest.err'
21549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21550 (eval $ac_try) 2>&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; } &&
21554 { ac_try
='test -s conftest.$ac_objext'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; }; then
21560 ac_cv_type__Bool
=yes
21562 echo "$as_me: failed program was:" >&5
21563 sed 's/^/| /' conftest.
$ac_ext >&5
21565 ac_cv_type__Bool
=no
21567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21569 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
21570 echo "${ECHO_T}$ac_cv_type__Bool" >&6
21571 if test $ac_cv_type__Bool = yes; then
21573 cat >>confdefs.h
<<_ACEOF
21574 #define HAVE__BOOL 1
21580 if test $ac_cv_header_stdbool_h = yes; then
21582 cat >>confdefs.h
<<\_ACEOF
21583 #define HAVE_STDBOOL_H 1
21590 # Define two additional variables used in the Makefile substitution.
21592 if test "$ac_cv_header_stdbool_h" = yes; then
21595 STDBOOL_H
='stdbool.h'
21599 if test "$ac_cv_type__Bool" = yes; then
21607 echo "$as_me:$LINENO: checking for inline" >&5
21608 echo $ECHO_N "checking for inline... $ECHO_C" >&6
21609 if test "${ac_cv_c_inline+set}" = set; then
21610 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 for ac_kw
in inline __inline__ __inline
; do
21614 cat >conftest.
$ac_ext <<_ACEOF
21617 cat confdefs.h
>>conftest.
$ac_ext
21618 cat >>conftest.
$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 #ifndef __cplusplus
21622 static $ac_kw foo_t static_foo () {return 0; }
21623 $ac_kw foo_t foo () {return 0; }
21627 rm -f conftest.
$ac_objext
21628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21629 (eval $ac_compile) 2>conftest.er1
21631 grep -v '^ *+' conftest.er1
>conftest.err
21633 cat conftest.err
>&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } &&
21636 { ac_try
='test -z "$ac_c_werror_flag"
21637 || test ! -s conftest.err'
21638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21639 (eval $ac_try) 2>&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); }; } &&
21643 { ac_try
='test -s conftest.$ac_objext'
21644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645 (eval $ac_try) 2>&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); }; }; then
21649 ac_cv_c_inline
=$ac_kw; break
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.
$ac_ext >&5
21655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21659 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21660 echo "${ECHO_T}$ac_cv_c_inline" >&6
21663 case $ac_cv_c_inline in
21666 case $ac_cv_c_inline in
21668 *) ac_val
=$ac_cv_c_inline;;
21670 cat >>confdefs.h
<<_ACEOF
21671 #ifndef __cplusplus
21672 #define inline $ac_val
21679 echo "$as_me:$LINENO: checking for signed" >&5
21680 echo $ECHO_N "checking for signed... $ECHO_C" >&6
21681 if test "${bh_cv_c_signed+set}" = set; then
21682 echo $ECHO_N "(cached) $ECHO_C" >&6
21684 cat >conftest.
$ac_ext <<_ACEOF
21687 cat confdefs.h
>>conftest.
$ac_ext
21688 cat >>conftest.
$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21699 rm -f conftest.
$ac_objext
21700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21701 (eval $ac_compile) 2>conftest.er1
21703 grep -v '^ *+' conftest.er1
>conftest.err
21705 cat conftest.err
>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } &&
21708 { ac_try
='test -z "$ac_c_werror_flag"
21709 || test ! -s conftest.err'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; } &&
21715 { ac_try
='test -s conftest.$ac_objext'
21716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21717 (eval $ac_try) 2>&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; }; then
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.
$ac_ext >&5
21728 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21730 echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
21731 echo "${ECHO_T}$bh_cv_c_signed" >&6
21732 if test $bh_cv_c_signed = no
; then
21734 cat >>confdefs.h
<<\_ACEOF
21741 echo "$as_me:$LINENO: checking for unsigned long long" >&5
21742 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
21743 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
21744 echo $ECHO_N "(cached) $ECHO_C" >&6
21746 cat >conftest.
$ac_ext <<_ACEOF
21749 cat confdefs.h
>>conftest.
$ac_ext
21750 cat >>conftest.
$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 unsigned long long ull = 1ULL; int i = 63;
21756 unsigned long long ullmax = (unsigned long long) -1;
21757 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
21762 rm -f conftest.
$ac_objext conftest
$ac_exeext
21763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21764 (eval $ac_link) 2>conftest.er1
21766 grep -v '^ *+' conftest.er1
>conftest.err
21768 cat conftest.err
>&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } &&
21771 { ac_try
='test -z "$ac_c_werror_flag"
21772 || test ! -s conftest.err'
21773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21774 (eval $ac_try) 2>&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); }; } &&
21778 { ac_try
='test -s conftest$ac_exeext'
21779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21780 (eval $ac_try) 2>&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); }; }; then
21784 ac_cv_type_unsigned_long_long
=yes
21786 echo "$as_me: failed program was:" >&5
21787 sed 's/^/| /' conftest.
$ac_ext >&5
21789 ac_cv_type_unsigned_long_long
=no
21791 rm -f conftest.err conftest.
$ac_objext \
21792 conftest
$ac_exeext conftest.
$ac_ext
21794 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
21795 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
21796 if test $ac_cv_type_unsigned_long_long = yes; then
21798 cat >>confdefs.h
<<\_ACEOF
21799 #define HAVE_UNSIGNED_LONG_LONG 1
21804 echo "$as_me:$LINENO: checking for size_t" >&5
21805 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21806 if test "${ac_cv_type_size_t+set}" = set; then
21807 echo $ECHO_N "(cached) $ECHO_C" >&6
21809 cat >conftest.
$ac_ext <<_ACEOF
21812 cat confdefs.h
>>conftest.
$ac_ext
21813 cat >>conftest.
$ac_ext <<_ACEOF
21814 /* end confdefs.h. */
21815 $ac_includes_default
21821 if (sizeof (size_t))
21827 rm -f conftest.
$ac_objext
21828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21829 (eval $ac_compile) 2>conftest.er1
21831 grep -v '^ *+' conftest.er1
>conftest.err
21833 cat conftest.err
>&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); } &&
21836 { ac_try
='test -z "$ac_c_werror_flag"
21837 || test ! -s conftest.err'
21838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839 (eval $ac_try) 2>&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; } &&
21843 { ac_try
='test -s conftest.$ac_objext'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; }; then
21849 ac_cv_type_size_t
=yes
21851 echo "$as_me: failed program was:" >&5
21852 sed 's/^/| /' conftest.
$ac_ext >&5
21854 ac_cv_type_size_t
=no
21856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21858 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21859 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21860 if test $ac_cv_type_size_t = yes; then
21864 cat >>confdefs.h
<<_ACEOF
21865 #define size_t unsigned
21870 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
21871 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
21872 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
21873 echo $ECHO_N "(cached) $ECHO_C" >&6
21875 cat >conftest.
$ac_ext <<_ACEOF
21878 cat confdefs.h
>>conftest.
$ac_ext
21879 cat >>conftest.
$ac_ext <<_ACEOF
21880 /* end confdefs.h. */
21881 $ac_includes_default
21885 if ((ptrdiff_t *) 0)
21887 if (sizeof (ptrdiff_t))
21893 rm -f conftest.
$ac_objext
21894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21895 (eval $ac_compile) 2>conftest.er1
21897 grep -v '^ *+' conftest.er1
>conftest.err
21899 cat conftest.err
>&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try
='test -z "$ac_c_werror_flag"
21903 || test ! -s conftest.err'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; } &&
21909 { ac_try
='test -s conftest.$ac_objext'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; }; then
21915 ac_cv_type_ptrdiff_t
=yes
21917 echo "$as_me: failed program was:" >&5
21918 sed 's/^/| /' conftest.
$ac_ext >&5
21920 ac_cv_type_ptrdiff_t
=no
21922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21924 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
21925 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
21926 if test $ac_cv_type_ptrdiff_t = yes; then
21928 cat >>confdefs.h
<<_ACEOF
21929 #define HAVE_PTRDIFF_T 1
21936 echo "$as_me:$LINENO: checking for inttypes.h" >&5
21937 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
21938 if test "${gl_cv_header_inttypes_h+set}" = set; then
21939 echo $ECHO_N "(cached) $ECHO_C" >&6
21941 cat >conftest.
$ac_ext <<_ACEOF
21944 cat confdefs.h
>>conftest.
$ac_ext
21945 cat >>conftest.
$ac_ext <<_ACEOF
21946 /* end confdefs.h. */
21947 #include <sys/types.h>
21948 #include <inttypes.h>
21952 uintmax_t i = (uintmax_t) -1;
21957 rm -f conftest.
$ac_objext
21958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21959 (eval $ac_compile) 2>conftest.er1
21961 grep -v '^ *+' conftest.er1
>conftest.err
21963 cat conftest.err
>&5
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); } &&
21966 { ac_try
='test -z "$ac_c_werror_flag"
21967 || test ! -s conftest.err'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; } &&
21973 { ac_try
='test -s conftest.$ac_objext'
21974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21975 (eval $ac_try) 2>&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); }; }; then
21979 gl_cv_header_inttypes_h
=yes
21981 echo "$as_me: failed program was:" >&5
21982 sed 's/^/| /' conftest.
$ac_ext >&5
21984 gl_cv_header_inttypes_h
=no
21986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21988 echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
21989 echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6
21990 if test $gl_cv_header_inttypes_h = yes; then
21992 cat >>confdefs.h
<<_ACEOF
21993 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
21999 echo "$as_me:$LINENO: checking for stdint.h" >&5
22000 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
22001 if test "${gl_cv_header_stdint_h+set}" = set; then
22002 echo $ECHO_N "(cached) $ECHO_C" >&6
22004 cat >conftest.
$ac_ext <<_ACEOF
22007 cat confdefs.h
>>conftest.
$ac_ext
22008 cat >>conftest.
$ac_ext <<_ACEOF
22009 /* end confdefs.h. */
22010 #include <sys/types.h>
22011 #include <stdint.h>
22015 uintmax_t i = (uintmax_t) -1;
22020 rm -f conftest.
$ac_objext
22021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22022 (eval $ac_compile) 2>conftest.er1
22024 grep -v '^ *+' conftest.er1
>conftest.err
22026 cat conftest.err
>&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); } &&
22029 { ac_try
='test -z "$ac_c_werror_flag"
22030 || test ! -s conftest.err'
22031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22032 (eval $ac_try) 2>&5
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); }; } &&
22036 { ac_try
='test -s conftest.$ac_objext'
22037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22038 (eval $ac_try) 2>&5
22040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22041 (exit $ac_status); }; }; then
22042 gl_cv_header_stdint_h
=yes
22044 echo "$as_me: failed program was:" >&5
22045 sed 's/^/| /' conftest.
$ac_ext >&5
22047 gl_cv_header_stdint_h
=no
22049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22051 echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
22052 echo "${ECHO_T}$gl_cv_header_stdint_h" >&6
22053 if test $gl_cv_header_stdint_h = yes; then
22055 cat >>confdefs.h
<<_ACEOF
22056 #define HAVE_STDINT_H_WITH_UINTMAX 1
22064 if test $gl_cv_header_inttypes_h = no
&& test $gl_cv_header_stdint_h = no
; then
22066 test $ac_cv_type_unsigned_long_long = yes \
22067 && ac_type
='unsigned long long' \
22068 || ac_type
='unsigned long'
22070 cat >>confdefs.h
<<_ACEOF
22071 #define uintmax_t $ac_type
22076 cat >>confdefs.h
<<\_ACEOF
22077 #define HAVE_UINTMAX_T 1
22083 echo "$as_me:$LINENO: checking for ssize_t" >&5
22084 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
22085 if test "${gt_cv_ssize_t+set}" = set; then
22086 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 cat >conftest.
$ac_ext <<_ACEOF
22091 cat confdefs.h
>>conftest.
$ac_ext
22092 cat >>conftest.
$ac_ext <<_ACEOF
22093 /* end confdefs.h. */
22094 #include <sys/types.h>
22098 int x = sizeof (ssize_t *) + sizeof (ssize_t);
22103 rm -f conftest.
$ac_objext
22104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22105 (eval $ac_compile) 2>conftest.er1
22107 grep -v '^ *+' conftest.er1
>conftest.err
22109 cat conftest.err
>&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } &&
22112 { ac_try
='test -z "$ac_c_werror_flag"
22113 || test ! -s conftest.err'
22114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22115 (eval $ac_try) 2>&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); }; } &&
22119 { ac_try
='test -s conftest.$ac_objext'
22120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121 (eval $ac_try) 2>&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; }; then
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.
$ac_ext >&5
22132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22134 echo "$as_me:$LINENO: result: $gt_cv_ssize_t" >&5
22135 echo "${ECHO_T}$gt_cv_ssize_t" >&6
22136 if test $gt_cv_ssize_t = no
; then
22138 cat >>confdefs.h
<<\_ACEOF
22139 #define ssize_t int
22144 echo "$as_me:$LINENO: checking for pid_t" >&5
22145 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
22146 if test "${ac_cv_type_pid_t+set}" = set; then
22147 echo $ECHO_N "(cached) $ECHO_C" >&6
22149 cat >conftest.
$ac_ext <<_ACEOF
22152 cat confdefs.h
>>conftest.
$ac_ext
22153 cat >>conftest.
$ac_ext <<_ACEOF
22154 /* end confdefs.h. */
22155 $ac_includes_default
22161 if (sizeof (pid_t))
22167 rm -f conftest.
$ac_objext
22168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22169 (eval $ac_compile) 2>conftest.er1
22171 grep -v '^ *+' conftest.er1
>conftest.err
22173 cat conftest.err
>&5
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); } &&
22176 { ac_try
='test -z "$ac_c_werror_flag"
22177 || test ! -s conftest.err'
22178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179 (eval $ac_try) 2>&5
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); }; } &&
22183 { ac_try
='test -s conftest.$ac_objext'
22184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185 (eval $ac_try) 2>&5
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_type_pid_t
=yes
22191 echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.
$ac_ext >&5
22194 ac_cv_type_pid_t
=no
22196 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22198 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
22199 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
22200 if test $ac_cv_type_pid_t = yes; then
22204 cat >>confdefs.h
<<_ACEOF
22210 echo "$as_me:$LINENO: checking for mode_t" >&5
22211 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
22212 if test "${ac_cv_type_mode_t+set}" = set; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22215 cat >conftest.
$ac_ext <<_ACEOF
22218 cat confdefs.h
>>conftest.
$ac_ext
22219 cat >>conftest.
$ac_ext <<_ACEOF
22220 /* end confdefs.h. */
22221 $ac_includes_default
22227 if (sizeof (mode_t))
22233 rm -f conftest.
$ac_objext
22234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22235 (eval $ac_compile) 2>conftest.er1
22237 grep -v '^ *+' conftest.er1
>conftest.err
22239 cat conftest.err
>&5
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); } &&
22242 { ac_try
='test -z "$ac_c_werror_flag"
22243 || test ! -s conftest.err'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; } &&
22249 { ac_try
='test -s conftest.$ac_objext'
22250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22251 (eval $ac_try) 2>&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); }; }; then
22255 ac_cv_type_mode_t
=yes
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.
$ac_ext >&5
22260 ac_cv_type_mode_t
=no
22262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22264 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
22265 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
22266 if test $ac_cv_type_mode_t = yes; then
22270 cat >>confdefs.h
<<_ACEOF
22277 echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
22278 echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
22279 if test "${ac_cv_type_sig_atomic_t+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22282 cat >conftest.
$ac_ext <<_ACEOF
22285 cat confdefs.h
>>conftest.
$ac_ext
22286 cat >>conftest.
$ac_ext <<_ACEOF
22287 /* end confdefs.h. */
22288 #include <signal.h>
22293 if ((sig_atomic_t *) 0)
22295 if (sizeof (sig_atomic_t))
22301 rm -f conftest.
$ac_objext
22302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22303 (eval $ac_compile) 2>conftest.er1
22305 grep -v '^ *+' conftest.er1
>conftest.err
22307 cat conftest.err
>&5
22308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22309 (exit $ac_status); } &&
22310 { ac_try
='test -z "$ac_c_werror_flag"
22311 || test ! -s conftest.err'
22312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22313 (eval $ac_try) 2>&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); }; } &&
22317 { ac_try
='test -s conftest.$ac_objext'
22318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319 (eval $ac_try) 2>&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); }; }; then
22323 ac_cv_type_sig_atomic_t
=yes
22325 echo "$as_me: failed program was:" >&5
22326 sed 's/^/| /' conftest.
$ac_ext >&5
22328 ac_cv_type_sig_atomic_t
=no
22330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22332 echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
22333 echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
22334 if test $ac_cv_type_sig_atomic_t = yes; then
22336 cat >>confdefs.h
<<_ACEOF
22337 #define HAVE_SIG_ATOMIC_T 1
22343 cat >>confdefs.h
<<\_ACEOF
22344 #define sig_atomic_t int
22351 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
22352 # for constant arguments. Useless!
22353 echo "$as_me:$LINENO: checking for working alloca.h" >&5
22354 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
22355 if test "${ac_cv_working_alloca_h+set}" = set; then
22356 echo $ECHO_N "(cached) $ECHO_C" >&6
22358 cat >conftest.
$ac_ext <<_ACEOF
22361 cat confdefs.h
>>conftest.
$ac_ext
22362 cat >>conftest.
$ac_ext <<_ACEOF
22363 /* end confdefs.h. */
22364 #include <alloca.h>
22368 char *p = (char *) alloca (2 * sizeof (int));
22373 rm -f conftest.
$ac_objext conftest
$ac_exeext
22374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22375 (eval $ac_link) 2>conftest.er1
22377 grep -v '^ *+' conftest.er1
>conftest.err
22379 cat conftest.err
>&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } &&
22382 { ac_try
='test -z "$ac_c_werror_flag"
22383 || test ! -s conftest.err'
22384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22385 (eval $ac_try) 2>&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); }; } &&
22389 { ac_try
='test -s conftest$ac_exeext'
22390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22391 (eval $ac_try) 2>&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); }; }; then
22395 ac_cv_working_alloca_h
=yes
22397 echo "$as_me: failed program was:" >&5
22398 sed 's/^/| /' conftest.
$ac_ext >&5
22400 ac_cv_working_alloca_h
=no
22402 rm -f conftest.err conftest.
$ac_objext \
22403 conftest
$ac_exeext conftest.
$ac_ext
22405 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
22406 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
22407 if test $ac_cv_working_alloca_h = yes; then
22409 cat >>confdefs.h
<<\_ACEOF
22410 #define HAVE_ALLOCA_H 1
22415 echo "$as_me:$LINENO: checking for alloca" >&5
22416 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
22417 if test "${ac_cv_func_alloca_works+set}" = set; then
22418 echo $ECHO_N "(cached) $ECHO_C" >&6
22420 cat >conftest.
$ac_ext <<_ACEOF
22423 cat confdefs.h
>>conftest.
$ac_ext
22424 cat >>conftest.
$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22427 # define alloca __builtin_alloca
22430 # include <malloc.h>
22431 # define alloca _alloca
22434 # include <alloca.h>
22439 # ifndef alloca /* predefined by HP cc +Olibcalls */
22450 char *p = (char *) alloca (1);
22455 rm -f conftest.
$ac_objext conftest
$ac_exeext
22456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22457 (eval $ac_link) 2>conftest.er1
22459 grep -v '^ *+' conftest.er1
>conftest.err
22461 cat conftest.err
>&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } &&
22464 { ac_try
='test -z "$ac_c_werror_flag"
22465 || test ! -s conftest.err'
22466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22467 (eval $ac_try) 2>&5
22469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470 (exit $ac_status); }; } &&
22471 { ac_try
='test -s conftest$ac_exeext'
22472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22473 (eval $ac_try) 2>&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); }; }; then
22477 ac_cv_func_alloca_works
=yes
22479 echo "$as_me: failed program was:" >&5
22480 sed 's/^/| /' conftest.
$ac_ext >&5
22482 ac_cv_func_alloca_works
=no
22484 rm -f conftest.err conftest.
$ac_objext \
22485 conftest
$ac_exeext conftest.
$ac_ext
22487 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
22488 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
22490 if test $ac_cv_func_alloca_works = yes; then
22492 cat >>confdefs.h
<<\_ACEOF
22493 #define HAVE_ALLOCA 1
22497 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
22498 # that cause trouble. Some versions do not even contain alloca or
22499 # contain a buggy version. If you still want to use their alloca,
22500 # use ar to extract alloca.o from them instead of compiling alloca.c.
22502 ALLOCA
=alloca.
$ac_objext
22504 cat >>confdefs.h
<<\_ACEOF
22509 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
22510 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
22511 if test "${ac_cv_os_cray+set}" = set; then
22512 echo $ECHO_N "(cached) $ECHO_C" >&6
22514 cat >conftest.
$ac_ext <<_ACEOF
22517 cat confdefs.h
>>conftest.
$ac_ext
22518 cat >>conftest.
$ac_ext <<_ACEOF
22519 /* end confdefs.h. */
22520 #if defined(CRAY) && ! defined(CRAY2)
22527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22528 $EGREP "webecray" >/dev
/null
2>&1; then
22536 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
22537 echo "${ECHO_T}$ac_cv_os_cray" >&6
22538 if test $ac_cv_os_cray = yes; then
22539 for ac_func
in _getb67 GETB67 getb67
; do
22540 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22541 echo "$as_me:$LINENO: checking for $ac_func" >&5
22542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22543 if eval "test \"\${$as_ac_var+set}\" = set"; then
22544 echo $ECHO_N "(cached) $ECHO_C" >&6
22546 cat >conftest.
$ac_ext <<_ACEOF
22549 cat confdefs.h
>>conftest.
$ac_ext
22550 cat >>conftest.
$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22554 #define $ac_func innocuous_$ac_func
22556 /* System header to define __stub macros and hopefully few prototypes,
22557 which can conflict with char $ac_func (); below.
22558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22559 <limits.h> exists even on freestanding compilers. */
22562 # include <limits.h>
22564 # include <assert.h>
22569 /* Override any gcc2 internal prototype to avoid an error. */
22574 /* We use char because int might match the return type of a gcc2
22575 builtin and then its argument prototype would still apply. */
22577 /* The GNU C library defines this for functions which it implements
22578 to always fail with ENOSYS. Some functions are actually named
22579 something starting with __ and the normal name is an alias. */
22580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22583 char (*f) () = $ac_func;
22592 return f != $ac_func;
22597 rm -f conftest.
$ac_objext conftest
$ac_exeext
22598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22599 (eval $ac_link) 2>conftest.er1
22601 grep -v '^ *+' conftest.er1
>conftest.err
22603 cat conftest.err
>&5
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); } &&
22606 { ac_try
='test -z "$ac_c_werror_flag"
22607 || test ! -s conftest.err'
22608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609 (eval $ac_try) 2>&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); }; } &&
22613 { ac_try
='test -s conftest$ac_exeext'
22614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22615 (eval $ac_try) 2>&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); }; }; then
22619 eval "$as_ac_var=yes"
22621 echo "$as_me: failed program was:" >&5
22622 sed 's/^/| /' conftest.
$ac_ext >&5
22624 eval "$as_ac_var=no"
22626 rm -f conftest.err conftest.
$ac_objext \
22627 conftest
$ac_exeext conftest.
$ac_ext
22629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22631 if test `eval echo '${'$as_ac_var'}'` = yes; then
22633 cat >>confdefs.h
<<_ACEOF
22634 #define CRAY_STACKSEG_END $ac_func
22643 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
22644 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
22645 if test "${ac_cv_c_stack_direction+set}" = set; then
22646 echo $ECHO_N "(cached) $ECHO_C" >&6
22648 if test "$cross_compiling" = yes; then
22649 ac_cv_c_stack_direction
=0
22651 cat >conftest.
$ac_ext <<_ACEOF
22654 cat confdefs.h
>>conftest.
$ac_ext
22655 cat >>conftest.
$ac_ext <<_ACEOF
22656 /* end confdefs.h. */
22658 find_stack_direction ()
22660 static char *addr = 0;
22665 return find_stack_direction ();
22668 return (&dummy > addr) ? 1 : -1;
22674 exit (find_stack_direction () < 0);
22677 rm -f conftest
$ac_exeext
22678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22679 (eval $ac_link) 2>&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; }; then
22688 ac_cv_c_stack_direction
=1
22690 echo "$as_me: program exited with status $ac_status" >&5
22691 echo "$as_me: failed program was:" >&5
22692 sed 's/^/| /' conftest.
$ac_ext >&5
22694 ( exit $ac_status )
22695 ac_cv_c_stack_direction
=-1
22697 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
22700 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
22701 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
22703 cat >>confdefs.h
<<_ACEOF
22704 #define STACK_DIRECTION $ac_cv_c_stack_direction
22712 for ac_header
in stdlib.h
22714 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22716 echo "$as_me:$LINENO: checking for $ac_header" >&5
22717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22719 echo $ECHO_N "(cached) $ECHO_C" >&6
22721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22724 # Is the header compilable?
22725 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22727 cat >conftest.
$ac_ext <<_ACEOF
22730 cat confdefs.h
>>conftest.
$ac_ext
22731 cat >>conftest.
$ac_ext <<_ACEOF
22732 /* end confdefs.h. */
22733 $ac_includes_default
22734 #include <$ac_header>
22736 rm -f conftest.
$ac_objext
22737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22738 (eval $ac_compile) 2>conftest.er1
22740 grep -v '^ *+' conftest.er1
>conftest.err
22742 cat conftest.err
>&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } &&
22745 { ac_try
='test -z "$ac_c_werror_flag"
22746 || test ! -s conftest.err'
22747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22748 (eval $ac_try) 2>&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); }; } &&
22752 { ac_try
='test -s conftest.$ac_objext'
22753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22754 (eval $ac_try) 2>&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); }; }; then
22758 ac_header_compiler
=yes
22760 echo "$as_me: failed program was:" >&5
22761 sed 's/^/| /' conftest.
$ac_ext >&5
22763 ac_header_compiler
=no
22765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22767 echo "${ECHO_T}$ac_header_compiler" >&6
22769 # Is the header present?
22770 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22772 cat >conftest.
$ac_ext <<_ACEOF
22775 cat confdefs.h
>>conftest.
$ac_ext
22776 cat >>conftest.
$ac_ext <<_ACEOF
22777 /* end confdefs.h. */
22778 #include <$ac_header>
22780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22781 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22783 grep -v '^ *+' conftest.er1
>conftest.err
22785 cat conftest.err
>&5
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } >/dev
/null
; then
22788 if test -s conftest.err
; then
22789 ac_cpp_err
=$ac_c_preproc_warn_flag
22790 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22797 if test -z "$ac_cpp_err"; then
22798 ac_header_preproc
=yes
22800 echo "$as_me: failed program was:" >&5
22801 sed 's/^/| /' conftest.
$ac_ext >&5
22803 ac_header_preproc
=no
22805 rm -f conftest.err conftest.
$ac_ext
22806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22807 echo "${ECHO_T}$ac_header_preproc" >&6
22809 # So? What about this header?
22810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22816 ac_header_preproc
=yes
22819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22833 ## ------------------------------------------ ##
22834 ## Report this to the AC_PACKAGE_NAME lists. ##
22835 ## ------------------------------------------ ##
22838 sed "s/^/$as_me: WARNING: /" >&2
22841 echo "$as_me:$LINENO: checking for $ac_header" >&5
22842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22844 echo $ECHO_N "(cached) $ECHO_C" >&6
22846 eval "$as_ac_Header=\$ac_header_preproc"
22848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22853 cat >>confdefs.h
<<_ACEOF
22854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22864 for ac_header
in string.h
22866 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22868 echo "$as_me:$LINENO: checking for $ac_header" >&5
22869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22871 echo $ECHO_N "(cached) $ECHO_C" >&6
22873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22876 # Is the header compilable?
22877 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22878 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22879 cat >conftest.
$ac_ext <<_ACEOF
22882 cat confdefs.h
>>conftest.
$ac_ext
22883 cat >>conftest.
$ac_ext <<_ACEOF
22884 /* end confdefs.h. */
22885 $ac_includes_default
22886 #include <$ac_header>
22888 rm -f conftest.
$ac_objext
22889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22890 (eval $ac_compile) 2>conftest.er1
22892 grep -v '^ *+' conftest.er1
>conftest.err
22894 cat conftest.err
>&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } &&
22897 { ac_try
='test -z "$ac_c_werror_flag"
22898 || test ! -s conftest.err'
22899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22900 (eval $ac_try) 2>&5
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); }; } &&
22904 { ac_try
='test -s conftest.$ac_objext'
22905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906 (eval $ac_try) 2>&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); }; }; then
22910 ac_header_compiler
=yes
22912 echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.
$ac_ext >&5
22915 ac_header_compiler
=no
22917 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22918 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22919 echo "${ECHO_T}$ac_header_compiler" >&6
22921 # Is the header present?
22922 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22923 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22924 cat >conftest.
$ac_ext <<_ACEOF
22927 cat confdefs.h
>>conftest.
$ac_ext
22928 cat >>conftest.
$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22930 #include <$ac_header>
22932 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22933 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
22935 grep -v '^ *+' conftest.er1
>conftest.err
22937 cat conftest.err
>&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); } >/dev
/null
; then
22940 if test -s conftest.err
; then
22941 ac_cpp_err
=$ac_c_preproc_warn_flag
22942 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
22949 if test -z "$ac_cpp_err"; then
22950 ac_header_preproc
=yes
22952 echo "$as_me: failed program was:" >&5
22953 sed 's/^/| /' conftest.
$ac_ext >&5
22955 ac_header_preproc
=no
22957 rm -f conftest.err conftest.
$ac_ext
22958 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22959 echo "${ECHO_T}$ac_header_preproc" >&6
22961 # So? What about this header?
22962 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22964 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22965 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22967 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22968 ac_header_preproc
=yes
22971 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22972 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22973 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22974 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22975 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22976 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22977 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22978 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22981 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22982 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22985 ## ------------------------------------------ ##
22986 ## Report this to the AC_PACKAGE_NAME lists. ##
22987 ## ------------------------------------------ ##
22990 sed "s/^/$as_me: WARNING: /" >&2
22993 echo "$as_me:$LINENO: checking for $ac_header" >&5
22994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22996 echo $ECHO_N "(cached) $ECHO_C" >&6
22998 eval "$as_ac_Header=\$ac_header_preproc"
23000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23001 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23005 cat >>confdefs.h
<<_ACEOF
23006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23019 if test $ac_cv_func_alloca_works = no
; then
23034 # Define an additional variable used in the Makefile substitution.
23036 cat >conftest.
$ac_ext <<_ACEOF
23039 cat confdefs.h
>>conftest.
$ac_ext
23040 cat >>conftest.
$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23043 #if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H
23048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23049 $EGREP "Need own alloca" >/dev
/null
2>&1; then
23060 for ac_header
in stdlib.h
23062 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23064 echo "$as_me:$LINENO: checking for $ac_header" >&5
23065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23067 echo $ECHO_N "(cached) $ECHO_C" >&6
23069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23072 # Is the header compilable?
23073 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23075 cat >conftest.
$ac_ext <<_ACEOF
23078 cat confdefs.h
>>conftest.
$ac_ext
23079 cat >>conftest.
$ac_ext <<_ACEOF
23080 /* end confdefs.h. */
23081 $ac_includes_default
23082 #include <$ac_header>
23084 rm -f conftest.
$ac_objext
23085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23086 (eval $ac_compile) 2>conftest.er1
23088 grep -v '^ *+' conftest.er1
>conftest.err
23090 cat conftest.err
>&5
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); } &&
23093 { ac_try
='test -z "$ac_c_werror_flag"
23094 || test ! -s conftest.err'
23095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23096 (eval $ac_try) 2>&5
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); }; } &&
23100 { ac_try
='test -s conftest.$ac_objext'
23101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23102 (eval $ac_try) 2>&5
23104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23105 (exit $ac_status); }; }; then
23106 ac_header_compiler
=yes
23108 echo "$as_me: failed program was:" >&5
23109 sed 's/^/| /' conftest.
$ac_ext >&5
23111 ac_header_compiler
=no
23113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23115 echo "${ECHO_T}$ac_header_compiler" >&6
23117 # Is the header present?
23118 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23119 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23120 cat >conftest.
$ac_ext <<_ACEOF
23123 cat confdefs.h
>>conftest.
$ac_ext
23124 cat >>conftest.
$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23126 #include <$ac_header>
23128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23129 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
23131 grep -v '^ *+' conftest.er1
>conftest.err
23133 cat conftest.err
>&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } >/dev
/null
; then
23136 if test -s conftest.err
; then
23137 ac_cpp_err
=$ac_c_preproc_warn_flag
23138 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
23145 if test -z "$ac_cpp_err"; then
23146 ac_header_preproc
=yes
23148 echo "$as_me: failed program was:" >&5
23149 sed 's/^/| /' conftest.
$ac_ext >&5
23151 ac_header_preproc
=no
23153 rm -f conftest.err conftest.
$ac_ext
23154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23155 echo "${ECHO_T}$ac_header_preproc" >&6
23157 # So? What about this header?
23158 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23160 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23161 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23163 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23164 ac_header_preproc
=yes
23167 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23168 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23169 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23170 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23171 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23172 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23173 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23174 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23176 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23177 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23178 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23181 ## ------------------------------------------ ##
23182 ## Report this to the AC_PACKAGE_NAME lists. ##
23183 ## ------------------------------------------ ##
23186 sed "s/^/$as_me: WARNING: /" >&2
23189 echo "$as_me:$LINENO: checking for $ac_header" >&5
23190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23192 echo $ECHO_N "(cached) $ECHO_C" >&6
23194 eval "$as_ac_Header=\$ac_header_preproc"
23196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23201 cat >>confdefs.h
<<_ACEOF
23202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23209 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
23210 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
23211 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
23212 echo $ECHO_N "(cached) $ECHO_C" >&6
23214 if test "$cross_compiling" = yes; then
23215 ac_cv_func_malloc_0_nonnull
=no
23217 cat >conftest.
$ac_ext <<_ACEOF
23220 cat confdefs.h
>>conftest.
$ac_ext
23221 cat >>conftest.
$ac_ext <<_ACEOF
23222 /* end confdefs.h. */
23223 #if STDC_HEADERS || HAVE_STDLIB_H
23224 # include <stdlib.h>
23232 exit (malloc (0) ? 0 : 1);
23237 rm -f conftest
$ac_exeext
23238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23239 (eval $ac_link) 2>&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23248 ac_cv_func_malloc_0_nonnull
=yes
23250 echo "$as_me: program exited with status $ac_status" >&5
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.
$ac_ext >&5
23254 ( exit $ac_status )
23255 ac_cv_func_malloc_0_nonnull
=no
23257 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
23260 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
23261 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
23262 if test $ac_cv_func_malloc_0_nonnull = yes; then
23263 gl_cv_func_malloc_0_nonnull
=1
23265 gl_cv_func_malloc_0_nonnull
=0
23270 cat >>confdefs.h
<<_ACEOF
23271 #define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull
23276 echo "$as_me:$LINENO: checking for long long" >&5
23277 echo $ECHO_N "checking for long long... $ECHO_C" >&6
23278 if test "${ac_cv_type_long_long+set}" = set; then
23279 echo $ECHO_N "(cached) $ECHO_C" >&6
23281 cat >conftest.
$ac_ext <<_ACEOF
23284 cat confdefs.h
>>conftest.
$ac_ext
23285 cat >>conftest.
$ac_ext <<_ACEOF
23286 /* end confdefs.h. */
23287 long long ll = 1LL; int i = 63;
23291 long long llmax = (long long) -1;
23292 return ll << i | ll >> i | llmax / ll | llmax % ll;
23297 rm -f conftest.
$ac_objext conftest
$ac_exeext
23298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23299 (eval $ac_link) 2>conftest.er1
23301 grep -v '^ *+' conftest.er1
>conftest.err
23303 cat conftest.err
>&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); } &&
23306 { ac_try
='test -z "$ac_c_werror_flag"
23307 || test ! -s conftest.err'
23308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23309 (eval $ac_try) 2>&5
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); }; } &&
23313 { ac_try
='test -s conftest$ac_exeext'
23314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23315 (eval $ac_try) 2>&5
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); }; }; then
23319 ac_cv_type_long_long
=yes
23321 echo "$as_me: failed program was:" >&5
23322 sed 's/^/| /' conftest.
$ac_ext >&5
23324 ac_cv_type_long_long
=no
23326 rm -f conftest.err conftest.
$ac_objext \
23327 conftest
$ac_exeext conftest.
$ac_ext
23329 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23330 echo "${ECHO_T}$ac_cv_type_long_long" >&6
23331 if test $ac_cv_type_long_long = yes; then
23333 cat >>confdefs.h
<<\_ACEOF
23334 #define HAVE_LONG_LONG 1
23340 echo "$as_me:$LINENO: checking for long double" >&5
23341 echo $ECHO_N "checking for long double... $ECHO_C" >&6
23342 if test "${gt_cv_c_long_double+set}" = set; then
23343 echo $ECHO_N "(cached) $ECHO_C" >&6
23345 if test "$GCC" = yes; then
23346 gt_cv_c_long_double
=yes
23348 cat >conftest.
$ac_ext <<_ACEOF
23351 cat confdefs.h
>>conftest.
$ac_ext
23352 cat >>conftest.
$ac_ext <<_ACEOF
23353 /* end confdefs.h. */
23355 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
23356 long double foo = 0.0;
23357 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
23358 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
23368 rm -f conftest.
$ac_objext
23369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23370 (eval $ac_compile) 2>conftest.er1
23372 grep -v '^ *+' conftest.er1
>conftest.err
23374 cat conftest.err
>&5
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } &&
23377 { ac_try
='test -z "$ac_c_werror_flag"
23378 || test ! -s conftest.err'
23379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23380 (eval $ac_try) 2>&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); }; } &&
23384 { ac_try
='test -s conftest.$ac_objext'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; }; then
23390 gt_cv_c_long_double
=yes
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.
$ac_ext >&5
23395 gt_cv_c_long_double
=no
23397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23400 echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
23401 echo "${ECHO_T}$gt_cv_c_long_double" >&6
23402 if test $gt_cv_c_long_double = yes; then
23404 cat >>confdefs.h
<<\_ACEOF
23405 #define HAVE_LONG_DOUBLE 1
23417 for ac_func
in vprintf
23419 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23420 echo "$as_me:$LINENO: checking for $ac_func" >&5
23421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23422 if eval "test \"\${$as_ac_var+set}\" = set"; then
23423 echo $ECHO_N "(cached) $ECHO_C" >&6
23425 cat >conftest.
$ac_ext <<_ACEOF
23428 cat confdefs.h
>>conftest.
$ac_ext
23429 cat >>conftest.
$ac_ext <<_ACEOF
23430 /* end confdefs.h. */
23431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23433 #define $ac_func innocuous_$ac_func
23435 /* System header to define __stub macros and hopefully few prototypes,
23436 which can conflict with char $ac_func (); below.
23437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23438 <limits.h> exists even on freestanding compilers. */
23441 # include <limits.h>
23443 # include <assert.h>
23448 /* Override any gcc2 internal prototype to avoid an error. */
23453 /* We use char because int might match the return type of a gcc2
23454 builtin and then its argument prototype would still apply. */
23456 /* The GNU C library defines this for functions which it implements
23457 to always fail with ENOSYS. Some functions are actually named
23458 something starting with __ and the normal name is an alias. */
23459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23462 char (*f) () = $ac_func;
23471 return f != $ac_func;
23476 rm -f conftest.
$ac_objext conftest
$ac_exeext
23477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23478 (eval $ac_link) 2>conftest.er1
23480 grep -v '^ *+' conftest.er1
>conftest.err
23482 cat conftest.err
>&5
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); } &&
23485 { ac_try
='test -z "$ac_c_werror_flag"
23486 || test ! -s conftest.err'
23487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23488 (eval $ac_try) 2>&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); }; } &&
23492 { ac_try
='test -s conftest$ac_exeext'
23493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23494 (eval $ac_try) 2>&5
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); }; }; then
23498 eval "$as_ac_var=yes"
23500 echo "$as_me: failed program was:" >&5
23501 sed 's/^/| /' conftest.
$ac_ext >&5
23503 eval "$as_ac_var=no"
23505 rm -f conftest.err conftest.
$ac_objext \
23506 conftest
$ac_exeext conftest.
$ac_ext
23508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23510 if test `eval echo '${'$as_ac_var'}'` = yes; then
23511 cat >>confdefs.h
<<_ACEOF
23512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23515 echo "$as_me:$LINENO: checking for _doprnt" >&5
23516 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
23517 if test "${ac_cv_func__doprnt+set}" = set; then
23518 echo $ECHO_N "(cached) $ECHO_C" >&6
23520 cat >conftest.
$ac_ext <<_ACEOF
23523 cat confdefs.h
>>conftest.
$ac_ext
23524 cat >>conftest.
$ac_ext <<_ACEOF
23525 /* end confdefs.h. */
23526 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
23527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23528 #define _doprnt innocuous__doprnt
23530 /* System header to define __stub macros and hopefully few prototypes,
23531 which can conflict with char _doprnt (); below.
23532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23533 <limits.h> exists even on freestanding compilers. */
23536 # include <limits.h>
23538 # include <assert.h>
23543 /* Override any gcc2 internal prototype to avoid an error. */
23548 /* We use char because int might match the return type of a gcc2
23549 builtin and then its argument prototype would still apply. */
23551 /* The GNU C library defines this for functions which it implements
23552 to always fail with ENOSYS. Some functions are actually named
23553 something starting with __ and the normal name is an alias. */
23554 #if defined (__stub__doprnt) || defined (__stub____doprnt)
23557 char (*f) () = _doprnt;
23566 return f != _doprnt;
23571 rm -f conftest.
$ac_objext conftest
$ac_exeext
23572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23573 (eval $ac_link) 2>conftest.er1
23575 grep -v '^ *+' conftest.er1
>conftest.err
23577 cat conftest.err
>&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); } &&
23580 { ac_try
='test -z "$ac_c_werror_flag"
23581 || test ! -s conftest.err'
23582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23583 (eval $ac_try) 2>&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); }; } &&
23587 { ac_try
='test -s conftest$ac_exeext'
23588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23589 (eval $ac_try) 2>&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); }; }; then
23593 ac_cv_func__doprnt
=yes
23595 echo "$as_me: failed program was:" >&5
23596 sed 's/^/| /' conftest.
$ac_ext >&5
23598 ac_cv_func__doprnt
=no
23600 rm -f conftest.err conftest.
$ac_objext \
23601 conftest
$ac_exeext conftest.
$ac_ext
23603 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
23604 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
23605 if test $ac_cv_func__doprnt = yes; then
23607 cat >>confdefs.h
<<\_ACEOF
23608 #define HAVE_DOPRNT 1
23628 for ac_func
in chown getcwd posix_spawn raise
select strerror strtoul uname \
23629 utime utimes waitid
23631 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23632 echo "$as_me:$LINENO: checking for $ac_func" >&5
23633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23634 if eval "test \"\${$as_ac_var+set}\" = set"; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23637 cat >conftest.
$ac_ext <<_ACEOF
23640 cat confdefs.h
>>conftest.
$ac_ext
23641 cat >>conftest.
$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23645 #define $ac_func innocuous_$ac_func
23647 /* System header to define __stub macros and hopefully few prototypes,
23648 which can conflict with char $ac_func (); below.
23649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23650 <limits.h> exists even on freestanding compilers. */
23653 # include <limits.h>
23655 # include <assert.h>
23660 /* Override any gcc2 internal prototype to avoid an error. */
23665 /* We use char because int might match the return type of a gcc2
23666 builtin and then its argument prototype would still apply. */
23668 /* The GNU C library defines this for functions which it implements
23669 to always fail with ENOSYS. Some functions are actually named
23670 something starting with __ and the normal name is an alias. */
23671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23674 char (*f) () = $ac_func;
23683 return f != $ac_func;
23688 rm -f conftest.
$ac_objext conftest
$ac_exeext
23689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23690 (eval $ac_link) 2>conftest.er1
23692 grep -v '^ *+' conftest.er1
>conftest.err
23694 cat conftest.err
>&5
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); } &&
23697 { ac_try
='test -z "$ac_c_werror_flag"
23698 || test ! -s conftest.err'
23699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23700 (eval $ac_try) 2>&5
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); }; } &&
23704 { ac_try
='test -s conftest$ac_exeext'
23705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23706 (eval $ac_try) 2>&5
23708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); }; }; then
23710 eval "$as_ac_var=yes"
23712 echo "$as_me: failed program was:" >&5
23713 sed 's/^/| /' conftest.
$ac_ext >&5
23715 eval "$as_ac_var=no"
23717 rm -f conftest.err conftest.
$ac_objext \
23718 conftest
$ac_exeext conftest.
$ac_ext
23720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23722 if test `eval echo '${'$as_ac_var'}'` = yes; then
23723 cat >>confdefs.h
<<_ACEOF
23724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23738 for ac_func
in atexit memmove memset stpcpy strcspn \
23739 strpbrk strstr vasprintf
23741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23742 echo "$as_me:$LINENO: checking for $ac_func" >&5
23743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23744 if eval "test \"\${$as_ac_var+set}\" = set"; then
23745 echo $ECHO_N "(cached) $ECHO_C" >&6
23747 cat >conftest.
$ac_ext <<_ACEOF
23750 cat confdefs.h
>>conftest.
$ac_ext
23751 cat >>conftest.
$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23755 #define $ac_func innocuous_$ac_func
23757 /* System header to define __stub macros and hopefully few prototypes,
23758 which can conflict with char $ac_func (); below.
23759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23760 <limits.h> exists even on freestanding compilers. */
23763 # include <limits.h>
23765 # include <assert.h>
23770 /* Override any gcc2 internal prototype to avoid an error. */
23775 /* We use char because int might match the return type of a gcc2
23776 builtin and then its argument prototype would still apply. */
23778 /* The GNU C library defines this for functions which it implements
23779 to always fail with ENOSYS. Some functions are actually named
23780 something starting with __ and the normal name is an alias. */
23781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23784 char (*f) () = $ac_func;
23793 return f != $ac_func;
23798 rm -f conftest.
$ac_objext conftest
$ac_exeext
23799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23800 (eval $ac_link) 2>conftest.er1
23802 grep -v '^ *+' conftest.er1
>conftest.err
23804 cat conftest.err
>&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } &&
23807 { ac_try
='test -z "$ac_c_werror_flag"
23808 || test ! -s conftest.err'
23809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23810 (eval $ac_try) 2>&5
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); }; } &&
23814 { ac_try
='test -s conftest$ac_exeext'
23815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23816 (eval $ac_try) 2>&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); }; }; then
23820 eval "$as_ac_var=yes"
23822 echo "$as_me: failed program was:" >&5
23823 sed 's/^/| /' conftest.
$ac_ext >&5
23825 eval "$as_ac_var=no"
23827 rm -f conftest.err conftest.
$ac_objext \
23828 conftest
$ac_exeext conftest.
$ac_ext
23830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23832 if test `eval echo '${'$as_ac_var'}'` = yes; then
23833 cat >>confdefs.h
<<_ACEOF
23834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23839 "$ac_func.$ac_objext" | \
23840 *" $ac_func.$ac_objext" | \
23841 "$ac_func.$ac_objext "* | \
23842 *" $ac_func.$ac_objext "* ) ;;
23843 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
23853 am_getline_needs_run_time_check
=no
23854 echo "$as_me:$LINENO: checking for getline" >&5
23855 echo $ECHO_N "checking for getline... $ECHO_C" >&6
23856 if test "${ac_cv_func_getline+set}" = set; then
23857 echo $ECHO_N "(cached) $ECHO_C" >&6
23859 cat >conftest.
$ac_ext <<_ACEOF
23862 cat confdefs.h
>>conftest.
$ac_ext
23863 cat >>conftest.
$ac_ext <<_ACEOF
23864 /* end confdefs.h. */
23865 /* Define getline to an innocuous variant, in case <limits.h> declares getline.
23866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23867 #define getline innocuous_getline
23869 /* System header to define __stub macros and hopefully few prototypes,
23870 which can conflict with char getline (); below.
23871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23872 <limits.h> exists even on freestanding compilers. */
23875 # include <limits.h>
23877 # include <assert.h>
23882 /* Override any gcc2 internal prototype to avoid an error. */
23887 /* We use char because int might match the return type of a gcc2
23888 builtin and then its argument prototype would still apply. */
23890 /* The GNU C library defines this for functions which it implements
23891 to always fail with ENOSYS. Some functions are actually named
23892 something starting with __ and the normal name is an alias. */
23893 #if defined (__stub_getline) || defined (__stub___getline)
23896 char (*f) () = getline;
23905 return f != getline;
23910 rm -f conftest.
$ac_objext conftest
$ac_exeext
23911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23912 (eval $ac_link) 2>conftest.er1
23914 grep -v '^ *+' conftest.er1
>conftest.err
23916 cat conftest.err
>&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } &&
23919 { ac_try
='test -z "$ac_c_werror_flag"
23920 || test ! -s conftest.err'
23921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922 (eval $ac_try) 2>&5
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); }; } &&
23926 { ac_try
='test -s conftest$ac_exeext'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; }; then
23932 ac_cv_func_getline
=yes
23934 echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.
$ac_ext >&5
23937 ac_cv_func_getline
=no
23939 rm -f conftest.err conftest.
$ac_objext \
23940 conftest
$ac_exeext conftest.
$ac_ext
23942 echo "$as_me:$LINENO: result: $ac_cv_func_getline" >&5
23943 echo "${ECHO_T}$ac_cv_func_getline" >&6
23944 if test $ac_cv_func_getline = yes; then
23945 am_getline_needs_run_time_check
=yes
23947 am_cv_func_working_getline
=no
23950 if test $am_getline_needs_run_time_check = yes; then
23951 echo "$as_me:$LINENO: checking for working getline function" >&5
23952 echo $ECHO_N "checking for working getline function... $ECHO_C" >&6
23953 if test "${am_cv_func_working_getline+set}" = set; then
23954 echo $ECHO_N "(cached) $ECHO_C" >&6
23956 echo fooN |
tr -d '\012'|
tr N
'\012' > conftest.data
23957 if test "$cross_compiling" = yes; then
23958 am_cv_func_working_getline
=no
23960 cat >conftest.
$ac_ext <<_ACEOF
23963 cat confdefs.h
>>conftest.
$ac_ext
23964 cat >>conftest.
$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23967 # include <stdio.h>
23968 # include <stdlib.h>
23969 # include <string.h>
23971 { /* Based on a test program from Karl Heuer. */
23975 FILE *in = fopen ("./conftest.data", "r");
23978 len = getline (&line, &siz, in);
23979 exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1);
23983 rm -f conftest
$ac_exeext
23984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23985 (eval $ac_link) 2>&5
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23990 (eval $ac_try) 2>&5
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); }; }; then
23994 am_cv_func_working_getline
=yes
23996 echo "$as_me: program exited with status $ac_status" >&5
23997 echo "$as_me: failed program was:" >&5
23998 sed 's/^/| /' conftest.
$ac_ext >&5
24000 ( exit $ac_status )
24001 am_cv_func_working_getline
=no
24003 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24006 echo "$as_me:$LINENO: result: $am_cv_func_working_getline" >&5
24007 echo "${ECHO_T}$am_cv_func_working_getline" >&6
24010 if test $am_cv_func_working_getline = no
; then
24012 cat >>confdefs.h
<<\_ACEOF
24013 #define getline gnu_getline
24017 "getline.$ac_objext" | \
24018 *" getline.$ac_objext" | \
24019 "getline.$ac_objext "* | \
24020 *" getline.$ac_objext "* ) ;;
24021 *) LIBOBJS
="$LIBOBJS getline.$ac_objext" ;;
24025 "getndelim2.$ac_objext" | \
24026 *" getndelim2.$ac_objext" | \
24027 "getndelim2.$ac_objext "* | \
24028 *" getndelim2.$ac_objext "* ) ;;
24029 *) LIBOBJS
="$LIBOBJS getndelim2.$ac_objext" ;;
24034 for ac_func
in getdelim
24036 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24037 echo "$as_me:$LINENO: checking for $ac_func" >&5
24038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24039 if eval "test \"\${$as_ac_var+set}\" = set"; then
24040 echo $ECHO_N "(cached) $ECHO_C" >&6
24042 cat >conftest.
$ac_ext <<_ACEOF
24045 cat confdefs.h
>>conftest.
$ac_ext
24046 cat >>conftest.
$ac_ext <<_ACEOF
24047 /* end confdefs.h. */
24048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24050 #define $ac_func innocuous_$ac_func
24052 /* System header to define __stub macros and hopefully few prototypes,
24053 which can conflict with char $ac_func (); below.
24054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24055 <limits.h> exists even on freestanding compilers. */
24058 # include <limits.h>
24060 # include <assert.h>
24065 /* Override any gcc2 internal prototype to avoid an error. */
24070 /* We use char because int might match the return type of a gcc2
24071 builtin and then its argument prototype would still apply. */
24073 /* The GNU C library defines this for functions which it implements
24074 to always fail with ENOSYS. Some functions are actually named
24075 something starting with __ and the normal name is an alias. */
24076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24079 char (*f) () = $ac_func;
24088 return f != $ac_func;
24093 rm -f conftest.
$ac_objext conftest
$ac_exeext
24094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24095 (eval $ac_link) 2>conftest.er1
24097 grep -v '^ *+' conftest.er1
>conftest.err
24099 cat conftest.err
>&5
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); } &&
24102 { ac_try
='test -z "$ac_c_werror_flag"
24103 || test ! -s conftest.err'
24104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105 (eval $ac_try) 2>&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); }; } &&
24109 { ac_try
='test -s conftest$ac_exeext'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; }; then
24115 eval "$as_ac_var=yes"
24117 echo "$as_me: failed program was:" >&5
24118 sed 's/^/| /' conftest.
$ac_ext >&5
24120 eval "$as_ac_var=no"
24122 rm -f conftest.err conftest.
$ac_objext \
24123 conftest
$ac_exeext conftest.
$ac_ext
24125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24127 if test `eval echo '${'$as_ac_var'}'` = yes; then
24128 cat >>confdefs.h
<<_ACEOF
24129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24142 if test $am_cv_func_working_getline != yes; then
24144 for ac_func
in getdelim
24146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24147 echo "$as_me:$LINENO: checking for $ac_func" >&5
24148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24149 if eval "test \"\${$as_ac_var+set}\" = set"; then
24150 echo $ECHO_N "(cached) $ECHO_C" >&6
24152 cat >conftest.
$ac_ext <<_ACEOF
24155 cat confdefs.h
>>conftest.
$ac_ext
24156 cat >>conftest.
$ac_ext <<_ACEOF
24157 /* end confdefs.h. */
24158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24160 #define $ac_func innocuous_$ac_func
24162 /* System header to define __stub macros and hopefully few prototypes,
24163 which can conflict with char $ac_func (); below.
24164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24165 <limits.h> exists even on freestanding compilers. */
24168 # include <limits.h>
24170 # include <assert.h>
24175 /* Override any gcc2 internal prototype to avoid an error. */
24180 /* We use char because int might match the return type of a gcc2
24181 builtin and then its argument prototype would still apply. */
24183 /* The GNU C library defines this for functions which it implements
24184 to always fail with ENOSYS. Some functions are actually named
24185 something starting with __ and the normal name is an alias. */
24186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24189 char (*f) () = $ac_func;
24198 return f != $ac_func;
24203 rm -f conftest.
$ac_objext conftest
$ac_exeext
24204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24205 (eval $ac_link) 2>conftest.er1
24207 grep -v '^ *+' conftest.er1
>conftest.err
24209 cat conftest.err
>&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); } &&
24212 { ac_try
='test -z "$ac_c_werror_flag"
24213 || test ! -s conftest.err'
24214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24215 (eval $ac_try) 2>&5
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); }; } &&
24219 { ac_try
='test -s conftest$ac_exeext'
24220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24221 (eval $ac_try) 2>&5
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); }; }; then
24225 eval "$as_ac_var=yes"
24227 echo "$as_me: failed program was:" >&5
24228 sed 's/^/| /' conftest.
$ac_ext >&5
24230 eval "$as_ac_var=no"
24232 rm -f conftest.err conftest.
$ac_objext \
24233 conftest
$ac_exeext conftest.
$ac_ext
24235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24237 if test `eval echo '${'$as_ac_var'}'` = yes; then
24238 cat >>confdefs.h
<<_ACEOF
24239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24249 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
24250 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
24251 if test "${ac_cv_c_const+set}" = set; then
24252 echo $ECHO_N "(cached) $ECHO_C" >&6
24254 cat >conftest.
$ac_ext <<_ACEOF
24257 cat confdefs.h
>>conftest.
$ac_ext
24258 cat >>conftest.
$ac_ext <<_ACEOF
24259 /* end confdefs.h. */
24264 /* FIXME: Include the comments suggested by Paul. */
24265 #ifndef __cplusplus
24266 /* Ultrix mips cc rejects this. */
24267 typedef int charset[2];
24269 /* SunOS 4.1.1 cc rejects this. */
24270 char const *const *ccp;
24272 /* NEC SVR4.0.2 mips cc rejects this. */
24273 struct point {int x, y;};
24274 static struct point const zero = {0,0};
24275 /* AIX XL C 1.02.0.0 rejects this.
24276 It does not let you subtract one const X* pointer from another in
24277 an arm of an if-expression whose if-part is not a constant
24279 const char *g = "string";
24280 ccp = &g + (g ? g-g : 0);
24281 /* HPUX 7.0 cc rejects these. */
24284 ccp = (char const *const *) p;
24285 { /* SCO 3.2v4 cc rejects this. */
24287 char const *s = 0 ? (char *) 0 : (char const *) 0;
24291 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
24292 int x[] = {25, 17};
24293 const int *foo = &x[0];
24296 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
24297 typedef const int *iptr;
24301 { /* AIX XL C 1.02.0.0 rejects this saying
24302 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
24303 struct s { int j; const int *ap[3]; };
24304 struct s *b; b->j = 5;
24306 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
24307 const int foo = 10;
24315 rm -f conftest.
$ac_objext
24316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24317 (eval $ac_compile) 2>conftest.er1
24319 grep -v '^ *+' conftest.er1
>conftest.err
24321 cat conftest.err
>&5
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); } &&
24324 { ac_try
='test -z "$ac_c_werror_flag"
24325 || test ! -s conftest.err'
24326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24327 (eval $ac_try) 2>&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); }; } &&
24331 { ac_try
='test -s conftest.$ac_objext'
24332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24333 (eval $ac_try) 2>&5
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); }; }; then
24339 echo "$as_me: failed program was:" >&5
24340 sed 's/^/| /' conftest.
$ac_ext >&5
24344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24346 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
24347 echo "${ECHO_T}$ac_cv_c_const" >&6
24348 if test $ac_cv_c_const = no
; then
24350 cat >>confdefs.h
<<\_ACEOF
24356 echo "$as_me:$LINENO: checking for mbstate_t" >&5
24357 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24358 if test "${ac_cv_type_mbstate_t+set}" = set; then
24359 echo $ECHO_N "(cached) $ECHO_C" >&6
24361 cat >conftest.
$ac_ext <<_ACEOF
24364 cat confdefs.h
>>conftest.
$ac_ext
24365 cat >>conftest.
$ac_ext <<_ACEOF
24366 /* end confdefs.h. */
24367 $ac_includes_default
24368 # include <wchar.h>
24372 mbstate_t x; return sizeof x;
24377 rm -f conftest.
$ac_objext
24378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24379 (eval $ac_compile) 2>conftest.er1
24381 grep -v '^ *+' conftest.er1
>conftest.err
24383 cat conftest.err
>&5
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); } &&
24386 { ac_try
='test -z "$ac_c_werror_flag"
24387 || test ! -s conftest.err'
24388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24389 (eval $ac_try) 2>&5
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); }; } &&
24393 { ac_try
='test -s conftest.$ac_objext'
24394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24395 (eval $ac_try) 2>&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); }; }; then
24399 ac_cv_type_mbstate_t
=yes
24401 echo "$as_me: failed program was:" >&5
24402 sed 's/^/| /' conftest.
$ac_ext >&5
24404 ac_cv_type_mbstate_t
=no
24406 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24408 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
24409 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
24410 if test $ac_cv_type_mbstate_t = yes; then
24412 cat >>confdefs.h
<<\_ACEOF
24413 #define HAVE_MBSTATE_T 1
24418 cat >>confdefs.h
<<\_ACEOF
24419 #define mbstate_t int
24425 echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5
24426 echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6
24427 if test "${ac_cv_func_fnmatch_posix+set}" = set; then
24428 echo $ECHO_N "(cached) $ECHO_C" >&6
24430 if test "$cross_compiling" = yes; then
24431 ac_cv_func_fnmatch_posix
=cross
24433 cat >conftest.
$ac_ext <<_ACEOF
24436 cat confdefs.h
>>conftest.
$ac_ext
24437 cat >>conftest.
$ac_ext <<_ACEOF
24438 /* end confdefs.h. */
24440 # include <stdlib.h>
24441 # include <fnmatch.h>
24442 # define y(a, b, c) (fnmatch (a, b, c) == 0)
24443 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
24449 (!(y ("a*", "abc", 0)
24450 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
24451 && y ("a\\\\bc", "abc", 0)
24452 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
24453 && y ("*x", ".x", 0)
24454 && n ("*x", ".x", FNM_PERIOD)
24460 rm -f conftest
$ac_exeext
24461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24462 (eval $ac_link) 2>&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24467 (eval $ac_try) 2>&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); }; }; then
24471 ac_cv_func_fnmatch_posix
=yes
24473 echo "$as_me: program exited with status $ac_status" >&5
24474 echo "$as_me: failed program was:" >&5
24475 sed 's/^/| /' conftest.
$ac_ext >&5
24477 ( exit $ac_status )
24478 ac_cv_func_fnmatch_posix
=no
24480 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
24483 echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_posix" >&5
24484 echo "${ECHO_T}$ac_cv_func_fnmatch_posix" >&6
24485 if test $ac_cv_func_fnmatch_posix = yes; then
24486 rm -f lib
/fnmatch.h
24488 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
24489 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
24490 if test "${ac_cv_have_decl_getenv+set}" = set; then
24491 echo $ECHO_N "(cached) $ECHO_C" >&6
24493 cat >conftest.
$ac_ext <<_ACEOF
24496 cat confdefs.h
>>conftest.
$ac_ext
24497 cat >>conftest.
$ac_ext <<_ACEOF
24498 /* end confdefs.h. */
24499 $ac_includes_default
24504 char *p = (char *) getenv;
24511 rm -f conftest.
$ac_objext
24512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24513 (eval $ac_compile) 2>conftest.er1
24515 grep -v '^ *+' conftest.er1
>conftest.err
24517 cat conftest.err
>&5
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); } &&
24520 { ac_try
='test -z "$ac_c_werror_flag"
24521 || test ! -s conftest.err'
24522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24523 (eval $ac_try) 2>&5
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); }; } &&
24527 { ac_try
='test -s conftest.$ac_objext'
24528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24529 (eval $ac_try) 2>&5
24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); }; }; then
24533 ac_cv_have_decl_getenv
=yes
24535 echo "$as_me: failed program was:" >&5
24536 sed 's/^/| /' conftest.
$ac_ext >&5
24538 ac_cv_have_decl_getenv
=no
24540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24542 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
24543 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
24544 if test $ac_cv_have_decl_getenv = yes; then
24546 cat >>confdefs.h
<<_ACEOF
24547 #define HAVE_DECL_GETENV 1
24552 cat >>confdefs.h
<<_ACEOF
24553 #define HAVE_DECL_GETENV 0
24566 for ac_func
in btowc mbsrtowcs mempcpy wmemchr wmemcpy wmempcpy
24568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24569 echo "$as_me:$LINENO: checking for $ac_func" >&5
24570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24571 if eval "test \"\${$as_ac_var+set}\" = set"; then
24572 echo $ECHO_N "(cached) $ECHO_C" >&6
24574 cat >conftest.
$ac_ext <<_ACEOF
24577 cat confdefs.h
>>conftest.
$ac_ext
24578 cat >>conftest.
$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24582 #define $ac_func innocuous_$ac_func
24584 /* System header to define __stub macros and hopefully few prototypes,
24585 which can conflict with char $ac_func (); below.
24586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24587 <limits.h> exists even on freestanding compilers. */
24590 # include <limits.h>
24592 # include <assert.h>
24597 /* Override any gcc2 internal prototype to avoid an error. */
24602 /* We use char because int might match the return type of a gcc2
24603 builtin and then its argument prototype would still apply. */
24605 /* The GNU C library defines this for functions which it implements
24606 to always fail with ENOSYS. Some functions are actually named
24607 something starting with __ and the normal name is an alias. */
24608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24611 char (*f) () = $ac_func;
24620 return f != $ac_func;
24625 rm -f conftest.
$ac_objext conftest
$ac_exeext
24626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24627 (eval $ac_link) 2>conftest.er1
24629 grep -v '^ *+' conftest.er1
>conftest.err
24631 cat conftest.err
>&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); } &&
24634 { ac_try
='test -z "$ac_c_werror_flag"
24635 || test ! -s conftest.err'
24636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24637 (eval $ac_try) 2>&5
24639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24640 (exit $ac_status); }; } &&
24641 { ac_try
='test -s conftest$ac_exeext'
24642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24643 (eval $ac_try) 2>&5
24645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24646 (exit $ac_status); }; }; then
24647 eval "$as_ac_var=yes"
24649 echo "$as_me: failed program was:" >&5
24650 sed 's/^/| /' conftest.
$ac_ext >&5
24652 eval "$as_ac_var=no"
24654 rm -f conftest.err conftest.
$ac_objext \
24655 conftest
$ac_exeext conftest.
$ac_ext
24657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24659 if test `eval echo '${'$as_ac_var'}'` = yes; then
24660 cat >>confdefs.h
<<_ACEOF
24661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24669 for ac_header
in wchar.h wctype.h
24671 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24673 echo "$as_me:$LINENO: checking for $ac_header" >&5
24674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24676 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24681 # Is the header compilable?
24682 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24684 cat >conftest.
$ac_ext <<_ACEOF
24687 cat confdefs.h
>>conftest.
$ac_ext
24688 cat >>conftest.
$ac_ext <<_ACEOF
24689 /* end confdefs.h. */
24690 $ac_includes_default
24691 #include <$ac_header>
24693 rm -f conftest.
$ac_objext
24694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24695 (eval $ac_compile) 2>conftest.er1
24697 grep -v '^ *+' conftest.er1
>conftest.err
24699 cat conftest.err
>&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } &&
24702 { ac_try
='test -z "$ac_c_werror_flag"
24703 || test ! -s conftest.err'
24704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24705 (eval $ac_try) 2>&5
24707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24708 (exit $ac_status); }; } &&
24709 { ac_try
='test -s conftest.$ac_objext'
24710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24711 (eval $ac_try) 2>&5
24713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24714 (exit $ac_status); }; }; then
24715 ac_header_compiler
=yes
24717 echo "$as_me: failed program was:" >&5
24718 sed 's/^/| /' conftest.
$ac_ext >&5
24720 ac_header_compiler
=no
24722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24723 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24724 echo "${ECHO_T}$ac_header_compiler" >&6
24726 # Is the header present?
24727 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24729 cat >conftest.
$ac_ext <<_ACEOF
24732 cat confdefs.h
>>conftest.
$ac_ext
24733 cat >>conftest.
$ac_ext <<_ACEOF
24734 /* end confdefs.h. */
24735 #include <$ac_header>
24737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24738 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24740 grep -v '^ *+' conftest.er1
>conftest.err
24742 cat conftest.err
>&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); } >/dev
/null
; then
24745 if test -s conftest.err
; then
24746 ac_cpp_err
=$ac_c_preproc_warn_flag
24747 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24754 if test -z "$ac_cpp_err"; then
24755 ac_header_preproc
=yes
24757 echo "$as_me: failed program was:" >&5
24758 sed 's/^/| /' conftest.
$ac_ext >&5
24760 ac_header_preproc
=no
24762 rm -f conftest.err conftest.
$ac_ext
24763 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24764 echo "${ECHO_T}$ac_header_preproc" >&6
24766 # So? What about this header?
24767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24769 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24770 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24772 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24773 ac_header_preproc
=yes
24776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24780 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24781 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24782 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24783 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24786 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24787 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24790 ## ------------------------------------------ ##
24791 ## Report this to the AC_PACKAGE_NAME lists. ##
24792 ## ------------------------------------------ ##
24795 sed "s/^/$as_me: WARNING: /" >&2
24798 echo "$as_me:$LINENO: checking for $ac_header" >&5
24799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24803 eval "$as_ac_Header=\$ac_header_preproc"
24805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24810 cat >>confdefs.h
<<_ACEOF
24811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24819 "fnmatch.$ac_objext" | \
24820 *" fnmatch.$ac_objext" | \
24821 "fnmatch.$ac_objext "* | \
24822 *" fnmatch.$ac_objext "* ) ;;
24823 *) LIBOBJS
="$LIBOBJS fnmatch.$ac_objext" ;;
24826 FNMATCH_H
=fnmatch.h
24831 if test $ac_cv_func_fnmatch_posix != yes; then
24833 cat >>confdefs.h
<<\_ACEOF
24834 #define fnmatch posix_fnmatch
24843 if test -z "$GETOPT_H"; then
24846 for ac_header
in getopt.h
24848 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24850 echo "$as_me:$LINENO: checking for $ac_header" >&5
24851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24858 # Is the header compilable?
24859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24861 cat >conftest.
$ac_ext <<_ACEOF
24864 cat confdefs.h
>>conftest.
$ac_ext
24865 cat >>conftest.
$ac_ext <<_ACEOF
24866 /* end confdefs.h. */
24867 $ac_includes_default
24868 #include <$ac_header>
24870 rm -f conftest.
$ac_objext
24871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24872 (eval $ac_compile) 2>conftest.er1
24874 grep -v '^ *+' conftest.er1
>conftest.err
24876 cat conftest.err
>&5
24877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878 (exit $ac_status); } &&
24879 { ac_try
='test -z "$ac_c_werror_flag"
24880 || test ! -s conftest.err'
24881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24882 (eval $ac_try) 2>&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); }; } &&
24886 { ac_try
='test -s conftest.$ac_objext'
24887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24888 (eval $ac_try) 2>&5
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); }; }; then
24892 ac_header_compiler
=yes
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.
$ac_ext >&5
24897 ac_header_compiler
=no
24899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24901 echo "${ECHO_T}$ac_header_compiler" >&6
24903 # Is the header present?
24904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24906 cat >conftest.
$ac_ext <<_ACEOF
24909 cat confdefs.h
>>conftest.
$ac_ext
24910 cat >>conftest.
$ac_ext <<_ACEOF
24911 /* end confdefs.h. */
24912 #include <$ac_header>
24914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24915 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24917 grep -v '^ *+' conftest.er1
>conftest.err
24919 cat conftest.err
>&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); } >/dev
/null
; then
24922 if test -s conftest.err
; then
24923 ac_cpp_err
=$ac_c_preproc_warn_flag
24924 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
24931 if test -z "$ac_cpp_err"; then
24932 ac_header_preproc
=yes
24934 echo "$as_me: failed program was:" >&5
24935 sed 's/^/| /' conftest.
$ac_ext >&5
24937 ac_header_preproc
=no
24939 rm -f conftest.err conftest.
$ac_ext
24940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24941 echo "${ECHO_T}$ac_header_preproc" >&6
24943 # So? What about this header?
24944 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24950 ac_header_preproc
=yes
24953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24967 ## ------------------------------------------ ##
24968 ## Report this to the AC_PACKAGE_NAME lists. ##
24969 ## ------------------------------------------ ##
24972 sed "s/^/$as_me: WARNING: /" >&2
24975 echo "$as_me:$LINENO: checking for $ac_header" >&5
24976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24978 echo $ECHO_N "(cached) $ECHO_C" >&6
24980 eval "$as_ac_Header=\$ac_header_preproc"
24982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24987 cat >>confdefs.h
<<_ACEOF
24988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24998 for ac_func
in getopt_long_only
25000 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25001 echo "$as_me:$LINENO: checking for $ac_func" >&5
25002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25003 if eval "test \"\${$as_ac_var+set}\" = set"; then
25004 echo $ECHO_N "(cached) $ECHO_C" >&6
25006 cat >conftest.
$ac_ext <<_ACEOF
25009 cat confdefs.h
>>conftest.
$ac_ext
25010 cat >>conftest.
$ac_ext <<_ACEOF
25011 /* end confdefs.h. */
25012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25014 #define $ac_func innocuous_$ac_func
25016 /* System header to define __stub macros and hopefully few prototypes,
25017 which can conflict with char $ac_func (); below.
25018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25019 <limits.h> exists even on freestanding compilers. */
25022 # include <limits.h>
25024 # include <assert.h>
25029 /* Override any gcc2 internal prototype to avoid an error. */
25034 /* We use char because int might match the return type of a gcc2
25035 builtin and then its argument prototype would still apply. */
25037 /* The GNU C library defines this for functions which it implements
25038 to always fail with ENOSYS. Some functions are actually named
25039 something starting with __ and the normal name is an alias. */
25040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25043 char (*f) () = $ac_func;
25052 return f != $ac_func;
25057 rm -f conftest.
$ac_objext conftest
$ac_exeext
25058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25059 (eval $ac_link) 2>conftest.er1
25061 grep -v '^ *+' conftest.er1
>conftest.err
25063 cat conftest.err
>&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } &&
25066 { ac_try
='test -z "$ac_c_werror_flag"
25067 || test ! -s conftest.err'
25068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25069 (eval $ac_try) 2>&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); }; } &&
25073 { ac_try
='test -s conftest$ac_exeext'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; }; then
25079 eval "$as_ac_var=yes"
25081 echo "$as_me: failed program was:" >&5
25082 sed 's/^/| /' conftest.
$ac_ext >&5
25084 eval "$as_ac_var=no"
25086 rm -f conftest.err conftest.
$ac_objext \
25087 conftest
$ac_exeext conftest.
$ac_ext
25089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25091 if test `eval echo '${'$as_ac_var'}'` = yes; then
25092 cat >>confdefs.h
<<_ACEOF
25093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25102 echo "$as_me:$LINENO: checking whether optreset is declared" >&5
25103 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
25104 if test "${ac_cv_have_decl_optreset+set}" = set; then
25105 echo $ECHO_N "(cached) $ECHO_C" >&6
25107 cat >conftest.
$ac_ext <<_ACEOF
25110 cat confdefs.h
>>conftest.
$ac_ext
25111 cat >>conftest.
$ac_ext <<_ACEOF
25112 /* end confdefs.h. */
25113 #include <getopt.h>
25119 char *p = (char *) optreset;
25126 rm -f conftest.
$ac_objext
25127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25128 (eval $ac_compile) 2>conftest.er1
25130 grep -v '^ *+' conftest.er1
>conftest.err
25132 cat conftest.err
>&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); } &&
25135 { ac_try
='test -z "$ac_c_werror_flag"
25136 || test ! -s conftest.err'
25137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25138 (eval $ac_try) 2>&5
25140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141 (exit $ac_status); }; } &&
25142 { ac_try
='test -s conftest.$ac_objext'
25143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25144 (eval $ac_try) 2>&5
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); }; }; then
25148 ac_cv_have_decl_optreset
=yes
25150 echo "$as_me: failed program was:" >&5
25151 sed 's/^/| /' conftest.
$ac_ext >&5
25153 ac_cv_have_decl_optreset
=no
25155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25157 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
25158 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6
25159 if test $ac_cv_have_decl_optreset = yes; then
25164 if test -n "$GETOPT_H"; then
25168 "getopt.$ac_objext" | \
25169 *" getopt.$ac_objext" | \
25170 "getopt.$ac_objext "* | \
25171 *" getopt.$ac_objext "* ) ;;
25172 *) LIBOBJS
="$LIBOBJS getopt.$ac_objext" ;;
25176 "getopt1.$ac_objext" | \
25177 *" getopt1.$ac_objext" | \
25178 "getopt1.$ac_objext "* | \
25179 *" getopt1.$ac_objext "* ) ;;
25180 *) LIBOBJS
="$LIBOBJS getopt1.$ac_objext" ;;
25184 cat >>confdefs.h
<<\_ACEOF
25185 #define __GETOPT_PREFIX rpl_
25194 echo "$as_me:$LINENO: checking for eaccess" >&5
25195 echo $ECHO_N "checking for eaccess... $ECHO_C" >&6
25196 if test "${ac_cv_func_eaccess+set}" = set; then
25197 echo $ECHO_N "(cached) $ECHO_C" >&6
25199 cat >conftest.
$ac_ext <<_ACEOF
25202 cat confdefs.h
>>conftest.
$ac_ext
25203 cat >>conftest.
$ac_ext <<_ACEOF
25204 /* end confdefs.h. */
25205 /* Define eaccess to an innocuous variant, in case <limits.h> declares eaccess.
25206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25207 #define eaccess innocuous_eaccess
25209 /* System header to define __stub macros and hopefully few prototypes,
25210 which can conflict with char eaccess (); below.
25211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25212 <limits.h> exists even on freestanding compilers. */
25215 # include <limits.h>
25217 # include <assert.h>
25222 /* Override any gcc2 internal prototype to avoid an error. */
25227 /* We use char because int might match the return type of a gcc2
25228 builtin and then its argument prototype would still apply. */
25230 /* The GNU C library defines this for functions which it implements
25231 to always fail with ENOSYS. Some functions are actually named
25232 something starting with __ and the normal name is an alias. */
25233 #if defined (__stub_eaccess) || defined (__stub___eaccess)
25236 char (*f) () = eaccess;
25245 return f != eaccess;
25250 rm -f conftest.
$ac_objext conftest
$ac_exeext
25251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25252 (eval $ac_link) 2>conftest.er1
25254 grep -v '^ *+' conftest.er1
>conftest.err
25256 cat conftest.err
>&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); } &&
25259 { ac_try
='test -z "$ac_c_werror_flag"
25260 || test ! -s conftest.err'
25261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25262 (eval $ac_try) 2>&5
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); }; } &&
25266 { ac_try
='test -s conftest$ac_exeext'
25267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25268 (eval $ac_try) 2>&5
25270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271 (exit $ac_status); }; }; then
25272 ac_cv_func_eaccess
=yes
25274 echo "$as_me: failed program was:" >&5
25275 sed 's/^/| /' conftest.
$ac_ext >&5
25277 ac_cv_func_eaccess
=no
25279 rm -f conftest.err conftest.
$ac_objext \
25280 conftest
$ac_exeext conftest.
$ac_ext
25282 echo "$as_me:$LINENO: result: $ac_cv_func_eaccess" >&5
25283 echo "${ECHO_T}$ac_cv_func_eaccess" >&6
25284 if test $ac_cv_func_eaccess = yes; then
25288 cat >>confdefs.h
<<\_ACEOF
25289 #define eaccess access
25299 echo "$as_me:$LINENO: checking for working stpncpy" >&5
25300 echo $ECHO_N "checking for working stpncpy... $ECHO_C" >&6
25301 if test "${gl_cv_func_stpncpy+set}" = set; then
25302 echo $ECHO_N "(cached) $ECHO_C" >&6
25305 if test "$cross_compiling" = yes; then
25306 cat >conftest.
$ac_ext <<_ACEOF
25309 cat confdefs.h
>>conftest.
$ac_ext
25310 cat >>conftest.
$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25313 #include <features.h>
25314 #ifdef __GNU_LIBRARY__
25315 Thanks for using GNU
25319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25320 $EGREP "Thanks for using GNU" >/dev
/null
2>&1; then
25321 gl_cv_func_stpncpy
=yes
25323 gl_cv_func_stpncpy
=no
25328 cat >conftest.
$ac_ext <<_ACEOF
25331 cat confdefs.h
>>conftest.
$ac_ext
25332 cat >>conftest.
$ac_ext <<_ACEOF
25333 /* end confdefs.h. */
25335 #include <stdlib.h>
25336 extern char *stpncpy (char *dest, const char *src, size_t n);
25338 const char *src = "Hello";
25340 /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+1 here. */
25341 strcpy (dest, "\377\377\377\377\377\377");
25342 if (stpncpy (dest, src, 2) != dest + 2) exit(1);
25343 /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+4 here. */
25344 strcpy (dest, "\377\377\377\377\377\377");
25345 if (stpncpy (dest, src, 5) != dest + 5) exit(1);
25346 /* AIX 4.3.3 and AIX 5.1 stpncpy() returns dest+6 here. */
25347 strcpy (dest, "\377\377\377\377\377\377");
25348 if (stpncpy (dest, src, 7) != dest + 5) exit(1);
25353 rm -f conftest
$ac_exeext
25354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25355 (eval $ac_link) 2>&5
25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25360 (eval $ac_try) 2>&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); }; }; then
25364 gl_cv_func_stpncpy
=yes
25366 echo "$as_me: program exited with status $ac_status" >&5
25367 echo "$as_me: failed program was:" >&5
25368 sed 's/^/| /' conftest.
$ac_ext >&5
25370 ( exit $ac_status )
25371 gl_cv_func_stpncpy
=no
25373 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25376 echo "$as_me:$LINENO: result: $gl_cv_func_stpncpy" >&5
25377 echo "${ECHO_T}$gl_cv_func_stpncpy" >&6
25379 if test $gl_cv_func_stpncpy = yes; then
25381 cat >>confdefs.h
<<\_ACEOF
25382 #define HAVE_STPNCPY 1
25387 "stpncpy.$ac_objext" | \
25388 *" stpncpy.$ac_objext" | \
25389 "stpncpy.$ac_objext "* | \
25390 *" stpncpy.$ac_objext "* ) ;;
25391 *) LIBOBJS
="$LIBOBJS stpncpy.$ac_objext" ;;
25402 for ac_func
in strcasecmp
25404 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25405 echo "$as_me:$LINENO: checking for $ac_func" >&5
25406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25407 if eval "test \"\${$as_ac_var+set}\" = set"; then
25408 echo $ECHO_N "(cached) $ECHO_C" >&6
25410 cat >conftest.
$ac_ext <<_ACEOF
25413 cat confdefs.h
>>conftest.
$ac_ext
25414 cat >>conftest.
$ac_ext <<_ACEOF
25415 /* end confdefs.h. */
25416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25418 #define $ac_func innocuous_$ac_func
25420 /* System header to define __stub macros and hopefully few prototypes,
25421 which can conflict with char $ac_func (); below.
25422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25423 <limits.h> exists even on freestanding compilers. */
25426 # include <limits.h>
25428 # include <assert.h>
25433 /* Override any gcc2 internal prototype to avoid an error. */
25438 /* We use char because int might match the return type of a gcc2
25439 builtin and then its argument prototype would still apply. */
25441 /* The GNU C library defines this for functions which it implements
25442 to always fail with ENOSYS. Some functions are actually named
25443 something starting with __ and the normal name is an alias. */
25444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25447 char (*f) () = $ac_func;
25456 return f != $ac_func;
25461 rm -f conftest.
$ac_objext conftest
$ac_exeext
25462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25463 (eval $ac_link) 2>conftest.er1
25465 grep -v '^ *+' conftest.er1
>conftest.err
25467 cat conftest.err
>&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } &&
25470 { ac_try
='test -z "$ac_c_werror_flag"
25471 || test ! -s conftest.err'
25472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 (eval $ac_try) 2>&5
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; } &&
25477 { ac_try
='test -s conftest$ac_exeext'
25478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25479 (eval $ac_try) 2>&5
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); }; }; then
25483 eval "$as_ac_var=yes"
25485 echo "$as_me: failed program was:" >&5
25486 sed 's/^/| /' conftest.
$ac_ext >&5
25488 eval "$as_ac_var=no"
25490 rm -f conftest.err conftest.
$ac_objext \
25491 conftest
$ac_exeext conftest.
$ac_ext
25493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25495 if test `eval echo '${'$as_ac_var'}'` = yes; then
25496 cat >>confdefs.h
<<_ACEOF
25497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25502 "$ac_func.$ac_objext" | \
25503 *" $ac_func.$ac_objext" | \
25504 "$ac_func.$ac_objext "* | \
25505 *" $ac_func.$ac_objext "* ) ;;
25506 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
25513 if test $ac_cv_func_strcasecmp = no
; then
25521 for ac_func
in strncasecmp
25523 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25524 echo "$as_me:$LINENO: checking for $ac_func" >&5
25525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25526 if eval "test \"\${$as_ac_var+set}\" = set"; then
25527 echo $ECHO_N "(cached) $ECHO_C" >&6
25529 cat >conftest.
$ac_ext <<_ACEOF
25532 cat confdefs.h
>>conftest.
$ac_ext
25533 cat >>conftest.
$ac_ext <<_ACEOF
25534 /* end confdefs.h. */
25535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25537 #define $ac_func innocuous_$ac_func
25539 /* System header to define __stub macros and hopefully few prototypes,
25540 which can conflict with char $ac_func (); below.
25541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25542 <limits.h> exists even on freestanding compilers. */
25545 # include <limits.h>
25547 # include <assert.h>
25552 /* Override any gcc2 internal prototype to avoid an error. */
25557 /* We use char because int might match the return type of a gcc2
25558 builtin and then its argument prototype would still apply. */
25560 /* The GNU C library defines this for functions which it implements
25561 to always fail with ENOSYS. Some functions are actually named
25562 something starting with __ and the normal name is an alias. */
25563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25566 char (*f) () = $ac_func;
25575 return f != $ac_func;
25580 rm -f conftest.
$ac_objext conftest
$ac_exeext
25581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25582 (eval $ac_link) 2>conftest.er1
25584 grep -v '^ *+' conftest.er1
>conftest.err
25586 cat conftest.err
>&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } &&
25589 { ac_try
='test -z "$ac_c_werror_flag"
25590 || test ! -s conftest.err'
25591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592 (eval $ac_try) 2>&5
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; } &&
25596 { ac_try
='test -s conftest$ac_exeext'
25597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25598 (eval $ac_try) 2>&5
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); }; }; then
25602 eval "$as_ac_var=yes"
25604 echo "$as_me: failed program was:" >&5
25605 sed 's/^/| /' conftest.
$ac_ext >&5
25607 eval "$as_ac_var=no"
25609 rm -f conftest.err conftest.
$ac_objext \
25610 conftest
$ac_exeext conftest.
$ac_ext
25612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25614 if test `eval echo '${'$as_ac_var'}'` = yes; then
25615 cat >>confdefs.h
<<_ACEOF
25616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25621 "$ac_func.$ac_objext" | \
25622 *" $ac_func.$ac_objext" | \
25623 "$ac_func.$ac_objext "* | \
25624 *" $ac_func.$ac_objext "* ) ;;
25625 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
25632 if test $ac_cv_func_strncasecmp = no
; then
25641 for ac_func
in isascii
25643 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25644 echo "$as_me:$LINENO: checking for $ac_func" >&5
25645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25646 if eval "test \"\${$as_ac_var+set}\" = set"; then
25647 echo $ECHO_N "(cached) $ECHO_C" >&6
25649 cat >conftest.
$ac_ext <<_ACEOF
25652 cat confdefs.h
>>conftest.
$ac_ext
25653 cat >>conftest.
$ac_ext <<_ACEOF
25654 /* end confdefs.h. */
25655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25657 #define $ac_func innocuous_$ac_func
25659 /* System header to define __stub macros and hopefully few prototypes,
25660 which can conflict with char $ac_func (); below.
25661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25662 <limits.h> exists even on freestanding compilers. */
25665 # include <limits.h>
25667 # include <assert.h>
25672 /* Override any gcc2 internal prototype to avoid an error. */
25677 /* We use char because int might match the return type of a gcc2
25678 builtin and then its argument prototype would still apply. */
25680 /* The GNU C library defines this for functions which it implements
25681 to always fail with ENOSYS. Some functions are actually named
25682 something starting with __ and the normal name is an alias. */
25683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25686 char (*f) () = $ac_func;
25695 return f != $ac_func;
25700 rm -f conftest.
$ac_objext conftest
$ac_exeext
25701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25702 (eval $ac_link) 2>conftest.er1
25704 grep -v '^ *+' conftest.er1
>conftest.err
25706 cat conftest.err
>&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); } &&
25709 { ac_try
='test -z "$ac_c_werror_flag"
25710 || test ! -s conftest.err'
25711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25712 (eval $ac_try) 2>&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); }; } &&
25716 { ac_try
='test -s conftest$ac_exeext'
25717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25718 (eval $ac_try) 2>&5
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); }; }; then
25722 eval "$as_ac_var=yes"
25724 echo "$as_me: failed program was:" >&5
25725 sed 's/^/| /' conftest.
$ac_ext >&5
25727 eval "$as_ac_var=no"
25729 rm -f conftest.err conftest.
$ac_objext \
25730 conftest
$ac_exeext conftest.
$ac_ext
25732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25734 if test `eval echo '${'$as_ac_var'}'` = yes; then
25735 cat >>confdefs.h
<<_ACEOF
25736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25745 for ac_func
in strtoul
25747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25748 echo "$as_me:$LINENO: checking for $ac_func" >&5
25749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25750 if eval "test \"\${$as_ac_var+set}\" = set"; then
25751 echo $ECHO_N "(cached) $ECHO_C" >&6
25753 cat >conftest.
$ac_ext <<_ACEOF
25756 cat confdefs.h
>>conftest.
$ac_ext
25757 cat >>conftest.
$ac_ext <<_ACEOF
25758 /* end confdefs.h. */
25759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25761 #define $ac_func innocuous_$ac_func
25763 /* System header to define __stub macros and hopefully few prototypes,
25764 which can conflict with char $ac_func (); below.
25765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25766 <limits.h> exists even on freestanding compilers. */
25769 # include <limits.h>
25771 # include <assert.h>
25776 /* Override any gcc2 internal prototype to avoid an error. */
25781 /* We use char because int might match the return type of a gcc2
25782 builtin and then its argument prototype would still apply. */
25784 /* The GNU C library defines this for functions which it implements
25785 to always fail with ENOSYS. Some functions are actually named
25786 something starting with __ and the normal name is an alias. */
25787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25790 char (*f) () = $ac_func;
25799 return f != $ac_func;
25804 rm -f conftest.
$ac_objext conftest
$ac_exeext
25805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25806 (eval $ac_link) 2>conftest.er1
25808 grep -v '^ *+' conftest.er1
>conftest.err
25810 cat conftest.err
>&5
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); } &&
25813 { ac_try
='test -z "$ac_c_werror_flag"
25814 || test ! -s conftest.err'
25815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25816 (eval $ac_try) 2>&5
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); }; } &&
25820 { ac_try
='test -s conftest$ac_exeext'
25821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25822 (eval $ac_try) 2>&5
25824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25825 (exit $ac_status); }; }; then
25826 eval "$as_ac_var=yes"
25828 echo "$as_me: failed program was:" >&5
25829 sed 's/^/| /' conftest.
$ac_ext >&5
25831 eval "$as_ac_var=no"
25833 rm -f conftest.err conftest.
$ac_objext \
25834 conftest
$ac_exeext conftest.
$ac_ext
25836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25838 if test `eval echo '${'$as_ac_var'}'` = yes; then
25839 cat >>confdefs.h
<<_ACEOF
25840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25845 "$ac_func.$ac_objext" | \
25846 *" $ac_func.$ac_objext" | \
25847 "$ac_func.$ac_objext "* | \
25848 *" $ac_func.$ac_objext "* ) ;;
25849 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
25856 if test $ac_cv_func_strtoul = no
; then
25873 for ac_header
in wchar.h
25875 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25877 echo "$as_me:$LINENO: checking for $ac_header" >&5
25878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25880 echo $ECHO_N "(cached) $ECHO_C" >&6
25882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25885 # Is the header compilable?
25886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25888 cat >conftest.
$ac_ext <<_ACEOF
25891 cat confdefs.h
>>conftest.
$ac_ext
25892 cat >>conftest.
$ac_ext <<_ACEOF
25893 /* end confdefs.h. */
25894 $ac_includes_default
25895 #include <$ac_header>
25897 rm -f conftest.
$ac_objext
25898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25899 (eval $ac_compile) 2>conftest.er1
25901 grep -v '^ *+' conftest.er1
>conftest.err
25903 cat conftest.err
>&5
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); } &&
25906 { ac_try
='test -z "$ac_c_werror_flag"
25907 || test ! -s conftest.err'
25908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25909 (eval $ac_try) 2>&5
25911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25912 (exit $ac_status); }; } &&
25913 { ac_try
='test -s conftest.$ac_objext'
25914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25915 (eval $ac_try) 2>&5
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); }; }; then
25919 ac_header_compiler
=yes
25921 echo "$as_me: failed program was:" >&5
25922 sed 's/^/| /' conftest.
$ac_ext >&5
25924 ac_header_compiler
=no
25926 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25928 echo "${ECHO_T}$ac_header_compiler" >&6
25930 # Is the header present?
25931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25933 cat >conftest.
$ac_ext <<_ACEOF
25936 cat confdefs.h
>>conftest.
$ac_ext
25937 cat >>conftest.
$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25939 #include <$ac_header>
25941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25942 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25944 grep -v '^ *+' conftest.er1
>conftest.err
25946 cat conftest.err
>&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); } >/dev
/null
; then
25949 if test -s conftest.err
; then
25950 ac_cpp_err
=$ac_c_preproc_warn_flag
25951 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
25958 if test -z "$ac_cpp_err"; then
25959 ac_header_preproc
=yes
25961 echo "$as_me: failed program was:" >&5
25962 sed 's/^/| /' conftest.
$ac_ext >&5
25964 ac_header_preproc
=no
25966 rm -f conftest.err conftest.
$ac_ext
25967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25968 echo "${ECHO_T}$ac_header_preproc" >&6
25970 # So? What about this header?
25971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25977 ac_header_preproc
=yes
25980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25994 ## ------------------------------------------ ##
25995 ## Report this to the AC_PACKAGE_NAME lists. ##
25996 ## ------------------------------------------ ##
25999 sed "s/^/$as_me: WARNING: /" >&2
26002 echo "$as_me:$LINENO: checking for $ac_header" >&5
26003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26005 echo $ECHO_N "(cached) $ECHO_C" >&6
26007 eval "$as_ac_Header=\$ac_header_preproc"
26009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26014 cat >>confdefs.h
<<_ACEOF
26015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26025 for ac_header
in wctype.h
26027 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26029 echo "$as_me:$LINENO: checking for $ac_header" >&5
26030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26032 echo $ECHO_N "(cached) $ECHO_C" >&6
26034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26037 # Is the header compilable?
26038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26040 cat >conftest.
$ac_ext <<_ACEOF
26043 cat confdefs.h
>>conftest.
$ac_ext
26044 cat >>conftest.
$ac_ext <<_ACEOF
26045 /* end confdefs.h. */
26046 $ac_includes_default
26047 #include <$ac_header>
26049 rm -f conftest.
$ac_objext
26050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26051 (eval $ac_compile) 2>conftest.er1
26053 grep -v '^ *+' conftest.er1
>conftest.err
26055 cat conftest.err
>&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); } &&
26058 { ac_try
='test -z "$ac_c_werror_flag"
26059 || test ! -s conftest.err'
26060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26061 (eval $ac_try) 2>&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); }; } &&
26065 { ac_try
='test -s conftest.$ac_objext'
26066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26067 (eval $ac_try) 2>&5
26069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26070 (exit $ac_status); }; }; then
26071 ac_header_compiler
=yes
26073 echo "$as_me: failed program was:" >&5
26074 sed 's/^/| /' conftest.
$ac_ext >&5
26076 ac_header_compiler
=no
26078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26080 echo "${ECHO_T}$ac_header_compiler" >&6
26082 # Is the header present?
26083 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26084 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26085 cat >conftest.
$ac_ext <<_ACEOF
26088 cat confdefs.h
>>conftest.
$ac_ext
26089 cat >>conftest.
$ac_ext <<_ACEOF
26090 /* end confdefs.h. */
26091 #include <$ac_header>
26093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26096 grep -v '^ *+' conftest.er1
>conftest.err
26098 cat conftest.err
>&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } >/dev
/null
; then
26101 if test -s conftest.err
; then
26102 ac_cpp_err
=$ac_c_preproc_warn_flag
26103 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26110 if test -z "$ac_cpp_err"; then
26111 ac_header_preproc
=yes
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.
$ac_ext >&5
26116 ac_header_preproc
=no
26118 rm -f conftest.err conftest.
$ac_ext
26119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26120 echo "${ECHO_T}$ac_header_preproc" >&6
26122 # So? What about this header?
26123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26128 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26129 ac_header_preproc
=yes
26132 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26133 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26134 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26135 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26136 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26137 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26138 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26139 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26142 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26146 ## ------------------------------------------ ##
26147 ## Report this to the AC_PACKAGE_NAME lists. ##
26148 ## ------------------------------------------ ##
26151 sed "s/^/$as_me: WARNING: /" >&2
26154 echo "$as_me:$LINENO: checking for $ac_header" >&5
26155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26157 echo $ECHO_N "(cached) $ECHO_C" >&6
26159 eval "$as_ac_Header=\$ac_header_preproc"
26161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26166 cat >>confdefs.h
<<_ACEOF
26167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26177 for ac_func
in iswprint
26179 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26180 echo "$as_me:$LINENO: checking for $ac_func" >&5
26181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26182 if eval "test \"\${$as_ac_var+set}\" = set"; then
26183 echo $ECHO_N "(cached) $ECHO_C" >&6
26185 cat >conftest.
$ac_ext <<_ACEOF
26188 cat confdefs.h
>>conftest.
$ac_ext
26189 cat >>conftest.
$ac_ext <<_ACEOF
26190 /* end confdefs.h. */
26191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26193 #define $ac_func innocuous_$ac_func
26195 /* System header to define __stub macros and hopefully few prototypes,
26196 which can conflict with char $ac_func (); below.
26197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26198 <limits.h> exists even on freestanding compilers. */
26201 # include <limits.h>
26203 # include <assert.h>
26208 /* Override any gcc2 internal prototype to avoid an error. */
26213 /* We use char because int might match the return type of a gcc2
26214 builtin and then its argument prototype would still apply. */
26216 /* The GNU C library defines this for functions which it implements
26217 to always fail with ENOSYS. Some functions are actually named
26218 something starting with __ and the normal name is an alias. */
26219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26222 char (*f) () = $ac_func;
26231 return f != $ac_func;
26236 rm -f conftest.
$ac_objext conftest
$ac_exeext
26237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26238 (eval $ac_link) 2>conftest.er1
26240 grep -v '^ *+' conftest.er1
>conftest.err
26242 cat conftest.err
>&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); } &&
26245 { ac_try
='test -z "$ac_c_werror_flag"
26246 || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try
='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 eval "$as_ac_var=yes"
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.
$ac_ext >&5
26263 eval "$as_ac_var=no"
26265 rm -f conftest.err conftest.
$ac_objext \
26266 conftest
$ac_exeext conftest.
$ac_ext
26268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26270 if test `eval echo '${'$as_ac_var'}'` = yes; then
26271 cat >>confdefs.h
<<_ACEOF
26272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26281 for ac_func
in mbsinit
26283 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26284 echo "$as_me:$LINENO: checking for $ac_func" >&5
26285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26286 if eval "test \"\${$as_ac_var+set}\" = set"; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26289 cat >conftest.
$ac_ext <<_ACEOF
26292 cat confdefs.h
>>conftest.
$ac_ext
26293 cat >>conftest.
$ac_ext <<_ACEOF
26294 /* end confdefs.h. */
26295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26297 #define $ac_func innocuous_$ac_func
26299 /* System header to define __stub macros and hopefully few prototypes,
26300 which can conflict with char $ac_func (); below.
26301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26302 <limits.h> exists even on freestanding compilers. */
26305 # include <limits.h>
26307 # include <assert.h>
26312 /* Override any gcc2 internal prototype to avoid an error. */
26317 /* We use char because int might match the return type of a gcc2
26318 builtin and then its argument prototype would still apply. */
26320 /* The GNU C library defines this for functions which it implements
26321 to always fail with ENOSYS. Some functions are actually named
26322 something starting with __ and the normal name is an alias. */
26323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26326 char (*f) () = $ac_func;
26335 return f != $ac_func;
26340 rm -f conftest.
$ac_objext conftest
$ac_exeext
26341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26342 (eval $ac_link) 2>conftest.er1
26344 grep -v '^ *+' conftest.er1
>conftest.err
26346 cat conftest.err
>&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } &&
26349 { ac_try
='test -z "$ac_c_werror_flag"
26350 || test ! -s conftest.err'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; } &&
26356 { ac_try
='test -s conftest$ac_exeext'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; }; then
26362 eval "$as_ac_var=yes"
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.
$ac_ext >&5
26367 eval "$as_ac_var=no"
26369 rm -f conftest.err conftest.
$ac_objext \
26370 conftest
$ac_exeext conftest.
$ac_ext
26372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26374 if test `eval echo '${'$as_ac_var'}'` = yes; then
26375 cat >>confdefs.h
<<_ACEOF
26376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26409 for ac_func
in iswcntrl wcwidth
26411 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26412 echo "$as_me:$LINENO: checking for $ac_func" >&5
26413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26414 if eval "test \"\${$as_ac_var+set}\" = set"; then
26415 echo $ECHO_N "(cached) $ECHO_C" >&6
26417 cat >conftest.
$ac_ext <<_ACEOF
26420 cat confdefs.h
>>conftest.
$ac_ext
26421 cat >>conftest.
$ac_ext <<_ACEOF
26422 /* end confdefs.h. */
26423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26425 #define $ac_func innocuous_$ac_func
26427 /* System header to define __stub macros and hopefully few prototypes,
26428 which can conflict with char $ac_func (); below.
26429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26430 <limits.h> exists even on freestanding compilers. */
26433 # include <limits.h>
26435 # include <assert.h>
26440 /* Override any gcc2 internal prototype to avoid an error. */
26445 /* We use char because int might match the return type of a gcc2
26446 builtin and then its argument prototype would still apply. */
26448 /* The GNU C library defines this for functions which it implements
26449 to always fail with ENOSYS. Some functions are actually named
26450 something starting with __ and the normal name is an alias. */
26451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26454 char (*f) () = $ac_func;
26463 return f != $ac_func;
26468 rm -f conftest.
$ac_objext conftest
$ac_exeext
26469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26470 (eval $ac_link) 2>conftest.er1
26472 grep -v '^ *+' conftest.er1
>conftest.err
26474 cat conftest.err
>&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } &&
26477 { ac_try
='test -z "$ac_c_werror_flag"
26478 || test ! -s conftest.err'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; } &&
26484 { ac_try
='test -s conftest$ac_exeext'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; }; then
26490 eval "$as_ac_var=yes"
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.
$ac_ext >&5
26495 eval "$as_ac_var=no"
26497 rm -f conftest.err conftest.
$ac_objext \
26498 conftest
$ac_exeext conftest.
$ac_ext
26500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26502 if test `eval echo '${'$as_ac_var'}'` = yes; then
26503 cat >>confdefs.h
<<_ACEOF
26504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26511 echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
26512 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
26513 if test "${gl_cv_func_mbrtowc+set}" = set; then
26514 echo $ECHO_N "(cached) $ECHO_C" >&6
26516 cat >conftest.
$ac_ext <<_ACEOF
26519 cat confdefs.h
>>conftest.
$ac_ext
26520 cat >>conftest.
$ac_ext <<_ACEOF
26521 /* end confdefs.h. */
26526 mbstate_t state; return ! (sizeof state && mbrtowc);
26531 rm -f conftest.
$ac_objext conftest
$ac_exeext
26532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26533 (eval $ac_link) 2>conftest.er1
26535 grep -v '^ *+' conftest.er1
>conftest.err
26537 cat conftest.err
>&5
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); } &&
26540 { ac_try
='test -z "$ac_c_werror_flag"
26541 || test ! -s conftest.err'
26542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26543 (eval $ac_try) 2>&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); }; } &&
26547 { ac_try
='test -s conftest$ac_exeext'
26548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26549 (eval $ac_try) 2>&5
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); }; }; then
26553 gl_cv_func_mbrtowc
=yes
26555 echo "$as_me: failed program was:" >&5
26556 sed 's/^/| /' conftest.
$ac_ext >&5
26558 gl_cv_func_mbrtowc
=no
26560 rm -f conftest.err conftest.
$ac_objext \
26561 conftest
$ac_exeext conftest.
$ac_ext
26563 echo "$as_me:$LINENO: result: $gl_cv_func_mbrtowc" >&5
26564 echo "${ECHO_T}$gl_cv_func_mbrtowc" >&6
26565 if test $gl_cv_func_mbrtowc = yes; then
26567 cat >>confdefs.h
<<\_ACEOF
26568 #define HAVE_MBRTOWC 1
26574 echo "$as_me:$LINENO: checking whether wcwidth is declared" >&5
26575 echo $ECHO_N "checking whether wcwidth is declared... $ECHO_C" >&6
26576 if test "${ac_cv_have_decl_wcwidth+set}" = set; then
26577 echo $ECHO_N "(cached) $ECHO_C" >&6
26579 cat >conftest.
$ac_ext <<_ACEOF
26582 cat confdefs.h
>>conftest.
$ac_ext
26583 cat >>conftest.
$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26586 /* AIX 3.2.5 declares wcwidth in <string.h>. */
26588 # include <string.h>
26591 # include <wchar.h>
26599 char *p = (char *) wcwidth;
26606 rm -f conftest.
$ac_objext
26607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26608 (eval $ac_compile) 2>conftest.er1
26610 grep -v '^ *+' conftest.er1
>conftest.err
26612 cat conftest.err
>&5
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); } &&
26615 { ac_try
='test -z "$ac_c_werror_flag"
26616 || test ! -s conftest.err'
26617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26618 (eval $ac_try) 2>&5
26620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621 (exit $ac_status); }; } &&
26622 { ac_try
='test -s conftest.$ac_objext'
26623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26624 (eval $ac_try) 2>&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); }; }; then
26628 ac_cv_have_decl_wcwidth
=yes
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.
$ac_ext >&5
26633 ac_cv_have_decl_wcwidth
=no
26635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26637 echo "$as_me:$LINENO: result: $ac_cv_have_decl_wcwidth" >&5
26638 echo "${ECHO_T}$ac_cv_have_decl_wcwidth" >&6
26639 if test $ac_cv_have_decl_wcwidth = yes; then
26645 cat >>confdefs.h
<<_ACEOF
26646 #define HAVE_DECL_WCWIDTH $ac_val
26650 echo "$as_me:$LINENO: checking whether mbswidth is declared in <wchar.h>" >&5
26651 echo $ECHO_N "checking whether mbswidth is declared in <wchar.h>... $ECHO_C" >&6
26652 if test "${ac_cv_have_decl_mbswidth+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 cat >conftest.
$ac_ext <<_ACEOF
26658 cat confdefs.h
>>conftest.
$ac_ext
26659 cat >>conftest.
$ac_ext <<_ACEOF
26660 /* end confdefs.h. */
26663 # include <wchar.h>
26670 char *p = (char *) mbswidth;
26676 rm -f conftest.
$ac_objext
26677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26678 (eval $ac_compile) 2>conftest.er1
26680 grep -v '^ *+' conftest.er1
>conftest.err
26682 cat conftest.err
>&5
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); } &&
26685 { ac_try
='test -z "$ac_c_werror_flag"
26686 || test ! -s conftest.err'
26687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26688 (eval $ac_try) 2>&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; } &&
26692 { ac_try
='test -s conftest.$ac_objext'
26693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26694 (eval $ac_try) 2>&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); }; }; then
26698 ac_cv_have_decl_mbswidth
=yes
26700 echo "$as_me: failed program was:" >&5
26701 sed 's/^/| /' conftest.
$ac_ext >&5
26703 ac_cv_have_decl_mbswidth
=no
26705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26707 echo "$as_me:$LINENO: result: $ac_cv_have_decl_mbswidth" >&5
26708 echo "${ECHO_T}$ac_cv_have_decl_mbswidth" >&6
26709 if test $ac_cv_have_decl_mbswidth = yes; then
26715 cat >>confdefs.h
<<_ACEOF
26716 #define HAVE_DECL_MBSWIDTH_IN_WCHAR_H $ac_val
26720 echo "$as_me:$LINENO: checking for mbstate_t" >&5
26721 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
26722 if test "${ac_cv_type_mbstate_t+set}" = set; then
26723 echo $ECHO_N "(cached) $ECHO_C" >&6
26725 cat >conftest.
$ac_ext <<_ACEOF
26728 cat confdefs.h
>>conftest.
$ac_ext
26729 cat >>conftest.
$ac_ext <<_ACEOF
26730 /* end confdefs.h. */
26731 $ac_includes_default
26732 # include <wchar.h>
26736 mbstate_t x; return sizeof x;
26741 rm -f conftest.
$ac_objext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26743 (eval $ac_compile) 2>conftest.er1
26745 grep -v '^ *+' conftest.er1
>conftest.err
26747 cat conftest.err
>&5
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try
='test -z "$ac_c_werror_flag"
26751 || test ! -s conftest.err'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; } &&
26757 { ac_try
='test -s conftest.$ac_objext'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; }; then
26763 ac_cv_type_mbstate_t
=yes
26765 echo "$as_me: failed program was:" >&5
26766 sed 's/^/| /' conftest.
$ac_ext >&5
26768 ac_cv_type_mbstate_t
=no
26770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26772 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
26773 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
26774 if test $ac_cv_type_mbstate_t = yes; then
26776 cat >>confdefs.h
<<\_ACEOF
26777 #define HAVE_MBSTATE_T 1
26782 cat >>confdefs.h
<<\_ACEOF
26783 #define mbstate_t int
26793 ac_header_dirent
=no
26794 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
26795 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
26796 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
26797 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
26798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26801 cat >conftest.
$ac_ext <<_ACEOF
26804 cat confdefs.h
>>conftest.
$ac_ext
26805 cat >>conftest.
$ac_ext <<_ACEOF
26806 /* end confdefs.h. */
26807 #include <sys/types.h>
26819 rm -f conftest.
$ac_objext
26820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26821 (eval $ac_compile) 2>conftest.er1
26823 grep -v '^ *+' conftest.er1
>conftest.err
26825 cat conftest.err
>&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } &&
26828 { ac_try
='test -z "$ac_c_werror_flag"
26829 || test ! -s conftest.err'
26830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831 (eval $ac_try) 2>&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; } &&
26835 { ac_try
='test -s conftest.$ac_objext'
26836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26837 (eval $ac_try) 2>&5
26839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26840 (exit $ac_status); }; }; then
26841 eval "$as_ac_Header=yes"
26843 echo "$as_me: failed program was:" >&5
26844 sed 's/^/| /' conftest.
$ac_ext >&5
26846 eval "$as_ac_Header=no"
26848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26853 cat >>confdefs.h
<<_ACEOF
26854 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
26857 ac_header_dirent
=$ac_hdr; break
26861 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
26862 if test $ac_header_dirent = dirent.h
; then
26863 echo "$as_me:$LINENO: checking for library containing opendir" >&5
26864 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
26865 if test "${ac_cv_search_opendir+set}" = set; then
26866 echo $ECHO_N "(cached) $ECHO_C" >&6
26868 ac_func_search_save_LIBS
=$LIBS
26869 ac_cv_search_opendir
=no
26870 cat >conftest.
$ac_ext <<_ACEOF
26873 cat confdefs.h
>>conftest.
$ac_ext
26874 cat >>conftest.
$ac_ext <<_ACEOF
26875 /* end confdefs.h. */
26877 /* Override any gcc2 internal prototype to avoid an error. */
26881 /* We use char because int might match the return type of a gcc2
26882 builtin and then its argument prototype would still apply. */
26892 rm -f conftest.
$ac_objext conftest
$ac_exeext
26893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26894 (eval $ac_link) 2>conftest.er1
26896 grep -v '^ *+' conftest.er1
>conftest.err
26898 cat conftest.err
>&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); } &&
26901 { ac_try
='test -z "$ac_c_werror_flag"
26902 || test ! -s conftest.err'
26903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26904 (eval $ac_try) 2>&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); }; } &&
26908 { ac_try
='test -s conftest$ac_exeext'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; }; then
26914 ac_cv_search_opendir
="none required"
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.
$ac_ext >&5
26920 rm -f conftest.err conftest.
$ac_objext \
26921 conftest
$ac_exeext conftest.
$ac_ext
26922 if test "$ac_cv_search_opendir" = no
; then
26923 for ac_lib
in dir
; do
26924 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
26925 cat >conftest.
$ac_ext <<_ACEOF
26928 cat confdefs.h
>>conftest.
$ac_ext
26929 cat >>conftest.
$ac_ext <<_ACEOF
26930 /* end confdefs.h. */
26932 /* Override any gcc2 internal prototype to avoid an error. */
26936 /* We use char because int might match the return type of a gcc2
26937 builtin and then its argument prototype would still apply. */
26947 rm -f conftest.
$ac_objext conftest
$ac_exeext
26948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26949 (eval $ac_link) 2>conftest.er1
26951 grep -v '^ *+' conftest.er1
>conftest.err
26953 cat conftest.err
>&5
26954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955 (exit $ac_status); } &&
26956 { ac_try
='test -z "$ac_c_werror_flag"
26957 || test ! -s conftest.err'
26958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26959 (eval $ac_try) 2>&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); }; } &&
26963 { ac_try
='test -s conftest$ac_exeext'
26964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26965 (eval $ac_try) 2>&5
26967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968 (exit $ac_status); }; }; then
26969 ac_cv_search_opendir
="-l$ac_lib"
26972 echo "$as_me: failed program was:" >&5
26973 sed 's/^/| /' conftest.
$ac_ext >&5
26976 rm -f conftest.err conftest.
$ac_objext \
26977 conftest
$ac_exeext conftest.
$ac_ext
26980 LIBS
=$ac_func_search_save_LIBS
26982 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
26983 echo "${ECHO_T}$ac_cv_search_opendir" >&6
26984 if test "$ac_cv_search_opendir" != no
; then
26985 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
26990 echo "$as_me:$LINENO: checking for library containing opendir" >&5
26991 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
26992 if test "${ac_cv_search_opendir+set}" = set; then
26993 echo $ECHO_N "(cached) $ECHO_C" >&6
26995 ac_func_search_save_LIBS
=$LIBS
26996 ac_cv_search_opendir
=no
26997 cat >conftest.
$ac_ext <<_ACEOF
27000 cat confdefs.h
>>conftest.
$ac_ext
27001 cat >>conftest.
$ac_ext <<_ACEOF
27002 /* end confdefs.h. */
27004 /* Override any gcc2 internal prototype to avoid an error. */
27008 /* We use char because int might match the return type of a gcc2
27009 builtin and then its argument prototype would still apply. */
27019 rm -f conftest.
$ac_objext conftest
$ac_exeext
27020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27021 (eval $ac_link) 2>conftest.er1
27023 grep -v '^ *+' conftest.er1
>conftest.err
27025 cat conftest.err
>&5
27026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); } &&
27028 { ac_try
='test -z "$ac_c_werror_flag"
27029 || test ! -s conftest.err'
27030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031 (eval $ac_try) 2>&5
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); }; } &&
27035 { ac_try
='test -s conftest$ac_exeext'
27036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27037 (eval $ac_try) 2>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); }; }; then
27041 ac_cv_search_opendir
="none required"
27043 echo "$as_me: failed program was:" >&5
27044 sed 's/^/| /' conftest.
$ac_ext >&5
27047 rm -f conftest.err conftest.
$ac_objext \
27048 conftest
$ac_exeext conftest.
$ac_ext
27049 if test "$ac_cv_search_opendir" = no
; then
27050 for ac_lib
in x
; do
27051 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
27052 cat >conftest.
$ac_ext <<_ACEOF
27055 cat confdefs.h
>>conftest.
$ac_ext
27056 cat >>conftest.
$ac_ext <<_ACEOF
27057 /* end confdefs.h. */
27059 /* Override any gcc2 internal prototype to avoid an error. */
27063 /* We use char because int might match the return type of a gcc2
27064 builtin and then its argument prototype would still apply. */
27074 rm -f conftest.
$ac_objext conftest
$ac_exeext
27075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27076 (eval $ac_link) 2>conftest.er1
27078 grep -v '^ *+' conftest.er1
>conftest.err
27080 cat conftest.err
>&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } &&
27083 { ac_try
='test -z "$ac_c_werror_flag"
27084 || test ! -s conftest.err'
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; } &&
27090 { ac_try
='test -s conftest$ac_exeext'
27091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27092 (eval $ac_try) 2>&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); }; }; then
27096 ac_cv_search_opendir
="-l$ac_lib"
27099 echo "$as_me: failed program was:" >&5
27100 sed 's/^/| /' conftest.
$ac_ext >&5
27103 rm -f conftest.err conftest.
$ac_objext \
27104 conftest
$ac_exeext conftest.
$ac_ext
27107 LIBS
=$ac_func_search_save_LIBS
27109 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
27110 echo "${ECHO_T}$ac_cv_search_opendir" >&6
27111 if test "$ac_cv_search_opendir" != no
; then
27112 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
27120 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
27121 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
27122 if test "${ac_cv_func_closedir_void+set}" = set; then
27123 echo $ECHO_N "(cached) $ECHO_C" >&6
27125 if test "$cross_compiling" = yes; then
27126 ac_cv_func_closedir_void
=yes
27128 cat >conftest.
$ac_ext <<_ACEOF
27131 cat confdefs.h
>>conftest.
$ac_ext
27132 cat >>conftest.
$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134 $ac_includes_default
27135 #include <$ac_header_dirent>
27136 #ifndef __cplusplus
27143 exit (closedir (opendir (".")) != 0);
27148 rm -f conftest
$ac_exeext
27149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27150 (eval $ac_link) 2>&5
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27155 (eval $ac_try) 2>&5
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); }; }; then
27159 ac_cv_func_closedir_void
=no
27161 echo "$as_me: program exited with status $ac_status" >&5
27162 echo "$as_me: failed program was:" >&5
27163 sed 's/^/| /' conftest.
$ac_ext >&5
27165 ( exit $ac_status )
27166 ac_cv_func_closedir_void
=yes
27168 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27171 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
27172 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
27173 if test $ac_cv_func_closedir_void = yes; then
27175 cat >>confdefs.h
<<\_ACEOF
27176 #define CLOSEDIR_VOID 1
27182 for ac_header
in string.h
27184 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27186 echo "$as_me:$LINENO: checking for $ac_header" >&5
27187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27189 echo $ECHO_N "(cached) $ECHO_C" >&6
27191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27194 # Is the header compilable?
27195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27197 cat >conftest.
$ac_ext <<_ACEOF
27200 cat confdefs.h
>>conftest.
$ac_ext
27201 cat >>conftest.
$ac_ext <<_ACEOF
27202 /* end confdefs.h. */
27203 $ac_includes_default
27204 #include <$ac_header>
27206 rm -f conftest.
$ac_objext
27207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27208 (eval $ac_compile) 2>conftest.er1
27210 grep -v '^ *+' conftest.er1
>conftest.err
27212 cat conftest.err
>&5
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); } &&
27215 { ac_try
='test -z "$ac_c_werror_flag"
27216 || test ! -s conftest.err'
27217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27218 (eval $ac_try) 2>&5
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); }; } &&
27222 { ac_try
='test -s conftest.$ac_objext'
27223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27224 (eval $ac_try) 2>&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); }; }; then
27228 ac_header_compiler
=yes
27230 echo "$as_me: failed program was:" >&5
27231 sed 's/^/| /' conftest.
$ac_ext >&5
27233 ac_header_compiler
=no
27235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27237 echo "${ECHO_T}$ac_header_compiler" >&6
27239 # Is the header present?
27240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27242 cat >conftest.
$ac_ext <<_ACEOF
27245 cat confdefs.h
>>conftest.
$ac_ext
27246 cat >>conftest.
$ac_ext <<_ACEOF
27247 /* end confdefs.h. */
27248 #include <$ac_header>
27250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27251 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27253 grep -v '^ *+' conftest.er1
>conftest.err
27255 cat conftest.err
>&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } >/dev
/null
; then
27258 if test -s conftest.err
; then
27259 ac_cpp_err
=$ac_c_preproc_warn_flag
27260 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27267 if test -z "$ac_cpp_err"; then
27268 ac_header_preproc
=yes
27270 echo "$as_me: failed program was:" >&5
27271 sed 's/^/| /' conftest.
$ac_ext >&5
27273 ac_header_preproc
=no
27275 rm -f conftest.err conftest.
$ac_ext
27276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27277 echo "${ECHO_T}$ac_header_preproc" >&6
27279 # So? What about this header?
27280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27286 ac_header_preproc
=yes
27289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27303 ## ------------------------------------------ ##
27304 ## Report this to the AC_PACKAGE_NAME lists. ##
27305 ## ------------------------------------------ ##
27308 sed "s/^/$as_me: WARNING: /" >&2
27311 echo "$as_me:$LINENO: checking for $ac_header" >&5
27312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27314 echo $ECHO_N "(cached) $ECHO_C" >&6
27316 eval "$as_ac_Header=\$ac_header_preproc"
27318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27323 cat >>confdefs.h
<<_ACEOF
27324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27331 echo "$as_me:$LINENO: checking for long file names" >&5
27332 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
27333 if test "${ac_cv_sys_long_file_names+set}" = set; then
27334 echo $ECHO_N "(cached) $ECHO_C" >&6
27336 ac_cv_sys_long_file_names
=yes
27337 # Test for long file names in all the places we know might matter:
27338 # . the current directory, where building will happen
27339 # $prefix/lib where we will be installing things
27340 # $exec_prefix/lib likewise
27341 # eval it to expand exec_prefix.
27342 # $TMPDIR if set, where it might want to write temporary files
27343 # if $TMPDIR is not set:
27344 # /tmp where it might want to write temporary files
27345 # /var/tmp likewise
27346 # /usr/tmp likewise
27347 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
27350 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
27352 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
27353 test -d $ac_dir ||
continue
27354 test -w $ac_dir ||
continue # It is less confusing to not echo anything here.
27355 ac_xdir
=$ac_dir/cf$$
27356 (umask 077 && mkdir
$ac_xdir 2>/dev
/null
) ||
continue
27357 ac_tf1
=$ac_xdir/conftest9012345
27358 ac_tf2
=$ac_xdir/conftest9012346
27359 (echo 1 >$ac_tf1) 2>/dev
/null
27360 (echo 2 >$ac_tf2) 2>/dev
/null
27361 ac_val
=`cat $ac_tf1 2>/dev/null`
27362 if test ! -f $ac_tf1 ||
test "$ac_val" != 1; then
27363 ac_cv_sys_long_file_names
=no
27364 rm -rf $ac_xdir 2>/dev
/null
27367 rm -rf $ac_xdir 2>/dev
/null
27370 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5
27371 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
27372 if test $ac_cv_sys_long_file_names = yes; then
27374 cat >>confdefs.h
<<\_ACEOF
27375 #define HAVE_LONG_FILE_NAMES 1
27381 for ac_func
in pathconf
27383 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27384 echo "$as_me:$LINENO: checking for $ac_func" >&5
27385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27386 if eval "test \"\${$as_ac_var+set}\" = set"; then
27387 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 cat >conftest.
$ac_ext <<_ACEOF
27392 cat confdefs.h
>>conftest.
$ac_ext
27393 cat >>conftest.
$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27397 #define $ac_func innocuous_$ac_func
27399 /* System header to define __stub macros and hopefully few prototypes,
27400 which can conflict with char $ac_func (); below.
27401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27402 <limits.h> exists even on freestanding compilers. */
27405 # include <limits.h>
27407 # include <assert.h>
27412 /* Override any gcc2 internal prototype to avoid an error. */
27417 /* We use char because int might match the return type of a gcc2
27418 builtin and then its argument prototype would still apply. */
27420 /* The GNU C library defines this for functions which it implements
27421 to always fail with ENOSYS. Some functions are actually named
27422 something starting with __ and the normal name is an alias. */
27423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27426 char (*f) () = $ac_func;
27435 return f != $ac_func;
27440 rm -f conftest.
$ac_objext conftest
$ac_exeext
27441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27442 (eval $ac_link) 2>conftest.er1
27444 grep -v '^ *+' conftest.er1
>conftest.err
27446 cat conftest.err
>&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } &&
27449 { ac_try
='test -z "$ac_c_werror_flag"
27450 || test ! -s conftest.err'
27451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27452 (eval $ac_try) 2>&5
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); }; } &&
27456 { ac_try
='test -s conftest$ac_exeext'
27457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27458 (eval $ac_try) 2>&5
27460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27461 (exit $ac_status); }; }; then
27462 eval "$as_ac_var=yes"
27464 echo "$as_me: failed program was:" >&5
27465 sed 's/^/| /' conftest.
$ac_ext >&5
27467 eval "$as_ac_var=no"
27469 rm -f conftest.err conftest.
$ac_objext \
27470 conftest
$ac_exeext conftest.
$ac_ext
27472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27474 if test `eval echo '${'$as_ac_var'}'` = yes; then
27475 cat >>confdefs.h
<<_ACEOF
27476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27484 for ac_header
in string.h unistd.h
27486 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27488 echo "$as_me:$LINENO: checking for $ac_header" >&5
27489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27491 echo $ECHO_N "(cached) $ECHO_C" >&6
27493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27496 # Is the header compilable?
27497 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27499 cat >conftest.
$ac_ext <<_ACEOF
27502 cat confdefs.h
>>conftest.
$ac_ext
27503 cat >>conftest.
$ac_ext <<_ACEOF
27504 /* end confdefs.h. */
27505 $ac_includes_default
27506 #include <$ac_header>
27508 rm -f conftest.
$ac_objext
27509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27510 (eval $ac_compile) 2>conftest.er1
27512 grep -v '^ *+' conftest.er1
>conftest.err
27514 cat conftest.err
>&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } &&
27517 { ac_try
='test -z "$ac_c_werror_flag"
27518 || test ! -s conftest.err'
27519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27520 (eval $ac_try) 2>&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); }; } &&
27524 { ac_try
='test -s conftest.$ac_objext'
27525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27526 (eval $ac_try) 2>&5
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); }; }; then
27530 ac_header_compiler
=yes
27532 echo "$as_me: failed program was:" >&5
27533 sed 's/^/| /' conftest.
$ac_ext >&5
27535 ac_header_compiler
=no
27537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27538 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27539 echo "${ECHO_T}$ac_header_compiler" >&6
27541 # Is the header present?
27542 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27543 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27544 cat >conftest.
$ac_ext <<_ACEOF
27547 cat confdefs.h
>>conftest.
$ac_ext
27548 cat >>conftest.
$ac_ext <<_ACEOF
27549 /* end confdefs.h. */
27550 #include <$ac_header>
27552 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27553 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27555 grep -v '^ *+' conftest.er1
>conftest.err
27557 cat conftest.err
>&5
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } >/dev
/null
; then
27560 if test -s conftest.err
; then
27561 ac_cpp_err
=$ac_c_preproc_warn_flag
27562 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27569 if test -z "$ac_cpp_err"; then
27570 ac_header_preproc
=yes
27572 echo "$as_me: failed program was:" >&5
27573 sed 's/^/| /' conftest.
$ac_ext >&5
27575 ac_header_preproc
=no
27577 rm -f conftest.err conftest.
$ac_ext
27578 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27579 echo "${ECHO_T}$ac_header_preproc" >&6
27581 # So? What about this header?
27582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27584 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27585 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27587 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27588 ac_header_preproc
=yes
27591 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27592 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27593 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27594 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27595 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27596 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27597 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27598 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27599 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27600 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27601 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27602 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27605 ## ------------------------------------------ ##
27606 ## Report this to the AC_PACKAGE_NAME lists. ##
27607 ## ------------------------------------------ ##
27610 sed "s/^/$as_me: WARNING: /" >&2
27613 echo "$as_me:$LINENO: checking for $ac_header" >&5
27614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27616 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 eval "$as_ac_Header=\$ac_header_preproc"
27620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27625 cat >>confdefs.h
<<_ACEOF
27626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27636 for ac_header
in unistd.h vfork.h
27638 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27640 echo "$as_me:$LINENO: checking for $ac_header" >&5
27641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27643 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27648 # Is the header compilable?
27649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27651 cat >conftest.
$ac_ext <<_ACEOF
27654 cat confdefs.h
>>conftest.
$ac_ext
27655 cat >>conftest.
$ac_ext <<_ACEOF
27656 /* end confdefs.h. */
27657 $ac_includes_default
27658 #include <$ac_header>
27660 rm -f conftest.
$ac_objext
27661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27662 (eval $ac_compile) 2>conftest.er1
27664 grep -v '^ *+' conftest.er1
>conftest.err
27666 cat conftest.err
>&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } &&
27669 { ac_try
='test -z "$ac_c_werror_flag"
27670 || test ! -s conftest.err'
27671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27672 (eval $ac_try) 2>&5
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); }; } &&
27676 { ac_try
='test -s conftest.$ac_objext'
27677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27678 (eval $ac_try) 2>&5
27680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681 (exit $ac_status); }; }; then
27682 ac_header_compiler
=yes
27684 echo "$as_me: failed program was:" >&5
27685 sed 's/^/| /' conftest.
$ac_ext >&5
27687 ac_header_compiler
=no
27689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27691 echo "${ECHO_T}$ac_header_compiler" >&6
27693 # Is the header present?
27694 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27696 cat >conftest.
$ac_ext <<_ACEOF
27699 cat confdefs.h
>>conftest.
$ac_ext
27700 cat >>conftest.
$ac_ext <<_ACEOF
27701 /* end confdefs.h. */
27702 #include <$ac_header>
27704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27705 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27707 grep -v '^ *+' conftest.er1
>conftest.err
27709 cat conftest.err
>&5
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); } >/dev
/null
; then
27712 if test -s conftest.err
; then
27713 ac_cpp_err
=$ac_c_preproc_warn_flag
27714 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
27721 if test -z "$ac_cpp_err"; then
27722 ac_header_preproc
=yes
27724 echo "$as_me: failed program was:" >&5
27725 sed 's/^/| /' conftest.
$ac_ext >&5
27727 ac_header_preproc
=no
27729 rm -f conftest.err conftest.
$ac_ext
27730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27731 echo "${ECHO_T}$ac_header_preproc" >&6
27733 # So? What about this header?
27734 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27739 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27740 ac_header_preproc
=yes
27743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27747 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27748 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27749 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27750 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27753 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27754 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27757 ## ------------------------------------------ ##
27758 ## Report this to the AC_PACKAGE_NAME lists. ##
27759 ## ------------------------------------------ ##
27762 sed "s/^/$as_me: WARNING: /" >&2
27765 echo "$as_me:$LINENO: checking for $ac_header" >&5
27766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27768 echo $ECHO_N "(cached) $ECHO_C" >&6
27770 eval "$as_ac_Header=\$ac_header_preproc"
27772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27777 cat >>confdefs.h
<<_ACEOF
27778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27787 for ac_func
in fork vfork
27789 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27790 echo "$as_me:$LINENO: checking for $ac_func" >&5
27791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27792 if eval "test \"\${$as_ac_var+set}\" = set"; then
27793 echo $ECHO_N "(cached) $ECHO_C" >&6
27795 cat >conftest.
$ac_ext <<_ACEOF
27798 cat confdefs.h
>>conftest.
$ac_ext
27799 cat >>conftest.
$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27803 #define $ac_func innocuous_$ac_func
27805 /* System header to define __stub macros and hopefully few prototypes,
27806 which can conflict with char $ac_func (); below.
27807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27808 <limits.h> exists even on freestanding compilers. */
27811 # include <limits.h>
27813 # include <assert.h>
27818 /* Override any gcc2 internal prototype to avoid an error. */
27823 /* We use char because int might match the return type of a gcc2
27824 builtin and then its argument prototype would still apply. */
27826 /* The GNU C library defines this for functions which it implements
27827 to always fail with ENOSYS. Some functions are actually named
27828 something starting with __ and the normal name is an alias. */
27829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27832 char (*f) () = $ac_func;
27841 return f != $ac_func;
27846 rm -f conftest.
$ac_objext conftest
$ac_exeext
27847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27848 (eval $ac_link) 2>conftest.er1
27850 grep -v '^ *+' conftest.er1
>conftest.err
27852 cat conftest.err
>&5
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); } &&
27855 { ac_try
='test -z "$ac_c_werror_flag"
27856 || test ! -s conftest.err'
27857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 (eval $ac_try) 2>&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); }; } &&
27862 { ac_try
='test -s conftest$ac_exeext'
27863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27864 (eval $ac_try) 2>&5
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); }; }; then
27868 eval "$as_ac_var=yes"
27870 echo "$as_me: failed program was:" >&5
27871 sed 's/^/| /' conftest.
$ac_ext >&5
27873 eval "$as_ac_var=no"
27875 rm -f conftest.err conftest.
$ac_objext \
27876 conftest
$ac_exeext conftest.
$ac_ext
27878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27880 if test `eval echo '${'$as_ac_var'}'` = yes; then
27881 cat >>confdefs.h
<<_ACEOF
27882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27888 if test "x$ac_cv_func_fork" = xyes
; then
27889 echo "$as_me:$LINENO: checking for working fork" >&5
27890 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
27891 if test "${ac_cv_func_fork_works+set}" = set; then
27892 echo $ECHO_N "(cached) $ECHO_C" >&6
27894 if test "$cross_compiling" = yes; then
27895 ac_cv_func_fork_works
=cross
27897 cat >conftest.
$ac_ext <<_ACEOF
27898 /* By Ruediger Kuhlmann. */
27899 #include <sys/types.h>
27901 # include <unistd.h>
27903 /* Some systems only have a dummy stub for fork() */
27911 rm -f conftest
$ac_exeext
27912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27913 (eval $ac_link) 2>&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27918 (eval $ac_try) 2>&5
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); }; }; then
27922 ac_cv_func_fork_works
=yes
27924 echo "$as_me: program exited with status $ac_status" >&5
27925 echo "$as_me: failed program was:" >&5
27926 sed 's/^/| /' conftest.
$ac_ext >&5
27928 ( exit $ac_status )
27929 ac_cv_func_fork_works
=no
27931 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27934 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
27935 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
27938 ac_cv_func_fork_works
=$ac_cv_func_fork
27940 if test "x$ac_cv_func_fork_works" = xcross
; then
27942 *-*-amigaos* |
*-*-msdosdjgpp*)
27943 # Override, as these systems have only a dummy fork() stub
27944 ac_cv_func_fork_works
=no
27947 ac_cv_func_fork_works
=yes
27950 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
27951 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
27953 ac_cv_func_vfork_works
=$ac_cv_func_vfork
27954 if test "x$ac_cv_func_vfork" = xyes
; then
27955 echo "$as_me:$LINENO: checking for working vfork" >&5
27956 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
27957 if test "${ac_cv_func_vfork_works+set}" = set; then
27958 echo $ECHO_N "(cached) $ECHO_C" >&6
27960 if test "$cross_compiling" = yes; then
27961 ac_cv_func_vfork_works
=cross
27963 cat >conftest.
$ac_ext <<_ACEOF
27966 cat confdefs.h
>>conftest.
$ac_ext
27967 cat >>conftest.
$ac_ext <<_ACEOF
27968 /* end confdefs.h. */
27969 /* Thanks to Paul Eggert for this test. */
27971 #include <stdlib.h>
27972 #include <sys/types.h>
27973 #include <sys/stat.h>
27974 #include <sys/wait.h>
27976 # include <unistd.h>
27979 # include <vfork.h>
27981 /* On some sparc systems, changes by the child to local and incoming
27982 argument registers are propagated back to the parent. The compiler
27983 is told about this with #include <vfork.h>, but some compilers
27984 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
27985 static variable whose address is put into a register that is
27986 clobbered by the vfork. */
27989 sparc_address_test (int arg)
27991 sparc_address_test (arg) int arg;
27994 static pid_t child;
28012 pid_t parent = getpid ();
28015 sparc_address_test (0);
28020 /* Here is another test for sparc vfork register problems. This
28021 test uses lots of local variables, at least as many local
28022 variables as main has allocated so far including compiler
28023 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
28024 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
28025 reuse the register of parent for one of the local variables,
28026 since it will think that parent can't possibly be used any more
28027 in this routine. Assigning to the local variable will thus
28028 munge parent in the parent process. */
28030 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
28031 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
28032 /* Convince the compiler that p..p7 are live; otherwise, it might
28033 use the same hardware register for all 8 local variables. */
28034 if (p != p1 || p != p2 || p != p3 || p != p4
28035 || p != p5 || p != p6 || p != p7)
28038 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
28039 from child file descriptors. If the child closes a descriptor
28040 before it execs or exits, this munges the parent's descriptor
28041 as well. Test for this by closing stdout in the child. */
28042 _exit(close(fileno(stdout)) != 0);
28047 while (wait(&status) != child)
28050 /* Was there some problem with vforking? */
28053 /* Did the child fail? (This shouldn't happen.) */
28056 /* Did the vfork/compiler bug occur? */
28057 || parent != getpid()
28059 /* Did the file descriptor bug occur? */
28060 || fstat(fileno(stdout), &st) != 0
28065 rm -f conftest
$ac_exeext
28066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28067 (eval $ac_link) 2>&5
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28072 (eval $ac_try) 2>&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); }; }; then
28076 ac_cv_func_vfork_works
=yes
28078 echo "$as_me: program exited with status $ac_status" >&5
28079 echo "$as_me: failed program was:" >&5
28080 sed 's/^/| /' conftest.
$ac_ext >&5
28082 ( exit $ac_status )
28083 ac_cv_func_vfork_works
=no
28085 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28088 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
28089 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
28092 if test "x$ac_cv_func_fork_works" = xcross
; then
28093 ac_cv_func_vfork_works
=$ac_cv_func_vfork
28094 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
28095 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
28098 if test "x$ac_cv_func_vfork_works" = xyes
; then
28100 cat >>confdefs.h
<<\_ACEOF
28101 #define HAVE_WORKING_VFORK 1
28106 cat >>confdefs.h
<<\_ACEOF
28111 if test "x$ac_cv_func_fork_works" = xyes
; then
28113 cat >>confdefs.h
<<\_ACEOF
28114 #define HAVE_WORKING_FORK 1
28121 for ac_func
in waitpid
28123 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28124 echo "$as_me:$LINENO: checking for $ac_func" >&5
28125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28126 if eval "test \"\${$as_ac_var+set}\" = set"; then
28127 echo $ECHO_N "(cached) $ECHO_C" >&6
28129 cat >conftest.
$ac_ext <<_ACEOF
28132 cat confdefs.h
>>conftest.
$ac_ext
28133 cat >>conftest.
$ac_ext <<_ACEOF
28134 /* end confdefs.h. */
28135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28137 #define $ac_func innocuous_$ac_func
28139 /* System header to define __stub macros and hopefully few prototypes,
28140 which can conflict with char $ac_func (); below.
28141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28142 <limits.h> exists even on freestanding compilers. */
28145 # include <limits.h>
28147 # include <assert.h>
28152 /* Override any gcc2 internal prototype to avoid an error. */
28157 /* We use char because int might match the return type of a gcc2
28158 builtin and then its argument prototype would still apply. */
28160 /* The GNU C library defines this for functions which it implements
28161 to always fail with ENOSYS. Some functions are actually named
28162 something starting with __ and the normal name is an alias. */
28163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28166 char (*f) () = $ac_func;
28175 return f != $ac_func;
28180 rm -f conftest.
$ac_objext conftest
$ac_exeext
28181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28182 (eval $ac_link) 2>conftest.er1
28184 grep -v '^ *+' conftest.er1
>conftest.err
28186 cat conftest.err
>&5
28187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28188 (exit $ac_status); } &&
28189 { ac_try
='test -z "$ac_c_werror_flag"
28190 || test ! -s conftest.err'
28191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28192 (eval $ac_try) 2>&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; } &&
28196 { ac_try
='test -s conftest$ac_exeext'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; }; then
28202 eval "$as_ac_var=yes"
28204 echo "$as_me: failed program was:" >&5
28205 sed 's/^/| /' conftest.
$ac_ext >&5
28207 eval "$as_ac_var=no"
28209 rm -f conftest.err conftest.
$ac_objext \
28210 conftest
$ac_exeext conftest.
$ac_ext
28212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28214 if test `eval echo '${'$as_ac_var'}'` = yes; then
28215 cat >>confdefs.h
<<_ACEOF
28216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28222 echo "$as_me:$LINENO: checking for union wait" >&5
28223 echo $ECHO_N "checking for union wait... $ECHO_C" >&6
28224 if test "${gt_cv_union_wait+set}" = set; then
28225 echo $ECHO_N "(cached) $ECHO_C" >&6
28227 cat >conftest.
$ac_ext <<_ACEOF
28230 cat confdefs.h
>>conftest.
$ac_ext
28231 cat >>conftest.
$ac_ext <<_ACEOF
28232 /* end confdefs.h. */
28233 #include <sys/types.h>
28234 #include <sys/wait.h>
28238 union wait status; int pid; pid = wait (&status);
28240 /* Some POSIXoid systems have both the new-style macros and the old
28241 union wait type, and they do not work together. If union wait
28242 conflicts with WEXITSTATUS et al, we don't want to use it at all. */
28243 if (WEXITSTATUS (status) != 0) pid = -1;
28245 /* If we have WEXITSTATUS and WTERMSIG, just use them on ints. */
28246 -- blow chunks here --
28249 #ifdef HAVE_WAITPID
28250 /* Make sure union wait works with waitpid. */
28251 pid = waitpid (-1, &status, 0);
28258 rm -f conftest.
$ac_objext conftest
$ac_exeext
28259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28260 (eval $ac_link) 2>conftest.er1
28262 grep -v '^ *+' conftest.er1
>conftest.err
28264 cat conftest.err
>&5
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); } &&
28267 { ac_try
='test -z "$ac_c_werror_flag"
28268 || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try
='test -s conftest$ac_exeext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 gt_cv_union_wait
=yes
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.
$ac_ext >&5
28285 gt_cv_union_wait
=no
28287 rm -f conftest.err conftest.
$ac_objext \
28288 conftest
$ac_exeext conftest.
$ac_ext
28291 if test "$gt_cv_union_wait" = yes; then
28293 cat >>confdefs.h
<<\_ACEOF
28294 #define HAVE_UNION_WAIT 1
28298 echo "$as_me:$LINENO: result: $gt_cv_union_wait" >&5
28299 echo "${ECHO_T}$gt_cv_union_wait" >&6
28302 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
28303 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
28304 if test "${ac_cv_header_stat_broken+set}" = set; then
28305 echo $ECHO_N "(cached) $ECHO_C" >&6
28307 cat >conftest.
$ac_ext <<_ACEOF
28310 cat confdefs.h
>>conftest.
$ac_ext
28311 cat >>conftest.
$ac_ext <<_ACEOF
28312 /* end confdefs.h. */
28313 #include <sys/types.h>
28314 #include <sys/stat.h>
28316 #if defined(S_ISBLK) && defined(S_IFDIR)
28317 # if S_ISBLK (S_IFDIR)
28322 #if defined(S_ISBLK) && defined(S_IFCHR)
28323 # if S_ISBLK (S_IFCHR)
28328 #if defined(S_ISLNK) && defined(S_IFREG)
28329 # if S_ISLNK (S_IFREG)
28334 #if defined(S_ISSOCK) && defined(S_IFREG)
28335 # if S_ISSOCK (S_IFREG)
28341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28342 $EGREP "You lose" >/dev
/null
2>&1; then
28343 ac_cv_header_stat_broken
=yes
28345 ac_cv_header_stat_broken
=no
28350 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
28351 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
28352 if test $ac_cv_header_stat_broken = yes; then
28354 cat >>confdefs.h
<<\_ACEOF
28355 #define STAT_MACROS_BROKEN 1
28361 for ac_func
in __secure_getenv
28363 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28364 echo "$as_me:$LINENO: checking for $ac_func" >&5
28365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28366 if eval "test \"\${$as_ac_var+set}\" = set"; then
28367 echo $ECHO_N "(cached) $ECHO_C" >&6
28369 cat >conftest.
$ac_ext <<_ACEOF
28372 cat confdefs.h
>>conftest.
$ac_ext
28373 cat >>conftest.
$ac_ext <<_ACEOF
28374 /* end confdefs.h. */
28375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28377 #define $ac_func innocuous_$ac_func
28379 /* System header to define __stub macros and hopefully few prototypes,
28380 which can conflict with char $ac_func (); below.
28381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28382 <limits.h> exists even on freestanding compilers. */
28385 # include <limits.h>
28387 # include <assert.h>
28392 /* Override any gcc2 internal prototype to avoid an error. */
28397 /* We use char because int might match the return type of a gcc2
28398 builtin and then its argument prototype would still apply. */
28400 /* The GNU C library defines this for functions which it implements
28401 to always fail with ENOSYS. Some functions are actually named
28402 something starting with __ and the normal name is an alias. */
28403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28406 char (*f) () = $ac_func;
28415 return f != $ac_func;
28420 rm -f conftest.
$ac_objext conftest
$ac_exeext
28421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28422 (eval $ac_link) 2>conftest.er1
28424 grep -v '^ *+' conftest.er1
>conftest.err
28426 cat conftest.err
>&5
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); } &&
28429 { ac_try
='test -z "$ac_c_werror_flag"
28430 || test ! -s conftest.err'
28431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28432 (eval $ac_try) 2>&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); }; } &&
28436 { ac_try
='test -s conftest$ac_exeext'
28437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28438 (eval $ac_try) 2>&5
28440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441 (exit $ac_status); }; }; then
28442 eval "$as_ac_var=yes"
28444 echo "$as_me: failed program was:" >&5
28445 sed 's/^/| /' conftest.
$ac_ext >&5
28447 eval "$as_ac_var=no"
28449 rm -f conftest.err conftest.
$ac_objext \
28450 conftest
$ac_exeext conftest.
$ac_ext
28452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28454 if test `eval echo '${'$as_ac_var'}'` = yes; then
28455 cat >>confdefs.h
<<_ACEOF
28456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28465 for ac_header
in sys
/time.h
28467 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28469 echo "$as_me:$LINENO: checking for $ac_header" >&5
28470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28472 echo $ECHO_N "(cached) $ECHO_C" >&6
28474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28477 # Is the header compilable?
28478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28480 cat >conftest.
$ac_ext <<_ACEOF
28483 cat confdefs.h
>>conftest.
$ac_ext
28484 cat >>conftest.
$ac_ext <<_ACEOF
28485 /* end confdefs.h. */
28486 $ac_includes_default
28487 #include <$ac_header>
28489 rm -f conftest.
$ac_objext
28490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28491 (eval $ac_compile) 2>conftest.er1
28493 grep -v '^ *+' conftest.er1
>conftest.err
28495 cat conftest.err
>&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } &&
28498 { ac_try
='test -z "$ac_c_werror_flag"
28499 || test ! -s conftest.err'
28500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501 (eval $ac_try) 2>&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; } &&
28505 { ac_try
='test -s conftest.$ac_objext'
28506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28507 (eval $ac_try) 2>&5
28509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28510 (exit $ac_status); }; }; then
28511 ac_header_compiler
=yes
28513 echo "$as_me: failed program was:" >&5
28514 sed 's/^/| /' conftest.
$ac_ext >&5
28516 ac_header_compiler
=no
28518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28520 echo "${ECHO_T}$ac_header_compiler" >&6
28522 # Is the header present?
28523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28525 cat >conftest.
$ac_ext <<_ACEOF
28528 cat confdefs.h
>>conftest.
$ac_ext
28529 cat >>conftest.
$ac_ext <<_ACEOF
28530 /* end confdefs.h. */
28531 #include <$ac_header>
28533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28536 grep -v '^ *+' conftest.er1
>conftest.err
28538 cat conftest.err
>&5
28539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28540 (exit $ac_status); } >/dev
/null
; then
28541 if test -s conftest.err
; then
28542 ac_cpp_err
=$ac_c_preproc_warn_flag
28543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28550 if test -z "$ac_cpp_err"; then
28551 ac_header_preproc
=yes
28553 echo "$as_me: failed program was:" >&5
28554 sed 's/^/| /' conftest.
$ac_ext >&5
28556 ac_header_preproc
=no
28558 rm -f conftest.err conftest.
$ac_ext
28559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28560 echo "${ECHO_T}$ac_header_preproc" >&6
28562 # So? What about this header?
28563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28569 ac_header_preproc
=yes
28572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28586 ## ------------------------------------------ ##
28587 ## Report this to the AC_PACKAGE_NAME lists. ##
28588 ## ------------------------------------------ ##
28591 sed "s/^/$as_me: WARNING: /" >&2
28594 echo "$as_me:$LINENO: checking for $ac_header" >&5
28595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28597 echo $ECHO_N "(cached) $ECHO_C" >&6
28599 eval "$as_ac_Header=\$ac_header_preproc"
28601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28606 cat >>confdefs.h
<<_ACEOF
28607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28617 for ac_header
in unistd.h
28619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28621 echo "$as_me:$LINENO: checking for $ac_header" >&5
28622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28624 echo $ECHO_N "(cached) $ECHO_C" >&6
28626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28629 # Is the header compilable?
28630 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28631 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28632 cat >conftest.
$ac_ext <<_ACEOF
28635 cat confdefs.h
>>conftest.
$ac_ext
28636 cat >>conftest.
$ac_ext <<_ACEOF
28637 /* end confdefs.h. */
28638 $ac_includes_default
28639 #include <$ac_header>
28641 rm -f conftest.
$ac_objext
28642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28643 (eval $ac_compile) 2>conftest.er1
28645 grep -v '^ *+' conftest.er1
>conftest.err
28647 cat conftest.err
>&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); } &&
28650 { ac_try
='test -z "$ac_c_werror_flag"
28651 || test ! -s conftest.err'
28652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28653 (eval $ac_try) 2>&5
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); }; } &&
28657 { ac_try
='test -s conftest.$ac_objext'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; }; then
28663 ac_header_compiler
=yes
28665 echo "$as_me: failed program was:" >&5
28666 sed 's/^/| /' conftest.
$ac_ext >&5
28668 ac_header_compiler
=no
28670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28672 echo "${ECHO_T}$ac_header_compiler" >&6
28674 # Is the header present?
28675 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28677 cat >conftest.
$ac_ext <<_ACEOF
28680 cat confdefs.h
>>conftest.
$ac_ext
28681 cat >>conftest.
$ac_ext <<_ACEOF
28682 /* end confdefs.h. */
28683 #include <$ac_header>
28685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28688 grep -v '^ *+' conftest.er1
>conftest.err
28690 cat conftest.err
>&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } >/dev
/null
; then
28693 if test -s conftest.err
; then
28694 ac_cpp_err
=$ac_c_preproc_warn_flag
28695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28702 if test -z "$ac_cpp_err"; then
28703 ac_header_preproc
=yes
28705 echo "$as_me: failed program was:" >&5
28706 sed 's/^/| /' conftest.
$ac_ext >&5
28708 ac_header_preproc
=no
28710 rm -f conftest.err conftest.
$ac_ext
28711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28712 echo "${ECHO_T}$ac_header_preproc" >&6
28714 # So? What about this header?
28715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28717 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28718 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28720 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28721 ac_header_preproc
=yes
28724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28728 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28729 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28730 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28731 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28734 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28735 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28738 ## ------------------------------------------ ##
28739 ## Report this to the AC_PACKAGE_NAME lists. ##
28740 ## ------------------------------------------ ##
28743 sed "s/^/$as_me: WARNING: /" >&2
28746 echo "$as_me:$LINENO: checking for $ac_header" >&5
28747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28749 echo $ECHO_N "(cached) $ECHO_C" >&6
28751 eval "$as_ac_Header=\$ac_header_preproc"
28753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28758 cat >>confdefs.h
<<_ACEOF
28759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28769 for ac_func
in mkdtemp
28771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28772 echo "$as_me:$LINENO: checking for $ac_func" >&5
28773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28774 if eval "test \"\${$as_ac_var+set}\" = set"; then
28775 echo $ECHO_N "(cached) $ECHO_C" >&6
28777 cat >conftest.
$ac_ext <<_ACEOF
28780 cat confdefs.h
>>conftest.
$ac_ext
28781 cat >>conftest.
$ac_ext <<_ACEOF
28782 /* end confdefs.h. */
28783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28785 #define $ac_func innocuous_$ac_func
28787 /* System header to define __stub macros and hopefully few prototypes,
28788 which can conflict with char $ac_func (); below.
28789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28790 <limits.h> exists even on freestanding compilers. */
28793 # include <limits.h>
28795 # include <assert.h>
28800 /* Override any gcc2 internal prototype to avoid an error. */
28805 /* We use char because int might match the return type of a gcc2
28806 builtin and then its argument prototype would still apply. */
28808 /* The GNU C library defines this for functions which it implements
28809 to always fail with ENOSYS. Some functions are actually named
28810 something starting with __ and the normal name is an alias. */
28811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28814 char (*f) () = $ac_func;
28823 return f != $ac_func;
28828 rm -f conftest.
$ac_objext conftest
$ac_exeext
28829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28830 (eval $ac_link) 2>conftest.er1
28832 grep -v '^ *+' conftest.er1
>conftest.err
28834 cat conftest.err
>&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); } &&
28837 { ac_try
='test -z "$ac_c_werror_flag"
28838 || test ! -s conftest.err'
28839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28840 (eval $ac_try) 2>&5
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; } &&
28844 { ac_try
='test -s conftest$ac_exeext'
28845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28846 (eval $ac_try) 2>&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); }; }; then
28850 eval "$as_ac_var=yes"
28852 echo "$as_me: failed program was:" >&5
28853 sed 's/^/| /' conftest.
$ac_ext >&5
28855 eval "$as_ac_var=no"
28857 rm -f conftest.err conftest.
$ac_objext \
28858 conftest
$ac_exeext conftest.
$ac_ext
28860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28862 if test `eval echo '${'$as_ac_var'}'` = yes; then
28863 cat >>confdefs.h
<<_ACEOF
28864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28869 "$ac_func.$ac_objext" | \
28870 *" $ac_func.$ac_objext" | \
28871 "$ac_func.$ac_objext "* | \
28872 *" $ac_func.$ac_objext "* ) ;;
28873 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
28880 if test $ac_cv_func_mkdtemp = no
; then
28894 for ac_header
in time.h
28896 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28898 echo "$as_me:$LINENO: checking for $ac_header" >&5
28899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28901 echo $ECHO_N "(cached) $ECHO_C" >&6
28903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28906 # Is the header compilable?
28907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28909 cat >conftest.
$ac_ext <<_ACEOF
28912 cat confdefs.h
>>conftest.
$ac_ext
28913 cat >>conftest.
$ac_ext <<_ACEOF
28914 /* end confdefs.h. */
28915 $ac_includes_default
28916 #include <$ac_header>
28918 rm -f conftest.
$ac_objext
28919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28920 (eval $ac_compile) 2>conftest.er1
28922 grep -v '^ *+' conftest.er1
>conftest.err
28924 cat conftest.err
>&5
28925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28926 (exit $ac_status); } &&
28927 { ac_try
='test -z "$ac_c_werror_flag"
28928 || test ! -s conftest.err'
28929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28930 (eval $ac_try) 2>&5
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; } &&
28934 { ac_try
='test -s conftest.$ac_objext'
28935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28936 (eval $ac_try) 2>&5
28938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28939 (exit $ac_status); }; }; then
28940 ac_header_compiler
=yes
28942 echo "$as_me: failed program was:" >&5
28943 sed 's/^/| /' conftest.
$ac_ext >&5
28945 ac_header_compiler
=no
28947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
28948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28949 echo "${ECHO_T}$ac_header_compiler" >&6
28951 # Is the header present?
28952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28954 cat >conftest.
$ac_ext <<_ACEOF
28957 cat confdefs.h
>>conftest.
$ac_ext
28958 cat >>conftest.
$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28960 #include <$ac_header>
28962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28965 grep -v '^ *+' conftest.er1
>conftest.err
28967 cat conftest.err
>&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); } >/dev
/null
; then
28970 if test -s conftest.err
; then
28971 ac_cpp_err
=$ac_c_preproc_warn_flag
28972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
28979 if test -z "$ac_cpp_err"; then
28980 ac_header_preproc
=yes
28982 echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.
$ac_ext >&5
28985 ac_header_preproc
=no
28987 rm -f conftest.err conftest.
$ac_ext
28988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28989 echo "${ECHO_T}$ac_header_preproc" >&6
28991 # So? What about this header?
28992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28994 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28998 ac_header_preproc
=yes
29001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29004 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29005 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29007 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29008 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29011 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29015 ## ------------------------------------------ ##
29016 ## Report this to the AC_PACKAGE_NAME lists. ##
29017 ## ------------------------------------------ ##
29020 sed "s/^/$as_me: WARNING: /" >&2
29023 echo "$as_me:$LINENO: checking for $ac_header" >&5
29024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29028 eval "$as_ac_Header=\$ac_header_preproc"
29030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29035 cat >>confdefs.h
<<_ACEOF
29036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29045 for ac_func
in gettimeofday
29047 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29048 echo "$as_me:$LINENO: checking for $ac_func" >&5
29049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29050 if eval "test \"\${$as_ac_var+set}\" = set"; then
29051 echo $ECHO_N "(cached) $ECHO_C" >&6
29053 cat >conftest.
$ac_ext <<_ACEOF
29056 cat confdefs.h
>>conftest.
$ac_ext
29057 cat >>conftest.
$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29061 #define $ac_func innocuous_$ac_func
29063 /* System header to define __stub macros and hopefully few prototypes,
29064 which can conflict with char $ac_func (); below.
29065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29066 <limits.h> exists even on freestanding compilers. */
29069 # include <limits.h>
29071 # include <assert.h>
29076 /* Override any gcc2 internal prototype to avoid an error. */
29081 /* We use char because int might match the return type of a gcc2
29082 builtin and then its argument prototype would still apply. */
29084 /* The GNU C library defines this for functions which it implements
29085 to always fail with ENOSYS. Some functions are actually named
29086 something starting with __ and the normal name is an alias. */
29087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29090 char (*f) () = $ac_func;
29099 return f != $ac_func;
29104 rm -f conftest.
$ac_objext conftest
$ac_exeext
29105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29106 (eval $ac_link) 2>conftest.er1
29108 grep -v '^ *+' conftest.er1
>conftest.err
29110 cat conftest.err
>&5
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); } &&
29113 { ac_try
='test -z "$ac_c_werror_flag"
29114 || test ! -s conftest.err'
29115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29116 (eval $ac_try) 2>&5
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); }; } &&
29120 { ac_try
='test -s conftest$ac_exeext'
29121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29122 (eval $ac_try) 2>&5
29124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29125 (exit $ac_status); }; }; then
29126 eval "$as_ac_var=yes"
29128 echo "$as_me: failed program was:" >&5
29129 sed 's/^/| /' conftest.
$ac_ext >&5
29131 eval "$as_ac_var=no"
29133 rm -f conftest.err conftest.
$ac_objext \
29134 conftest
$ac_exeext conftest.
$ac_ext
29136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29138 if test `eval echo '${'$as_ac_var'}'` = yes; then
29139 cat >>confdefs.h
<<_ACEOF
29140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29151 cat >conftest.
$ac_ext <<_ACEOF
29154 cat confdefs.h
>>conftest.
$ac_ext
29155 cat >>conftest.
$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29157 #include <signal.h>
29160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
29161 $EGREP "sigset_t" >/dev
/null
2>&1; then
29164 signals_not_posix
=1
29168 if test -z "$signals_not_posix"; then
29169 echo "$as_me:$LINENO: checking for sigprocmask" >&5
29170 echo $ECHO_N "checking for sigprocmask... $ECHO_C" >&6
29171 if test "${ac_cv_func_sigprocmask+set}" = set; then
29172 echo $ECHO_N "(cached) $ECHO_C" >&6
29174 cat >conftest.
$ac_ext <<_ACEOF
29177 cat confdefs.h
>>conftest.
$ac_ext
29178 cat >>conftest.
$ac_ext <<_ACEOF
29179 /* end confdefs.h. */
29180 /* Define sigprocmask to an innocuous variant, in case <limits.h> declares sigprocmask.
29181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29182 #define sigprocmask innocuous_sigprocmask
29184 /* System header to define __stub macros and hopefully few prototypes,
29185 which can conflict with char sigprocmask (); below.
29186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29187 <limits.h> exists even on freestanding compilers. */
29190 # include <limits.h>
29192 # include <assert.h>
29197 /* Override any gcc2 internal prototype to avoid an error. */
29202 /* We use char because int might match the return type of a gcc2
29203 builtin and then its argument prototype would still apply. */
29204 char sigprocmask ();
29205 /* The GNU C library defines this for functions which it implements
29206 to always fail with ENOSYS. Some functions are actually named
29207 something starting with __ and the normal name is an alias. */
29208 #if defined (__stub_sigprocmask) || defined (__stub___sigprocmask)
29211 char (*f) () = sigprocmask;
29220 return f != sigprocmask;
29225 rm -f conftest.
$ac_objext conftest
$ac_exeext
29226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29227 (eval $ac_link) 2>conftest.er1
29229 grep -v '^ *+' conftest.er1
>conftest.err
29231 cat conftest.err
>&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); } &&
29234 { ac_try
='test -z "$ac_c_werror_flag"
29235 || test ! -s conftest.err'
29236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29237 (eval $ac_try) 2>&5
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); }; } &&
29241 { ac_try
='test -s conftest$ac_exeext'
29242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29243 (eval $ac_try) 2>&5
29245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29246 (exit $ac_status); }; }; then
29247 ac_cv_func_sigprocmask
=yes
29249 echo "$as_me: failed program was:" >&5
29250 sed 's/^/| /' conftest.
$ac_ext >&5
29252 ac_cv_func_sigprocmask
=no
29254 rm -f conftest.err conftest.
$ac_objext \
29255 conftest
$ac_exeext conftest.
$ac_ext
29257 echo "$as_me:$LINENO: result: $ac_cv_func_sigprocmask" >&5
29258 echo "${ECHO_T}$ac_cv_func_sigprocmask" >&6
29259 if test $ac_cv_func_sigprocmask = yes; then
29261 cat >>confdefs.h
<<\_ACEOF
29262 #define HAVE_POSIX_SIGNALBLOCKING 1
29270 echo "$as_me:$LINENO: checking for signal handlers with siginfo_t" >&5
29271 echo $ECHO_N "checking for signal handlers with siginfo_t... $ECHO_C" >&6
29272 if test "${gt_cv_siginfo_t+set}" = set; then
29273 echo $ECHO_N "(cached) $ECHO_C" >&6
29275 cat >conftest.
$ac_ext <<_ACEOF
29278 cat confdefs.h
>>conftest.
$ac_ext
29279 cat >>conftest.
$ac_ext <<_ACEOF
29280 /* end confdefs.h. */
29282 #include <signal.h>
29287 struct sigaction action;
29289 action.sa_flags = SA_SIGINFO;
29290 action.sa_sigaction = (void *) 0;
29296 rm -f conftest.
$ac_objext
29297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29298 (eval $ac_compile) 2>conftest.er1
29300 grep -v '^ *+' conftest.er1
>conftest.err
29302 cat conftest.err
>&5
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); } &&
29305 { ac_try
='test -z "$ac_c_werror_flag"
29306 || test ! -s conftest.err'
29307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29308 (eval $ac_try) 2>&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); }; } &&
29312 { ac_try
='test -s conftest.$ac_objext'
29313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29314 (eval $ac_try) 2>&5
29316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317 (exit $ac_status); }; }; then
29318 gt_cv_siginfo_t
=yes
29320 echo "$as_me: failed program was:" >&5
29321 sed 's/^/| /' conftest.
$ac_ext >&5
29325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29327 echo "$as_me:$LINENO: result: $gt_cv_siginfo_t" >&5
29328 echo "${ECHO_T}$gt_cv_siginfo_t" >&6
29329 if test $gt_cv_siginfo_t = yes; then
29331 cat >>confdefs.h
<<\_ACEOF
29332 #define HAVE_SIGINFO 1
29340 for ac_func
in setenv unsetenv
29342 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29343 echo "$as_me:$LINENO: checking for $ac_func" >&5
29344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29345 if eval "test \"\${$as_ac_var+set}\" = set"; then
29346 echo $ECHO_N "(cached) $ECHO_C" >&6
29348 cat >conftest.
$ac_ext <<_ACEOF
29351 cat confdefs.h
>>conftest.
$ac_ext
29352 cat >>conftest.
$ac_ext <<_ACEOF
29353 /* end confdefs.h. */
29354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29356 #define $ac_func innocuous_$ac_func
29358 /* System header to define __stub macros and hopefully few prototypes,
29359 which can conflict with char $ac_func (); below.
29360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29361 <limits.h> exists even on freestanding compilers. */
29364 # include <limits.h>
29366 # include <assert.h>
29371 /* Override any gcc2 internal prototype to avoid an error. */
29376 /* We use char because int might match the return type of a gcc2
29377 builtin and then its argument prototype would still apply. */
29379 /* The GNU C library defines this for functions which it implements
29380 to always fail with ENOSYS. Some functions are actually named
29381 something starting with __ and the normal name is an alias. */
29382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29385 char (*f) () = $ac_func;
29394 return f != $ac_func;
29399 rm -f conftest.
$ac_objext conftest
$ac_exeext
29400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29401 (eval $ac_link) 2>conftest.er1
29403 grep -v '^ *+' conftest.er1
>conftest.err
29405 cat conftest.err
>&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } &&
29408 { ac_try
='test -z "$ac_c_werror_flag"
29409 || test ! -s conftest.err'
29410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29411 (eval $ac_try) 2>&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); }; } &&
29415 { ac_try
='test -s conftest$ac_exeext'
29416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29417 (eval $ac_try) 2>&5
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; }; then
29421 eval "$as_ac_var=yes"
29423 echo "$as_me: failed program was:" >&5
29424 sed 's/^/| /' conftest.
$ac_ext >&5
29426 eval "$as_ac_var=no"
29428 rm -f conftest.err conftest.
$ac_objext \
29429 conftest
$ac_exeext conftest.
$ac_ext
29431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29433 if test `eval echo '${'$as_ac_var'}'` = yes; then
29434 cat >>confdefs.h
<<_ACEOF
29435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29440 "$ac_func.$ac_objext" | \
29441 *" $ac_func.$ac_objext" | \
29442 "$ac_func.$ac_objext "* | \
29443 *" $ac_func.$ac_objext "* ) ;;
29444 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
29451 if test $ac_cv_func_setenv = no
; then
29462 for ac_header
in search.h
29464 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29466 echo "$as_me:$LINENO: checking for $ac_header" >&5
29467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29469 echo $ECHO_N "(cached) $ECHO_C" >&6
29471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29474 # Is the header compilable?
29475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29477 cat >conftest.
$ac_ext <<_ACEOF
29480 cat confdefs.h
>>conftest.
$ac_ext
29481 cat >>conftest.
$ac_ext <<_ACEOF
29482 /* end confdefs.h. */
29483 $ac_includes_default
29484 #include <$ac_header>
29486 rm -f conftest.
$ac_objext
29487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29488 (eval $ac_compile) 2>conftest.er1
29490 grep -v '^ *+' conftest.er1
>conftest.err
29492 cat conftest.err
>&5
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); } &&
29495 { ac_try
='test -z "$ac_c_werror_flag"
29496 || test ! -s conftest.err'
29497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29498 (eval $ac_try) 2>&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; } &&
29502 { ac_try
='test -s conftest.$ac_objext'
29503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29504 (eval $ac_try) 2>&5
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); }; }; then
29508 ac_header_compiler
=yes
29510 echo "$as_me: failed program was:" >&5
29511 sed 's/^/| /' conftest.
$ac_ext >&5
29513 ac_header_compiler
=no
29515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29517 echo "${ECHO_T}$ac_header_compiler" >&6
29519 # Is the header present?
29520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29522 cat >conftest.
$ac_ext <<_ACEOF
29525 cat confdefs.h
>>conftest.
$ac_ext
29526 cat >>conftest.
$ac_ext <<_ACEOF
29527 /* end confdefs.h. */
29528 #include <$ac_header>
29530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29531 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29533 grep -v '^ *+' conftest.er1
>conftest.err
29535 cat conftest.err
>&5
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); } >/dev
/null
; then
29538 if test -s conftest.err
; then
29539 ac_cpp_err
=$ac_c_preproc_warn_flag
29540 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
29547 if test -z "$ac_cpp_err"; then
29548 ac_header_preproc
=yes
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.
$ac_ext >&5
29553 ac_header_preproc
=no
29555 rm -f conftest.err conftest.
$ac_ext
29556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29557 echo "${ECHO_T}$ac_header_preproc" >&6
29559 # So? What about this header?
29560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29566 ac_header_preproc
=yes
29569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29583 ## ------------------------------------------ ##
29584 ## Report this to the AC_PACKAGE_NAME lists. ##
29585 ## ------------------------------------------ ##
29588 sed "s/^/$as_me: WARNING: /" >&2
29591 echo "$as_me:$LINENO: checking for $ac_header" >&5
29592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29594 echo $ECHO_N "(cached) $ECHO_C" >&6
29596 eval "$as_ac_Header=\$ac_header_preproc"
29598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29603 cat >>confdefs.h
<<_ACEOF
29604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29612 for ac_func
in tsearch
29614 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29615 echo "$as_me:$LINENO: checking for $ac_func" >&5
29616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29617 if eval "test \"\${$as_ac_var+set}\" = set"; then
29618 echo $ECHO_N "(cached) $ECHO_C" >&6
29620 cat >conftest.
$ac_ext <<_ACEOF
29623 cat confdefs.h
>>conftest.
$ac_ext
29624 cat >>conftest.
$ac_ext <<_ACEOF
29625 /* end confdefs.h. */
29626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29628 #define $ac_func innocuous_$ac_func
29630 /* System header to define __stub macros and hopefully few prototypes,
29631 which can conflict with char $ac_func (); below.
29632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29633 <limits.h> exists even on freestanding compilers. */
29636 # include <limits.h>
29638 # include <assert.h>
29643 /* Override any gcc2 internal prototype to avoid an error. */
29648 /* We use char because int might match the return type of a gcc2
29649 builtin and then its argument prototype would still apply. */
29651 /* The GNU C library defines this for functions which it implements
29652 to always fail with ENOSYS. Some functions are actually named
29653 something starting with __ and the normal name is an alias. */
29654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29657 char (*f) () = $ac_func;
29666 return f != $ac_func;
29671 rm -f conftest.
$ac_objext conftest
$ac_exeext
29672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29673 (eval $ac_link) 2>conftest.er1
29675 grep -v '^ *+' conftest.er1
>conftest.err
29677 cat conftest.err
>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); } &&
29680 { ac_try
='test -z "$ac_c_werror_flag"
29681 || test ! -s conftest.err'
29682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29683 (eval $ac_try) 2>&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); }; } &&
29687 { ac_try
='test -s conftest$ac_exeext'
29688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29689 (eval $ac_try) 2>&5
29691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692 (exit $ac_status); }; }; then
29693 eval "$as_ac_var=yes"
29695 echo "$as_me: failed program was:" >&5
29696 sed 's/^/| /' conftest.
$ac_ext >&5
29698 eval "$as_ac_var=no"
29700 rm -f conftest.err conftest.
$ac_objext \
29701 conftest
$ac_exeext conftest.
$ac_ext
29703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29705 if test `eval echo '${'$as_ac_var'}'` = yes; then
29706 cat >>confdefs.h
<<_ACEOF
29707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29715 echo "$as_me:$LINENO: checking if errno is properly declared" >&5
29716 echo $ECHO_N "checking if errno is properly declared... $ECHO_C" >&6
29717 if test "${gt_cv_var_errno_declaration+set}" = set; then
29718 echo $ECHO_N "(cached) $ECHO_C" >&6
29721 cat >conftest.
$ac_ext <<_ACEOF
29724 cat confdefs.h
>>conftest.
$ac_ext
29725 cat >>conftest.
$ac_ext <<_ACEOF
29726 /* end confdefs.h. */
29728 extern struct { int foo; } errno;
29737 rm -f conftest.
$ac_objext
29738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29739 (eval $ac_compile) 2>conftest.er1
29741 grep -v '^ *+' conftest.er1
>conftest.err
29743 cat conftest.err
>&5
29744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29745 (exit $ac_status); } &&
29746 { ac_try
='test -z "$ac_c_werror_flag"
29747 || test ! -s conftest.err'
29748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29749 (eval $ac_try) 2>&5
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); }; } &&
29753 { ac_try
='test -s conftest.$ac_objext'
29754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29755 (eval $ac_try) 2>&5
29757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29758 (exit $ac_status); }; }; then
29759 gt_cv_var_errno_declaration
=no
29761 echo "$as_me: failed program was:" >&5
29762 sed 's/^/| /' conftest.
$ac_ext >&5
29764 gt_cv_var_errno_declaration
=yes
29766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29769 echo "$as_me:$LINENO: result: $gt_cv_var_errno_declaration" >&5
29770 echo "${ECHO_T}$gt_cv_var_errno_declaration" >&6
29771 if test $gt_cv_var_errno_declaration = yes; then
29773 cat >>confdefs.h
<<\_ACEOF
29774 #define HAVE_ERRNO_DECL 1
29781 echo "$as_me:$LINENO: checking if environ is properly declared" >&5
29782 echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
29783 if test "${gt_cv_var_environ_declaration+set}" = set; then
29784 echo $ECHO_N "(cached) $ECHO_C" >&6
29787 cat >conftest.
$ac_ext <<_ACEOF
29790 cat confdefs.h
>>conftest.
$ac_ext
29791 cat >>conftest.
$ac_ext <<_ACEOF
29792 /* end confdefs.h. */
29793 #include <unistd.h>
29794 extern struct { int foo; } environ;
29803 rm -f conftest.
$ac_objext
29804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29805 (eval $ac_compile) 2>conftest.er1
29807 grep -v '^ *+' conftest.er1
>conftest.err
29809 cat conftest.err
>&5
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); } &&
29812 { ac_try
='test -z "$ac_c_werror_flag"
29813 || test ! -s conftest.err'
29814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29815 (eval $ac_try) 2>&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); }; } &&
29819 { ac_try
='test -s conftest.$ac_objext'
29820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29821 (eval $ac_try) 2>&5
29823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29824 (exit $ac_status); }; }; then
29825 gt_cv_var_environ_declaration
=no
29827 echo "$as_me: failed program was:" >&5
29828 sed 's/^/| /' conftest.
$ac_ext >&5
29830 gt_cv_var_environ_declaration
=yes
29832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29835 echo "$as_me:$LINENO: result: $gt_cv_var_environ_declaration" >&5
29836 echo "${ECHO_T}$gt_cv_var_environ_declaration" >&6
29837 if test $gt_cv_var_environ_declaration = yes; then
29839 cat >>confdefs.h
<<\_ACEOF
29840 #define HAVE_ENVIRON_DECL 1
29847 if test $ac_cv_func_unsetenv = no
; then
29858 echo "$as_me:$LINENO: checking if errno is properly declared" >&5
29859 echo $ECHO_N "checking if errno is properly declared... $ECHO_C" >&6
29860 if test "${gt_cv_var_errno_declaration+set}" = set; then
29861 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 cat >conftest.
$ac_ext <<_ACEOF
29867 cat confdefs.h
>>conftest.
$ac_ext
29868 cat >>conftest.
$ac_ext <<_ACEOF
29869 /* end confdefs.h. */
29871 extern struct { int foo; } errno;
29880 rm -f conftest.
$ac_objext
29881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29882 (eval $ac_compile) 2>conftest.er1
29884 grep -v '^ *+' conftest.er1
>conftest.err
29886 cat conftest.err
>&5
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); } &&
29889 { ac_try
='test -z "$ac_c_werror_flag"
29890 || test ! -s conftest.err'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; } &&
29896 { ac_try
='test -s conftest.$ac_objext'
29897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898 (eval $ac_try) 2>&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); }; }; then
29902 gt_cv_var_errno_declaration
=no
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.
$ac_ext >&5
29907 gt_cv_var_errno_declaration
=yes
29909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29912 echo "$as_me:$LINENO: result: $gt_cv_var_errno_declaration" >&5
29913 echo "${ECHO_T}$gt_cv_var_errno_declaration" >&6
29914 if test $gt_cv_var_errno_declaration = yes; then
29916 cat >>confdefs.h
<<\_ACEOF
29917 #define HAVE_ERRNO_DECL 1
29924 echo "$as_me:$LINENO: checking if environ is properly declared" >&5
29925 echo $ECHO_N "checking if environ is properly declared... $ECHO_C" >&6
29926 if test "${gt_cv_var_environ_declaration+set}" = set; then
29927 echo $ECHO_N "(cached) $ECHO_C" >&6
29930 cat >conftest.
$ac_ext <<_ACEOF
29933 cat confdefs.h
>>conftest.
$ac_ext
29934 cat >>conftest.
$ac_ext <<_ACEOF
29935 /* end confdefs.h. */
29936 #include <unistd.h>
29937 extern struct { int foo; } environ;
29946 rm -f conftest.
$ac_objext
29947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29948 (eval $ac_compile) 2>conftest.er1
29950 grep -v '^ *+' conftest.er1
>conftest.err
29952 cat conftest.err
>&5
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); } &&
29955 { ac_try
='test -z "$ac_c_werror_flag"
29956 || test ! -s conftest.err'
29957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29958 (eval $ac_try) 2>&5
29960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29961 (exit $ac_status); }; } &&
29962 { ac_try
='test -s conftest.$ac_objext'
29963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29964 (eval $ac_try) 2>&5
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); }; }; then
29968 gt_cv_var_environ_declaration
=no
29970 echo "$as_me: failed program was:" >&5
29971 sed 's/^/| /' conftest.
$ac_ext >&5
29973 gt_cv_var_environ_declaration
=yes
29975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
29978 echo "$as_me:$LINENO: result: $gt_cv_var_environ_declaration" >&5
29979 echo "${ECHO_T}$gt_cv_var_environ_declaration" >&6
29980 if test $gt_cv_var_environ_declaration = yes; then
29982 cat >>confdefs.h
<<\_ACEOF
29983 #define HAVE_ENVIRON_DECL 1
29990 echo "$as_me:$LINENO: checking for unsetenv() return type" >&5
29991 echo $ECHO_N "checking for unsetenv() return type... $ECHO_C" >&6
29992 if test "${gt_cv_func_unsetenv_ret+set}" = set; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29995 cat >conftest.
$ac_ext <<_ACEOF
29998 cat confdefs.h
>>conftest.
$ac_ext
29999 cat >>conftest.
$ac_ext <<_ACEOF
30000 /* end confdefs.h. */
30001 #include <stdlib.h>
30006 #if defined(__STDC__) || defined(__cplusplus)
30007 int unsetenv (const char *name);
30020 rm -f conftest.
$ac_objext
30021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30022 (eval $ac_compile) 2>conftest.er1
30024 grep -v '^ *+' conftest.er1
>conftest.err
30026 cat conftest.err
>&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); } &&
30029 { ac_try
='test -z "$ac_c_werror_flag"
30030 || test ! -s conftest.err'
30031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30032 (eval $ac_try) 2>&5
30034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30035 (exit $ac_status); }; } &&
30036 { ac_try
='test -s conftest.$ac_objext'
30037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30038 (eval $ac_try) 2>&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); }; }; then
30042 gt_cv_func_unsetenv_ret
='int'
30044 echo "$as_me: failed program was:" >&5
30045 sed 's/^/| /' conftest.
$ac_ext >&5
30047 gt_cv_func_unsetenv_ret
='void'
30049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30051 echo "$as_me:$LINENO: result: $gt_cv_func_unsetenv_ret" >&5
30052 echo "${ECHO_T}$gt_cv_func_unsetenv_ret" >&6
30053 if test $gt_cv_func_unsetenv_ret = 'void'; then
30055 cat >>confdefs.h
<<\_ACEOF
30056 #define VOID_UNSETENV 1
30064 for ac_func
in strerror
30066 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30067 echo "$as_me:$LINENO: checking for $ac_func" >&5
30068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30069 if eval "test \"\${$as_ac_var+set}\" = set"; then
30070 echo $ECHO_N "(cached) $ECHO_C" >&6
30072 cat >conftest.
$ac_ext <<_ACEOF
30075 cat confdefs.h
>>conftest.
$ac_ext
30076 cat >>conftest.
$ac_ext <<_ACEOF
30077 /* end confdefs.h. */
30078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30080 #define $ac_func innocuous_$ac_func
30082 /* System header to define __stub macros and hopefully few prototypes,
30083 which can conflict with char $ac_func (); below.
30084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30085 <limits.h> exists even on freestanding compilers. */
30088 # include <limits.h>
30090 # include <assert.h>
30095 /* Override any gcc2 internal prototype to avoid an error. */
30100 /* We use char because int might match the return type of a gcc2
30101 builtin and then its argument prototype would still apply. */
30103 /* The GNU C library defines this for functions which it implements
30104 to always fail with ENOSYS. Some functions are actually named
30105 something starting with __ and the normal name is an alias. */
30106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30109 char (*f) () = $ac_func;
30118 return f != $ac_func;
30123 rm -f conftest.
$ac_objext conftest
$ac_exeext
30124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30125 (eval $ac_link) 2>conftest.er1
30127 grep -v '^ *+' conftest.er1
>conftest.err
30129 cat conftest.err
>&5
30130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131 (exit $ac_status); } &&
30132 { ac_try
='test -z "$ac_c_werror_flag"
30133 || test ! -s conftest.err'
30134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30135 (eval $ac_try) 2>&5
30137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30138 (exit $ac_status); }; } &&
30139 { ac_try
='test -s conftest$ac_exeext'
30140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30141 (eval $ac_try) 2>&5
30143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30144 (exit $ac_status); }; }; then
30145 eval "$as_ac_var=yes"
30147 echo "$as_me: failed program was:" >&5
30148 sed 's/^/| /' conftest.
$ac_ext >&5
30150 eval "$as_ac_var=no"
30152 rm -f conftest.err conftest.
$ac_objext \
30153 conftest
$ac_exeext conftest.
$ac_ext
30155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30157 if test `eval echo '${'$as_ac_var'}'` = yes; then
30158 cat >>confdefs.h
<<_ACEOF
30159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30164 "$ac_func.$ac_objext" | \
30165 *" $ac_func.$ac_objext" | \
30166 "$ac_func.$ac_objext "* | \
30167 *" $ac_func.$ac_objext "* ) ;;
30168 *) LIBOBJS
="$LIBOBJS $ac_func.$ac_objext" ;;
30175 if test $ac_cv_func_strerror = no
; then
30182 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
30183 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
30184 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
30185 echo $ECHO_N "(cached) $ECHO_C" >&6
30187 cat >conftest.
$ac_ext <<_ACEOF
30190 cat confdefs.h
>>conftest.
$ac_ext
30191 cat >>conftest.
$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30193 $ac_includes_default
30197 #ifndef clearerr_unlocked
30198 char *p = (char *) clearerr_unlocked;
30205 rm -f conftest.
$ac_objext
30206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30207 (eval $ac_compile) 2>conftest.er1
30209 grep -v '^ *+' conftest.er1
>conftest.err
30211 cat conftest.err
>&5
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); } &&
30214 { ac_try
='test -z "$ac_c_werror_flag"
30215 || test ! -s conftest.err'
30216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30217 (eval $ac_try) 2>&5
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; } &&
30221 { ac_try
='test -s conftest.$ac_objext'
30222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30223 (eval $ac_try) 2>&5
30225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30226 (exit $ac_status); }; }; then
30227 ac_cv_have_decl_clearerr_unlocked
=yes
30229 echo "$as_me: failed program was:" >&5
30230 sed 's/^/| /' conftest.
$ac_ext >&5
30232 ac_cv_have_decl_clearerr_unlocked
=no
30234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30236 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
30237 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
30238 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
30240 cat >>confdefs.h
<<_ACEOF
30241 #define HAVE_DECL_CLEARERR_UNLOCKED 1
30246 cat >>confdefs.h
<<_ACEOF
30247 #define HAVE_DECL_CLEARERR_UNLOCKED 0
30256 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
30257 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
30258 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
30259 echo $ECHO_N "(cached) $ECHO_C" >&6
30261 cat >conftest.
$ac_ext <<_ACEOF
30264 cat confdefs.h
>>conftest.
$ac_ext
30265 cat >>conftest.
$ac_ext <<_ACEOF
30266 /* end confdefs.h. */
30267 $ac_includes_default
30271 #ifndef feof_unlocked
30272 char *p = (char *) feof_unlocked;
30279 rm -f conftest.
$ac_objext
30280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30281 (eval $ac_compile) 2>conftest.er1
30283 grep -v '^ *+' conftest.er1
>conftest.err
30285 cat conftest.err
>&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); } &&
30288 { ac_try
='test -z "$ac_c_werror_flag"
30289 || test ! -s conftest.err'
30290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30291 (eval $ac_try) 2>&5
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); }; } &&
30295 { ac_try
='test -s conftest.$ac_objext'
30296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30297 (eval $ac_try) 2>&5
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); }; }; then
30301 ac_cv_have_decl_feof_unlocked
=yes
30303 echo "$as_me: failed program was:" >&5
30304 sed 's/^/| /' conftest.
$ac_ext >&5
30306 ac_cv_have_decl_feof_unlocked
=no
30308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30310 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
30311 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
30312 if test $ac_cv_have_decl_feof_unlocked = yes; then
30314 cat >>confdefs.h
<<_ACEOF
30315 #define HAVE_DECL_FEOF_UNLOCKED 1
30320 cat >>confdefs.h
<<_ACEOF
30321 #define HAVE_DECL_FEOF_UNLOCKED 0
30330 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
30331 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
30332 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
30333 echo $ECHO_N "(cached) $ECHO_C" >&6
30335 cat >conftest.
$ac_ext <<_ACEOF
30338 cat confdefs.h
>>conftest.
$ac_ext
30339 cat >>conftest.
$ac_ext <<_ACEOF
30340 /* end confdefs.h. */
30341 $ac_includes_default
30345 #ifndef ferror_unlocked
30346 char *p = (char *) ferror_unlocked;
30353 rm -f conftest.
$ac_objext
30354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30355 (eval $ac_compile) 2>conftest.er1
30357 grep -v '^ *+' conftest.er1
>conftest.err
30359 cat conftest.err
>&5
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); } &&
30362 { ac_try
='test -z "$ac_c_werror_flag"
30363 || test ! -s conftest.err'
30364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30365 (eval $ac_try) 2>&5
30367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30368 (exit $ac_status); }; } &&
30369 { ac_try
='test -s conftest.$ac_objext'
30370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30371 (eval $ac_try) 2>&5
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); }; }; then
30375 ac_cv_have_decl_ferror_unlocked
=yes
30377 echo "$as_me: failed program was:" >&5
30378 sed 's/^/| /' conftest.
$ac_ext >&5
30380 ac_cv_have_decl_ferror_unlocked
=no
30382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30384 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
30385 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
30386 if test $ac_cv_have_decl_ferror_unlocked = yes; then
30388 cat >>confdefs.h
<<_ACEOF
30389 #define HAVE_DECL_FERROR_UNLOCKED 1
30394 cat >>confdefs.h
<<_ACEOF
30395 #define HAVE_DECL_FERROR_UNLOCKED 0
30404 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
30405 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
30406 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
30407 echo $ECHO_N "(cached) $ECHO_C" >&6
30409 cat >conftest.
$ac_ext <<_ACEOF
30412 cat confdefs.h
>>conftest.
$ac_ext
30413 cat >>conftest.
$ac_ext <<_ACEOF
30414 /* end confdefs.h. */
30415 $ac_includes_default
30419 #ifndef fflush_unlocked
30420 char *p = (char *) fflush_unlocked;
30427 rm -f conftest.
$ac_objext
30428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30429 (eval $ac_compile) 2>conftest.er1
30431 grep -v '^ *+' conftest.er1
>conftest.err
30433 cat conftest.err
>&5
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); } &&
30436 { ac_try
='test -z "$ac_c_werror_flag"
30437 || test ! -s conftest.err'
30438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30439 (eval $ac_try) 2>&5
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); }; } &&
30443 { ac_try
='test -s conftest.$ac_objext'
30444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30445 (eval $ac_try) 2>&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); }; }; then
30449 ac_cv_have_decl_fflush_unlocked
=yes
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.
$ac_ext >&5
30454 ac_cv_have_decl_fflush_unlocked
=no
30456 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30458 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
30459 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
30460 if test $ac_cv_have_decl_fflush_unlocked = yes; then
30462 cat >>confdefs.h
<<_ACEOF
30463 #define HAVE_DECL_FFLUSH_UNLOCKED 1
30468 cat >>confdefs.h
<<_ACEOF
30469 #define HAVE_DECL_FFLUSH_UNLOCKED 0
30478 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
30479 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
30480 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
30481 echo $ECHO_N "(cached) $ECHO_C" >&6
30483 cat >conftest.
$ac_ext <<_ACEOF
30486 cat confdefs.h
>>conftest.
$ac_ext
30487 cat >>conftest.
$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489 $ac_includes_default
30493 #ifndef fgets_unlocked
30494 char *p = (char *) fgets_unlocked;
30501 rm -f conftest.
$ac_objext
30502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30503 (eval $ac_compile) 2>conftest.er1
30505 grep -v '^ *+' conftest.er1
>conftest.err
30507 cat conftest.err
>&5
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); } &&
30510 { ac_try
='test -z "$ac_c_werror_flag"
30511 || test ! -s conftest.err'
30512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30513 (eval $ac_try) 2>&5
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; } &&
30517 { ac_try
='test -s conftest.$ac_objext'
30518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30519 (eval $ac_try) 2>&5
30521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522 (exit $ac_status); }; }; then
30523 ac_cv_have_decl_fgets_unlocked
=yes
30525 echo "$as_me: failed program was:" >&5
30526 sed 's/^/| /' conftest.
$ac_ext >&5
30528 ac_cv_have_decl_fgets_unlocked
=no
30530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30532 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
30533 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
30534 if test $ac_cv_have_decl_fgets_unlocked = yes; then
30536 cat >>confdefs.h
<<_ACEOF
30537 #define HAVE_DECL_FGETS_UNLOCKED 1
30542 cat >>confdefs.h
<<_ACEOF
30543 #define HAVE_DECL_FGETS_UNLOCKED 0
30552 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
30553 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
30554 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
30555 echo $ECHO_N "(cached) $ECHO_C" >&6
30557 cat >conftest.
$ac_ext <<_ACEOF
30560 cat confdefs.h
>>conftest.
$ac_ext
30561 cat >>conftest.
$ac_ext <<_ACEOF
30562 /* end confdefs.h. */
30563 $ac_includes_default
30567 #ifndef fputc_unlocked
30568 char *p = (char *) fputc_unlocked;
30575 rm -f conftest.
$ac_objext
30576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30577 (eval $ac_compile) 2>conftest.er1
30579 grep -v '^ *+' conftest.er1
>conftest.err
30581 cat conftest.err
>&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); } &&
30584 { ac_try
='test -z "$ac_c_werror_flag"
30585 || test ! -s conftest.err'
30586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30587 (eval $ac_try) 2>&5
30589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590 (exit $ac_status); }; } &&
30591 { ac_try
='test -s conftest.$ac_objext'
30592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30593 (eval $ac_try) 2>&5
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); }; }; then
30597 ac_cv_have_decl_fputc_unlocked
=yes
30599 echo "$as_me: failed program was:" >&5
30600 sed 's/^/| /' conftest.
$ac_ext >&5
30602 ac_cv_have_decl_fputc_unlocked
=no
30604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30606 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
30607 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
30608 if test $ac_cv_have_decl_fputc_unlocked = yes; then
30610 cat >>confdefs.h
<<_ACEOF
30611 #define HAVE_DECL_FPUTC_UNLOCKED 1
30616 cat >>confdefs.h
<<_ACEOF
30617 #define HAVE_DECL_FPUTC_UNLOCKED 0
30626 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
30627 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
30628 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
30629 echo $ECHO_N "(cached) $ECHO_C" >&6
30631 cat >conftest.
$ac_ext <<_ACEOF
30634 cat confdefs.h
>>conftest.
$ac_ext
30635 cat >>conftest.
$ac_ext <<_ACEOF
30636 /* end confdefs.h. */
30637 $ac_includes_default
30641 #ifndef fputs_unlocked
30642 char *p = (char *) fputs_unlocked;
30649 rm -f conftest.
$ac_objext
30650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30651 (eval $ac_compile) 2>conftest.er1
30653 grep -v '^ *+' conftest.er1
>conftest.err
30655 cat conftest.err
>&5
30656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30657 (exit $ac_status); } &&
30658 { ac_try
='test -z "$ac_c_werror_flag"
30659 || test ! -s conftest.err'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; } &&
30665 { ac_try
='test -s conftest.$ac_objext'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; }; then
30671 ac_cv_have_decl_fputs_unlocked
=yes
30673 echo "$as_me: failed program was:" >&5
30674 sed 's/^/| /' conftest.
$ac_ext >&5
30676 ac_cv_have_decl_fputs_unlocked
=no
30678 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30680 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
30681 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
30682 if test $ac_cv_have_decl_fputs_unlocked = yes; then
30684 cat >>confdefs.h
<<_ACEOF
30685 #define HAVE_DECL_FPUTS_UNLOCKED 1
30690 cat >>confdefs.h
<<_ACEOF
30691 #define HAVE_DECL_FPUTS_UNLOCKED 0
30700 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
30701 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
30702 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
30703 echo $ECHO_N "(cached) $ECHO_C" >&6
30705 cat >conftest.
$ac_ext <<_ACEOF
30708 cat confdefs.h
>>conftest.
$ac_ext
30709 cat >>conftest.
$ac_ext <<_ACEOF
30710 /* end confdefs.h. */
30711 $ac_includes_default
30715 #ifndef fread_unlocked
30716 char *p = (char *) fread_unlocked;
30723 rm -f conftest.
$ac_objext
30724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30725 (eval $ac_compile) 2>conftest.er1
30727 grep -v '^ *+' conftest.er1
>conftest.err
30729 cat conftest.err
>&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } &&
30732 { ac_try
='test -z "$ac_c_werror_flag"
30733 || test ! -s conftest.err'
30734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30735 (eval $ac_try) 2>&5
30737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30738 (exit $ac_status); }; } &&
30739 { ac_try
='test -s conftest.$ac_objext'
30740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30741 (eval $ac_try) 2>&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); }; }; then
30745 ac_cv_have_decl_fread_unlocked
=yes
30747 echo "$as_me: failed program was:" >&5
30748 sed 's/^/| /' conftest.
$ac_ext >&5
30750 ac_cv_have_decl_fread_unlocked
=no
30752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30754 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
30755 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
30756 if test $ac_cv_have_decl_fread_unlocked = yes; then
30758 cat >>confdefs.h
<<_ACEOF
30759 #define HAVE_DECL_FREAD_UNLOCKED 1
30764 cat >>confdefs.h
<<_ACEOF
30765 #define HAVE_DECL_FREAD_UNLOCKED 0
30774 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
30775 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
30776 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
30777 echo $ECHO_N "(cached) $ECHO_C" >&6
30779 cat >conftest.
$ac_ext <<_ACEOF
30782 cat confdefs.h
>>conftest.
$ac_ext
30783 cat >>conftest.
$ac_ext <<_ACEOF
30784 /* end confdefs.h. */
30785 $ac_includes_default
30789 #ifndef fwrite_unlocked
30790 char *p = (char *) fwrite_unlocked;
30797 rm -f conftest.
$ac_objext
30798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30799 (eval $ac_compile) 2>conftest.er1
30801 grep -v '^ *+' conftest.er1
>conftest.err
30803 cat conftest.err
>&5
30804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30805 (exit $ac_status); } &&
30806 { ac_try
='test -z "$ac_c_werror_flag"
30807 || test ! -s conftest.err'
30808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30809 (eval $ac_try) 2>&5
30811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30812 (exit $ac_status); }; } &&
30813 { ac_try
='test -s conftest.$ac_objext'
30814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30815 (eval $ac_try) 2>&5
30817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30818 (exit $ac_status); }; }; then
30819 ac_cv_have_decl_fwrite_unlocked
=yes
30821 echo "$as_me: failed program was:" >&5
30822 sed 's/^/| /' conftest.
$ac_ext >&5
30824 ac_cv_have_decl_fwrite_unlocked
=no
30826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30828 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
30829 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
30830 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
30832 cat >>confdefs.h
<<_ACEOF
30833 #define HAVE_DECL_FWRITE_UNLOCKED 1
30838 cat >>confdefs.h
<<_ACEOF
30839 #define HAVE_DECL_FWRITE_UNLOCKED 0
30848 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
30849 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
30850 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
30851 echo $ECHO_N "(cached) $ECHO_C" >&6
30853 cat >conftest.
$ac_ext <<_ACEOF
30856 cat confdefs.h
>>conftest.
$ac_ext
30857 cat >>conftest.
$ac_ext <<_ACEOF
30858 /* end confdefs.h. */
30859 $ac_includes_default
30863 #ifndef getc_unlocked
30864 char *p = (char *) getc_unlocked;
30871 rm -f conftest.
$ac_objext
30872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30873 (eval $ac_compile) 2>conftest.er1
30875 grep -v '^ *+' conftest.er1
>conftest.err
30877 cat conftest.err
>&5
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); } &&
30880 { ac_try
='test -z "$ac_c_werror_flag"
30881 || test ! -s conftest.err'
30882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30883 (eval $ac_try) 2>&5
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); }; } &&
30887 { ac_try
='test -s conftest.$ac_objext'
30888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30889 (eval $ac_try) 2>&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); }; }; then
30893 ac_cv_have_decl_getc_unlocked
=yes
30895 echo "$as_me: failed program was:" >&5
30896 sed 's/^/| /' conftest.
$ac_ext >&5
30898 ac_cv_have_decl_getc_unlocked
=no
30900 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30902 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
30903 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
30904 if test $ac_cv_have_decl_getc_unlocked = yes; then
30906 cat >>confdefs.h
<<_ACEOF
30907 #define HAVE_DECL_GETC_UNLOCKED 1
30912 cat >>confdefs.h
<<_ACEOF
30913 #define HAVE_DECL_GETC_UNLOCKED 0
30922 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
30923 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
30924 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
30925 echo $ECHO_N "(cached) $ECHO_C" >&6
30927 cat >conftest.
$ac_ext <<_ACEOF
30930 cat confdefs.h
>>conftest.
$ac_ext
30931 cat >>conftest.
$ac_ext <<_ACEOF
30932 /* end confdefs.h. */
30933 $ac_includes_default
30937 #ifndef getchar_unlocked
30938 char *p = (char *) getchar_unlocked;
30945 rm -f conftest.
$ac_objext
30946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30947 (eval $ac_compile) 2>conftest.er1
30949 grep -v '^ *+' conftest.er1
>conftest.err
30951 cat conftest.err
>&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); } &&
30954 { ac_try
='test -z "$ac_c_werror_flag"
30955 || test ! -s conftest.err'
30956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30957 (eval $ac_try) 2>&5
30959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30960 (exit $ac_status); }; } &&
30961 { ac_try
='test -s conftest.$ac_objext'
30962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30963 (eval $ac_try) 2>&5
30965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30966 (exit $ac_status); }; }; then
30967 ac_cv_have_decl_getchar_unlocked
=yes
30969 echo "$as_me: failed program was:" >&5
30970 sed 's/^/| /' conftest.
$ac_ext >&5
30972 ac_cv_have_decl_getchar_unlocked
=no
30974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
30976 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
30977 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
30978 if test $ac_cv_have_decl_getchar_unlocked = yes; then
30980 cat >>confdefs.h
<<_ACEOF
30981 #define HAVE_DECL_GETCHAR_UNLOCKED 1
30986 cat >>confdefs.h
<<_ACEOF
30987 #define HAVE_DECL_GETCHAR_UNLOCKED 0
30996 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
30997 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
30998 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
30999 echo $ECHO_N "(cached) $ECHO_C" >&6
31001 cat >conftest.
$ac_ext <<_ACEOF
31004 cat confdefs.h
>>conftest.
$ac_ext
31005 cat >>conftest.
$ac_ext <<_ACEOF
31006 /* end confdefs.h. */
31007 $ac_includes_default
31011 #ifndef putc_unlocked
31012 char *p = (char *) putc_unlocked;
31019 rm -f conftest.
$ac_objext
31020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31021 (eval $ac_compile) 2>conftest.er1
31023 grep -v '^ *+' conftest.er1
>conftest.err
31025 cat conftest.err
>&5
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); } &&
31028 { ac_try
='test -z "$ac_c_werror_flag"
31029 || test ! -s conftest.err'
31030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31031 (eval $ac_try) 2>&5
31033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31034 (exit $ac_status); }; } &&
31035 { ac_try
='test -s conftest.$ac_objext'
31036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31037 (eval $ac_try) 2>&5
31039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 (exit $ac_status); }; }; then
31041 ac_cv_have_decl_putc_unlocked
=yes
31043 echo "$as_me: failed program was:" >&5
31044 sed 's/^/| /' conftest.
$ac_ext >&5
31046 ac_cv_have_decl_putc_unlocked
=no
31048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31050 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
31051 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
31052 if test $ac_cv_have_decl_putc_unlocked = yes; then
31054 cat >>confdefs.h
<<_ACEOF
31055 #define HAVE_DECL_PUTC_UNLOCKED 1
31060 cat >>confdefs.h
<<_ACEOF
31061 #define HAVE_DECL_PUTC_UNLOCKED 0
31070 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
31071 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
31072 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
31073 echo $ECHO_N "(cached) $ECHO_C" >&6
31075 cat >conftest.
$ac_ext <<_ACEOF
31078 cat confdefs.h
>>conftest.
$ac_ext
31079 cat >>conftest.
$ac_ext <<_ACEOF
31080 /* end confdefs.h. */
31081 $ac_includes_default
31085 #ifndef putchar_unlocked
31086 char *p = (char *) putchar_unlocked;
31093 rm -f conftest.
$ac_objext
31094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31095 (eval $ac_compile) 2>conftest.er1
31097 grep -v '^ *+' conftest.er1
>conftest.err
31099 cat conftest.err
>&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); } &&
31102 { ac_try
='test -z "$ac_c_werror_flag"
31103 || test ! -s conftest.err'
31104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31105 (eval $ac_try) 2>&5
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); }; } &&
31109 { ac_try
='test -s conftest.$ac_objext'
31110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31111 (eval $ac_try) 2>&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); }; }; then
31115 ac_cv_have_decl_putchar_unlocked
=yes
31117 echo "$as_me: failed program was:" >&5
31118 sed 's/^/| /' conftest.
$ac_ext >&5
31120 ac_cv_have_decl_putchar_unlocked
=no
31122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31124 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
31125 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
31126 if test $ac_cv_have_decl_putchar_unlocked = yes; then
31128 cat >>confdefs.h
<<_ACEOF
31129 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
31134 cat >>confdefs.h
<<_ACEOF
31135 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
31145 cat >>confdefs.h
<<\_ACEOF
31146 #define USE_UNLOCKED_IO 1
31196 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
31197 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
31198 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
31199 echo $ECHO_N "(cached) $ECHO_C" >&6
31201 cat >conftest.
$ac_ext <<_ACEOF
31204 cat confdefs.h
>>conftest.
$ac_ext
31205 cat >>conftest.
$ac_ext <<_ACEOF
31206 /* end confdefs.h. */
31207 $ac_includes_default
31212 char *p = (char *) strerror_r;
31219 rm -f conftest.
$ac_objext
31220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31221 (eval $ac_compile) 2>conftest.er1
31223 grep -v '^ *+' conftest.er1
>conftest.err
31225 cat conftest.err
>&5
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); } &&
31228 { ac_try
='test -z "$ac_c_werror_flag"
31229 || test ! -s conftest.err'
31230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31231 (eval $ac_try) 2>&5
31233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31234 (exit $ac_status); }; } &&
31235 { ac_try
='test -s conftest.$ac_objext'
31236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31237 (eval $ac_try) 2>&5
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); }; }; then
31241 ac_cv_have_decl_strerror_r
=yes
31243 echo "$as_me: failed program was:" >&5
31244 sed 's/^/| /' conftest.
$ac_ext >&5
31246 ac_cv_have_decl_strerror_r
=no
31248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31250 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
31251 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
31252 if test $ac_cv_have_decl_strerror_r = yes; then
31254 cat >>confdefs.h
<<_ACEOF
31255 #define HAVE_DECL_STRERROR_R 1
31260 cat >>confdefs.h
<<_ACEOF
31261 #define HAVE_DECL_STRERROR_R 0
31269 for ac_func
in strerror_r
31271 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31272 echo "$as_me:$LINENO: checking for $ac_func" >&5
31273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31274 if eval "test \"\${$as_ac_var+set}\" = set"; then
31275 echo $ECHO_N "(cached) $ECHO_C" >&6
31277 cat >conftest.
$ac_ext <<_ACEOF
31280 cat confdefs.h
>>conftest.
$ac_ext
31281 cat >>conftest.
$ac_ext <<_ACEOF
31282 /* end confdefs.h. */
31283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31285 #define $ac_func innocuous_$ac_func
31287 /* System header to define __stub macros and hopefully few prototypes,
31288 which can conflict with char $ac_func (); below.
31289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31290 <limits.h> exists even on freestanding compilers. */
31293 # include <limits.h>
31295 # include <assert.h>
31300 /* Override any gcc2 internal prototype to avoid an error. */
31305 /* We use char because int might match the return type of a gcc2
31306 builtin and then its argument prototype would still apply. */
31308 /* The GNU C library defines this for functions which it implements
31309 to always fail with ENOSYS. Some functions are actually named
31310 something starting with __ and the normal name is an alias. */
31311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31314 char (*f) () = $ac_func;
31323 return f != $ac_func;
31328 rm -f conftest.
$ac_objext conftest
$ac_exeext
31329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31330 (eval $ac_link) 2>conftest.er1
31332 grep -v '^ *+' conftest.er1
>conftest.err
31334 cat conftest.err
>&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } &&
31337 { ac_try
='test -z "$ac_c_werror_flag"
31338 || test ! -s conftest.err'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; } &&
31344 { ac_try
='test -s conftest$ac_exeext'
31345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31346 (eval $ac_try) 2>&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; }; then
31350 eval "$as_ac_var=yes"
31352 echo "$as_me: failed program was:" >&5
31353 sed 's/^/| /' conftest.
$ac_ext >&5
31355 eval "$as_ac_var=no"
31357 rm -f conftest.err conftest.
$ac_objext \
31358 conftest
$ac_exeext conftest.
$ac_ext
31360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31362 if test `eval echo '${'$as_ac_var'}'` = yes; then
31363 cat >>confdefs.h
<<_ACEOF
31364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31370 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
31371 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
31372 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
31373 echo $ECHO_N "(cached) $ECHO_C" >&6
31376 ac_cv_func_strerror_r_char_p
=no
31377 if test $ac_cv_have_decl_strerror_r = yes; then
31378 cat >conftest.
$ac_ext <<_ACEOF
31381 cat confdefs.h
>>conftest.
$ac_ext
31382 cat >>conftest.
$ac_ext <<_ACEOF
31383 /* end confdefs.h. */
31384 $ac_includes_default
31390 char x = *strerror_r (0, buf, sizeof buf);
31391 char *p = strerror_r (0, buf, sizeof buf);
31397 rm -f conftest.
$ac_objext
31398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31399 (eval $ac_compile) 2>conftest.er1
31401 grep -v '^ *+' conftest.er1
>conftest.err
31403 cat conftest.err
>&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } &&
31406 { ac_try
='test -z "$ac_c_werror_flag"
31407 || test ! -s conftest.err'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; } &&
31413 { ac_try
='test -s conftest.$ac_objext'
31414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31415 (eval $ac_try) 2>&5
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); }; }; then
31419 ac_cv_func_strerror_r_char_p
=yes
31421 echo "$as_me: failed program was:" >&5
31422 sed 's/^/| /' conftest.
$ac_ext >&5
31425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31427 # strerror_r is not declared. Choose between
31428 # systems that have relatively inaccessible declarations for the
31429 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
31430 # former has a strerror_r that returns char*, while the latter
31431 # has a strerror_r that returns `int'.
31432 # This test should segfault on the DEC system.
31433 if test "$cross_compiling" = yes; then
31436 cat >conftest.
$ac_ext <<_ACEOF
31439 cat confdefs.h
>>conftest.
$ac_ext
31440 cat >>conftest.
$ac_ext <<_ACEOF
31441 /* end confdefs.h. */
31442 $ac_includes_default
31443 extern char *strerror_r ();
31448 char x = *strerror_r (0, buf, sizeof buf);
31449 exit (!isalpha (x));
31454 rm -f conftest
$ac_exeext
31455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31456 (eval $ac_link) 2>&5
31458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31459 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
31460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31461 (eval $ac_try) 2>&5
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); }; }; then
31465 ac_cv_func_strerror_r_char_p
=yes
31467 echo "$as_me: program exited with status $ac_status" >&5
31468 echo "$as_me: failed program was:" >&5
31469 sed 's/^/| /' conftest.
$ac_ext >&5
31472 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
31477 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
31478 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
31479 if test $ac_cv_func_strerror_r_char_p = yes; then
31481 cat >>confdefs.h
<<\_ACEOF
31482 #define STRERROR_R_CHAR_P 1
31488 echo "$as_me:$LINENO: checking for error_at_line" >&5
31489 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
31490 if test "${ac_cv_lib_error_at_line+set}" = set; then
31491 echo $ECHO_N "(cached) $ECHO_C" >&6
31493 cat >conftest.
$ac_ext <<_ACEOF
31496 cat confdefs.h
>>conftest.
$ac_ext
31497 cat >>conftest.
$ac_ext <<_ACEOF
31498 /* end confdefs.h. */
31499 $ac_includes_default
31503 error_at_line (0, 0, "", 0, "");
31508 rm -f conftest.
$ac_objext conftest
$ac_exeext
31509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31510 (eval $ac_link) 2>conftest.er1
31512 grep -v '^ *+' conftest.er1
>conftest.err
31514 cat conftest.err
>&5
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); } &&
31517 { ac_try
='test -z "$ac_c_werror_flag"
31518 || test ! -s conftest.err'
31519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31520 (eval $ac_try) 2>&5
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); }; } &&
31524 { ac_try
='test -s conftest$ac_exeext'
31525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31526 (eval $ac_try) 2>&5
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); }; }; then
31530 ac_cv_lib_error_at_line
=yes
31532 echo "$as_me: failed program was:" >&5
31533 sed 's/^/| /' conftest.
$ac_ext >&5
31535 ac_cv_lib_error_at_line
=no
31537 rm -f conftest.err conftest.
$ac_objext \
31538 conftest
$ac_exeext conftest.
$ac_ext
31540 echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
31541 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
31542 if test $ac_cv_lib_error_at_line = no
; then
31544 "error.$ac_objext" | \
31545 *" error.$ac_objext" | \
31546 "error.$ac_objext "* | \
31547 *" error.$ac_objext "* ) ;;
31548 *) LIBOBJS
="$LIBOBJS error.$ac_objext" ;;
31579 echo "$as_me:$LINENO: checking for mbstate_t" >&5
31580 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
31581 if test "${ac_cv_type_mbstate_t+set}" = set; then
31582 echo $ECHO_N "(cached) $ECHO_C" >&6
31584 cat >conftest.
$ac_ext <<_ACEOF
31587 cat confdefs.h
>>conftest.
$ac_ext
31588 cat >>conftest.
$ac_ext <<_ACEOF
31589 /* end confdefs.h. */
31590 $ac_includes_default
31591 # include <wchar.h>
31595 mbstate_t x; return sizeof x;
31600 rm -f conftest.
$ac_objext
31601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31602 (eval $ac_compile) 2>conftest.er1
31604 grep -v '^ *+' conftest.er1
>conftest.err
31606 cat conftest.err
>&5
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); } &&
31609 { ac_try
='test -z "$ac_c_werror_flag"
31610 || test ! -s conftest.err'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; } &&
31616 { ac_try
='test -s conftest.$ac_objext'
31617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31618 (eval $ac_try) 2>&5
31620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621 (exit $ac_status); }; }; then
31622 ac_cv_type_mbstate_t
=yes
31624 echo "$as_me: failed program was:" >&5
31625 sed 's/^/| /' conftest.
$ac_ext >&5
31627 ac_cv_type_mbstate_t
=no
31629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31631 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
31632 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
31633 if test $ac_cv_type_mbstate_t = yes; then
31635 cat >>confdefs.h
<<\_ACEOF
31636 #define HAVE_MBSTATE_T 1
31641 cat >>confdefs.h
<<\_ACEOF
31642 #define mbstate_t int
31647 echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
31648 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
31649 if test "${gl_cv_func_mbrtowc+set}" = set; then
31650 echo $ECHO_N "(cached) $ECHO_C" >&6
31652 cat >conftest.
$ac_ext <<_ACEOF
31655 cat confdefs.h
>>conftest.
$ac_ext
31656 cat >>conftest.
$ac_ext <<_ACEOF
31657 /* end confdefs.h. */
31662 mbstate_t state; return ! (sizeof state && mbrtowc);
31667 rm -f conftest.
$ac_objext conftest
$ac_exeext
31668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31669 (eval $ac_link) 2>conftest.er1
31671 grep -v '^ *+' conftest.er1
>conftest.err
31673 cat conftest.err
>&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); } &&
31676 { ac_try
='test -z "$ac_c_werror_flag"
31677 || test ! -s conftest.err'
31678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31679 (eval $ac_try) 2>&5
31681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31682 (exit $ac_status); }; } &&
31683 { ac_try
='test -s conftest$ac_exeext'
31684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31685 (eval $ac_try) 2>&5
31687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31688 (exit $ac_status); }; }; then
31689 gl_cv_func_mbrtowc
=yes
31691 echo "$as_me: failed program was:" >&5
31692 sed 's/^/| /' conftest.
$ac_ext >&5
31694 gl_cv_func_mbrtowc
=no
31696 rm -f conftest.err conftest.
$ac_objext \
31697 conftest
$ac_exeext conftest.
$ac_ext
31699 echo "$as_me:$LINENO: result: $gl_cv_func_mbrtowc" >&5
31700 echo "${ECHO_T}$gl_cv_func_mbrtowc" >&6
31701 if test $gl_cv_func_mbrtowc = yes; then
31703 cat >>confdefs.h
<<\_ACEOF
31704 #define HAVE_MBRTOWC 1
31714 for ac_header
in sys
/param.h
31716 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31718 echo "$as_me:$LINENO: checking for $ac_header" >&5
31719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31721 echo $ECHO_N "(cached) $ECHO_C" >&6
31723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31726 # Is the header compilable?
31727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31729 cat >conftest.
$ac_ext <<_ACEOF
31732 cat confdefs.h
>>conftest.
$ac_ext
31733 cat >>conftest.
$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 $ac_includes_default
31736 #include <$ac_header>
31738 rm -f conftest.
$ac_objext
31739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31740 (eval $ac_compile) 2>conftest.er1
31742 grep -v '^ *+' conftest.er1
>conftest.err
31744 cat conftest.err
>&5
31745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31746 (exit $ac_status); } &&
31747 { ac_try
='test -z "$ac_c_werror_flag"
31748 || test ! -s conftest.err'
31749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31750 (eval $ac_try) 2>&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); }; } &&
31754 { ac_try
='test -s conftest.$ac_objext'
31755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31756 (eval $ac_try) 2>&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; }; then
31760 ac_header_compiler
=yes
31762 echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.
$ac_ext >&5
31765 ac_header_compiler
=no
31767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
31768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31769 echo "${ECHO_T}$ac_header_compiler" >&6
31771 # Is the header present?
31772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31774 cat >conftest.
$ac_ext <<_ACEOF
31777 cat confdefs.h
>>conftest.
$ac_ext
31778 cat >>conftest.
$ac_ext <<_ACEOF
31779 /* end confdefs.h. */
31780 #include <$ac_header>
31782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31785 grep -v '^ *+' conftest.er1
>conftest.err
31787 cat conftest.err
>&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); } >/dev
/null
; then
31790 if test -s conftest.err
; then
31791 ac_cpp_err
=$ac_c_preproc_warn_flag
31792 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
31799 if test -z "$ac_cpp_err"; then
31800 ac_header_preproc
=yes
31802 echo "$as_me: failed program was:" >&5
31803 sed 's/^/| /' conftest.
$ac_ext >&5
31805 ac_header_preproc
=no
31807 rm -f conftest.err conftest.
$ac_ext
31808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31809 echo "${ECHO_T}$ac_header_preproc" >&6
31811 # So? What about this header?
31812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31814 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31815 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31817 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31818 ac_header_preproc
=yes
31821 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31822 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31823 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31824 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31825 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31826 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31827 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31828 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31831 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31832 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31835 ## ------------------------------------------ ##
31836 ## Report this to the AC_PACKAGE_NAME lists. ##
31837 ## ------------------------------------------ ##
31840 sed "s/^/$as_me: WARNING: /" >&2
31843 echo "$as_me:$LINENO: checking for $ac_header" >&5
31844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31846 echo $ECHO_N "(cached) $ECHO_C" >&6
31848 eval "$as_ac_Header=\$ac_header_preproc"
31850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31855 cat >>confdefs.h
<<_ACEOF
31856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31878 for ac_func
in readlink
31880 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31881 echo "$as_me:$LINENO: checking for $ac_func" >&5
31882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31883 if eval "test \"\${$as_ac_var+set}\" = set"; then
31884 echo $ECHO_N "(cached) $ECHO_C" >&6
31886 cat >conftest.
$ac_ext <<_ACEOF
31889 cat confdefs.h
>>conftest.
$ac_ext
31890 cat >>conftest.
$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31894 #define $ac_func innocuous_$ac_func
31896 /* System header to define __stub macros and hopefully few prototypes,
31897 which can conflict with char $ac_func (); below.
31898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31899 <limits.h> exists even on freestanding compilers. */
31902 # include <limits.h>
31904 # include <assert.h>
31909 /* Override any gcc2 internal prototype to avoid an error. */
31914 /* We use char because int might match the return type of a gcc2
31915 builtin and then its argument prototype would still apply. */
31917 /* The GNU C library defines this for functions which it implements
31918 to always fail with ENOSYS. Some functions are actually named
31919 something starting with __ and the normal name is an alias. */
31920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31923 char (*f) () = $ac_func;
31932 return f != $ac_func;
31937 rm -f conftest.
$ac_objext conftest
$ac_exeext
31938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31939 (eval $ac_link) 2>conftest.er1
31941 grep -v '^ *+' conftest.er1
>conftest.err
31943 cat conftest.err
>&5
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); } &&
31946 { ac_try
='test -z "$ac_c_werror_flag"
31947 || test ! -s conftest.err'
31948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31949 (eval $ac_try) 2>&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); }; } &&
31953 { ac_try
='test -s conftest$ac_exeext'
31954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31955 (eval $ac_try) 2>&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); }; }; then
31959 eval "$as_ac_var=yes"
31961 echo "$as_me: failed program was:" >&5
31962 sed 's/^/| /' conftest.
$ac_ext >&5
31964 eval "$as_ac_var=no"
31966 rm -f conftest.err conftest.
$ac_objext \
31967 conftest
$ac_exeext conftest.
$ac_ext
31969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31971 if test `eval echo '${'$as_ac_var'}'` = yes; then
31972 cat >>confdefs.h
<<_ACEOF
31973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31979 if test $ac_cv_func_readlink = no
; then
31981 "readlink.$ac_objext" | \
31982 *" readlink.$ac_objext" | \
31983 "readlink.$ac_objext "* | \
31984 *" readlink.$ac_objext "* ) ;;
31985 *) LIBOBJS
="$LIBOBJS readlink.$ac_objext" ;;
32005 for ac_func
in canonicalize_file_name
32007 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32008 echo "$as_me:$LINENO: checking for $ac_func" >&5
32009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32010 if eval "test \"\${$as_ac_var+set}\" = set"; then
32011 echo $ECHO_N "(cached) $ECHO_C" >&6
32013 cat >conftest.
$ac_ext <<_ACEOF
32016 cat confdefs.h
>>conftest.
$ac_ext
32017 cat >>conftest.
$ac_ext <<_ACEOF
32018 /* end confdefs.h. */
32019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32021 #define $ac_func innocuous_$ac_func
32023 /* System header to define __stub macros and hopefully few prototypes,
32024 which can conflict with char $ac_func (); below.
32025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32026 <limits.h> exists even on freestanding compilers. */
32029 # include <limits.h>
32031 # include <assert.h>
32036 /* Override any gcc2 internal prototype to avoid an error. */
32041 /* We use char because int might match the return type of a gcc2
32042 builtin and then its argument prototype would still apply. */
32044 /* The GNU C library defines this for functions which it implements
32045 to always fail with ENOSYS. Some functions are actually named
32046 something starting with __ and the normal name is an alias. */
32047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32050 char (*f) () = $ac_func;
32059 return f != $ac_func;
32064 rm -f conftest.
$ac_objext conftest
$ac_exeext
32065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32066 (eval $ac_link) 2>conftest.er1
32068 grep -v '^ *+' conftest.er1
>conftest.err
32070 cat conftest.err
>&5
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); } &&
32073 { ac_try
='test -z "$ac_c_werror_flag"
32074 || test ! -s conftest.err'
32075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32076 (eval $ac_try) 2>&5
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); }; } &&
32080 { ac_try
='test -s conftest$ac_exeext'
32081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32082 (eval $ac_try) 2>&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); }; }; then
32086 eval "$as_ac_var=yes"
32088 echo "$as_me: failed program was:" >&5
32089 sed 's/^/| /' conftest.
$ac_ext >&5
32091 eval "$as_ac_var=no"
32093 rm -f conftest.err conftest.
$ac_objext \
32094 conftest
$ac_exeext conftest.
$ac_ext
32096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32098 if test `eval echo '${'$as_ac_var'}'` = yes; then
32099 cat >>confdefs.h
<<_ACEOF
32100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32106 if test $ac_cv_func_canonicalize_file_name = no
; then
32108 "canonicalize.$ac_objext" | \
32109 *" canonicalize.$ac_objext" | \
32110 "canonicalize.$ac_objext "* | \
32111 *" canonicalize.$ac_objext "* ) ;;
32112 *) LIBOBJS
="$LIBOBJS canonicalize.$ac_objext" ;;
32116 cat >>confdefs.h
<<\_ACEOF
32117 #define realpath rpl_realpath
32133 for ac_func
in getcwd readlink
32135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32136 echo "$as_me:$LINENO: checking for $ac_func" >&5
32137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32138 if eval "test \"\${$as_ac_var+set}\" = set"; then
32139 echo $ECHO_N "(cached) $ECHO_C" >&6
32141 cat >conftest.
$ac_ext <<_ACEOF
32144 cat confdefs.h
>>conftest.
$ac_ext
32145 cat >>conftest.
$ac_ext <<_ACEOF
32146 /* end confdefs.h. */
32147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32149 #define $ac_func innocuous_$ac_func
32151 /* System header to define __stub macros and hopefully few prototypes,
32152 which can conflict with char $ac_func (); below.
32153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32154 <limits.h> exists even on freestanding compilers. */
32157 # include <limits.h>
32159 # include <assert.h>
32164 /* Override any gcc2 internal prototype to avoid an error. */
32169 /* We use char because int might match the return type of a gcc2
32170 builtin and then its argument prototype would still apply. */
32172 /* The GNU C library defines this for functions which it implements
32173 to always fail with ENOSYS. Some functions are actually named
32174 something starting with __ and the normal name is an alias. */
32175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32178 char (*f) () = $ac_func;
32187 return f != $ac_func;
32192 rm -f conftest.
$ac_objext conftest
$ac_exeext
32193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32194 (eval $ac_link) 2>conftest.er1
32196 grep -v '^ *+' conftest.er1
>conftest.err
32198 cat conftest.err
>&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); } &&
32201 { ac_try
='test -z "$ac_c_werror_flag"
32202 || test ! -s conftest.err'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; } &&
32208 { ac_try
='test -s conftest$ac_exeext'
32209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32210 (eval $ac_try) 2>&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); }; }; then
32214 eval "$as_ac_var=yes"
32216 echo "$as_me: failed program was:" >&5
32217 sed 's/^/| /' conftest.
$ac_ext >&5
32219 eval "$as_ac_var=no"
32221 rm -f conftest.err conftest.
$ac_objext \
32222 conftest
$ac_exeext conftest.
$ac_ext
32224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32226 if test `eval echo '${'$as_ac_var'}'` = yes; then
32227 cat >>confdefs.h
<<_ACEOF
32228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32239 for ac_header
in locale.h
32241 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32243 echo "$as_me:$LINENO: checking for $ac_header" >&5
32244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32246 echo $ECHO_N "(cached) $ECHO_C" >&6
32248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32251 # Is the header compilable?
32252 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32253 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32254 cat >conftest.
$ac_ext <<_ACEOF
32257 cat confdefs.h
>>conftest.
$ac_ext
32258 cat >>conftest.
$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260 $ac_includes_default
32261 #include <$ac_header>
32263 rm -f conftest.
$ac_objext
32264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32265 (eval $ac_compile) 2>conftest.er1
32267 grep -v '^ *+' conftest.er1
>conftest.err
32269 cat conftest.err
>&5
32270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32271 (exit $ac_status); } &&
32272 { ac_try
='test -z "$ac_c_werror_flag"
32273 || test ! -s conftest.err'
32274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32275 (eval $ac_try) 2>&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); }; } &&
32279 { ac_try
='test -s conftest.$ac_objext'
32280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32281 (eval $ac_try) 2>&5
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); }; }; then
32285 ac_header_compiler
=yes
32287 echo "$as_me: failed program was:" >&5
32288 sed 's/^/| /' conftest.
$ac_ext >&5
32290 ac_header_compiler
=no
32292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32294 echo "${ECHO_T}$ac_header_compiler" >&6
32296 # Is the header present?
32297 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32299 cat >conftest.
$ac_ext <<_ACEOF
32302 cat confdefs.h
>>conftest.
$ac_ext
32303 cat >>conftest.
$ac_ext <<_ACEOF
32304 /* end confdefs.h. */
32305 #include <$ac_header>
32307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32308 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32310 grep -v '^ *+' conftest.er1
>conftest.err
32312 cat conftest.err
>&5
32313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32314 (exit $ac_status); } >/dev
/null
; then
32315 if test -s conftest.err
; then
32316 ac_cpp_err
=$ac_c_preproc_warn_flag
32317 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32324 if test -z "$ac_cpp_err"; then
32325 ac_header_preproc
=yes
32327 echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.
$ac_ext >&5
32330 ac_header_preproc
=no
32332 rm -f conftest.err conftest.
$ac_ext
32333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32334 echo "${ECHO_T}$ac_header_preproc" >&6
32336 # So? What about this header?
32337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32339 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32340 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32342 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32343 ac_header_preproc
=yes
32346 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32347 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32348 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32349 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32350 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32351 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32352 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32353 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32356 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32357 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32360 ## ------------------------------------------ ##
32361 ## Report this to the AC_PACKAGE_NAME lists. ##
32362 ## ------------------------------------------ ##
32365 sed "s/^/$as_me: WARNING: /" >&2
32368 echo "$as_me:$LINENO: checking for $ac_header" >&5
32369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32371 echo $ECHO_N "(cached) $ECHO_C" >&6
32373 eval "$as_ac_Header=\$ac_header_preproc"
32375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32380 cat >>confdefs.h
<<_ACEOF
32381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32388 echo "$as_me:$LINENO: checking for setlocale declaration" >&5
32389 echo $ECHO_N "checking for setlocale declaration... $ECHO_C" >&6
32390 if test "${gt_cv_proto_setlocale+set}" = set; then
32391 echo $ECHO_N "(cached) $ECHO_C" >&6
32394 cat >conftest.
$ac_ext <<_ACEOF
32397 cat confdefs.h
>>conftest.
$ac_ext
32398 cat >>conftest.
$ac_ext <<_ACEOF
32399 /* end confdefs.h. */
32401 #include <stdlib.h>
32402 #include <locale.h>
32407 #if defined(__STDC__) || defined(__cplusplus)
32408 char *setlocale (int category, char *locale);
32421 rm -f conftest.
$ac_objext
32422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32423 (eval $ac_compile) 2>conftest.er1
32425 grep -v '^ *+' conftest.er1
>conftest.err
32427 cat conftest.err
>&5
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); } &&
32430 { ac_try
='test -z "$ac_c_werror_flag"
32431 || test ! -s conftest.err'
32432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433 (eval $ac_try) 2>&5
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); }; } &&
32437 { ac_try
='test -s conftest.$ac_objext'
32438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32439 (eval $ac_try) 2>&5
32441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442 (exit $ac_status); }; }; then
32443 gt_cv_proto_setlocale_arg1
=""
32445 echo "$as_me: failed program was:" >&5
32446 sed 's/^/| /' conftest.
$ac_ext >&5
32448 gt_cv_proto_setlocale_arg1
="const"
32450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32451 gt_cv_proto_setlocale
="extern char *setlocale (int category, $gt_cv_proto_setlocale_arg1 char *locale);"
32454 gt_cv_proto_setlocale
=`echo "$gt_cv_proto_setlocale" | tr -s ' ' | sed -e 's/( /(/'`
32455 echo "$as_me:$LINENO: result: ${ac_t:-
32456 }$gt_cv_proto_setlocale" >&5
32457 echo "${ECHO_T}${ac_t:-
32458 }$gt_cv_proto_setlocale" >&6
32460 cat >>confdefs.h
<<_ACEOF
32461 #define SETLOCALE_CONST $gt_cv_proto_setlocale_arg1
32467 for ac_header
in stdint.h
32469 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32471 echo "$as_me:$LINENO: checking for $ac_header" >&5
32472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32474 echo $ECHO_N "(cached) $ECHO_C" >&6
32476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32479 # Is the header compilable?
32480 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32482 cat >conftest.
$ac_ext <<_ACEOF
32485 cat confdefs.h
>>conftest.
$ac_ext
32486 cat >>conftest.
$ac_ext <<_ACEOF
32487 /* end confdefs.h. */
32488 $ac_includes_default
32489 #include <$ac_header>
32491 rm -f conftest.
$ac_objext
32492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32493 (eval $ac_compile) 2>conftest.er1
32495 grep -v '^ *+' conftest.er1
>conftest.err
32497 cat conftest.err
>&5
32498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32499 (exit $ac_status); } &&
32500 { ac_try
='test -z "$ac_c_werror_flag"
32501 || test ! -s conftest.err'
32502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32503 (eval $ac_try) 2>&5
32505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32506 (exit $ac_status); }; } &&
32507 { ac_try
='test -s conftest.$ac_objext'
32508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32509 (eval $ac_try) 2>&5
32511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512 (exit $ac_status); }; }; then
32513 ac_header_compiler
=yes
32515 echo "$as_me: failed program was:" >&5
32516 sed 's/^/| /' conftest.
$ac_ext >&5
32518 ac_header_compiler
=no
32520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32522 echo "${ECHO_T}$ac_header_compiler" >&6
32524 # Is the header present?
32525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32527 cat >conftest.
$ac_ext <<_ACEOF
32530 cat confdefs.h
>>conftest.
$ac_ext
32531 cat >>conftest.
$ac_ext <<_ACEOF
32532 /* end confdefs.h. */
32533 #include <$ac_header>
32535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32536 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32538 grep -v '^ *+' conftest.er1
>conftest.err
32540 cat conftest.err
>&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } >/dev
/null
; then
32543 if test -s conftest.err
; then
32544 ac_cpp_err
=$ac_c_preproc_warn_flag
32545 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
32552 if test -z "$ac_cpp_err"; then
32553 ac_header_preproc
=yes
32555 echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.
$ac_ext >&5
32558 ac_header_preproc
=no
32560 rm -f conftest.err conftest.
$ac_ext
32561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32562 echo "${ECHO_T}$ac_header_preproc" >&6
32564 # So? What about this header?
32565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32567 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32568 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32570 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32571 ac_header_preproc
=yes
32574 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32575 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32576 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32577 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32578 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32579 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32580 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32581 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32583 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32584 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32585 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32588 ## ------------------------------------------ ##
32589 ## Report this to the AC_PACKAGE_NAME lists. ##
32590 ## ------------------------------------------ ##
32593 sed "s/^/$as_me: WARNING: /" >&2
32596 echo "$as_me:$LINENO: checking for $ac_header" >&5
32597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32599 echo $ECHO_N "(cached) $ECHO_C" >&6
32601 eval "$as_ac_Header=\$ac_header_preproc"
32603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32608 cat >>confdefs.h
<<_ACEOF
32609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32616 echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
32617 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
32619 cat >conftest.
$ac_ext <<_ACEOF
32622 cat confdefs.h
>>conftest.
$ac_ext
32623 cat >>conftest.
$ac_ext <<_ACEOF
32624 /* end confdefs.h. */
32626 #include <limits.h>
32628 #include <stdint.h>
32635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32636 $EGREP "Found it" >/dev
/null
2>&1; then
32641 if test -z "$result"; then
32642 if test "$cross_compiling" = yes; then
32643 # Depending upon the size, compute the lo and hi bounds.
32644 cat >conftest.
$ac_ext <<_ACEOF
32647 cat confdefs.h
>>conftest.
$ac_ext
32648 cat >>conftest.
$ac_ext <<_ACEOF
32649 /* end confdefs.h. */
32650 #include <stddef.h>
32654 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
32661 rm -f conftest.
$ac_objext
32662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32663 (eval $ac_compile) 2>conftest.er1
32665 grep -v '^ *+' conftest.er1
>conftest.err
32667 cat conftest.err
>&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); } &&
32670 { ac_try
='test -z "$ac_c_werror_flag"
32671 || test ! -s conftest.err'
32672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32673 (eval $ac_try) 2>&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); }; } &&
32677 { ac_try
='test -s conftest.$ac_objext'
32678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32679 (eval $ac_try) 2>&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); }; }; then
32685 cat >conftest.
$ac_ext <<_ACEOF
32688 cat confdefs.h
>>conftest.
$ac_ext
32689 cat >>conftest.
$ac_ext <<_ACEOF
32690 /* end confdefs.h. */
32691 #include <stddef.h>
32695 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
32702 rm -f conftest.
$ac_objext
32703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32704 (eval $ac_compile) 2>conftest.er1
32706 grep -v '^ *+' conftest.er1
>conftest.err
32708 cat conftest.err
>&5
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); } &&
32711 { ac_try
='test -z "$ac_c_werror_flag"
32712 || test ! -s conftest.err'
32713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714 (eval $ac_try) 2>&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; } &&
32718 { ac_try
='test -s conftest.$ac_objext'
32719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720 (eval $ac_try) 2>&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); }; }; then
32724 ac_hi
=$ac_mid; break
32726 echo "$as_me: failed program was:" >&5
32727 sed 's/^/| /' conftest.
$ac_ext >&5
32729 ac_lo
=`expr $ac_mid + 1`
32730 if test $ac_lo -le $ac_mid; then
32734 ac_mid
=`expr 2 '*' $ac_mid + 1`
32736 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.
$ac_ext >&5
32742 cat >conftest.
$ac_ext <<_ACEOF
32745 cat confdefs.h
>>conftest.
$ac_ext
32746 cat >>conftest.
$ac_ext <<_ACEOF
32747 /* end confdefs.h. */
32748 #include <stddef.h>
32752 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
32759 rm -f conftest.
$ac_objext
32760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32761 (eval $ac_compile) 2>conftest.er1
32763 grep -v '^ *+' conftest.er1
>conftest.err
32765 cat conftest.err
>&5
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); } &&
32768 { ac_try
='test -z "$ac_c_werror_flag"
32769 || test ! -s conftest.err'
32770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32771 (eval $ac_try) 2>&5
32773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32774 (exit $ac_status); }; } &&
32775 { ac_try
='test -s conftest.$ac_objext'
32776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32777 (eval $ac_try) 2>&5
32779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780 (exit $ac_status); }; }; then
32783 cat >conftest.
$ac_ext <<_ACEOF
32786 cat confdefs.h
>>conftest.
$ac_ext
32787 cat >>conftest.
$ac_ext <<_ACEOF
32788 /* end confdefs.h. */
32789 #include <stddef.h>
32793 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
32800 rm -f conftest.
$ac_objext
32801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32802 (eval $ac_compile) 2>conftest.er1
32804 grep -v '^ *+' conftest.er1
>conftest.err
32806 cat conftest.err
>&5
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); } &&
32809 { ac_try
='test -z "$ac_c_werror_flag"
32810 || test ! -s conftest.err'
32811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32812 (eval $ac_try) 2>&5
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); }; } &&
32816 { ac_try
='test -s conftest.$ac_objext'
32817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32818 (eval $ac_try) 2>&5
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); }; }; then
32822 ac_lo
=$ac_mid; break
32824 echo "$as_me: failed program was:" >&5
32825 sed 's/^/| /' conftest.
$ac_ext >&5
32827 ac_hi
=`expr '(' $ac_mid ')' - 1`
32828 if test $ac_mid -le $ac_hi; then
32832 ac_mid
=`expr 2 '*' $ac_mid`
32834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32837 echo "$as_me: failed program was:" >&5
32838 sed 's/^/| /' conftest.
$ac_ext >&5
32842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32845 # Binary search between lo and hi bounds.
32846 while test "x$ac_lo" != "x$ac_hi"; do
32847 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
32848 cat >conftest.
$ac_ext <<_ACEOF
32851 cat confdefs.h
>>conftest.
$ac_ext
32852 cat >>conftest.
$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32854 #include <stddef.h>
32858 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
32865 rm -f conftest.
$ac_objext
32866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32867 (eval $ac_compile) 2>conftest.er1
32869 grep -v '^ *+' conftest.er1
>conftest.err
32871 cat conftest.err
>&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); } &&
32874 { ac_try
='test -z "$ac_c_werror_flag"
32875 || test ! -s conftest.err'
32876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32877 (eval $ac_try) 2>&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); }; } &&
32881 { ac_try
='test -s conftest.$ac_objext'
32882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32883 (eval $ac_try) 2>&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); }; }; then
32889 echo "$as_me: failed program was:" >&5
32890 sed 's/^/| /' conftest.
$ac_ext >&5
32892 ac_lo
=`expr '(' $ac_mid ')' + 1`
32894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
32897 ?
*) res_hi
=$ac_lo;;
32901 if test "$cross_compiling" = yes; then
32902 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
32903 See \`config.log' for more details." >&5
32904 echo "$as_me: error: cannot run test program while cross compiling
32905 See \`config.log' for more details." >&2;}
32906 { (exit 1); exit 1; }; }
32908 cat >conftest.
$ac_ext <<_ACEOF
32911 cat confdefs.h
>>conftest.
$ac_ext
32912 cat >>conftest.
$ac_ext <<_ACEOF
32913 /* end confdefs.h. */
32914 #include <stddef.h>
32915 long longval () { return ~(size_t)0 / 10; }
32916 unsigned long ulongval () { return ~(size_t)0 / 10; }
32918 #include <stdlib.h>
32923 FILE *f = fopen ("conftest.val", "w");
32926 if ((~(size_t)0 / 10) < 0)
32928 long i = longval ();
32929 if (i != (~(size_t)0 / 10))
32931 fprintf (f, "%ld\n", i);
32935 unsigned long i = ulongval ();
32936 if (i != (~(size_t)0 / 10))
32938 fprintf (f, "%lu\n", i);
32940 exit (ferror (f) || fclose (f) != 0);
32946 rm -f conftest
$ac_exeext
32947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32948 (eval $ac_link) 2>&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; }; then
32957 res_hi
=`cat conftest.val`
32959 echo "$as_me: program exited with status $ac_status" >&5
32960 echo "$as_me: failed program was:" >&5
32961 sed 's/^/| /' conftest.
$ac_ext >&5
32963 ( exit $ac_status )
32966 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32970 if test "$cross_compiling" = yes; then
32971 # Depending upon the size, compute the lo and hi bounds.
32972 cat >conftest.
$ac_ext <<_ACEOF
32975 cat confdefs.h
>>conftest.
$ac_ext
32976 cat >>conftest.
$ac_ext <<_ACEOF
32977 /* end confdefs.h. */
32978 #include <stddef.h>
32982 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
32989 rm -f conftest.
$ac_objext
32990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32991 (eval $ac_compile) 2>conftest.er1
32993 grep -v '^ *+' conftest.er1
>conftest.err
32995 cat conftest.err
>&5
32996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32997 (exit $ac_status); } &&
32998 { ac_try
='test -z "$ac_c_werror_flag"
32999 || test ! -s conftest.err'
33000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33001 (eval $ac_try) 2>&5
33003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33004 (exit $ac_status); }; } &&
33005 { ac_try
='test -s conftest.$ac_objext'
33006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33007 (eval $ac_try) 2>&5
33009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33010 (exit $ac_status); }; }; then
33013 cat >conftest.
$ac_ext <<_ACEOF
33016 cat confdefs.h
>>conftest.
$ac_ext
33017 cat >>conftest.
$ac_ext <<_ACEOF
33018 /* end confdefs.h. */
33019 #include <stddef.h>
33023 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
33030 rm -f conftest.
$ac_objext
33031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33032 (eval $ac_compile) 2>conftest.er1
33034 grep -v '^ *+' conftest.er1
>conftest.err
33036 cat conftest.err
>&5
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); } &&
33039 { ac_try
='test -z "$ac_c_werror_flag"
33040 || test ! -s conftest.err'
33041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33042 (eval $ac_try) 2>&5
33044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33045 (exit $ac_status); }; } &&
33046 { ac_try
='test -s conftest.$ac_objext'
33047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33048 (eval $ac_try) 2>&5
33050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33051 (exit $ac_status); }; }; then
33052 ac_hi
=$ac_mid; break
33054 echo "$as_me: failed program was:" >&5
33055 sed 's/^/| /' conftest.
$ac_ext >&5
33057 ac_lo
=`expr $ac_mid + 1`
33058 if test $ac_lo -le $ac_mid; then
33062 ac_mid
=`expr 2 '*' $ac_mid + 1`
33064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33067 echo "$as_me: failed program was:" >&5
33068 sed 's/^/| /' conftest.
$ac_ext >&5
33070 cat >conftest.
$ac_ext <<_ACEOF
33073 cat confdefs.h
>>conftest.
$ac_ext
33074 cat >>conftest.
$ac_ext <<_ACEOF
33075 /* end confdefs.h. */
33076 #include <stddef.h>
33080 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
33087 rm -f conftest.
$ac_objext
33088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33089 (eval $ac_compile) 2>conftest.er1
33091 grep -v '^ *+' conftest.er1
>conftest.err
33093 cat conftest.err
>&5
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); } &&
33096 { ac_try
='test -z "$ac_c_werror_flag"
33097 || test ! -s conftest.err'
33098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33099 (eval $ac_try) 2>&5
33101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102 (exit $ac_status); }; } &&
33103 { ac_try
='test -s conftest.$ac_objext'
33104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33105 (eval $ac_try) 2>&5
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); }; }; then
33111 cat >conftest.
$ac_ext <<_ACEOF
33114 cat confdefs.h
>>conftest.
$ac_ext
33115 cat >>conftest.
$ac_ext <<_ACEOF
33116 /* end confdefs.h. */
33117 #include <stddef.h>
33121 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
33128 rm -f conftest.
$ac_objext
33129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33130 (eval $ac_compile) 2>conftest.er1
33132 grep -v '^ *+' conftest.er1
>conftest.err
33134 cat conftest.err
>&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); } &&
33137 { ac_try
='test -z "$ac_c_werror_flag"
33138 || test ! -s conftest.err'
33139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33140 (eval $ac_try) 2>&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); }; } &&
33144 { ac_try
='test -s conftest.$ac_objext'
33145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33146 (eval $ac_try) 2>&5
33148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33149 (exit $ac_status); }; }; then
33150 ac_lo
=$ac_mid; break
33152 echo "$as_me: failed program was:" >&5
33153 sed 's/^/| /' conftest.
$ac_ext >&5
33155 ac_hi
=`expr '(' $ac_mid ')' - 1`
33156 if test $ac_mid -le $ac_hi; then
33160 ac_mid
=`expr 2 '*' $ac_mid`
33162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33165 echo "$as_me: failed program was:" >&5
33166 sed 's/^/| /' conftest.
$ac_ext >&5
33170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33173 # Binary search between lo and hi bounds.
33174 while test "x$ac_lo" != "x$ac_hi"; do
33175 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
33176 cat >conftest.
$ac_ext <<_ACEOF
33179 cat confdefs.h
>>conftest.
$ac_ext
33180 cat >>conftest.
$ac_ext <<_ACEOF
33181 /* end confdefs.h. */
33182 #include <stddef.h>
33186 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
33193 rm -f conftest.
$ac_objext
33194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33195 (eval $ac_compile) 2>conftest.er1
33197 grep -v '^ *+' conftest.er1
>conftest.err
33199 cat conftest.err
>&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } &&
33202 { ac_try
='test -z "$ac_c_werror_flag"
33203 || test ! -s conftest.err'
33204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33205 (eval $ac_try) 2>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); }; } &&
33209 { ac_try
='test -s conftest.$ac_objext'
33210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211 (eval $ac_try) 2>&5
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; }; then
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.
$ac_ext >&5
33220 ac_lo
=`expr '(' $ac_mid ')' + 1`
33222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33225 ?
*) res_lo
=$ac_lo;;
33229 if test "$cross_compiling" = yes; then
33230 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
33231 See \`config.log' for more details." >&5
33232 echo "$as_me: error: cannot run test program while cross compiling
33233 See \`config.log' for more details." >&2;}
33234 { (exit 1); exit 1; }; }
33236 cat >conftest.
$ac_ext <<_ACEOF
33239 cat confdefs.h
>>conftest.
$ac_ext
33240 cat >>conftest.
$ac_ext <<_ACEOF
33241 /* end confdefs.h. */
33242 #include <stddef.h>
33243 long longval () { return ~(size_t)0 % 10; }
33244 unsigned long ulongval () { return ~(size_t)0 % 10; }
33246 #include <stdlib.h>
33251 FILE *f = fopen ("conftest.val", "w");
33254 if ((~(size_t)0 % 10) < 0)
33256 long i = longval ();
33257 if (i != (~(size_t)0 % 10))
33259 fprintf (f, "%ld\n", i);
33263 unsigned long i = ulongval ();
33264 if (i != (~(size_t)0 % 10))
33266 fprintf (f, "%lu\n", i);
33268 exit (ferror (f) || fclose (f) != 0);
33274 rm -f conftest
$ac_exeext
33275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33276 (eval $ac_link) 2>&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
33280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33281 (eval $ac_try) 2>&5
33283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284 (exit $ac_status); }; }; then
33285 res_lo
=`cat conftest.val`
33287 echo "$as_me: program exited with status $ac_status" >&5
33288 echo "$as_me: failed program was:" >&5
33289 sed 's/^/| /' conftest.
$ac_ext >&5
33291 ( exit $ac_status )
33294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33298 if test "$cross_compiling" = yes; then
33299 # Depending upon the size, compute the lo and hi bounds.
33300 cat >conftest.
$ac_ext <<_ACEOF
33303 cat confdefs.h
>>conftest.
$ac_ext
33304 cat >>conftest.
$ac_ext <<_ACEOF
33305 /* end confdefs.h. */
33306 #include <stddef.h>
33310 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
33317 rm -f conftest.
$ac_objext
33318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33319 (eval $ac_compile) 2>conftest.er1
33321 grep -v '^ *+' conftest.er1
>conftest.err
33323 cat conftest.err
>&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); } &&
33326 { ac_try
='test -z "$ac_c_werror_flag"
33327 || test ! -s conftest.err'
33328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33329 (eval $ac_try) 2>&5
33331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332 (exit $ac_status); }; } &&
33333 { ac_try
='test -s conftest.$ac_objext'
33334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33335 (eval $ac_try) 2>&5
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); }; }; then
33341 cat >conftest.
$ac_ext <<_ACEOF
33344 cat confdefs.h
>>conftest.
$ac_ext
33345 cat >>conftest.
$ac_ext <<_ACEOF
33346 /* end confdefs.h. */
33347 #include <stddef.h>
33351 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
33358 rm -f conftest.
$ac_objext
33359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33360 (eval $ac_compile) 2>conftest.er1
33362 grep -v '^ *+' conftest.er1
>conftest.err
33364 cat conftest.err
>&5
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); } &&
33367 { ac_try
='test -z "$ac_c_werror_flag"
33368 || test ! -s conftest.err'
33369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33370 (eval $ac_try) 2>&5
33372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33373 (exit $ac_status); }; } &&
33374 { ac_try
='test -s conftest.$ac_objext'
33375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33376 (eval $ac_try) 2>&5
33378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33379 (exit $ac_status); }; }; then
33380 ac_hi
=$ac_mid; break
33382 echo "$as_me: failed program was:" >&5
33383 sed 's/^/| /' conftest.
$ac_ext >&5
33385 ac_lo
=`expr $ac_mid + 1`
33386 if test $ac_lo -le $ac_mid; then
33390 ac_mid
=`expr 2 '*' $ac_mid + 1`
33392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33395 echo "$as_me: failed program was:" >&5
33396 sed 's/^/| /' conftest.
$ac_ext >&5
33398 cat >conftest.
$ac_ext <<_ACEOF
33401 cat confdefs.h
>>conftest.
$ac_ext
33402 cat >>conftest.
$ac_ext <<_ACEOF
33403 /* end confdefs.h. */
33404 #include <stddef.h>
33408 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
33415 rm -f conftest.
$ac_objext
33416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33417 (eval $ac_compile) 2>conftest.er1
33419 grep -v '^ *+' conftest.er1
>conftest.err
33421 cat conftest.err
>&5
33422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33423 (exit $ac_status); } &&
33424 { ac_try
='test -z "$ac_c_werror_flag"
33425 || test ! -s conftest.err'
33426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33427 (eval $ac_try) 2>&5
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); }; } &&
33431 { ac_try
='test -s conftest.$ac_objext'
33432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33433 (eval $ac_try) 2>&5
33435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33436 (exit $ac_status); }; }; then
33439 cat >conftest.
$ac_ext <<_ACEOF
33442 cat confdefs.h
>>conftest.
$ac_ext
33443 cat >>conftest.
$ac_ext <<_ACEOF
33444 /* end confdefs.h. */
33445 #include <stddef.h>
33449 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
33456 rm -f conftest.
$ac_objext
33457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33458 (eval $ac_compile) 2>conftest.er1
33460 grep -v '^ *+' conftest.er1
>conftest.err
33462 cat conftest.err
>&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); } &&
33465 { ac_try
='test -z "$ac_c_werror_flag"
33466 || test ! -s conftest.err'
33467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33468 (eval $ac_try) 2>&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); }; } &&
33472 { ac_try
='test -s conftest.$ac_objext'
33473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33474 (eval $ac_try) 2>&5
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); }; }; then
33478 ac_lo
=$ac_mid; break
33480 echo "$as_me: failed program was:" >&5
33481 sed 's/^/| /' conftest.
$ac_ext >&5
33483 ac_hi
=`expr '(' $ac_mid ')' - 1`
33484 if test $ac_mid -le $ac_hi; then
33488 ac_mid
=`expr 2 '*' $ac_mid`
33490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33493 echo "$as_me: failed program was:" >&5
33494 sed 's/^/| /' conftest.
$ac_ext >&5
33498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33501 # Binary search between lo and hi bounds.
33502 while test "x$ac_lo" != "x$ac_hi"; do
33503 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
33504 cat >conftest.
$ac_ext <<_ACEOF
33507 cat confdefs.h
>>conftest.
$ac_ext
33508 cat >>conftest.
$ac_ext <<_ACEOF
33509 /* end confdefs.h. */
33510 #include <stddef.h>
33514 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
33521 rm -f conftest.
$ac_objext
33522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33523 (eval $ac_compile) 2>conftest.er1
33525 grep -v '^ *+' conftest.er1
>conftest.err
33527 cat conftest.err
>&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); } &&
33530 { ac_try
='test -z "$ac_c_werror_flag"
33531 || test ! -s conftest.err'
33532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33533 (eval $ac_try) 2>&5
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); }; } &&
33537 { ac_try
='test -s conftest.$ac_objext'
33538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33539 (eval $ac_try) 2>&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); }; }; then
33545 echo "$as_me: failed program was:" >&5
33546 sed 's/^/| /' conftest.
$ac_ext >&5
33548 ac_lo
=`expr '(' $ac_mid ')' + 1`
33550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33553 ?
*) fits_in_uint
=$ac_lo;;
33557 if test "$cross_compiling" = yes; then
33558 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
33559 See \`config.log' for more details." >&5
33560 echo "$as_me: error: cannot run test program while cross compiling
33561 See \`config.log' for more details." >&2;}
33562 { (exit 1); exit 1; }; }
33564 cat >conftest.
$ac_ext <<_ACEOF
33567 cat confdefs.h
>>conftest.
$ac_ext
33568 cat >>conftest.
$ac_ext <<_ACEOF
33569 /* end confdefs.h. */
33570 #include <stddef.h>
33571 long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
33572 unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
33574 #include <stdlib.h>
33579 FILE *f = fopen ("conftest.val", "w");
33582 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
33584 long i = longval ();
33585 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
33587 fprintf (f, "%ld\n", i);
33591 unsigned long i = ulongval ();
33592 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
33594 fprintf (f, "%lu\n", i);
33596 exit (ferror (f) || fclose (f) != 0);
33602 rm -f conftest
$ac_exeext
33603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33604 (eval $ac_link) 2>&5
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
33608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33609 (eval $ac_try) 2>&5
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); }; }; then
33613 fits_in_uint
=`cat conftest.val`
33615 echo "$as_me: program exited with status $ac_status" >&5
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.
$ac_ext >&5
33619 ( exit $ac_status )
33622 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33626 if test "$fits_in_uint" = 1; then
33627 cat >conftest.
$ac_ext <<_ACEOF
33630 cat confdefs.h
>>conftest.
$ac_ext
33631 cat >>conftest.
$ac_ext <<_ACEOF
33632 /* end confdefs.h. */
33633 #include <stddef.h>
33635 extern unsigned long foo;
33645 rm -f conftest.
$ac_objext
33646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33647 (eval $ac_compile) 2>conftest.er1
33649 grep -v '^ *+' conftest.er1
>conftest.err
33651 cat conftest.err
>&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); } &&
33654 { ac_try
='test -z "$ac_c_werror_flag"
33655 || test ! -s conftest.err'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; } &&
33661 { ac_try
='test -s conftest.$ac_objext'
33662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33663 (eval $ac_try) 2>&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); }; }; then
33669 echo "$as_me: failed program was:" >&5
33670 sed 's/^/| /' conftest.
$ac_ext >&5
33673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33675 if test -z "$result"; then
33676 if test "$fits_in_uint" = 1; then
33677 result
="$res_hi$res_lo"U
33679 result
="$res_hi$res_lo"UL
33682 result
='~(size_t)0'
33685 echo "$as_me:$LINENO: result: $result" >&5
33686 echo "${ECHO_T}$result" >&6
33687 if test "$result" != yes; then
33689 cat >>confdefs.h
<<_ACEOF
33690 #define SIZE_MAX $result
33699 for ac_header
in stdint.h
33701 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33703 echo "$as_me:$LINENO: checking for $ac_header" >&5
33704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33706 echo $ECHO_N "(cached) $ECHO_C" >&6
33708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33711 # Is the header compilable?
33712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33714 cat >conftest.
$ac_ext <<_ACEOF
33717 cat confdefs.h
>>conftest.
$ac_ext
33718 cat >>conftest.
$ac_ext <<_ACEOF
33719 /* end confdefs.h. */
33720 $ac_includes_default
33721 #include <$ac_header>
33723 rm -f conftest.
$ac_objext
33724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33725 (eval $ac_compile) 2>conftest.er1
33727 grep -v '^ *+' conftest.er1
>conftest.err
33729 cat conftest.err
>&5
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); } &&
33732 { ac_try
='test -z "$ac_c_werror_flag"
33733 || test ! -s conftest.err'
33734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33735 (eval $ac_try) 2>&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); }; } &&
33739 { ac_try
='test -s conftest.$ac_objext'
33740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33741 (eval $ac_try) 2>&5
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); }; }; then
33745 ac_header_compiler
=yes
33747 echo "$as_me: failed program was:" >&5
33748 sed 's/^/| /' conftest.
$ac_ext >&5
33750 ac_header_compiler
=no
33752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33754 echo "${ECHO_T}$ac_header_compiler" >&6
33756 # Is the header present?
33757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33759 cat >conftest.
$ac_ext <<_ACEOF
33762 cat confdefs.h
>>conftest.
$ac_ext
33763 cat >>conftest.
$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33765 #include <$ac_header>
33767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33770 grep -v '^ *+' conftest.er1
>conftest.err
33772 cat conftest.err
>&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); } >/dev
/null
; then
33775 if test -s conftest.err
; then
33776 ac_cpp_err
=$ac_c_preproc_warn_flag
33777 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
33784 if test -z "$ac_cpp_err"; then
33785 ac_header_preproc
=yes
33787 echo "$as_me: failed program was:" >&5
33788 sed 's/^/| /' conftest.
$ac_ext >&5
33790 ac_header_preproc
=no
33792 rm -f conftest.err conftest.
$ac_ext
33793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33794 echo "${ECHO_T}$ac_header_preproc" >&6
33796 # So? What about this header?
33797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33803 ac_header_preproc
=yes
33806 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33808 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33810 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33812 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33813 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33816 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33820 ## ------------------------------------------ ##
33821 ## Report this to the AC_PACKAGE_NAME lists. ##
33822 ## ------------------------------------------ ##
33825 sed "s/^/$as_me: WARNING: /" >&2
33828 echo "$as_me:$LINENO: checking for $ac_header" >&5
33829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33831 echo $ECHO_N "(cached) $ECHO_C" >&6
33833 eval "$as_ac_Header=\$ac_header_preproc"
33835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33840 cat >>confdefs.h
<<_ACEOF
33841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33850 echo "$as_me:$LINENO: checking whether strdup is declared" >&5
33851 echo $ECHO_N "checking whether strdup is declared... $ECHO_C" >&6
33852 if test "${ac_cv_have_decl_strdup+set}" = set; then
33853 echo $ECHO_N "(cached) $ECHO_C" >&6
33855 cat >conftest.
$ac_ext <<_ACEOF
33858 cat confdefs.h
>>conftest.
$ac_ext
33859 cat >>conftest.
$ac_ext <<_ACEOF
33860 /* end confdefs.h. */
33861 $ac_includes_default
33866 char *p = (char *) strdup;
33873 rm -f conftest.
$ac_objext
33874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33875 (eval $ac_compile) 2>conftest.er1
33877 grep -v '^ *+' conftest.er1
>conftest.err
33879 cat conftest.err
>&5
33880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33881 (exit $ac_status); } &&
33882 { ac_try
='test -z "$ac_c_werror_flag"
33883 || test ! -s conftest.err'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; } &&
33889 { ac_try
='test -s conftest.$ac_objext'
33890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33891 (eval $ac_try) 2>&5
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); }; }; then
33895 ac_cv_have_decl_strdup
=yes
33897 echo "$as_me: failed program was:" >&5
33898 sed 's/^/| /' conftest.
$ac_ext >&5
33900 ac_cv_have_decl_strdup
=no
33902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33904 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strdup" >&5
33905 echo "${ECHO_T}$ac_cv_have_decl_strdup" >&6
33906 if test $ac_cv_have_decl_strdup = yes; then
33908 cat >>confdefs.h
<<_ACEOF
33909 #define HAVE_DECL_STRDUP 1
33914 cat >>confdefs.h
<<_ACEOF
33915 #define HAVE_DECL_STRDUP 0
33923 echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
33924 echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6
33925 if test "${gl_cv_c_restrict+set}" = set; then
33926 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 gl_cv_c_restrict
=no
33929 # Try the official restrict keyword, then gcc's __restrict, and
33930 # the less common variants.
33931 for ac_kw
in restrict __restrict __restrict__ _Restrict
; do
33932 cat >conftest.
$ac_ext <<_ACEOF
33935 cat confdefs.h
>>conftest.
$ac_ext
33936 cat >>conftest.
$ac_ext <<_ACEOF
33937 /* end confdefs.h. */
33940 rm -f conftest.
$ac_objext
33941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33942 (eval $ac_compile) 2>conftest.er1
33944 grep -v '^ *+' conftest.er1
>conftest.err
33946 cat conftest.err
>&5
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); } &&
33949 { ac_try
='test -z "$ac_c_werror_flag"
33950 || test ! -s conftest.err'
33951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33952 (eval $ac_try) 2>&5
33954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33955 (exit $ac_status); }; } &&
33956 { ac_try
='test -s conftest.$ac_objext'
33957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33958 (eval $ac_try) 2>&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); }; }; then
33962 gl_cv_c_restrict
=$ac_kw; break
33964 echo "$as_me: failed program was:" >&5
33965 sed 's/^/| /' conftest.
$ac_ext >&5
33968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33972 echo "$as_me:$LINENO: result: $gl_cv_c_restrict" >&5
33973 echo "${ECHO_T}$gl_cv_c_restrict" >&6
33974 case $gl_cv_c_restrict in
33977 cat >>confdefs.h
<<\_ACEOF
33981 *) cat >>confdefs.h
<<_ACEOF
33982 #define restrict $gl_cv_c_restrict
33989 for ac_func
in mempcpy
33991 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33992 echo "$as_me:$LINENO: checking for $ac_func" >&5
33993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33994 if eval "test \"\${$as_ac_var+set}\" = set"; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33997 cat >conftest.
$ac_ext <<_ACEOF
34000 cat confdefs.h
>>conftest.
$ac_ext
34001 cat >>conftest.
$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34005 #define $ac_func innocuous_$ac_func
34007 /* System header to define __stub macros and hopefully few prototypes,
34008 which can conflict with char $ac_func (); below.
34009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34010 <limits.h> exists even on freestanding compilers. */
34013 # include <limits.h>
34015 # include <assert.h>
34020 /* Override any gcc2 internal prototype to avoid an error. */
34025 /* We use char because int might match the return type of a gcc2
34026 builtin and then its argument prototype would still apply. */
34028 /* The GNU C library defines this for functions which it implements
34029 to always fail with ENOSYS. Some functions are actually named
34030 something starting with __ and the normal name is an alias. */
34031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34034 char (*f) () = $ac_func;
34043 return f != $ac_func;
34048 rm -f conftest.
$ac_objext conftest
$ac_exeext
34049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34050 (eval $ac_link) 2>conftest.er1
34052 grep -v '^ *+' conftest.er1
>conftest.err
34054 cat conftest.err
>&5
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); } &&
34057 { ac_try
='test -z "$ac_c_werror_flag"
34058 || test ! -s conftest.err'
34059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34060 (eval $ac_try) 2>&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); }; } &&
34064 { ac_try
='test -s conftest$ac_exeext'
34065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34066 (eval $ac_try) 2>&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); }; }; then
34070 eval "$as_ac_var=yes"
34072 echo "$as_me: failed program was:" >&5
34073 sed 's/^/| /' conftest.
$ac_ext >&5
34075 eval "$as_ac_var=no"
34077 rm -f conftest.err conftest.
$ac_objext \
34078 conftest
$ac_exeext conftest.
$ac_ext
34080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34082 if test `eval echo '${'$as_ac_var'}'` = yes; then
34083 cat >>confdefs.h
<<_ACEOF
34084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34099 for ac_func
in memchr
34101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34102 echo "$as_me:$LINENO: checking for $ac_func" >&5
34103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34104 if eval "test \"\${$as_ac_var+set}\" = set"; then
34105 echo $ECHO_N "(cached) $ECHO_C" >&6
34107 cat >conftest.
$ac_ext <<_ACEOF
34110 cat confdefs.h
>>conftest.
$ac_ext
34111 cat >>conftest.
$ac_ext <<_ACEOF
34112 /* end confdefs.h. */
34113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34115 #define $ac_func innocuous_$ac_func
34117 /* System header to define __stub macros and hopefully few prototypes,
34118 which can conflict with char $ac_func (); below.
34119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34120 <limits.h> exists even on freestanding compilers. */
34123 # include <limits.h>
34125 # include <assert.h>
34130 /* Override any gcc2 internal prototype to avoid an error. */
34135 /* We use char because int might match the return type of a gcc2
34136 builtin and then its argument prototype would still apply. */
34138 /* The GNU C library defines this for functions which it implements
34139 to always fail with ENOSYS. Some functions are actually named
34140 something starting with __ and the normal name is an alias. */
34141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34144 char (*f) () = $ac_func;
34153 return f != $ac_func;
34158 rm -f conftest.
$ac_objext conftest
$ac_exeext
34159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34160 (eval $ac_link) 2>conftest.er1
34162 grep -v '^ *+' conftest.er1
>conftest.err
34164 cat conftest.err
>&5
34165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34166 (exit $ac_status); } &&
34167 { ac_try
='test -z "$ac_c_werror_flag"
34168 || test ! -s conftest.err'
34169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34170 (eval $ac_try) 2>&5
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); }; } &&
34174 { ac_try
='test -s conftest$ac_exeext'
34175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34176 (eval $ac_try) 2>&5
34178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34179 (exit $ac_status); }; }; then
34180 eval "$as_ac_var=yes"
34182 echo "$as_me: failed program was:" >&5
34183 sed 's/^/| /' conftest.
$ac_ext >&5
34185 eval "$as_ac_var=no"
34187 rm -f conftest.err conftest.
$ac_objext \
34188 conftest
$ac_exeext conftest.
$ac_ext
34190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34192 if test `eval echo '${'$as_ac_var'}'` = yes; then
34193 cat >>confdefs.h
<<_ACEOF
34194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34198 LIBGREPOBJS
="$LIBGREPOBJS $ac_func.$ac_objext"
34202 if test $ac_cv_func_memchr = no
; then
34205 for ac_header
in bp-sym.h
34207 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34209 echo "$as_me:$LINENO: checking for $ac_header" >&5
34210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34217 # Is the header compilable?
34218 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34219 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34220 cat >conftest.
$ac_ext <<_ACEOF
34223 cat confdefs.h
>>conftest.
$ac_ext
34224 cat >>conftest.
$ac_ext <<_ACEOF
34225 /* end confdefs.h. */
34226 $ac_includes_default
34227 #include <$ac_header>
34229 rm -f conftest.
$ac_objext
34230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34231 (eval $ac_compile) 2>conftest.er1
34233 grep -v '^ *+' conftest.er1
>conftest.err
34235 cat conftest.err
>&5
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); } &&
34238 { ac_try
='test -z "$ac_c_werror_flag"
34239 || test ! -s conftest.err'
34240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34241 (eval $ac_try) 2>&5
34243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34244 (exit $ac_status); }; } &&
34245 { ac_try
='test -s conftest.$ac_objext'
34246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34247 (eval $ac_try) 2>&5
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); }; }; then
34251 ac_header_compiler
=yes
34253 echo "$as_me: failed program was:" >&5
34254 sed 's/^/| /' conftest.
$ac_ext >&5
34256 ac_header_compiler
=no
34258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34260 echo "${ECHO_T}$ac_header_compiler" >&6
34262 # Is the header present?
34263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34265 cat >conftest.
$ac_ext <<_ACEOF
34268 cat confdefs.h
>>conftest.
$ac_ext
34269 cat >>conftest.
$ac_ext <<_ACEOF
34270 /* end confdefs.h. */
34271 #include <$ac_header>
34273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34274 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34276 grep -v '^ *+' conftest.er1
>conftest.err
34278 cat conftest.err
>&5
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); } >/dev
/null
; then
34281 if test -s conftest.err
; then
34282 ac_cpp_err
=$ac_c_preproc_warn_flag
34283 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34290 if test -z "$ac_cpp_err"; then
34291 ac_header_preproc
=yes
34293 echo "$as_me: failed program was:" >&5
34294 sed 's/^/| /' conftest.
$ac_ext >&5
34296 ac_header_preproc
=no
34298 rm -f conftest.err conftest.
$ac_ext
34299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34300 echo "${ECHO_T}$ac_header_preproc" >&6
34302 # So? What about this header?
34303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34305 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34309 ac_header_preproc
=yes
34312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34316 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34318 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34319 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34322 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34326 ## ------------------------------------------ ##
34327 ## Report this to the AC_PACKAGE_NAME lists. ##
34328 ## ------------------------------------------ ##
34331 sed "s/^/$as_me: WARNING: /" >&2
34334 echo "$as_me:$LINENO: checking for $ac_header" >&5
34335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34337 echo $ECHO_N "(cached) $ECHO_C" >&6
34339 eval "$as_ac_Header=\$ac_header_preproc"
34341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34346 cat >>confdefs.h
<<_ACEOF
34347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34359 for ac_func
in strdup
34361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34362 echo "$as_me:$LINENO: checking for $ac_func" >&5
34363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34364 if eval "test \"\${$as_ac_var+set}\" = set"; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34367 cat >conftest.
$ac_ext <<_ACEOF
34370 cat confdefs.h
>>conftest.
$ac_ext
34371 cat >>conftest.
$ac_ext <<_ACEOF
34372 /* end confdefs.h. */
34373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34375 #define $ac_func innocuous_$ac_func
34377 /* System header to define __stub macros and hopefully few prototypes,
34378 which can conflict with char $ac_func (); below.
34379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34380 <limits.h> exists even on freestanding compilers. */
34383 # include <limits.h>
34385 # include <assert.h>
34390 /* Override any gcc2 internal prototype to avoid an error. */
34395 /* We use char because int might match the return type of a gcc2
34396 builtin and then its argument prototype would still apply. */
34398 /* The GNU C library defines this for functions which it implements
34399 to always fail with ENOSYS. Some functions are actually named
34400 something starting with __ and the normal name is an alias. */
34401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34404 char (*f) () = $ac_func;
34413 return f != $ac_func;
34418 rm -f conftest.
$ac_objext conftest
$ac_exeext
34419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34420 (eval $ac_link) 2>conftest.er1
34422 grep -v '^ *+' conftest.er1
>conftest.err
34424 cat conftest.err
>&5
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); } &&
34427 { ac_try
='test -z "$ac_c_werror_flag"
34428 || test ! -s conftest.err'
34429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34430 (eval $ac_try) 2>&5
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); }; } &&
34434 { ac_try
='test -s conftest$ac_exeext'
34435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436 (eval $ac_try) 2>&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); }; }; then
34440 eval "$as_ac_var=yes"
34442 echo "$as_me: failed program was:" >&5
34443 sed 's/^/| /' conftest.
$ac_ext >&5
34445 eval "$as_ac_var=no"
34447 rm -f conftest.err conftest.
$ac_objext \
34448 conftest
$ac_exeext conftest.
$ac_ext
34450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34452 if test `eval echo '${'$as_ac_var'}'` = yes; then
34453 cat >>confdefs.h
<<_ACEOF
34454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34458 LIBGREPOBJS
="$LIBGREPOBJS $ac_func.$ac_objext"
34473 # Assume we'll default to using the included regex.c.
34474 ac_use_included_regex
=yes
34476 # However, if the system regex support is good enough that it passes the
34477 # the following run test, then default to *not* using the included regex.c.
34478 # If cross compiling, assume the test would fail and use the included
34479 # regex.c. The first failing regular expression is from `Spencer ere
34480 # test #75' in grep-2.3.
34481 echo "$as_me:$LINENO: checking for working re_compile_pattern" >&5
34482 echo $ECHO_N "checking for working re_compile_pattern... $ECHO_C" >&6
34483 if test "${jm_cv_func_working_re_compile_pattern+set}" = set; then
34484 echo $ECHO_N "(cached) $ECHO_C" >&6
34486 if test "$cross_compiling" = yes; then
34487 jm_cv_func_working_re_compile_pattern
=no
34489 cat >conftest.
$ac_ext <<_ACEOF
34492 cat confdefs.h
>>conftest.
$ac_ext
34493 cat >>conftest.
$ac_ext <<_ACEOF
34494 /* end confdefs.h. */
34496 #include <string.h>
34501 static struct re_pattern_buffer regex;
34503 struct re_registers regs;
34504 re_set_syntax (RE_SYNTAX_POSIX_EGREP);
34505 memset (®ex, 0, sizeof (regex));
34506 s = re_compile_pattern ("a[[:]:]]b\n", 9, ®ex);
34507 /* This should fail with _Invalid character class name_ error. */
34511 /* This should succeed, but doesn't for e.g. glibc-2.1.3. */
34512 memset (®ex, 0, sizeof (regex));
34513 s = re_compile_pattern ("{1", 2, ®ex);
34518 /* The following example is derived from a problem report
34519 against gawk from Jorge Stolfi <stolfi@ic.unicamp.br>. */
34520 memset (®ex, 0, sizeof (regex));
34521 s = re_compile_pattern ("[an\371]*n", 7, ®ex);
34525 /* This should match, but doesn't for e.g. glibc-2.2.1. */
34526 if (re_match (®ex, "an", 2, 0, ®s) != 2)
34529 memset (®ex, 0, sizeof (regex));
34530 s = re_compile_pattern ("x", 1, ®ex);
34534 /* The version of regex.c in e.g. GNU libc-2.2.93 didn't
34535 work with a negative RANGE argument. */
34536 if (re_search (®ex, "wxy", 3, 2, -2, ®s) != 1)
34543 rm -f conftest
$ac_exeext
34544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34545 (eval $ac_link) 2>&5
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34550 (eval $ac_try) 2>&5
34552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34553 (exit $ac_status); }; }; then
34554 jm_cv_func_working_re_compile_pattern
=yes
34556 echo "$as_me: program exited with status $ac_status" >&5
34557 echo "$as_me: failed program was:" >&5
34558 sed 's/^/| /' conftest.
$ac_ext >&5
34560 ( exit $ac_status )
34561 jm_cv_func_working_re_compile_pattern
=no
34563 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34566 echo "$as_me:$LINENO: result: $jm_cv_func_working_re_compile_pattern" >&5
34567 echo "${ECHO_T}$jm_cv_func_working_re_compile_pattern" >&6
34568 if test $jm_cv_func_working_re_compile_pattern = yes; then
34569 ac_use_included_regex
=no
34572 test -n "libgrep/regex.c" ||
{ { echo "$as_me:$LINENO: error: missing argument" >&5
34573 echo "$as_me: error: missing argument" >&2;}
34574 { (exit 1); exit 1; }; }
34578 # Check whether --with-included-regex or --without-included-regex was given.
34579 if test "${with_included_regex+set}" = set; then
34580 withval
="$with_included_regex"
34581 jm_with_regex
=$withval
34583 jm_with_regex
=$ac_use_included_regex
34585 if test "$jm_with_regex" = yes; then
34586 LIBGREPOBJS
="$LIBGREPOBJS regex.$ac_objext"
34615 for ac_func
in btowc
34617 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34618 echo "$as_me:$LINENO: checking for $ac_func" >&5
34619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34620 if eval "test \"\${$as_ac_var+set}\" = set"; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34623 cat >conftest.
$ac_ext <<_ACEOF
34626 cat confdefs.h
>>conftest.
$ac_ext
34627 cat >>conftest.
$ac_ext <<_ACEOF
34628 /* end confdefs.h. */
34629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34631 #define $ac_func innocuous_$ac_func
34633 /* System header to define __stub macros and hopefully few prototypes,
34634 which can conflict with char $ac_func (); below.
34635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34636 <limits.h> exists even on freestanding compilers. */
34639 # include <limits.h>
34641 # include <assert.h>
34646 /* Override any gcc2 internal prototype to avoid an error. */
34651 /* We use char because int might match the return type of a gcc2
34652 builtin and then its argument prototype would still apply. */
34654 /* The GNU C library defines this for functions which it implements
34655 to always fail with ENOSYS. Some functions are actually named
34656 something starting with __ and the normal name is an alias. */
34657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34660 char (*f) () = $ac_func;
34669 return f != $ac_func;
34674 rm -f conftest.
$ac_objext conftest
$ac_exeext
34675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34676 (eval $ac_link) 2>conftest.er1
34678 grep -v '^ *+' conftest.er1
>conftest.err
34680 cat conftest.err
>&5
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); } &&
34683 { ac_try
='test -z "$ac_c_werror_flag"
34684 || test ! -s conftest.err'
34685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34686 (eval $ac_try) 2>&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); }; } &&
34690 { ac_try
='test -s conftest$ac_exeext'
34691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34692 (eval $ac_try) 2>&5
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); }; }; then
34696 eval "$as_ac_var=yes"
34698 echo "$as_me: failed program was:" >&5
34699 sed 's/^/| /' conftest.
$ac_ext >&5
34701 eval "$as_ac_var=no"
34703 rm -f conftest.err conftest.
$ac_objext \
34704 conftest
$ac_exeext conftest.
$ac_ext
34706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34708 if test `eval echo '${'$as_ac_var'}'` = yes; then
34709 cat >>confdefs.h
<<_ACEOF
34710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34728 for ac_header
in arpa
/inet.h
34730 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34732 echo "$as_me:$LINENO: checking for $ac_header" >&5
34733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34735 echo $ECHO_N "(cached) $ECHO_C" >&6
34737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34740 # Is the header compilable?
34741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34743 cat >conftest.
$ac_ext <<_ACEOF
34746 cat confdefs.h
>>conftest.
$ac_ext
34747 cat >>conftest.
$ac_ext <<_ACEOF
34748 /* end confdefs.h. */
34749 $ac_includes_default
34750 #include <$ac_header>
34752 rm -f conftest.
$ac_objext
34753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34754 (eval $ac_compile) 2>conftest.er1
34756 grep -v '^ *+' conftest.er1
>conftest.err
34758 cat conftest.err
>&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } &&
34761 { ac_try
='test -z "$ac_c_werror_flag"
34762 || test ! -s conftest.err'
34763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34764 (eval $ac_try) 2>&5
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); }; } &&
34768 { ac_try
='test -s conftest.$ac_objext'
34769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34770 (eval $ac_try) 2>&5
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); }; }; then
34774 ac_header_compiler
=yes
34776 echo "$as_me: failed program was:" >&5
34777 sed 's/^/| /' conftest.
$ac_ext >&5
34779 ac_header_compiler
=no
34781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
34782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34783 echo "${ECHO_T}$ac_header_compiler" >&6
34785 # Is the header present?
34786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34788 cat >conftest.
$ac_ext <<_ACEOF
34791 cat confdefs.h
>>conftest.
$ac_ext
34792 cat >>conftest.
$ac_ext <<_ACEOF
34793 /* end confdefs.h. */
34794 #include <$ac_header>
34796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34799 grep -v '^ *+' conftest.er1
>conftest.err
34801 cat conftest.err
>&5
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); } >/dev
/null
; then
34804 if test -s conftest.err
; then
34805 ac_cpp_err
=$ac_c_preproc_warn_flag
34806 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
34813 if test -z "$ac_cpp_err"; then
34814 ac_header_preproc
=yes
34816 echo "$as_me: failed program was:" >&5
34817 sed 's/^/| /' conftest.
$ac_ext >&5
34819 ac_header_preproc
=no
34821 rm -f conftest.err conftest.
$ac_ext
34822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34823 echo "${ECHO_T}$ac_header_preproc" >&6
34825 # So? What about this header?
34826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34832 ac_header_preproc
=yes
34835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34849 ## ------------------------------------------ ##
34850 ## Report this to the AC_PACKAGE_NAME lists. ##
34851 ## ------------------------------------------ ##
34854 sed "s/^/$as_me: WARNING: /" >&2
34857 echo "$as_me:$LINENO: checking for $ac_header" >&5
34858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34860 echo $ECHO_N "(cached) $ECHO_C" >&6
34862 eval "$as_ac_Header=\$ac_header_preproc"
34864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34869 cat >>confdefs.h
<<_ACEOF
34870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34880 for ac_func
in gethostname gethostbyname inet_ntop
34882 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34883 echo "$as_me:$LINENO: checking for $ac_func" >&5
34884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34885 if eval "test \"\${$as_ac_var+set}\" = set"; then
34886 echo $ECHO_N "(cached) $ECHO_C" >&6
34888 cat >conftest.
$ac_ext <<_ACEOF
34891 cat confdefs.h
>>conftest.
$ac_ext
34892 cat >>conftest.
$ac_ext <<_ACEOF
34893 /* end confdefs.h. */
34894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34896 #define $ac_func innocuous_$ac_func
34898 /* System header to define __stub macros and hopefully few prototypes,
34899 which can conflict with char $ac_func (); below.
34900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34901 <limits.h> exists even on freestanding compilers. */
34904 # include <limits.h>
34906 # include <assert.h>
34911 /* Override any gcc2 internal prototype to avoid an error. */
34916 /* We use char because int might match the return type of a gcc2
34917 builtin and then its argument prototype would still apply. */
34919 /* The GNU C library defines this for functions which it implements
34920 to always fail with ENOSYS. Some functions are actually named
34921 something starting with __ and the normal name is an alias. */
34922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34925 char (*f) () = $ac_func;
34934 return f != $ac_func;
34939 rm -f conftest.
$ac_objext conftest
$ac_exeext
34940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34941 (eval $ac_link) 2>conftest.er1
34943 grep -v '^ *+' conftest.er1
>conftest.err
34945 cat conftest.err
>&5
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); } &&
34948 { ac_try
='test -z "$ac_c_werror_flag"
34949 || test ! -s conftest.err'
34950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34951 (eval $ac_try) 2>&5
34953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34954 (exit $ac_status); }; } &&
34955 { ac_try
='test -s conftest$ac_exeext'
34956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34957 (eval $ac_try) 2>&5
34959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960 (exit $ac_status); }; }; then
34961 eval "$as_ac_var=yes"
34963 echo "$as_me: failed program was:" >&5
34964 sed 's/^/| /' conftest.
$ac_ext >&5
34966 eval "$as_ac_var=no"
34968 rm -f conftest.err conftest.
$ac_objext \
34969 conftest
$ac_exeext conftest.
$ac_ext
34971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34973 if test `eval echo '${'$as_ac_var'}'` = yes; then
34974 cat >>confdefs.h
<<_ACEOF
34975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34982 echo "$as_me:$LINENO: checking for IPv6 sockets" >&5
34983 echo $ECHO_N "checking for IPv6 sockets... $ECHO_C" >&6
34984 if test "${gt_cv_socket_ipv6+set}" = set; then
34985 echo $ECHO_N "(cached) $ECHO_C" >&6
34988 cat >conftest.
$ac_ext <<_ACEOF
34991 cat confdefs.h
>>conftest.
$ac_ext
34992 cat >>conftest.
$ac_ext <<_ACEOF
34993 /* end confdefs.h. */
34995 #include <sys/types.h>
34996 #include <sys/socket.h>
34997 #include <netinet/in.h>
35001 int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z;
35006 rm -f conftest.
$ac_objext
35007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35008 (eval $ac_compile) 2>conftest.er1
35010 grep -v '^ *+' conftest.er1
>conftest.err
35012 cat conftest.err
>&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); } &&
35015 { ac_try
='test -z "$ac_c_werror_flag"
35016 || test ! -s conftest.err'
35017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35018 (eval $ac_try) 2>&5
35020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35021 (exit $ac_status); }; } &&
35022 { ac_try
='test -s conftest.$ac_objext'
35023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35024 (eval $ac_try) 2>&5
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); }; }; then
35028 gt_cv_socket_ipv6
=yes
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.
$ac_ext >&5
35033 gt_cv_socket_ipv6
=no
35035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35039 echo "$as_me:$LINENO: result: $gt_cv_socket_ipv6" >&5
35040 echo "${ECHO_T}$gt_cv_socket_ipv6" >&6
35041 if test $gt_cv_socket_ipv6 = yes; then
35043 cat >>confdefs.h
<<\_ACEOF
35044 #define HAVE_IPV6 1
35053 if test -n "$ac_aux_dir"; then
35054 case "$ac_aux_dir" in
35055 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
35056 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
35059 if test -z "$MKINSTALLDIRS"; then
35060 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
35065 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
35066 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
35067 # Check whether --enable-nls or --disable-nls was given.
35068 if test "${enable_nls+set}" = set; then
35069 enableval
="$enable_nls"
35074 echo "$as_me:$LINENO: result: $USE_NLS" >&5
35075 echo "${ECHO_T}$USE_NLS" >&6
35082 # Prepare PATH_SEPARATOR.
35083 # The user is always right.
35084 if test "${PATH_SEPARATOR+set}" != set; then
35085 echo "#! /bin/sh" >conf$$.sh
35086 echo "exit 0" >>conf$$.sh
35088 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35096 # Find out how to test for executable files. Don't use a zero-byte file,
35097 # as systems may use methods other than mode bits to determine executability.
35098 cat >conf$$.
file <<_ASEOF
35102 chmod +x conf$$.
file
35103 if test -x conf$$.
file >/dev
/null
2>&1; then
35104 ac_executable_p
="test -x"
35106 ac_executable_p
="test -f"
35110 # Extract the first word of "msgfmt", so it can be a program name with args.
35111 set dummy msgfmt
; ac_word
=$2
35112 echo "$as_me:$LINENO: checking for $ac_word" >&5
35113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35114 if test "${ac_cv_path_MSGFMT+set}" = set; then
35115 echo $ECHO_N "(cached) $ECHO_C" >&6
35119 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
35122 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
35123 for ac_dir
in $PATH; do
35125 test -z "$ac_dir" && ac_dir
=.
35126 for ac_exec_ext
in '' $ac_executable_extensions; do
35127 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
35128 echo "$as_me: trying $ac_dir/$ac_word..." >&5
35129 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
35130 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
35131 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
35138 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
35142 MSGFMT
="$ac_cv_path_MSGFMT"
35143 if test "$MSGFMT" != ":"; then
35144 echo "$as_me:$LINENO: result: $MSGFMT" >&5
35145 echo "${ECHO_T}$MSGFMT" >&6
35147 echo "$as_me:$LINENO: result: no" >&5
35148 echo "${ECHO_T}no" >&6
35151 # Extract the first word of "gmsgfmt", so it can be a program name with args.
35152 set dummy gmsgfmt
; ac_word
=$2
35153 echo "$as_me:$LINENO: checking for $ac_word" >&5
35154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35155 if test "${ac_cv_path_GMSGFMT+set}" = set; then
35156 echo $ECHO_N "(cached) $ECHO_C" >&6
35160 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
35163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35164 for as_dir
in $PATH
35167 test -z "$as_dir" && as_dir
=.
35168 for ac_exec_ext
in '' $ac_executable_extensions; do
35169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35170 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
35171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35177 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
35181 GMSGFMT
=$ac_cv_path_GMSGFMT
35183 if test -n "$GMSGFMT"; then
35184 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
35185 echo "${ECHO_T}$GMSGFMT" >&6
35187 echo "$as_me:$LINENO: result: no" >&5
35188 echo "${ECHO_T}no" >&6
35193 # Prepare PATH_SEPARATOR.
35194 # The user is always right.
35195 if test "${PATH_SEPARATOR+set}" != set; then
35196 echo "#! /bin/sh" >conf$$.sh
35197 echo "exit 0" >>conf$$.sh
35199 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35207 # Find out how to test for executable files. Don't use a zero-byte file,
35208 # as systems may use methods other than mode bits to determine executability.
35209 cat >conf$$.
file <<_ASEOF
35213 chmod +x conf$$.
file
35214 if test -x conf$$.
file >/dev
/null
2>&1; then
35215 ac_executable_p
="test -x"
35217 ac_executable_p
="test -f"
35221 # Extract the first word of "xgettext", so it can be a program name with args.
35222 set dummy xgettext
; ac_word
=$2
35223 echo "$as_me:$LINENO: checking for $ac_word" >&5
35224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35225 if test "${ac_cv_path_XGETTEXT+set}" = set; then
35226 echo $ECHO_N "(cached) $ECHO_C" >&6
35228 case "$XGETTEXT" in
35230 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
35233 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
35234 for ac_dir
in $PATH; do
35236 test -z "$ac_dir" && ac_dir
=.
35237 for ac_exec_ext
in '' $ac_executable_extensions; do
35238 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
35239 echo "$as_me: trying $ac_dir/$ac_word..." >&5
35240 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
35241 (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
35242 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
35249 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
35253 XGETTEXT
="$ac_cv_path_XGETTEXT"
35254 if test "$XGETTEXT" != ":"; then
35255 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
35256 echo "${ECHO_T}$XGETTEXT" >&6
35258 echo "$as_me:$LINENO: result: no" >&5
35259 echo "${ECHO_T}no" >&6
35265 # Prepare PATH_SEPARATOR.
35266 # The user is always right.
35267 if test "${PATH_SEPARATOR+set}" != set; then
35268 echo "#! /bin/sh" >conf$$.sh
35269 echo "exit 0" >>conf$$.sh
35271 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
35279 # Find out how to test for executable files. Don't use a zero-byte file,
35280 # as systems may use methods other than mode bits to determine executability.
35281 cat >conf$$.
file <<_ASEOF
35285 chmod +x conf$$.
file
35286 if test -x conf$$.
file >/dev
/null
2>&1; then
35287 ac_executable_p
="test -x"
35289 ac_executable_p
="test -f"
35293 # Extract the first word of "msgmerge", so it can be a program name with args.
35294 set dummy msgmerge
; ac_word
=$2
35295 echo "$as_me:$LINENO: checking for $ac_word" >&5
35296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35297 if test "${ac_cv_path_MSGMERGE+set}" = set; then
35298 echo $ECHO_N "(cached) $ECHO_C" >&6
35300 case "$MSGMERGE" in
35302 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
35305 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
35306 for ac_dir
in $PATH; do
35308 test -z "$ac_dir" && ac_dir
=.
35309 for ac_exec_ext
in '' $ac_executable_extensions; do
35310 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
35311 echo "$as_me: trying $ac_dir/$ac_word..." >&5
35312 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
35313 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
35320 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
35324 MSGMERGE
="$ac_cv_path_MSGMERGE"
35325 if test "$MSGMERGE" != ":"; then
35326 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
35327 echo "${ECHO_T}$MSGMERGE" >&6
35329 echo "$as_me:$LINENO: result: no" >&5
35330 echo "${ECHO_T}no" >&6
35334 if test "$GMSGFMT" != ":"; then
35335 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
35336 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
35339 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
35340 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
35341 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
35346 if test "$XGETTEXT" != ":"; then
35347 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
35348 (if $XGETTEXT --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
35351 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
35352 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
35358 ac_config_commands
="$ac_config_commands default-1"
35362 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2 or newer" >&5
35363 echo $ECHO_N "checking whether we are using the GNU C Library 2 or newer... $ECHO_C" >&6
35364 if test "${ac_cv_gnu_library_2+set}" = set; then
35365 echo $ECHO_N "(cached) $ECHO_C" >&6
35367 cat >conftest.
$ac_ext <<_ACEOF
35370 cat confdefs.h
>>conftest.
$ac_ext
35371 cat >>conftest.
$ac_ext <<_ACEOF
35372 /* end confdefs.h. */
35374 #include <features.h>
35375 #ifdef __GNU_LIBRARY__
35376 #if (__GLIBC__ >= 2)
35382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35383 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
35384 ac_cv_gnu_library_2
=yes
35386 ac_cv_gnu_library_2
=no
35393 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2" >&5
35394 echo "${ECHO_T}$ac_cv_gnu_library_2" >&6
35396 GLIBC2
="$ac_cv_gnu_library_2"
35399 if test -n "$ac_tool_prefix"; then
35400 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
35401 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
35402 echo "$as_me:$LINENO: checking for $ac_word" >&5
35403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35404 if test "${ac_cv_prog_RANLIB+set}" = set; then
35405 echo $ECHO_N "(cached) $ECHO_C" >&6
35407 if test -n "$RANLIB"; then
35408 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
35410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35411 for as_dir
in $PATH
35414 test -z "$as_dir" && as_dir
=.
35415 for ac_exec_ext
in '' $ac_executable_extensions; do
35416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35417 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
35418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35426 RANLIB
=$ac_cv_prog_RANLIB
35427 if test -n "$RANLIB"; then
35428 echo "$as_me:$LINENO: result: $RANLIB" >&5
35429 echo "${ECHO_T}$RANLIB" >&6
35431 echo "$as_me:$LINENO: result: no" >&5
35432 echo "${ECHO_T}no" >&6
35436 if test -z "$ac_cv_prog_RANLIB"; then
35437 ac_ct_RANLIB
=$RANLIB
35438 # Extract the first word of "ranlib", so it can be a program name with args.
35439 set dummy ranlib
; ac_word
=$2
35440 echo "$as_me:$LINENO: checking for $ac_word" >&5
35441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35442 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
35443 echo $ECHO_N "(cached) $ECHO_C" >&6
35445 if test -n "$ac_ct_RANLIB"; then
35446 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
35448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35449 for as_dir
in $PATH
35452 test -z "$as_dir" && as_dir
=.
35453 for ac_exec_ext
in '' $ac_executable_extensions; do
35454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35455 ac_cv_prog_ac_ct_RANLIB
="ranlib"
35456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35462 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
35465 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
35466 if test -n "$ac_ct_RANLIB"; then
35467 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
35468 echo "${ECHO_T}$ac_ct_RANLIB" >&6
35470 echo "$as_me:$LINENO: result: no" >&5
35471 echo "${ECHO_T}no" >&6
35474 RANLIB
=$ac_ct_RANLIB
35476 RANLIB
="$ac_cv_prog_RANLIB"
35479 echo "$as_me:$LINENO: checking for off_t" >&5
35480 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
35481 if test "${ac_cv_type_off_t+set}" = set; then
35482 echo $ECHO_N "(cached) $ECHO_C" >&6
35484 cat >conftest.
$ac_ext <<_ACEOF
35487 cat confdefs.h
>>conftest.
$ac_ext
35488 cat >>conftest.
$ac_ext <<_ACEOF
35489 /* end confdefs.h. */
35490 $ac_includes_default
35496 if (sizeof (off_t))
35502 rm -f conftest.
$ac_objext
35503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35504 (eval $ac_compile) 2>conftest.er1
35506 grep -v '^ *+' conftest.er1
>conftest.err
35508 cat conftest.err
>&5
35509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35510 (exit $ac_status); } &&
35511 { ac_try
='test -z "$ac_c_werror_flag"
35512 || test ! -s conftest.err'
35513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35514 (eval $ac_try) 2>&5
35516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35517 (exit $ac_status); }; } &&
35518 { ac_try
='test -s conftest.$ac_objext'
35519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35520 (eval $ac_try) 2>&5
35522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35523 (exit $ac_status); }; }; then
35524 ac_cv_type_off_t
=yes
35526 echo "$as_me: failed program was:" >&5
35527 sed 's/^/| /' conftest.
$ac_ext >&5
35529 ac_cv_type_off_t
=no
35531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35533 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35534 echo "${ECHO_T}$ac_cv_type_off_t" >&6
35535 if test $ac_cv_type_off_t = yes; then
35539 cat >>confdefs.h
<<_ACEOF
35546 echo "$as_me:$LINENO: checking for wchar_t" >&5
35547 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
35548 if test "${gt_cv_c_wchar_t+set}" = set; then
35549 echo $ECHO_N "(cached) $ECHO_C" >&6
35551 cat >conftest.
$ac_ext <<_ACEOF
35554 cat confdefs.h
>>conftest.
$ac_ext
35555 cat >>conftest.
$ac_ext <<_ACEOF
35556 /* end confdefs.h. */
35557 #include <stddef.h>
35558 wchar_t foo = (wchar_t)'\0';
35567 rm -f conftest.
$ac_objext
35568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35569 (eval $ac_compile) 2>conftest.er1
35571 grep -v '^ *+' conftest.er1
>conftest.err
35573 cat conftest.err
>&5
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); } &&
35576 { ac_try
='test -z "$ac_c_werror_flag"
35577 || test ! -s conftest.err'
35578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35579 (eval $ac_try) 2>&5
35581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35582 (exit $ac_status); }; } &&
35583 { ac_try
='test -s conftest.$ac_objext'
35584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35585 (eval $ac_try) 2>&5
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); }; }; then
35589 gt_cv_c_wchar_t
=yes
35591 echo "$as_me: failed program was:" >&5
35592 sed 's/^/| /' conftest.
$ac_ext >&5
35596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35598 echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
35599 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6
35600 if test $gt_cv_c_wchar_t = yes; then
35602 cat >>confdefs.h
<<\_ACEOF
35603 #define HAVE_WCHAR_T 1
35609 echo "$as_me:$LINENO: checking for wint_t" >&5
35610 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6
35611 if test "${gt_cv_c_wint_t+set}" = set; then
35612 echo $ECHO_N "(cached) $ECHO_C" >&6
35614 cat >conftest.
$ac_ext <<_ACEOF
35617 cat confdefs.h
>>conftest.
$ac_ext
35618 cat >>conftest.
$ac_ext <<_ACEOF
35619 /* end confdefs.h. */
35621 wint_t foo = (wchar_t)'\0';
35630 rm -f conftest.
$ac_objext
35631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35632 (eval $ac_compile) 2>conftest.er1
35634 grep -v '^ *+' conftest.er1
>conftest.err
35636 cat conftest.err
>&5
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); } &&
35639 { ac_try
='test -z "$ac_c_werror_flag"
35640 || test ! -s conftest.err'
35641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35642 (eval $ac_try) 2>&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; } &&
35646 { ac_try
='test -s conftest.$ac_objext'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; }; then
35654 echo "$as_me: failed program was:" >&5
35655 sed 's/^/| /' conftest.
$ac_ext >&5
35659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35661 echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
35662 echo "${ECHO_T}$gt_cv_c_wint_t" >&6
35663 if test $gt_cv_c_wint_t = yes; then
35665 cat >>confdefs.h
<<\_ACEOF
35666 #define HAVE_WINT_T 1
35674 echo "$as_me:$LINENO: checking for intmax_t" >&5
35675 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
35676 if test "${gt_cv_c_intmax_t+set}" = set; then
35677 echo $ECHO_N "(cached) $ECHO_C" >&6
35679 cat >conftest.
$ac_ext <<_ACEOF
35682 cat confdefs.h
>>conftest.
$ac_ext
35683 cat >>conftest.
$ac_ext <<_ACEOF
35684 /* end confdefs.h. */
35686 #include <stddef.h>
35687 #include <stdlib.h>
35688 #if HAVE_STDINT_H_WITH_UINTMAX
35689 #include <stdint.h>
35691 #if HAVE_INTTYPES_H_WITH_UINTMAX
35692 #include <inttypes.h>
35703 rm -f conftest.
$ac_objext
35704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35705 (eval $ac_compile) 2>conftest.er1
35707 grep -v '^ *+' conftest.er1
>conftest.err
35709 cat conftest.err
>&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); } &&
35712 { ac_try
='test -z "$ac_c_werror_flag"
35713 || test ! -s conftest.err'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; } &&
35719 { ac_try
='test -s conftest.$ac_objext'
35720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35721 (eval $ac_try) 2>&5
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); }; }; then
35725 gt_cv_c_intmax_t
=yes
35727 echo "$as_me: failed program was:" >&5
35728 sed 's/^/| /' conftest.
$ac_ext >&5
35730 gt_cv_c_intmax_t
=no
35732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35734 echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
35735 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6
35736 if test $gt_cv_c_intmax_t = yes; then
35738 cat >>confdefs.h
<<\_ACEOF
35739 #define HAVE_INTMAX_T 1
35746 echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
35747 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6
35748 if test "${gt_cv_func_printf_posix+set}" = set; then
35749 echo $ECHO_N "(cached) $ECHO_C" >&6
35752 if test "$cross_compiling" = yes; then
35754 cat >conftest.
$ac_ext <<_ACEOF
35757 cat confdefs.h
>>conftest.
$ac_ext
35758 cat >>conftest.
$ac_ext <<_ACEOF
35759 /* end confdefs.h. */
35761 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
35766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35767 $EGREP "notposix" >/dev
/null
2>&1; then
35768 gt_cv_func_printf_posix
="guessing no"
35770 gt_cv_func_printf_posix
="guessing yes"
35776 cat >conftest.
$ac_ext <<_ACEOF
35779 cat confdefs.h
>>conftest.
$ac_ext
35780 cat >>conftest.
$ac_ext <<_ACEOF
35781 /* end confdefs.h. */
35784 #include <string.h>
35785 /* The string "%2$d %1$d", with dollar characters protected from the shell's
35786 dollar expansion (possibly an autoconf bug). */
35787 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
35788 static char buf[100];
35791 sprintf (buf, format, 33, 55);
35792 return (strcmp (buf, "55 33") != 0);
35795 rm -f conftest
$ac_exeext
35796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35797 (eval $ac_link) 2>&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35802 (eval $ac_try) 2>&5
35804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35805 (exit $ac_status); }; }; then
35806 gt_cv_func_printf_posix
=yes
35808 echo "$as_me: program exited with status $ac_status" >&5
35809 echo "$as_me: failed program was:" >&5
35810 sed 's/^/| /' conftest.
$ac_ext >&5
35812 ( exit $ac_status )
35813 gt_cv_func_printf_posix
=no
35815 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
35819 echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
35820 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6
35821 case $gt_cv_func_printf_posix in
35824 cat >>confdefs.h
<<\_ACEOF
35825 #define HAVE_POSIX_PRINTF 1
35833 for ac_header
in stdlib.h unistd.h
35835 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35837 echo "$as_me:$LINENO: checking for $ac_header" >&5
35838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35840 echo $ECHO_N "(cached) $ECHO_C" >&6
35842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35845 # Is the header compilable?
35846 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35848 cat >conftest.
$ac_ext <<_ACEOF
35851 cat confdefs.h
>>conftest.
$ac_ext
35852 cat >>conftest.
$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854 $ac_includes_default
35855 #include <$ac_header>
35857 rm -f conftest.
$ac_objext
35858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35859 (eval $ac_compile) 2>conftest.er1
35861 grep -v '^ *+' conftest.er1
>conftest.err
35863 cat conftest.err
>&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); } &&
35866 { ac_try
='test -z "$ac_c_werror_flag"
35867 || test ! -s conftest.err'
35868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35869 (eval $ac_try) 2>&5
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); }; } &&
35873 { ac_try
='test -s conftest.$ac_objext'
35874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35875 (eval $ac_try) 2>&5
35877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35878 (exit $ac_status); }; }; then
35879 ac_header_compiler
=yes
35881 echo "$as_me: failed program was:" >&5
35882 sed 's/^/| /' conftest.
$ac_ext >&5
35884 ac_header_compiler
=no
35886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
35887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35888 echo "${ECHO_T}$ac_header_compiler" >&6
35890 # Is the header present?
35891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35893 cat >conftest.
$ac_ext <<_ACEOF
35896 cat confdefs.h
>>conftest.
$ac_ext
35897 cat >>conftest.
$ac_ext <<_ACEOF
35898 /* end confdefs.h. */
35899 #include <$ac_header>
35901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35902 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35904 grep -v '^ *+' conftest.er1
>conftest.err
35906 cat conftest.err
>&5
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); } >/dev
/null
; then
35909 if test -s conftest.err
; then
35910 ac_cpp_err
=$ac_c_preproc_warn_flag
35911 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
35918 if test -z "$ac_cpp_err"; then
35919 ac_header_preproc
=yes
35921 echo "$as_me: failed program was:" >&5
35922 sed 's/^/| /' conftest.
$ac_ext >&5
35924 ac_header_preproc
=no
35926 rm -f conftest.err conftest.
$ac_ext
35927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35928 echo "${ECHO_T}$ac_header_preproc" >&6
35930 # So? What about this header?
35931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
35936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
35937 ac_header_preproc
=yes
35940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
35945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
35946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
35947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
35948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35954 ## ------------------------------------------ ##
35955 ## Report this to the AC_PACKAGE_NAME lists. ##
35956 ## ------------------------------------------ ##
35959 sed "s/^/$as_me: WARNING: /" >&2
35962 echo "$as_me:$LINENO: checking for $ac_header" >&5
35963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35965 echo $ECHO_N "(cached) $ECHO_C" >&6
35967 eval "$as_ac_Header=\$ac_header_preproc"
35969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35974 cat >>confdefs.h
<<_ACEOF
35975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35983 for ac_func
in getpagesize
35985 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35986 echo "$as_me:$LINENO: checking for $ac_func" >&5
35987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35988 if eval "test \"\${$as_ac_var+set}\" = set"; then
35989 echo $ECHO_N "(cached) $ECHO_C" >&6
35991 cat >conftest.
$ac_ext <<_ACEOF
35994 cat confdefs.h
>>conftest.
$ac_ext
35995 cat >>conftest.
$ac_ext <<_ACEOF
35996 /* end confdefs.h. */
35997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35999 #define $ac_func innocuous_$ac_func
36001 /* System header to define __stub macros and hopefully few prototypes,
36002 which can conflict with char $ac_func (); below.
36003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36004 <limits.h> exists even on freestanding compilers. */
36007 # include <limits.h>
36009 # include <assert.h>
36014 /* Override any gcc2 internal prototype to avoid an error. */
36019 /* We use char because int might match the return type of a gcc2
36020 builtin and then its argument prototype would still apply. */
36022 /* The GNU C library defines this for functions which it implements
36023 to always fail with ENOSYS. Some functions are actually named
36024 something starting with __ and the normal name is an alias. */
36025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36028 char (*f) () = $ac_func;
36037 return f != $ac_func;
36042 rm -f conftest.
$ac_objext conftest
$ac_exeext
36043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36044 (eval $ac_link) 2>conftest.er1
36046 grep -v '^ *+' conftest.er1
>conftest.err
36048 cat conftest.err
>&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); } &&
36051 { ac_try
='test -z "$ac_c_werror_flag"
36052 || test ! -s conftest.err'
36053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36054 (eval $ac_try) 2>&5
36056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36057 (exit $ac_status); }; } &&
36058 { ac_try
='test -s conftest$ac_exeext'
36059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36060 (eval $ac_try) 2>&5
36062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36063 (exit $ac_status); }; }; then
36064 eval "$as_ac_var=yes"
36066 echo "$as_me: failed program was:" >&5
36067 sed 's/^/| /' conftest.
$ac_ext >&5
36069 eval "$as_ac_var=no"
36071 rm -f conftest.err conftest.
$ac_objext \
36072 conftest
$ac_exeext conftest.
$ac_ext
36074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36076 if test `eval echo '${'$as_ac_var'}'` = yes; then
36077 cat >>confdefs.h
<<_ACEOF
36078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36084 echo "$as_me:$LINENO: checking for working mmap" >&5
36085 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
36086 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
36087 echo $ECHO_N "(cached) $ECHO_C" >&6
36089 if test "$cross_compiling" = yes; then
36090 ac_cv_func_mmap_fixed_mapped
=no
36092 cat >conftest.
$ac_ext <<_ACEOF
36095 cat confdefs.h
>>conftest.
$ac_ext
36096 cat >>conftest.
$ac_ext <<_ACEOF
36097 /* end confdefs.h. */
36098 $ac_includes_default
36099 /* malloc might have been renamed as rpl_malloc. */
36102 /* Thanks to Mike Haertel and Jim Avera for this test.
36103 Here is a matrix of mmap possibilities:
36104 mmap private not fixed
36105 mmap private fixed at somewhere currently unmapped
36106 mmap private fixed at somewhere already mapped
36107 mmap shared not fixed
36108 mmap shared fixed at somewhere currently unmapped
36109 mmap shared fixed at somewhere already mapped
36110 For private mappings, we should verify that changes cannot be read()
36111 back from the file, nor mmap's back from the file at a different
36112 address. (There have been systems where private was not correctly
36113 implemented like the infamous i386 svr4.0, and systems where the
36114 VM page cache was not coherent with the file system buffer cache
36115 like early versions of FreeBSD and possibly contemporary NetBSD.)
36116 For shared mappings, we should conversely verify that changes get
36117 propagated back to all the places they're supposed to be.
36119 Grep wants private fixed already mapped.
36120 The main things grep needs to know about mmap are:
36121 * does it exist and is it safe to write into the mmap'd area
36122 * how to use it (BSD variants) */
36125 #include <sys/mman.h>
36127 #if !STDC_HEADERS && !HAVE_STDLIB_H
36131 /* This mess was copied from the GNU getpagesize.h. */
36132 #if !HAVE_GETPAGESIZE
36133 /* Assume that all systems that can run configure have sys/param.h. */
36134 # if !HAVE_SYS_PARAM_H
36135 # define HAVE_SYS_PARAM_H 1
36138 # ifdef _SC_PAGESIZE
36139 # define getpagesize() sysconf(_SC_PAGESIZE)
36140 # else /* no _SC_PAGESIZE */
36141 # if HAVE_SYS_PARAM_H
36142 # include <sys/param.h>
36143 # ifdef EXEC_PAGESIZE
36144 # define getpagesize() EXEC_PAGESIZE
36145 # else /* no EXEC_PAGESIZE */
36147 # define getpagesize() NBPG * CLSIZE
36150 # endif /* no CLSIZE */
36151 # else /* no NBPG */
36153 # define getpagesize() NBPC
36154 # else /* no NBPC */
36156 # define getpagesize() PAGESIZE
36157 # endif /* PAGESIZE */
36158 # endif /* no NBPC */
36159 # endif /* no NBPG */
36160 # endif /* no EXEC_PAGESIZE */
36161 # else /* no HAVE_SYS_PARAM_H */
36162 # define getpagesize() 8192 /* punt totally */
36163 # endif /* no HAVE_SYS_PARAM_H */
36164 # endif /* no _SC_PAGESIZE */
36166 #endif /* no HAVE_GETPAGESIZE */
36171 char *data, *data2, *data3;
36175 pagesize = getpagesize ();
36177 /* First, make a file with some known garbage in it. */
36178 data = (char *) malloc (pagesize);
36181 for (i = 0; i < pagesize; ++i)
36182 *(data + i) = rand ();
36184 fd = creat ("conftest.mmap", 0600);
36187 if (write (fd, data, pagesize) != pagesize)
36191 /* Next, try to mmap the file at a fixed address which already has
36192 something else allocated at it. If we can, also make sure that
36193 we see the same garbage. */
36194 fd = open ("conftest.mmap", O_RDWR);
36197 data2 = (char *) malloc (2 * pagesize);
36200 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
36201 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
36202 MAP_PRIVATE | MAP_FIXED, fd, 0L))
36204 for (i = 0; i < pagesize; ++i)
36205 if (*(data + i) != *(data2 + i))
36208 /* Finally, make sure that changes to the mapped area do not
36209 percolate back to the file as seen by read(). (This is a bug on
36210 some variants of i386 svr4.0.) */
36211 for (i = 0; i < pagesize; ++i)
36212 *(data2 + i) = *(data2 + i) + 1;
36213 data3 = (char *) malloc (pagesize);
36216 if (read (fd, data3, pagesize) != pagesize)
36218 for (i = 0; i < pagesize; ++i)
36219 if (*(data + i) != *(data3 + i))
36225 rm -f conftest
$ac_exeext
36226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36227 (eval $ac_link) 2>&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36232 (eval $ac_try) 2>&5
36234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36235 (exit $ac_status); }; }; then
36236 ac_cv_func_mmap_fixed_mapped
=yes
36238 echo "$as_me: program exited with status $ac_status" >&5
36239 echo "$as_me: failed program was:" >&5
36240 sed 's/^/| /' conftest.
$ac_ext >&5
36242 ( exit $ac_status )
36243 ac_cv_func_mmap_fixed_mapped
=no
36245 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36248 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
36249 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
36250 if test $ac_cv_func_mmap_fixed_mapped = yes; then
36252 cat >>confdefs.h
<<\_ACEOF
36253 #define HAVE_MMAP 1
36257 rm -f conftest.mmap
36260 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
36261 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
36262 if test "${ac_cv_gnu_library_2_1+set}" = set; then
36263 echo $ECHO_N "(cached) $ECHO_C" >&6
36265 cat >conftest.
$ac_ext <<_ACEOF
36268 cat confdefs.h
>>conftest.
$ac_ext
36269 cat >>conftest.
$ac_ext <<_ACEOF
36270 /* end confdefs.h. */
36272 #include <features.h>
36273 #ifdef __GNU_LIBRARY__
36274 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
36280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36281 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
36282 ac_cv_gnu_library_2_1
=yes
36284 ac_cv_gnu_library_2_1
=no
36291 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
36292 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
36294 GLIBC21
="$ac_cv_gnu_library_2_1"
36299 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
36300 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
36301 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
36302 echo $ECHO_N "(cached) $ECHO_C" >&6
36305 if test "$cross_compiling" = yes; then
36307 # Guess based on the CPU.
36308 case "$host_cpu" in
36309 alpha
* | i3456786 | m68k | s390
*)
36310 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
36312 gt_cv_int_divbyzero_sigfpe
="guessing no";;
36316 cat >conftest.
$ac_ext <<_ACEOF
36319 cat confdefs.h
>>conftest.
$ac_ext
36320 cat >>conftest.
$ac_ext <<_ACEOF
36321 /* end confdefs.h. */
36323 #include <stdlib.h>
36324 #include <signal.h>
36328 sigfpe_handler (int sig)
36330 sigfpe_handler (sig) int sig;
36333 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
36334 exit (sig != SIGFPE);
36344 signal (SIGFPE, sigfpe_handler);
36345 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
36346 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
36347 signal (SIGTRAP, sigfpe_handler);
36349 /* Linux/SPARC yields signal SIGILL. */
36350 #if defined (__sparc__) && defined (__linux__)
36351 signal (SIGILL, sigfpe_handler);
36360 rm -f conftest
$ac_exeext
36361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36362 (eval $ac_link) 2>&5
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36367 (eval $ac_try) 2>&5
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); }; }; then
36371 gt_cv_int_divbyzero_sigfpe
=yes
36373 echo "$as_me: program exited with status $ac_status" >&5
36374 echo "$as_me: failed program was:" >&5
36375 sed 's/^/| /' conftest.
$ac_ext >&5
36377 ( exit $ac_status )
36378 gt_cv_int_divbyzero_sigfpe
=no
36380 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36384 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
36385 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
36386 case "$gt_cv_int_divbyzero_sigfpe" in
36391 cat >>confdefs.h
<<_ACEOF
36392 #define INTDIV0_RAISES_SIGFPE $value
36397 echo "$as_me:$LINENO: checking for inttypes.h" >&5
36398 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
36399 if test "${gt_cv_header_inttypes_h+set}" = set; then
36400 echo $ECHO_N "(cached) $ECHO_C" >&6
36403 cat >conftest.
$ac_ext <<_ACEOF
36406 cat confdefs.h
>>conftest.
$ac_ext
36407 cat >>conftest.
$ac_ext <<_ACEOF
36408 /* end confdefs.h. */
36409 #include <sys/types.h>
36410 #include <inttypes.h>
36419 rm -f conftest.
$ac_objext
36420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36421 (eval $ac_compile) 2>conftest.er1
36423 grep -v '^ *+' conftest.er1
>conftest.err
36425 cat conftest.err
>&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); } &&
36428 { ac_try
='test -z "$ac_c_werror_flag"
36429 || test ! -s conftest.err'
36430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36431 (eval $ac_try) 2>&5
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); }; } &&
36435 { ac_try
='test -s conftest.$ac_objext'
36436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36437 (eval $ac_try) 2>&5
36439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440 (exit $ac_status); }; }; then
36441 gt_cv_header_inttypes_h
=yes
36443 echo "$as_me: failed program was:" >&5
36444 sed 's/^/| /' conftest.
$ac_ext >&5
36446 gt_cv_header_inttypes_h
=no
36448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36451 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
36452 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
36453 if test $gt_cv_header_inttypes_h = yes; then
36455 cat >>confdefs.h
<<_ACEOF
36456 #define HAVE_INTTYPES_H 1
36463 if test $gt_cv_header_inttypes_h = yes; then
36464 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
36465 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
36466 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
36467 echo $ECHO_N "(cached) $ECHO_C" >&6
36470 cat >conftest.
$ac_ext <<_ACEOF
36473 cat confdefs.h
>>conftest.
$ac_ext
36474 cat >>conftest.
$ac_ext <<_ACEOF
36475 /* end confdefs.h. */
36476 #include <inttypes.h>
36489 rm -f conftest.
$ac_objext
36490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36491 (eval $ac_compile) 2>conftest.er1
36493 grep -v '^ *+' conftest.er1
>conftest.err
36495 cat conftest.err
>&5
36496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497 (exit $ac_status); } &&
36498 { ac_try
='test -z "$ac_c_werror_flag"
36499 || test ! -s conftest.err'
36500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36501 (eval $ac_try) 2>&5
36503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504 (exit $ac_status); }; } &&
36505 { ac_try
='test -s conftest.$ac_objext'
36506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36507 (eval $ac_try) 2>&5
36509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510 (exit $ac_status); }; }; then
36511 gt_cv_inttypes_pri_broken
=no
36513 echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.
$ac_ext >&5
36516 gt_cv_inttypes_pri_broken
=yes
36518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
36521 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
36522 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
36524 if test "$gt_cv_inttypes_pri_broken" = yes; then
36526 cat >>confdefs.h
<<_ACEOF
36527 #define PRI_MACROS_BROKEN 1
36533 echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
36534 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6
36535 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
36536 echo $ECHO_N "(cached) $ECHO_C" >&6
36538 gt_save_CPPFLAGS
="$CPPFLAGS"
36539 CPPFLAGS
="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
36540 gt_save_LIBS
="$LIBS"
36541 LIBS
="$LIBS -framework CoreFoundation"
36542 cat >conftest.
$ac_ext <<_ACEOF
36545 cat confdefs.h
>>conftest.
$ac_ext
36546 cat >>conftest.
$ac_ext <<_ACEOF
36547 /* end confdefs.h. */
36548 #include <CFPreferences.h>
36552 CFPreferencesCopyAppValue(NULL, NULL)
36557 rm -f conftest.
$ac_objext conftest
$ac_exeext
36558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36559 (eval $ac_link) 2>conftest.er1
36561 grep -v '^ *+' conftest.er1
>conftest.err
36563 cat conftest.err
>&5
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); } &&
36566 { ac_try
='test -z "$ac_c_werror_flag"
36567 || test ! -s conftest.err'
36568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569 (eval $ac_try) 2>&5
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); }; } &&
36573 { ac_try
='test -s conftest$ac_exeext'
36574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36575 (eval $ac_try) 2>&5
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); }; }; then
36579 gt_cv_func_CFPreferencesCopyAppValue
=yes
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.
$ac_ext >&5
36584 gt_cv_func_CFPreferencesCopyAppValue
=no
36586 rm -f conftest.err conftest.
$ac_objext \
36587 conftest
$ac_exeext conftest.
$ac_ext
36588 CPPFLAGS
="$gt_save_CPPFLAGS"
36589 LIBS
="$gt_save_LIBS"
36591 echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
36592 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6
36593 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
36595 cat >>confdefs.h
<<\_ACEOF
36596 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
36600 echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
36601 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6
36602 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
36603 echo $ECHO_N "(cached) $ECHO_C" >&6
36605 gt_save_CPPFLAGS
="$CPPFLAGS"
36606 CPPFLAGS
="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
36607 gt_save_LIBS
="$LIBS"
36608 LIBS
="$LIBS -framework CoreFoundation"
36609 cat >conftest.
$ac_ext <<_ACEOF
36612 cat confdefs.h
>>conftest.
$ac_ext
36613 cat >>conftest.
$ac_ext <<_ACEOF
36614 /* end confdefs.h. */
36615 #include <CFLocale.h>
36619 CFLocaleCopyCurrent();
36624 rm -f conftest.
$ac_objext conftest
$ac_exeext
36625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36626 (eval $ac_link) 2>conftest.er1
36628 grep -v '^ *+' conftest.er1
>conftest.err
36630 cat conftest.err
>&5
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); } &&
36633 { ac_try
='test -z "$ac_c_werror_flag"
36634 || test ! -s conftest.err'
36635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36636 (eval $ac_try) 2>&5
36638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36639 (exit $ac_status); }; } &&
36640 { ac_try
='test -s conftest$ac_exeext'
36641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36642 (eval $ac_try) 2>&5
36644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645 (exit $ac_status); }; }; then
36646 gt_cv_func_CFLocaleCopyCurrent
=yes
36648 echo "$as_me: failed program was:" >&5
36649 sed 's/^/| /' conftest.
$ac_ext >&5
36651 gt_cv_func_CFLocaleCopyCurrent
=no
36653 rm -f conftest.err conftest.
$ac_objext \
36654 conftest
$ac_exeext conftest.
$ac_ext
36655 CPPFLAGS
="$gt_save_CPPFLAGS"
36656 LIBS
="$gt_save_LIBS"
36658 echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
36659 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6
36660 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
36662 cat >>confdefs.h
<<\_ACEOF
36663 #define HAVE_CFLOCALECOPYCURRENT 1
36668 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
36669 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
36674 if test "X$prefix" = "XNONE"; then
36675 acl_final_prefix
="$ac_default_prefix"
36677 acl_final_prefix
="$prefix"
36679 if test "X$exec_prefix" = "XNONE"; then
36680 acl_final_exec_prefix
='${prefix}'
36682 acl_final_exec_prefix
="$exec_prefix"
36684 acl_save_prefix
="$prefix"
36685 prefix
="$acl_final_prefix"
36686 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
36687 prefix
="$acl_save_prefix"
36691 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
36692 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
36693 if test "${acl_cv_rpath+set}" = set; then
36694 echo $ECHO_N "(cached) $ECHO_C" >&6
36697 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
36698 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
36700 rm -f .
/conftest.sh
36704 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
36705 echo "${ECHO_T}$acl_cv_rpath" >&6
36707 libext
="$acl_cv_libext"
36708 shlibext
="$acl_cv_shlibext"
36709 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
36710 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
36711 hardcode_direct
="$acl_cv_hardcode_direct"
36712 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
36713 # Check whether --enable-rpath or --disable-rpath was given.
36714 if test "${enable_rpath+set}" = set; then
36715 enableval
="$enable_rpath"
36729 acl_save_prefix
="$prefix"
36730 prefix
="$acl_final_prefix"
36731 acl_save_exec_prefix
="$exec_prefix"
36732 exec_prefix
="$acl_final_exec_prefix"
36734 eval additional_includedir
=\"$includedir\"
36735 eval additional_libdir
=\"$libdir\"
36737 exec_prefix
="$acl_save_exec_prefix"
36738 prefix
="$acl_save_prefix"
36741 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36742 if test "${with_libiconv_prefix+set}" = set; then
36743 withval
="$with_libiconv_prefix"
36745 if test "X$withval" = "Xno"; then
36748 if test "X$withval" = "X"; then
36750 acl_save_prefix
="$prefix"
36751 prefix
="$acl_final_prefix"
36752 acl_save_exec_prefix
="$exec_prefix"
36753 exec_prefix
="$acl_final_exec_prefix"
36755 eval additional_includedir
=\"$includedir\"
36756 eval additional_libdir
=\"$libdir\"
36758 exec_prefix
="$acl_save_exec_prefix"
36759 prefix
="$acl_save_prefix"
36762 additional_includedir
="$withval/include"
36763 additional_libdir
="$withval/lib"
36773 names_already_handled
=
36774 names_next_round
='iconv '
36775 while test -n "$names_next_round"; do
36776 names_this_round
="$names_next_round"
36778 for name
in $names_this_round; do
36780 for n
in $names_already_handled; do
36781 if test "$n" = "$name"; then
36782 already_handled
=yes
36786 if test -z "$already_handled"; then
36787 names_already_handled
="$names_already_handled $name"
36788 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
36789 eval value
=\"\
$HAVE_LIB$uppername\"
36790 if test -n "$value"; then
36791 if test "$value" = yes; then
36792 eval value
=\"\
$LIB$uppername\"
36793 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
36794 eval value
=\"\
$LTLIB$uppername\"
36795 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
36804 if test $use_additional = yes; then
36805 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
36806 found_dir
="$additional_libdir"
36807 found_so
="$additional_libdir/lib$name.$shlibext"
36808 if test -f "$additional_libdir/lib$name.la"; then
36809 found_la
="$additional_libdir/lib$name.la"
36812 if test -f "$additional_libdir/lib$name.$libext"; then
36813 found_dir
="$additional_libdir"
36814 found_a
="$additional_libdir/lib$name.$libext"
36815 if test -f "$additional_libdir/lib$name.la"; then
36816 found_la
="$additional_libdir/lib$name.la"
36821 if test "X$found_dir" = "X"; then
36822 for x
in $LDFLAGS $LTLIBICONV; do
36824 acl_save_prefix
="$prefix"
36825 prefix
="$acl_final_prefix"
36826 acl_save_exec_prefix
="$exec_prefix"
36827 exec_prefix
="$acl_final_exec_prefix"
36829 exec_prefix
="$acl_save_exec_prefix"
36830 prefix
="$acl_save_prefix"
36834 dir
=`echo "X$x" | sed -e 's/^X-L//'`
36835 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
36837 found_so
="$dir/lib$name.$shlibext"
36838 if test -f "$dir/lib$name.la"; then
36839 found_la
="$dir/lib$name.la"
36842 if test -f "$dir/lib$name.$libext"; then
36844 found_a
="$dir/lib$name.$libext"
36845 if test -f "$dir/lib$name.la"; then
36846 found_la
="$dir/lib$name.la"
36852 if test "X$found_dir" != "X"; then
36857 if test "X$found_dir" != "X"; then
36858 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
36859 if test "X$found_so" != "X"; then
36860 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
36861 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
36864 for x
in $ltrpathdirs; do
36865 if test "X$x" = "X$found_dir"; then
36870 if test -z "$haveit"; then
36871 ltrpathdirs
="$ltrpathdirs $found_dir"
36873 if test "$hardcode_direct" = yes; then
36874 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
36876 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
36877 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
36879 for x
in $rpathdirs; do
36880 if test "X$x" = "X$found_dir"; then
36885 if test -z "$haveit"; then
36886 rpathdirs
="$rpathdirs $found_dir"
36890 for x
in $LDFLAGS $LIBICONV; do
36892 acl_save_prefix
="$prefix"
36893 prefix
="$acl_final_prefix"
36894 acl_save_exec_prefix
="$exec_prefix"
36895 exec_prefix
="$acl_final_exec_prefix"
36897 exec_prefix
="$acl_save_exec_prefix"
36898 prefix
="$acl_save_prefix"
36900 if test "X$x" = "X-L$found_dir"; then
36905 if test -z "$haveit"; then
36906 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
36908 if test "$hardcode_minus_L" != no
; then
36909 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
36911 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
36917 if test "X$found_a" != "X"; then
36918 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
36920 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
36923 additional_includedir
=
36924 case "$found_dir" in
36926 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
36927 additional_includedir
="$basedir/include"
36930 if test "X$additional_includedir" != "X"; then
36931 if test "X$additional_includedir" != "X/usr/include"; then
36933 if test "X$additional_includedir" = "X/usr/local/include"; then
36934 if test -n "$GCC"; then
36936 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
36940 if test -z "$haveit"; then
36941 for x
in $CPPFLAGS $INCICONV; do
36943 acl_save_prefix
="$prefix"
36944 prefix
="$acl_final_prefix"
36945 acl_save_exec_prefix
="$exec_prefix"
36946 exec_prefix
="$acl_final_exec_prefix"
36948 exec_prefix
="$acl_save_exec_prefix"
36949 prefix
="$acl_save_prefix"
36951 if test "X$x" = "X-I$additional_includedir"; then
36956 if test -z "$haveit"; then
36957 if test -d "$additional_includedir"; then
36958 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
36964 if test -n "$found_la"; then
36965 save_libdir
="$libdir"
36966 case "$found_la" in
36967 */* |
*\\*) .
"$found_la" ;;
36968 *) .
"./$found_la" ;;
36970 libdir
="$save_libdir"
36971 for dep
in $dependency_libs; do
36974 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
36975 if test "X$additional_libdir" != "X/usr/lib"; then
36977 if test "X$additional_libdir" = "X/usr/local/lib"; then
36978 if test -n "$GCC"; then
36980 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
36984 if test -z "$haveit"; then
36986 for x
in $LDFLAGS $LIBICONV; do
36988 acl_save_prefix
="$prefix"
36989 prefix
="$acl_final_prefix"
36990 acl_save_exec_prefix
="$exec_prefix"
36991 exec_prefix
="$acl_final_exec_prefix"
36993 exec_prefix
="$acl_save_exec_prefix"
36994 prefix
="$acl_save_prefix"
36996 if test "X$x" = "X-L$additional_libdir"; then
37001 if test -z "$haveit"; then
37002 if test -d "$additional_libdir"; then
37003 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
37007 for x
in $LDFLAGS $LTLIBICONV; do
37009 acl_save_prefix
="$prefix"
37010 prefix
="$acl_final_prefix"
37011 acl_save_exec_prefix
="$exec_prefix"
37012 exec_prefix
="$acl_final_exec_prefix"
37014 exec_prefix
="$acl_save_exec_prefix"
37015 prefix
="$acl_save_prefix"
37017 if test "X$x" = "X-L$additional_libdir"; then
37022 if test -z "$haveit"; then
37023 if test -d "$additional_libdir"; then
37024 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
37031 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
37032 if test "$enable_rpath" != no
; then
37034 for x
in $rpathdirs; do
37035 if test "X$x" = "X$dir"; then
37040 if test -z "$haveit"; then
37041 rpathdirs
="$rpathdirs $dir"
37044 for x
in $ltrpathdirs; do
37045 if test "X$x" = "X$dir"; then
37050 if test -z "$haveit"; then
37051 ltrpathdirs
="$ltrpathdirs $dir"
37056 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
37059 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
37062 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
37063 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
37069 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
37070 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
37076 if test "X$rpathdirs" != "X"; then
37077 if test -n "$hardcode_libdir_separator"; then
37079 for found_dir
in $rpathdirs; do
37080 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
37082 acl_save_libdir
="$libdir"
37084 eval flag
=\"$hardcode_libdir_flag_spec\"
37085 libdir
="$acl_save_libdir"
37086 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
37088 for found_dir
in $rpathdirs; do
37089 acl_save_libdir
="$libdir"
37090 libdir
="$found_dir"
37091 eval flag
=\"$hardcode_libdir_flag_spec\"
37092 libdir
="$acl_save_libdir"
37093 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
37097 if test "X$ltrpathdirs" != "X"; then
37098 for found_dir
in $ltrpathdirs; do
37099 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
37110 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
37111 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
37112 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37115 cat >conftest.
$ac_ext <<_ACEOF
37118 cat confdefs.h
>>conftest.
$ac_ext
37119 cat >>conftest.
$ac_ext <<_ACEOF
37120 /* end confdefs.h. */
37121 $ac_includes_default
37125 if ((ptrdiff_t *) 0)
37127 if (sizeof (ptrdiff_t))
37133 rm -f conftest.
$ac_objext
37134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37135 (eval $ac_compile) 2>conftest.er1
37137 grep -v '^ *+' conftest.er1
>conftest.err
37139 cat conftest.err
>&5
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); } &&
37142 { ac_try
='test -z "$ac_c_werror_flag"
37143 || test ! -s conftest.err'
37144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37145 (eval $ac_try) 2>&5
37147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37148 (exit $ac_status); }; } &&
37149 { ac_try
='test -s conftest.$ac_objext'
37150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37151 (eval $ac_try) 2>&5
37153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154 (exit $ac_status); }; }; then
37155 ac_cv_type_ptrdiff_t
=yes
37157 echo "$as_me: failed program was:" >&5
37158 sed 's/^/| /' conftest.
$ac_ext >&5
37160 ac_cv_type_ptrdiff_t
=no
37162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37164 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
37165 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
37166 if test $ac_cv_type_ptrdiff_t = yes; then
37170 cat >>confdefs.h
<<\_ACEOF
37171 #define ptrdiff_t long
37187 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
37188 stdlib.h string.h unistd.h sys
/param.h
37190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37192 echo "$as_me:$LINENO: checking for $ac_header" >&5
37193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37195 echo $ECHO_N "(cached) $ECHO_C" >&6
37197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37200 # Is the header compilable?
37201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37203 cat >conftest.
$ac_ext <<_ACEOF
37206 cat confdefs.h
>>conftest.
$ac_ext
37207 cat >>conftest.
$ac_ext <<_ACEOF
37208 /* end confdefs.h. */
37209 $ac_includes_default
37210 #include <$ac_header>
37212 rm -f conftest.
$ac_objext
37213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37214 (eval $ac_compile) 2>conftest.er1
37216 grep -v '^ *+' conftest.er1
>conftest.err
37218 cat conftest.err
>&5
37219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37220 (exit $ac_status); } &&
37221 { ac_try
='test -z "$ac_c_werror_flag"
37222 || test ! -s conftest.err'
37223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37224 (eval $ac_try) 2>&5
37226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37227 (exit $ac_status); }; } &&
37228 { ac_try
='test -s conftest.$ac_objext'
37229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37230 (eval $ac_try) 2>&5
37232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37233 (exit $ac_status); }; }; then
37234 ac_header_compiler
=yes
37236 echo "$as_me: failed program was:" >&5
37237 sed 's/^/| /' conftest.
$ac_ext >&5
37239 ac_header_compiler
=no
37241 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37243 echo "${ECHO_T}$ac_header_compiler" >&6
37245 # Is the header present?
37246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37248 cat >conftest.
$ac_ext <<_ACEOF
37251 cat confdefs.h
>>conftest.
$ac_ext
37252 cat >>conftest.
$ac_ext <<_ACEOF
37253 /* end confdefs.h. */
37254 #include <$ac_header>
37256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37259 grep -v '^ *+' conftest.er1
>conftest.err
37261 cat conftest.err
>&5
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); } >/dev
/null
; then
37264 if test -s conftest.err
; then
37265 ac_cpp_err
=$ac_c_preproc_warn_flag
37266 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
37273 if test -z "$ac_cpp_err"; then
37274 ac_header_preproc
=yes
37276 echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.
$ac_ext >&5
37279 ac_header_preproc
=no
37281 rm -f conftest.err conftest.
$ac_ext
37282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37283 echo "${ECHO_T}$ac_header_preproc" >&6
37285 # So? What about this header?
37286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37292 ac_header_preproc
=yes
37295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37309 ## ------------------------------------------ ##
37310 ## Report this to the AC_PACKAGE_NAME lists. ##
37311 ## ------------------------------------------ ##
37314 sed "s/^/$as_me: WARNING: /" >&2
37317 echo "$as_me:$LINENO: checking for $ac_header" >&5
37318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37320 echo $ECHO_N "(cached) $ECHO_C" >&6
37322 eval "$as_ac_Header=\$ac_header_preproc"
37324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37329 cat >>confdefs.h
<<_ACEOF
37330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37360 for ac_func
in asprintf fwprintf getcwd getegid geteuid getgid getuid \
37361 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
37362 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
37365 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37366 echo "$as_me:$LINENO: checking for $ac_func" >&5
37367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37368 if eval "test \"\${$as_ac_var+set}\" = set"; then
37369 echo $ECHO_N "(cached) $ECHO_C" >&6
37371 cat >conftest.
$ac_ext <<_ACEOF
37374 cat confdefs.h
>>conftest.
$ac_ext
37375 cat >>conftest.
$ac_ext <<_ACEOF
37376 /* end confdefs.h. */
37377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37379 #define $ac_func innocuous_$ac_func
37381 /* System header to define __stub macros and hopefully few prototypes,
37382 which can conflict with char $ac_func (); below.
37383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37384 <limits.h> exists even on freestanding compilers. */
37387 # include <limits.h>
37389 # include <assert.h>
37394 /* Override any gcc2 internal prototype to avoid an error. */
37399 /* We use char because int might match the return type of a gcc2
37400 builtin and then its argument prototype would still apply. */
37402 /* The GNU C library defines this for functions which it implements
37403 to always fail with ENOSYS. Some functions are actually named
37404 something starting with __ and the normal name is an alias. */
37405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37408 char (*f) () = $ac_func;
37417 return f != $ac_func;
37422 rm -f conftest.
$ac_objext conftest
$ac_exeext
37423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37424 (eval $ac_link) 2>conftest.er1
37426 grep -v '^ *+' conftest.er1
>conftest.err
37428 cat conftest.err
>&5
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); } &&
37431 { ac_try
='test -z "$ac_c_werror_flag"
37432 || test ! -s conftest.err'
37433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37434 (eval $ac_try) 2>&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); }; } &&
37438 { ac_try
='test -s conftest$ac_exeext'
37439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37440 (eval $ac_try) 2>&5
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); }; }; then
37444 eval "$as_ac_var=yes"
37446 echo "$as_me: failed program was:" >&5
37447 sed 's/^/| /' conftest.
$ac_ext >&5
37449 eval "$as_ac_var=no"
37451 rm -f conftest.err conftest.
$ac_objext \
37452 conftest
$ac_exeext conftest.
$ac_ext
37454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37456 if test `eval echo '${'$as_ac_var'}'` = yes; then
37457 cat >>confdefs.h
<<_ACEOF
37458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37466 echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
37467 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6
37468 if test "${ac_cv_have_decl__snprintf+set}" = set; then
37469 echo $ECHO_N "(cached) $ECHO_C" >&6
37471 cat >conftest.
$ac_ext <<_ACEOF
37474 cat confdefs.h
>>conftest.
$ac_ext
37475 cat >>conftest.
$ac_ext <<_ACEOF
37476 /* end confdefs.h. */
37483 char *p = (char *) _snprintf;
37490 rm -f conftest.
$ac_objext
37491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37492 (eval $ac_compile) 2>conftest.er1
37494 grep -v '^ *+' conftest.er1
>conftest.err
37496 cat conftest.err
>&5
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); } &&
37499 { ac_try
='test -z "$ac_c_werror_flag"
37500 || test ! -s conftest.err'
37501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37502 (eval $ac_try) 2>&5
37504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505 (exit $ac_status); }; } &&
37506 { ac_try
='test -s conftest.$ac_objext'
37507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37508 (eval $ac_try) 2>&5
37510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37511 (exit $ac_status); }; }; then
37512 ac_cv_have_decl__snprintf
=yes
37514 echo "$as_me: failed program was:" >&5
37515 sed 's/^/| /' conftest.
$ac_ext >&5
37517 ac_cv_have_decl__snprintf
=no
37519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37521 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
37522 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6
37523 if test $ac_cv_have_decl__snprintf = yes; then
37529 cat >>confdefs.h
<<_ACEOF
37530 #define HAVE_DECL__SNPRINTF $gt_value
37535 echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
37536 echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6
37537 if test "${ac_cv_have_decl__snwprintf+set}" = set; then
37538 echo $ECHO_N "(cached) $ECHO_C" >&6
37540 cat >conftest.
$ac_ext <<_ACEOF
37543 cat confdefs.h
>>conftest.
$ac_ext
37544 cat >>conftest.
$ac_ext <<_ACEOF
37545 /* end confdefs.h. */
37552 char *p = (char *) _snwprintf;
37559 rm -f conftest.
$ac_objext
37560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37561 (eval $ac_compile) 2>conftest.er1
37563 grep -v '^ *+' conftest.er1
>conftest.err
37565 cat conftest.err
>&5
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); } &&
37568 { ac_try
='test -z "$ac_c_werror_flag"
37569 || test ! -s conftest.err'
37570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37571 (eval $ac_try) 2>&5
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); }; } &&
37575 { ac_try
='test -s conftest.$ac_objext'
37576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37577 (eval $ac_try) 2>&5
37579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580 (exit $ac_status); }; }; then
37581 ac_cv_have_decl__snwprintf
=yes
37583 echo "$as_me: failed program was:" >&5
37584 sed 's/^/| /' conftest.
$ac_ext >&5
37586 ac_cv_have_decl__snwprintf
=no
37588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37590 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
37591 echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6
37592 if test $ac_cv_have_decl__snwprintf = yes; then
37598 cat >>confdefs.h
<<_ACEOF
37599 #define HAVE_DECL__SNWPRINTF $gt_value
37605 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
37606 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
37607 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
37608 echo $ECHO_N "(cached) $ECHO_C" >&6
37610 cat >conftest.
$ac_ext <<_ACEOF
37613 cat confdefs.h
>>conftest.
$ac_ext
37614 cat >>conftest.
$ac_ext <<_ACEOF
37615 /* end confdefs.h. */
37621 #ifndef feof_unlocked
37622 char *p = (char *) feof_unlocked;
37629 rm -f conftest.
$ac_objext
37630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37631 (eval $ac_compile) 2>conftest.er1
37633 grep -v '^ *+' conftest.er1
>conftest.err
37635 cat conftest.err
>&5
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); } &&
37638 { ac_try
='test -z "$ac_c_werror_flag"
37639 || test ! -s conftest.err'
37640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37641 (eval $ac_try) 2>&5
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); }; } &&
37645 { ac_try
='test -s conftest.$ac_objext'
37646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37647 (eval $ac_try) 2>&5
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); }; }; then
37651 ac_cv_have_decl_feof_unlocked
=yes
37653 echo "$as_me: failed program was:" >&5
37654 sed 's/^/| /' conftest.
$ac_ext >&5
37656 ac_cv_have_decl_feof_unlocked
=no
37658 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37660 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
37661 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
37662 if test $ac_cv_have_decl_feof_unlocked = yes; then
37668 cat >>confdefs.h
<<_ACEOF
37669 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
37674 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
37675 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
37676 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
37677 echo $ECHO_N "(cached) $ECHO_C" >&6
37679 cat >conftest.
$ac_ext <<_ACEOF
37682 cat confdefs.h
>>conftest.
$ac_ext
37683 cat >>conftest.
$ac_ext <<_ACEOF
37684 /* end confdefs.h. */
37690 #ifndef fgets_unlocked
37691 char *p = (char *) fgets_unlocked;
37698 rm -f conftest.
$ac_objext
37699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37700 (eval $ac_compile) 2>conftest.er1
37702 grep -v '^ *+' conftest.er1
>conftest.err
37704 cat conftest.err
>&5
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); } &&
37707 { ac_try
='test -z "$ac_c_werror_flag"
37708 || test ! -s conftest.err'
37709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37710 (eval $ac_try) 2>&5
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); }; } &&
37714 { ac_try
='test -s conftest.$ac_objext'
37715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37716 (eval $ac_try) 2>&5
37718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37719 (exit $ac_status); }; }; then
37720 ac_cv_have_decl_fgets_unlocked
=yes
37722 echo "$as_me: failed program was:" >&5
37723 sed 's/^/| /' conftest.
$ac_ext >&5
37725 ac_cv_have_decl_fgets_unlocked
=no
37727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37729 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
37730 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
37731 if test $ac_cv_have_decl_fgets_unlocked = yes; then
37737 cat >>confdefs.h
<<_ACEOF
37738 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
37743 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
37744 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
37745 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
37746 echo $ECHO_N "(cached) $ECHO_C" >&6
37748 cat >conftest.
$ac_ext <<_ACEOF
37751 cat confdefs.h
>>conftest.
$ac_ext
37752 cat >>conftest.
$ac_ext <<_ACEOF
37753 /* end confdefs.h. */
37759 #ifndef getc_unlocked
37760 char *p = (char *) getc_unlocked;
37767 rm -f conftest.
$ac_objext
37768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37769 (eval $ac_compile) 2>conftest.er1
37771 grep -v '^ *+' conftest.er1
>conftest.err
37773 cat conftest.err
>&5
37774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37775 (exit $ac_status); } &&
37776 { ac_try
='test -z "$ac_c_werror_flag"
37777 || test ! -s conftest.err'
37778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37779 (eval $ac_try) 2>&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); }; } &&
37783 { ac_try
='test -s conftest.$ac_objext'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; }; then
37789 ac_cv_have_decl_getc_unlocked
=yes
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.
$ac_ext >&5
37794 ac_cv_have_decl_getc_unlocked
=no
37796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
37798 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
37799 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
37800 if test $ac_cv_have_decl_getc_unlocked = yes; then
37806 cat >>confdefs.h
<<_ACEOF
37807 #define HAVE_DECL_GETC_UNLOCKED $gt_value
37812 case $gt_cv_func_printf_posix in
37813 *yes) HAVE_POSIX_PRINTF
=1 ;;
37814 *) HAVE_POSIX_PRINTF
=0 ;;
37817 if test "$ac_cv_func_asprintf" = yes; then
37823 if test "$ac_cv_func_snprintf" = yes; then
37829 if test "$ac_cv_func_wprintf" = yes; then
37841 am_save_CPPFLAGS
="$CPPFLAGS"
37843 for element
in $INCICONV; do
37845 for x
in $CPPFLAGS; do
37847 acl_save_prefix
="$prefix"
37848 prefix
="$acl_final_prefix"
37849 acl_save_exec_prefix
="$exec_prefix"
37850 exec_prefix
="$acl_final_exec_prefix"
37852 exec_prefix
="$acl_save_exec_prefix"
37853 prefix
="$acl_save_prefix"
37855 if test "X$x" = "X$element"; then
37860 if test -z "$haveit"; then
37861 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
37866 echo "$as_me:$LINENO: checking for iconv" >&5
37867 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
37868 if test "${am_cv_func_iconv+set}" = set; then
37869 echo $ECHO_N "(cached) $ECHO_C" >&6
37872 am_cv_func_iconv
="no, consider installing GNU libiconv"
37874 cat >conftest.
$ac_ext <<_ACEOF
37877 cat confdefs.h
>>conftest.
$ac_ext
37878 cat >>conftest.
$ac_ext <<_ACEOF
37879 /* end confdefs.h. */
37880 #include <stdlib.h>
37885 iconv_t cd = iconv_open("","");
37886 iconv(cd,NULL,NULL,NULL,NULL);
37892 rm -f conftest.
$ac_objext conftest
$ac_exeext
37893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37894 (eval $ac_link) 2>conftest.er1
37896 grep -v '^ *+' conftest.er1
>conftest.err
37898 cat conftest.err
>&5
37899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37900 (exit $ac_status); } &&
37901 { ac_try
='test -z "$ac_c_werror_flag"
37902 || test ! -s conftest.err'
37903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37904 (eval $ac_try) 2>&5
37906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37907 (exit $ac_status); }; } &&
37908 { ac_try
='test -s conftest$ac_exeext'
37909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37910 (eval $ac_try) 2>&5
37912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37913 (exit $ac_status); }; }; then
37914 am_cv_func_iconv
=yes
37916 echo "$as_me: failed program was:" >&5
37917 sed 's/^/| /' conftest.
$ac_ext >&5
37920 rm -f conftest.err conftest.
$ac_objext \
37921 conftest
$ac_exeext conftest.
$ac_ext
37922 if test "$am_cv_func_iconv" != yes; then
37923 am_save_LIBS
="$LIBS"
37924 LIBS
="$LIBS $LIBICONV"
37925 cat >conftest.
$ac_ext <<_ACEOF
37928 cat confdefs.h
>>conftest.
$ac_ext
37929 cat >>conftest.
$ac_ext <<_ACEOF
37930 /* end confdefs.h. */
37931 #include <stdlib.h>
37936 iconv_t cd = iconv_open("","");
37937 iconv(cd,NULL,NULL,NULL,NULL);
37943 rm -f conftest.
$ac_objext conftest
$ac_exeext
37944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37945 (eval $ac_link) 2>conftest.er1
37947 grep -v '^ *+' conftest.er1
>conftest.err
37949 cat conftest.err
>&5
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); } &&
37952 { ac_try
='test -z "$ac_c_werror_flag"
37953 || test ! -s conftest.err'
37954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37955 (eval $ac_try) 2>&5
37957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37958 (exit $ac_status); }; } &&
37959 { ac_try
='test -s conftest$ac_exeext'
37960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37961 (eval $ac_try) 2>&5
37963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37964 (exit $ac_status); }; }; then
37965 am_cv_lib_iconv
=yes
37966 am_cv_func_iconv
=yes
37968 echo "$as_me: failed program was:" >&5
37969 sed 's/^/| /' conftest.
$ac_ext >&5
37972 rm -f conftest.err conftest.
$ac_objext \
37973 conftest
$ac_exeext conftest.
$ac_ext
37974 LIBS
="$am_save_LIBS"
37978 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37979 echo "${ECHO_T}$am_cv_func_iconv" >&6
37980 if test "$am_cv_func_iconv" = yes; then
37982 cat >>confdefs.h
<<\_ACEOF
37983 #define HAVE_ICONV 1
37987 if test "$am_cv_lib_iconv" = yes; then
37988 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
37989 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
37990 echo "$as_me:$LINENO: result: $LIBICONV" >&5
37991 echo "${ECHO_T}$LIBICONV" >&6
37993 CPPFLAGS
="$am_save_CPPFLAGS"
38000 if test "$am_cv_func_iconv" = yes; then
38001 echo "$as_me:$LINENO: checking for iconv declaration" >&5
38002 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
38003 if test "${am_cv_proto_iconv+set}" = set; then
38004 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 cat >conftest.
$ac_ext <<_ACEOF
38010 cat confdefs.h
>>conftest.
$ac_ext
38011 cat >>conftest.
$ac_ext <<_ACEOF
38012 /* end confdefs.h. */
38014 #include <stdlib.h>
38020 #if defined(__STDC__) || defined(__cplusplus)
38021 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38034 rm -f conftest.
$ac_objext
38035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38036 (eval $ac_compile) 2>conftest.er1
38038 grep -v '^ *+' conftest.er1
>conftest.err
38040 cat conftest.err
>&5
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); } &&
38043 { ac_try
='test -z "$ac_c_werror_flag"
38044 || test ! -s conftest.err'
38045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38046 (eval $ac_try) 2>&5
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); }; } &&
38050 { ac_try
='test -s conftest.$ac_objext'
38051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38052 (eval $ac_try) 2>&5
38054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055 (exit $ac_status); }; }; then
38056 am_cv_proto_iconv_arg1
=""
38058 echo "$as_me: failed program was:" >&5
38059 sed 's/^/| /' conftest.
$ac_ext >&5
38061 am_cv_proto_iconv_arg1
="const"
38063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
38064 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
38067 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38068 echo "$as_me:$LINENO: result: ${ac_t:-
38069 }$am_cv_proto_iconv" >&5
38070 echo "${ECHO_T}${ac_t:-
38071 }$am_cv_proto_iconv" >&6
38073 cat >>confdefs.h
<<_ACEOF
38074 #define ICONV_CONST $am_cv_proto_iconv_arg1
38080 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
38081 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
38082 if test "${am_cv_langinfo_codeset+set}" = set; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 cat >conftest.
$ac_ext <<_ACEOF
38088 cat confdefs.h
>>conftest.
$ac_ext
38089 cat >>conftest.
$ac_ext <<_ACEOF
38090 /* end confdefs.h. */
38091 #include <langinfo.h>
38095 char* cs = nl_langinfo(CODESET);
38100 rm -f conftest.
$ac_objext conftest
$ac_exeext
38101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38102 (eval $ac_link) 2>conftest.er1
38104 grep -v '^ *+' conftest.er1
>conftest.err
38106 cat conftest.err
>&5
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); } &&
38109 { ac_try
='test -z "$ac_c_werror_flag"
38110 || test ! -s conftest.err'
38111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38112 (eval $ac_try) 2>&5
38114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38115 (exit $ac_status); }; } &&
38116 { ac_try
='test -s conftest$ac_exeext'
38117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38118 (eval $ac_try) 2>&5
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); }; }; then
38122 am_cv_langinfo_codeset
=yes
38124 echo "$as_me: failed program was:" >&5
38125 sed 's/^/| /' conftest.
$ac_ext >&5
38127 am_cv_langinfo_codeset
=no
38129 rm -f conftest.err conftest.
$ac_objext \
38130 conftest
$ac_exeext conftest.
$ac_ext
38133 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
38134 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
38135 if test $am_cv_langinfo_codeset = yes; then
38137 cat >>confdefs.h
<<\_ACEOF
38138 #define HAVE_LANGINFO_CODESET 1
38143 if test $ac_cv_header_locale_h = yes; then
38145 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
38146 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
38147 if test "${gt_cv_val_LC_MESSAGES+set}" = set; then
38148 echo $ECHO_N "(cached) $ECHO_C" >&6
38150 cat >conftest.
$ac_ext <<_ACEOF
38153 cat confdefs.h
>>conftest.
$ac_ext
38154 cat >>conftest.
$ac_ext <<_ACEOF
38155 /* end confdefs.h. */
38156 #include <locale.h>
38165 rm -f conftest.
$ac_objext conftest
$ac_exeext
38166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38167 (eval $ac_link) 2>conftest.er1
38169 grep -v '^ *+' conftest.er1
>conftest.err
38171 cat conftest.err
>&5
38172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38173 (exit $ac_status); } &&
38174 { ac_try
='test -z "$ac_c_werror_flag"
38175 || test ! -s conftest.err'
38176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38177 (eval $ac_try) 2>&5
38179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38180 (exit $ac_status); }; } &&
38181 { ac_try
='test -s conftest$ac_exeext'
38182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38183 (eval $ac_try) 2>&5
38185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38186 (exit $ac_status); }; }; then
38187 gt_cv_val_LC_MESSAGES
=yes
38189 echo "$as_me: failed program was:" >&5
38190 sed 's/^/| /' conftest.
$ac_ext >&5
38192 gt_cv_val_LC_MESSAGES
=no
38194 rm -f conftest.err conftest.
$ac_objext \
38195 conftest
$ac_exeext conftest.
$ac_ext
38197 echo "$as_me:$LINENO: result: $gt_cv_val_LC_MESSAGES" >&5
38198 echo "${ECHO_T}$gt_cv_val_LC_MESSAGES" >&6
38199 if test $gt_cv_val_LC_MESSAGES = yes; then
38201 cat >>confdefs.h
<<\_ACEOF
38202 #define HAVE_LC_MESSAGES 1
38209 if test -n "$INTL_MACOSX_LIBS"; then
38210 CPPFLAGS
="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
38213 for ac_prog
in bison
38215 # Extract the first word of "$ac_prog", so it can be a program name with args.
38216 set dummy
$ac_prog; ac_word
=$2
38217 echo "$as_me:$LINENO: checking for $ac_word" >&5
38218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38219 if test "${ac_cv_prog_INTLBISON+set}" = set; then
38220 echo $ECHO_N "(cached) $ECHO_C" >&6
38222 if test -n "$INTLBISON"; then
38223 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
38225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38226 for as_dir
in $PATH
38229 test -z "$as_dir" && as_dir
=.
38230 for ac_exec_ext
in '' $ac_executable_extensions; do
38231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38232 ac_cv_prog_INTLBISON
="$ac_prog"
38233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38241 INTLBISON
=$ac_cv_prog_INTLBISON
38242 if test -n "$INTLBISON"; then
38243 echo "$as_me:$LINENO: result: $INTLBISON" >&5
38244 echo "${ECHO_T}$INTLBISON" >&6
38246 echo "$as_me:$LINENO: result: no" >&5
38247 echo "${ECHO_T}no" >&6
38250 test -n "$INTLBISON" && break
38253 if test -z "$INTLBISON"; then
38256 echo "$as_me:$LINENO: checking version of bison" >&5
38257 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
38258 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
38259 case $ac_prog_version in
38260 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
38261 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
38262 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
38263 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
38265 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
38266 echo "${ECHO_T}$ac_prog_version" >&6
38268 if test $ac_verc_fail = yes; then
38287 echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
38288 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6
38289 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
38290 echo $ECHO_N "(cached) $ECHO_C" >&6
38292 gt_save_CPPFLAGS
="$CPPFLAGS"
38293 CPPFLAGS
="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
38294 gt_save_LIBS
="$LIBS"
38295 LIBS
="$LIBS -framework CoreFoundation"
38296 cat >conftest.
$ac_ext <<_ACEOF
38299 cat confdefs.h
>>conftest.
$ac_ext
38300 cat >>conftest.
$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38302 #include <CFPreferences.h>
38306 CFPreferencesCopyAppValue(NULL, NULL)
38311 rm -f conftest.
$ac_objext conftest
$ac_exeext
38312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38313 (eval $ac_link) 2>conftest.er1
38315 grep -v '^ *+' conftest.er1
>conftest.err
38317 cat conftest.err
>&5
38318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38319 (exit $ac_status); } &&
38320 { ac_try
='test -z "$ac_c_werror_flag"
38321 || test ! -s conftest.err'
38322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38323 (eval $ac_try) 2>&5
38325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38326 (exit $ac_status); }; } &&
38327 { ac_try
='test -s conftest$ac_exeext'
38328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38329 (eval $ac_try) 2>&5
38331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38332 (exit $ac_status); }; }; then
38333 gt_cv_func_CFPreferencesCopyAppValue
=yes
38335 echo "$as_me: failed program was:" >&5
38336 sed 's/^/| /' conftest.
$ac_ext >&5
38338 gt_cv_func_CFPreferencesCopyAppValue
=no
38340 rm -f conftest.err conftest.
$ac_objext \
38341 conftest
$ac_exeext conftest.
$ac_ext
38342 CPPFLAGS
="$gt_save_CPPFLAGS"
38343 LIBS
="$gt_save_LIBS"
38345 echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
38346 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6
38347 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
38349 cat >>confdefs.h
<<\_ACEOF
38350 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
38354 echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
38355 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6
38356 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
38357 echo $ECHO_N "(cached) $ECHO_C" >&6
38359 gt_save_CPPFLAGS
="$CPPFLAGS"
38360 CPPFLAGS
="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
38361 gt_save_LIBS
="$LIBS"
38362 LIBS
="$LIBS -framework CoreFoundation"
38363 cat >conftest.
$ac_ext <<_ACEOF
38366 cat confdefs.h
>>conftest.
$ac_ext
38367 cat >>conftest.
$ac_ext <<_ACEOF
38368 /* end confdefs.h. */
38369 #include <CFLocale.h>
38373 CFLocaleCopyCurrent();
38378 rm -f conftest.
$ac_objext conftest
$ac_exeext
38379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38380 (eval $ac_link) 2>conftest.er1
38382 grep -v '^ *+' conftest.er1
>conftest.err
38384 cat conftest.err
>&5
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); } &&
38387 { ac_try
='test -z "$ac_c_werror_flag"
38388 || test ! -s conftest.err'
38389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390 (eval $ac_try) 2>&5
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); }; } &&
38394 { ac_try
='test -s conftest$ac_exeext'
38395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38396 (eval $ac_try) 2>&5
38398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399 (exit $ac_status); }; }; then
38400 gt_cv_func_CFLocaleCopyCurrent
=yes
38402 echo "$as_me: failed program was:" >&5
38403 sed 's/^/| /' conftest.
$ac_ext >&5
38405 gt_cv_func_CFLocaleCopyCurrent
=no
38407 rm -f conftest.err conftest.
$ac_objext \
38408 conftest
$ac_exeext conftest.
$ac_ext
38409 CPPFLAGS
="$gt_save_CPPFLAGS"
38410 LIBS
="$gt_save_LIBS"
38412 echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
38413 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6
38414 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
38416 cat >>confdefs.h
<<\_ACEOF
38417 #define HAVE_CFLOCALECOPYCURRENT 1
38422 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
38423 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
38429 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
38430 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
38431 # Check whether --enable-nls or --disable-nls was given.
38432 if test "${enable_nls+set}" = set; then
38433 enableval
="$enable_nls"
38438 echo "$as_me:$LINENO: result: $USE_NLS" >&5
38439 echo "${ECHO_T}$USE_NLS" >&6
38444 BUILD_INCLUDED_LIBINTL
=no
38445 USE_INCLUDED_LIBINTL
=no
38451 if test "$USE_NLS" = "yes"; then
38452 gt_use_preinstalled_gnugettext
=no
38454 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
38455 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
38457 # Check whether --with-included-gettext or --without-included-gettext was given.
38458 if test "${with_included_gettext+set}" = set; then
38459 withval
="$with_included_gettext"
38460 nls_cv_force_use_gnu_gettext
=$withval
38462 nls_cv_force_use_gnu_gettext
=no
38464 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
38465 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
38467 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
38468 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
38475 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
38476 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
38477 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
38478 echo $ECHO_N "(cached) $ECHO_C" >&6
38480 cat >conftest.
$ac_ext <<_ACEOF
38483 cat confdefs.h
>>conftest.
$ac_ext
38484 cat >>conftest.
$ac_ext <<_ACEOF
38485 /* end confdefs.h. */
38486 #include <libintl.h>
38487 extern int _nl_msg_cat_cntr;
38488 extern int *_nl_domain_bindings;
38492 bindtextdomain ("", "");
38493 return * gettext ("") + * ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
38498 rm -f conftest.
$ac_objext conftest
$ac_exeext
38499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38500 (eval $ac_link) 2>conftest.er1
38502 grep -v '^ *+' conftest.er1
>conftest.err
38504 cat conftest.err
>&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); } &&
38507 { ac_try
='test -z "$ac_c_werror_flag"
38508 || test ! -s conftest.err'
38509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38510 (eval $ac_try) 2>&5
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); }; } &&
38514 { ac_try
='test -s conftest$ac_exeext'
38515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38516 (eval $ac_try) 2>&5
38518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38519 (exit $ac_status); }; }; then
38520 gt_cv_func_gnugettext2_libc
=yes
38522 echo "$as_me: failed program was:" >&5
38523 sed 's/^/| /' conftest.
$ac_ext >&5
38525 gt_cv_func_gnugettext2_libc
=no
38527 rm -f conftest.err conftest.
$ac_objext \
38528 conftest
$ac_exeext conftest.
$ac_ext
38530 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
38531 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
38533 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
38539 acl_save_prefix
="$prefix"
38540 prefix
="$acl_final_prefix"
38541 acl_save_exec_prefix
="$exec_prefix"
38542 exec_prefix
="$acl_final_exec_prefix"
38544 eval additional_includedir
=\"$includedir\"
38545 eval additional_libdir
=\"$libdir\"
38547 exec_prefix
="$acl_save_exec_prefix"
38548 prefix
="$acl_save_prefix"
38551 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
38552 if test "${with_libintl_prefix+set}" = set; then
38553 withval
="$with_libintl_prefix"
38555 if test "X$withval" = "Xno"; then
38558 if test "X$withval" = "X"; then
38560 acl_save_prefix
="$prefix"
38561 prefix
="$acl_final_prefix"
38562 acl_save_exec_prefix
="$exec_prefix"
38563 exec_prefix
="$acl_final_exec_prefix"
38565 eval additional_includedir
=\"$includedir\"
38566 eval additional_libdir
=\"$libdir\"
38568 exec_prefix
="$acl_save_exec_prefix"
38569 prefix
="$acl_save_prefix"
38572 additional_includedir
="$withval/include"
38573 additional_libdir
="$withval/lib"
38583 names_already_handled
=
38584 names_next_round
='intl '
38585 while test -n "$names_next_round"; do
38586 names_this_round
="$names_next_round"
38588 for name
in $names_this_round; do
38590 for n
in $names_already_handled; do
38591 if test "$n" = "$name"; then
38592 already_handled
=yes
38596 if test -z "$already_handled"; then
38597 names_already_handled
="$names_already_handled $name"
38598 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
38599 eval value
=\"\
$HAVE_LIB$uppername\"
38600 if test -n "$value"; then
38601 if test "$value" = yes; then
38602 eval value
=\"\
$LIB$uppername\"
38603 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
38604 eval value
=\"\
$LTLIB$uppername\"
38605 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
38614 if test $use_additional = yes; then
38615 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
38616 found_dir
="$additional_libdir"
38617 found_so
="$additional_libdir/lib$name.$shlibext"
38618 if test -f "$additional_libdir/lib$name.la"; then
38619 found_la
="$additional_libdir/lib$name.la"
38622 if test -f "$additional_libdir/lib$name.$libext"; then
38623 found_dir
="$additional_libdir"
38624 found_a
="$additional_libdir/lib$name.$libext"
38625 if test -f "$additional_libdir/lib$name.la"; then
38626 found_la
="$additional_libdir/lib$name.la"
38631 if test "X$found_dir" = "X"; then
38632 for x
in $LDFLAGS $LTLIBINTL; do
38634 acl_save_prefix
="$prefix"
38635 prefix
="$acl_final_prefix"
38636 acl_save_exec_prefix
="$exec_prefix"
38637 exec_prefix
="$acl_final_exec_prefix"
38639 exec_prefix
="$acl_save_exec_prefix"
38640 prefix
="$acl_save_prefix"
38644 dir
=`echo "X$x" | sed -e 's/^X-L//'`
38645 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
38647 found_so
="$dir/lib$name.$shlibext"
38648 if test -f "$dir/lib$name.la"; then
38649 found_la
="$dir/lib$name.la"
38652 if test -f "$dir/lib$name.$libext"; then
38654 found_a
="$dir/lib$name.$libext"
38655 if test -f "$dir/lib$name.la"; then
38656 found_la
="$dir/lib$name.la"
38662 if test "X$found_dir" != "X"; then
38667 if test "X$found_dir" != "X"; then
38668 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
38669 if test "X$found_so" != "X"; then
38670 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
38671 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
38674 for x
in $ltrpathdirs; do
38675 if test "X$x" = "X$found_dir"; then
38680 if test -z "$haveit"; then
38681 ltrpathdirs
="$ltrpathdirs $found_dir"
38683 if test "$hardcode_direct" = yes; then
38684 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
38686 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
38687 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
38689 for x
in $rpathdirs; do
38690 if test "X$x" = "X$found_dir"; then
38695 if test -z "$haveit"; then
38696 rpathdirs
="$rpathdirs $found_dir"
38700 for x
in $LDFLAGS $LIBINTL; do
38702 acl_save_prefix
="$prefix"
38703 prefix
="$acl_final_prefix"
38704 acl_save_exec_prefix
="$exec_prefix"
38705 exec_prefix
="$acl_final_exec_prefix"
38707 exec_prefix
="$acl_save_exec_prefix"
38708 prefix
="$acl_save_prefix"
38710 if test "X$x" = "X-L$found_dir"; then
38715 if test -z "$haveit"; then
38716 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
38718 if test "$hardcode_minus_L" != no
; then
38719 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
38721 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
38727 if test "X$found_a" != "X"; then
38728 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
38730 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
38733 additional_includedir
=
38734 case "$found_dir" in
38736 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
38737 additional_includedir
="$basedir/include"
38740 if test "X$additional_includedir" != "X"; then
38741 if test "X$additional_includedir" != "X/usr/include"; then
38743 if test "X$additional_includedir" = "X/usr/local/include"; then
38744 if test -n "$GCC"; then
38746 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
38750 if test -z "$haveit"; then
38751 for x
in $CPPFLAGS $INCINTL; do
38753 acl_save_prefix
="$prefix"
38754 prefix
="$acl_final_prefix"
38755 acl_save_exec_prefix
="$exec_prefix"
38756 exec_prefix
="$acl_final_exec_prefix"
38758 exec_prefix
="$acl_save_exec_prefix"
38759 prefix
="$acl_save_prefix"
38761 if test "X$x" = "X-I$additional_includedir"; then
38766 if test -z "$haveit"; then
38767 if test -d "$additional_includedir"; then
38768 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
38774 if test -n "$found_la"; then
38775 save_libdir
="$libdir"
38776 case "$found_la" in
38777 */* |
*\\*) .
"$found_la" ;;
38778 *) .
"./$found_la" ;;
38780 libdir
="$save_libdir"
38781 for dep
in $dependency_libs; do
38784 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
38785 if test "X$additional_libdir" != "X/usr/lib"; then
38787 if test "X$additional_libdir" = "X/usr/local/lib"; then
38788 if test -n "$GCC"; then
38790 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
38794 if test -z "$haveit"; then
38796 for x
in $LDFLAGS $LIBINTL; do
38798 acl_save_prefix
="$prefix"
38799 prefix
="$acl_final_prefix"
38800 acl_save_exec_prefix
="$exec_prefix"
38801 exec_prefix
="$acl_final_exec_prefix"
38803 exec_prefix
="$acl_save_exec_prefix"
38804 prefix
="$acl_save_prefix"
38806 if test "X$x" = "X-L$additional_libdir"; then
38811 if test -z "$haveit"; then
38812 if test -d "$additional_libdir"; then
38813 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
38817 for x
in $LDFLAGS $LTLIBINTL; do
38819 acl_save_prefix
="$prefix"
38820 prefix
="$acl_final_prefix"
38821 acl_save_exec_prefix
="$exec_prefix"
38822 exec_prefix
="$acl_final_exec_prefix"
38824 exec_prefix
="$acl_save_exec_prefix"
38825 prefix
="$acl_save_prefix"
38827 if test "X$x" = "X-L$additional_libdir"; then
38832 if test -z "$haveit"; then
38833 if test -d "$additional_libdir"; then
38834 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
38841 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
38842 if test "$enable_rpath" != no
; then
38844 for x
in $rpathdirs; do
38845 if test "X$x" = "X$dir"; then
38850 if test -z "$haveit"; then
38851 rpathdirs
="$rpathdirs $dir"
38854 for x
in $ltrpathdirs; do
38855 if test "X$x" = "X$dir"; then
38860 if test -z "$haveit"; then
38861 ltrpathdirs
="$ltrpathdirs $dir"
38866 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
38869 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
38872 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
38873 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
38879 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
38880 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
38886 if test "X$rpathdirs" != "X"; then
38887 if test -n "$hardcode_libdir_separator"; then
38889 for found_dir
in $rpathdirs; do
38890 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
38892 acl_save_libdir
="$libdir"
38894 eval flag
=\"$hardcode_libdir_flag_spec\"
38895 libdir
="$acl_save_libdir"
38896 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
38898 for found_dir
in $rpathdirs; do
38899 acl_save_libdir
="$libdir"
38900 libdir
="$found_dir"
38901 eval flag
=\"$hardcode_libdir_flag_spec\"
38902 libdir
="$acl_save_libdir"
38903 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
38907 if test "X$ltrpathdirs" != "X"; then
38908 for found_dir
in $ltrpathdirs; do
38909 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
38913 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
38914 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
38915 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
38916 echo $ECHO_N "(cached) $ECHO_C" >&6
38918 gt_save_CPPFLAGS
="$CPPFLAGS"
38919 CPPFLAGS
="$CPPFLAGS $INCINTL"
38920 gt_save_LIBS
="$LIBS"
38921 LIBS
="$LIBS $LIBINTL"
38922 cat >conftest.
$ac_ext <<_ACEOF
38925 cat confdefs.h
>>conftest.
$ac_ext
38926 cat >>conftest.
$ac_ext <<_ACEOF
38927 /* end confdefs.h. */
38928 #include <libintl.h>
38929 extern int _nl_msg_cat_cntr;
38934 const char *_nl_expand_alias (const char *);
38938 bindtextdomain ("", "");
38939 return * gettext ("") + * ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias ("")
38944 rm -f conftest.
$ac_objext conftest
$ac_exeext
38945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38946 (eval $ac_link) 2>conftest.er1
38948 grep -v '^ *+' conftest.er1
>conftest.err
38950 cat conftest.err
>&5
38951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38952 (exit $ac_status); } &&
38953 { ac_try
='test -z "$ac_c_werror_flag"
38954 || test ! -s conftest.err'
38955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38956 (eval $ac_try) 2>&5
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); }; } &&
38960 { ac_try
='test -s conftest$ac_exeext'
38961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38962 (eval $ac_try) 2>&5
38964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38965 (exit $ac_status); }; }; then
38966 gt_cv_func_gnugettext2_libintl
=yes
38968 echo "$as_me: failed program was:" >&5
38969 sed 's/^/| /' conftest.
$ac_ext >&5
38971 gt_cv_func_gnugettext2_libintl
=no
38973 rm -f conftest.err conftest.
$ac_objext \
38974 conftest
$ac_exeext conftest.
$ac_ext
38975 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
38976 LIBS
="$LIBS $LIBICONV"
38977 cat >conftest.
$ac_ext <<_ACEOF
38980 cat confdefs.h
>>conftest.
$ac_ext
38981 cat >>conftest.
$ac_ext <<_ACEOF
38982 /* end confdefs.h. */
38983 #include <libintl.h>
38984 extern int _nl_msg_cat_cntr;
38989 const char *_nl_expand_alias (const char *);
38993 bindtextdomain ("", "");
38994 return * gettext ("") + * ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias ("")
38999 rm -f conftest.
$ac_objext conftest
$ac_exeext
39000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39001 (eval $ac_link) 2>conftest.er1
39003 grep -v '^ *+' conftest.er1
>conftest.err
39005 cat conftest.err
>&5
39006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007 (exit $ac_status); } &&
39008 { ac_try
='test -z "$ac_c_werror_flag"
39009 || test ! -s conftest.err'
39010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39011 (eval $ac_try) 2>&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); }; } &&
39015 { ac_try
='test -s conftest$ac_exeext'
39016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39017 (eval $ac_try) 2>&5
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); }; }; then
39021 LIBINTL
="$LIBINTL $LIBICONV"
39022 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
39023 gt_cv_func_gnugettext2_libintl
=yes
39026 echo "$as_me: failed program was:" >&5
39027 sed 's/^/| /' conftest.
$ac_ext >&5
39030 rm -f conftest.err conftest.
$ac_objext \
39031 conftest
$ac_exeext conftest.
$ac_ext
39033 CPPFLAGS
="$gt_save_CPPFLAGS"
39034 LIBS
="$gt_save_LIBS"
39036 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
39037 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
39040 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
39041 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
39042 && test "$PACKAGE" != gettext-runtime \
39043 && test "$PACKAGE" != gettext-tools
; }; then
39044 gt_use_preinstalled_gnugettext
=yes
39052 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
39053 nls_cv_use_gnu_gettext
=yes
39057 if test "$nls_cv_use_gnu_gettext" = "yes"; then
39058 BUILD_INCLUDED_LIBINTL
=yes
39059 USE_INCLUDED_LIBINTL
=yes
39060 LIBINTL
="\${top_builddir}/intl/libintl.la $LIBICONV"
39061 LTLIBINTL
="\${top_builddir}/intl/libintl.la $LTLIBICONV"
39062 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
39066 if test "$gt_use_preinstalled_gnugettext" = "yes" \
39067 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
39072 if test -n "$INTL_MACOSX_LIBS"; then
39073 if test "$gt_use_preinstalled_gnugettext" = "yes" \
39074 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
39075 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
39076 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
39080 if test "$gt_use_preinstalled_gnugettext" = "yes" \
39081 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
39083 cat >>confdefs.h
<<\_ACEOF
39084 #define ENABLE_NLS 1
39092 echo "$as_me:$LINENO: checking whether to use NLS" >&5
39093 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
39094 echo "$as_me:$LINENO: result: $USE_NLS" >&5
39095 echo "${ECHO_T}$USE_NLS" >&6
39096 if test "$USE_NLS" = "yes"; then
39097 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
39098 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
39099 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
39100 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
39101 gt_source
="external libintl"
39106 gt_source
="included intl directory"
39108 echo "$as_me:$LINENO: result: $gt_source" >&5
39109 echo "${ECHO_T}$gt_source" >&6
39112 if test "$USE_NLS" = "yes"; then
39114 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
39115 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
39116 echo "$as_me:$LINENO: checking how to link with libintl" >&5
39117 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
39118 echo "$as_me:$LINENO: result: $LIBINTL" >&5
39119 echo "${ECHO_T}$LIBINTL" >&6
39121 for element
in $INCINTL; do
39123 for x
in $CPPFLAGS; do
39125 acl_save_prefix
="$prefix"
39126 prefix
="$acl_final_prefix"
39127 acl_save_exec_prefix
="$exec_prefix"
39128 exec_prefix
="$acl_final_exec_prefix"
39130 exec_prefix
="$acl_save_exec_prefix"
39131 prefix
="$acl_save_prefix"
39133 if test "X$x" = "X$element"; then
39138 if test -z "$haveit"; then
39139 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
39146 cat >>confdefs.h
<<\_ACEOF
39147 #define HAVE_GETTEXT 1
39151 cat >>confdefs.h
<<\_ACEOF
39152 #define HAVE_DCGETTEXT 1
39161 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
39162 BUILD_INCLUDED_LIBINTL
=yes
39169 nls_cv_header_intl
=
39170 nls_cv_header_libgt
=
39182 if test "$USE_INCLUDED_LIBINTL" = yes; then
39183 INTLOBJS
="\$(GETTOBJS)"
39187 INTL_LIBTOOL_SUFFIX_PREFIX
=l
39191 INTLLIBS
="$LIBINTL"
39207 cat >>confdefs.h
<<\_ACEOF
39208 #define DYNLOAD_LIBEXPAT 1
39227 acl_save_prefix
="$prefix"
39228 prefix
="$acl_final_prefix"
39229 acl_save_exec_prefix
="$exec_prefix"
39230 exec_prefix
="$acl_final_exec_prefix"
39232 eval additional_includedir
=\"$includedir\"
39233 eval additional_libdir
=\"$libdir\"
39235 exec_prefix
="$acl_save_exec_prefix"
39236 prefix
="$acl_save_prefix"
39239 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
39240 if test "${with_libexpat_prefix+set}" = set; then
39241 withval
="$with_libexpat_prefix"
39243 if test "X$withval" = "Xno"; then
39246 if test "X$withval" = "X"; then
39248 acl_save_prefix
="$prefix"
39249 prefix
="$acl_final_prefix"
39250 acl_save_exec_prefix
="$exec_prefix"
39251 exec_prefix
="$acl_final_exec_prefix"
39253 eval additional_includedir
=\"$includedir\"
39254 eval additional_libdir
=\"$libdir\"
39256 exec_prefix
="$acl_save_exec_prefix"
39257 prefix
="$acl_save_prefix"
39260 additional_includedir
="$withval/include"
39261 additional_libdir
="$withval/lib"
39271 names_already_handled
=
39272 names_next_round
='expat '
39273 while test -n "$names_next_round"; do
39274 names_this_round
="$names_next_round"
39276 for name
in $names_this_round; do
39278 for n
in $names_already_handled; do
39279 if test "$n" = "$name"; then
39280 already_handled
=yes
39284 if test -z "$already_handled"; then
39285 names_already_handled
="$names_already_handled $name"
39286 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
39287 eval value
=\"\
$HAVE_LIB$uppername\"
39288 if test -n "$value"; then
39289 if test "$value" = yes; then
39290 eval value
=\"\
$LIB$uppername\"
39291 test -z "$value" || LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$value"
39292 eval value
=\"\
$LTLIB$uppername\"
39293 test -z "$value" || LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$value"
39302 if test $use_additional = yes; then
39303 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
39304 found_dir
="$additional_libdir"
39305 found_so
="$additional_libdir/lib$name.$shlibext"
39306 if test -f "$additional_libdir/lib$name.la"; then
39307 found_la
="$additional_libdir/lib$name.la"
39310 if test -f "$additional_libdir/lib$name.$libext"; then
39311 found_dir
="$additional_libdir"
39312 found_a
="$additional_libdir/lib$name.$libext"
39313 if test -f "$additional_libdir/lib$name.la"; then
39314 found_la
="$additional_libdir/lib$name.la"
39319 if test "X$found_dir" = "X"; then
39320 for x
in $LDFLAGS $LTLIBEXPAT; do
39322 acl_save_prefix
="$prefix"
39323 prefix
="$acl_final_prefix"
39324 acl_save_exec_prefix
="$exec_prefix"
39325 exec_prefix
="$acl_final_exec_prefix"
39327 exec_prefix
="$acl_save_exec_prefix"
39328 prefix
="$acl_save_prefix"
39332 dir
=`echo "X$x" | sed -e 's/^X-L//'`
39333 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
39335 found_so
="$dir/lib$name.$shlibext"
39336 if test -f "$dir/lib$name.la"; then
39337 found_la
="$dir/lib$name.la"
39340 if test -f "$dir/lib$name.$libext"; then
39342 found_a
="$dir/lib$name.$libext"
39343 if test -f "$dir/lib$name.la"; then
39344 found_la
="$dir/lib$name.la"
39350 if test "X$found_dir" != "X"; then
39355 if test "X$found_dir" != "X"; then
39356 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$found_dir -l$name"
39357 if test "X$found_so" != "X"; then
39358 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
39359 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
39362 for x
in $ltrpathdirs; do
39363 if test "X$x" = "X$found_dir"; then
39368 if test -z "$haveit"; then
39369 ltrpathdirs
="$ltrpathdirs $found_dir"
39371 if test "$hardcode_direct" = yes; then
39372 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
39374 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
39375 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
39377 for x
in $rpathdirs; do
39378 if test "X$x" = "X$found_dir"; then
39383 if test -z "$haveit"; then
39384 rpathdirs
="$rpathdirs $found_dir"
39388 for x
in $LDFLAGS $LIBEXPAT; do
39390 acl_save_prefix
="$prefix"
39391 prefix
="$acl_final_prefix"
39392 acl_save_exec_prefix
="$exec_prefix"
39393 exec_prefix
="$acl_final_exec_prefix"
39395 exec_prefix
="$acl_save_exec_prefix"
39396 prefix
="$acl_save_prefix"
39398 if test "X$x" = "X-L$found_dir"; then
39403 if test -z "$haveit"; then
39404 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir"
39406 if test "$hardcode_minus_L" != no
; then
39407 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_so"
39409 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
39415 if test "X$found_a" != "X"; then
39416 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$found_a"
39418 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$found_dir -l$name"
39421 additional_includedir
=
39422 case "$found_dir" in
39424 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
39425 additional_includedir
="$basedir/include"
39428 if test "X$additional_includedir" != "X"; then
39429 if test "X$additional_includedir" != "X/usr/include"; then
39431 if test "X$additional_includedir" = "X/usr/local/include"; then
39432 if test -n "$GCC"; then
39434 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
39438 if test -z "$haveit"; then
39439 for x
in $CPPFLAGS $INCEXPAT; do
39441 acl_save_prefix
="$prefix"
39442 prefix
="$acl_final_prefix"
39443 acl_save_exec_prefix
="$exec_prefix"
39444 exec_prefix
="$acl_final_exec_prefix"
39446 exec_prefix
="$acl_save_exec_prefix"
39447 prefix
="$acl_save_prefix"
39449 if test "X$x" = "X-I$additional_includedir"; then
39454 if test -z "$haveit"; then
39455 if test -d "$additional_includedir"; then
39456 INCEXPAT
="${INCEXPAT}${INCEXPAT:+ }-I$additional_includedir"
39462 if test -n "$found_la"; then
39463 save_libdir
="$libdir"
39464 case "$found_la" in
39465 */* |
*\\*) .
"$found_la" ;;
39466 *) .
"./$found_la" ;;
39468 libdir
="$save_libdir"
39469 for dep
in $dependency_libs; do
39472 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
39473 if test "X$additional_libdir" != "X/usr/lib"; then
39475 if test "X$additional_libdir" = "X/usr/local/lib"; then
39476 if test -n "$GCC"; then
39478 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
39482 if test -z "$haveit"; then
39484 for x
in $LDFLAGS $LIBEXPAT; do
39486 acl_save_prefix
="$prefix"
39487 prefix
="$acl_final_prefix"
39488 acl_save_exec_prefix
="$exec_prefix"
39489 exec_prefix
="$acl_final_exec_prefix"
39491 exec_prefix
="$acl_save_exec_prefix"
39492 prefix
="$acl_save_prefix"
39494 if test "X$x" = "X-L$additional_libdir"; then
39499 if test -z "$haveit"; then
39500 if test -d "$additional_libdir"; then
39501 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-L$additional_libdir"
39505 for x
in $LDFLAGS $LTLIBEXPAT; do
39507 acl_save_prefix
="$prefix"
39508 prefix
="$acl_final_prefix"
39509 acl_save_exec_prefix
="$exec_prefix"
39510 exec_prefix
="$acl_final_exec_prefix"
39512 exec_prefix
="$acl_save_exec_prefix"
39513 prefix
="$acl_save_prefix"
39515 if test "X$x" = "X-L$additional_libdir"; then
39520 if test -z "$haveit"; then
39521 if test -d "$additional_libdir"; then
39522 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-L$additional_libdir"
39529 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
39530 if test "$enable_rpath" != no
; then
39532 for x
in $rpathdirs; do
39533 if test "X$x" = "X$dir"; then
39538 if test -z "$haveit"; then
39539 rpathdirs
="$rpathdirs $dir"
39542 for x
in $ltrpathdirs; do
39543 if test "X$x" = "X$dir"; then
39548 if test -z "$haveit"; then
39549 ltrpathdirs
="$ltrpathdirs $dir"
39554 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
39557 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
39560 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$dep"
39561 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }$dep"
39567 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }-l$name"
39568 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-l$name"
39574 if test "X$rpathdirs" != "X"; then
39575 if test -n "$hardcode_libdir_separator"; then
39577 for found_dir
in $rpathdirs; do
39578 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
39580 acl_save_libdir
="$libdir"
39582 eval flag
=\"$hardcode_libdir_flag_spec\"
39583 libdir
="$acl_save_libdir"
39584 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
39586 for found_dir
in $rpathdirs; do
39587 acl_save_libdir
="$libdir"
39588 libdir
="$found_dir"
39589 eval flag
=\"$hardcode_libdir_flag_spec\"
39590 libdir
="$acl_save_libdir"
39591 LIBEXPAT
="${LIBEXPAT}${LIBEXPAT:+ }$flag"
39595 if test "X$ltrpathdirs" != "X"; then
39596 for found_dir
in $ltrpathdirs; do
39597 LTLIBEXPAT
="${LTLIBEXPAT}${LTLIBEXPAT:+ }-R$found_dir"
39602 ac_save_CPPFLAGS
="$CPPFLAGS"
39604 for element
in $INCEXPAT; do
39606 for x
in $CPPFLAGS; do
39608 acl_save_prefix
="$prefix"
39609 prefix
="$acl_final_prefix"
39610 acl_save_exec_prefix
="$exec_prefix"
39611 exec_prefix
="$acl_final_exec_prefix"
39613 exec_prefix
="$acl_save_exec_prefix"
39614 prefix
="$acl_save_prefix"
39616 if test "X$x" = "X$element"; then
39621 if test -z "$haveit"; then
39622 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
39627 echo "$as_me:$LINENO: checking for libexpat" >&5
39628 echo $ECHO_N "checking for libexpat... $ECHO_C" >&6
39629 if test "${ac_cv_libexpat+set}" = set; then
39630 echo $ECHO_N "(cached) $ECHO_C" >&6
39633 ac_save_LIBS
="$LIBS"
39634 LIBS
="$LIBS $LIBEXPAT"
39635 cat >conftest.
$ac_ext <<_ACEOF
39638 cat confdefs.h
>>conftest.
$ac_ext
39639 cat >>conftest.
$ac_ext <<_ACEOF
39640 /* end confdefs.h. */
39645 XML_ExpatVersion();
39650 rm -f conftest.
$ac_objext conftest
$ac_exeext
39651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39652 (eval $ac_link) 2>conftest.er1
39654 grep -v '^ *+' conftest.er1
>conftest.err
39656 cat conftest.err
>&5
39657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39658 (exit $ac_status); } &&
39659 { ac_try
='test -z "$ac_c_werror_flag"
39660 || test ! -s conftest.err'
39661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39662 (eval $ac_try) 2>&5
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); }; } &&
39666 { ac_try
='test -s conftest$ac_exeext'
39667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39668 (eval $ac_try) 2>&5
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); }; }; then
39674 echo "$as_me: failed program was:" >&5
39675 sed 's/^/| /' conftest.
$ac_ext >&5
39679 rm -f conftest.err conftest.
$ac_objext \
39680 conftest
$ac_exeext conftest.
$ac_ext
39681 LIBS
="$ac_save_LIBS"
39684 echo "$as_me:$LINENO: result: $ac_cv_libexpat" >&5
39685 echo "${ECHO_T}$ac_cv_libexpat" >&6
39686 if test "$ac_cv_libexpat" = yes; then
39689 cat >>confdefs.h
<<\_ACEOF
39690 #define HAVE_LIBEXPAT 1
39693 echo "$as_me:$LINENO: checking how to link with libexpat" >&5
39694 echo $ECHO_N "checking how to link with libexpat... $ECHO_C" >&6
39695 echo "$as_me:$LINENO: result: $LIBEXPAT" >&5
39696 echo "${ECHO_T}$LIBEXPAT" >&6
39699 CPPFLAGS
="$ac_save_CPPFLAGS"
39712 # If set to t, that means we are running in a shell under Emacs.
39713 # If you have an Emacs named "t", then use the full path.
39714 test x
"$EMACS" = xt
&& EMACS
=
39715 for ac_prog
in emacs xemacs
39717 # Extract the first word of "$ac_prog", so it can be a program name with args.
39718 set dummy
$ac_prog; ac_word
=$2
39719 echo "$as_me:$LINENO: checking for $ac_word" >&5
39720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39721 if test "${ac_cv_prog_EMACS+set}" = set; then
39722 echo $ECHO_N "(cached) $ECHO_C" >&6
39724 if test -n "$EMACS"; then
39725 ac_cv_prog_EMACS
="$EMACS" # Let the user override the test.
39727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39728 for as_dir
in $PATH
39731 test -z "$as_dir" && as_dir
=.
39732 for ac_exec_ext
in '' $ac_executable_extensions; do
39733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39734 ac_cv_prog_EMACS
="$ac_prog"
39735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39743 EMACS
=$ac_cv_prog_EMACS
39744 if test -n "$EMACS"; then
39745 echo "$as_me:$LINENO: result: $EMACS" >&5
39746 echo "${ECHO_T}$EMACS" >&6
39748 echo "$as_me:$LINENO: result: no" >&5
39749 echo "${ECHO_T}no" >&6
39752 test -n "$EMACS" && break
39754 test -n "$EMACS" || EMACS
="no"
39759 # Check whether --with-lispdir or --without-lispdir was given.
39760 if test "${with_lispdir+set}" = set; then
39761 withval
="$with_lispdir"
39763 echo "$as_me:$LINENO: checking where .elc files should go" >&5
39764 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
39765 echo "$as_me:$LINENO: result: $lispdir" >&5
39766 echo "${ECHO_T}$lispdir" >&6
39769 echo "$as_me:$LINENO: checking where .elc files should go" >&5
39770 echo $ECHO_N "checking where .elc files should go... $ECHO_C" >&6
39771 if test "${am_cv_lispdir+set}" = set; then
39772 echo $ECHO_N "(cached) $ECHO_C" >&6
39775 if test $EMACS != "no"; then
39776 if test x
${lispdir+set} != xset
; then
39777 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
39778 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
39779 # which is non-obvious for non-emacs users.
39780 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
39781 # emacsen earlier and avoid running this altogether.
39782 { (echo "$as_me:$LINENO: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out") >&5
39783 ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev
/null
>conftest.out
) 2>&5
39785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39786 (exit $ac_status); }
39787 am_cv_lispdir
=`sed -n \
39789 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
39790 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
39795 test -z "$am_cv_lispdir" && am_cv_lispdir
='${datadir}/emacs/site-lisp'
39798 echo "$as_me:$LINENO: result: $am_cv_lispdir" >&5
39799 echo "${ECHO_T}$am_cv_lispdir" >&6
39800 lispdir
="$am_cv_lispdir"
39806 aclocaldir
='${datadir}/aclocal'
39809 ac_aux_dir_abs
=`cd $ac_aux_dir && pwd`
39810 # Extract the first word of "dvips", so it can be a program name with args.
39811 set dummy dvips
; ac_word
=$2
39812 echo "$as_me:$LINENO: checking for $ac_word" >&5
39813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39814 if test "${ac_cv_path_DVIPS+set}" = set; then
39815 echo $ECHO_N "(cached) $ECHO_C" >&6
39819 ac_cv_path_DVIPS
="$DVIPS" # Let the user override the test with a path.
39822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39823 for as_dir
in $PATH
39826 test -z "$as_dir" && as_dir
=.
39827 for ac_exec_ext
in '' $ac_executable_extensions; do
39828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39829 ac_cv_path_DVIPS
="$as_dir/$ac_word$ac_exec_ext"
39830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39836 test -z "$ac_cv_path_DVIPS" && ac_cv_path_DVIPS
="$ac_aux_dir_abs/missing dvips"
39840 DVIPS
=$ac_cv_path_DVIPS
39842 if test -n "$DVIPS"; then
39843 echo "$as_me:$LINENO: result: $DVIPS" >&5
39844 echo "${ECHO_T}$DVIPS" >&6
39846 echo "$as_me:$LINENO: result: no" >&5
39847 echo "${ECHO_T}no" >&6
39850 # Extract the first word of "texi2pdf", so it can be a program name with args.
39851 set dummy texi2pdf
; ac_word
=$2
39852 echo "$as_me:$LINENO: checking for $ac_word" >&5
39853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39854 if test "${ac_cv_path_TEXI2PDF+set}" = set; then
39855 echo $ECHO_N "(cached) $ECHO_C" >&6
39859 ac_cv_path_TEXI2PDF
="$TEXI2PDF" # Let the user override the test with a path.
39862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39863 for as_dir
in $PATH
39866 test -z "$as_dir" && as_dir
=.
39867 for ac_exec_ext
in '' $ac_executable_extensions; do
39868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39869 ac_cv_path_TEXI2PDF
="$as_dir/$ac_word$ac_exec_ext"
39870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39876 test -z "$ac_cv_path_TEXI2PDF" && ac_cv_path_TEXI2PDF
="$ac_aux_dir_abs/missing texi2pdf"
39880 TEXI2PDF
=$ac_cv_path_TEXI2PDF
39882 if test -n "$TEXI2PDF"; then
39883 echo "$as_me:$LINENO: result: $TEXI2PDF" >&5
39884 echo "${ECHO_T}$TEXI2PDF" >&6
39886 echo "$as_me:$LINENO: result: no" >&5
39887 echo "${ECHO_T}no" >&6
39890 # Extract the first word of "perl", so it can be a program name with args.
39891 set dummy perl
; ac_word
=$2
39892 echo "$as_me:$LINENO: checking for $ac_word" >&5
39893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39894 if test "${ac_cv_path_PERL+set}" = set; then
39895 echo $ECHO_N "(cached) $ECHO_C" >&6
39899 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
39902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39903 for as_dir
in $PATH
39906 test -z "$as_dir" && as_dir
=.
39907 for ac_exec_ext
in '' $ac_executable_extensions; do
39908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39909 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
39910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39916 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="$ac_aux_dir_abs/missing perl"
39920 PERL
=$ac_cv_path_PERL
39922 if test -n "$PERL"; then
39923 echo "$as_me:$LINENO: result: $PERL" >&5
39924 echo "${ECHO_T}$PERL" >&6
39926 echo "$as_me:$LINENO: result: no" >&5
39927 echo "${ECHO_T}no" >&6
39931 CROSS_COMPILING
=$cross_compiling
39935 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
39937 # Extract the first word of "$ac_prog", so it can be a program name with args.
39938 set dummy
$ac_prog; ac_word
=$2
39939 echo "$as_me:$LINENO: checking for $ac_word" >&5
39940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39941 if test "${ac_cv_prog_CXX+set}" = set; then
39942 echo $ECHO_N "(cached) $ECHO_C" >&6
39944 if test -n "$CXX"; then
39945 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
39947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39948 for as_dir
in $PATH
39951 test -z "$as_dir" && as_dir
=.
39952 for ac_exec_ext
in '' $ac_executable_extensions; do
39953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39954 ac_cv_prog_CXX
="$ac_prog"
39955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39963 CXX
=$ac_cv_prog_CXX
39964 if test -n "$CXX"; then
39965 echo "$as_me:$LINENO: result: $CXX" >&5
39966 echo "${ECHO_T}$CXX" >&6
39968 echo "$as_me:$LINENO: result: no" >&5
39969 echo "${ECHO_T}no" >&6
39972 test -n "$CXX" && break
39974 test -n "$CXX" || CXX
=":"
39976 if test "$CXX" != ":"; then
39977 echo "$as_me:$LINENO: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
39978 echo $ECHO_N "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works... $ECHO_C" >&6
39980 ac_cpp
='$CXXCPP $CPPFLAGS'
39981 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39982 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39983 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39987 echo 'int main () { return 0; }' > conftest.
$ac_ext
39988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39989 (eval $ac_link) 2>&5
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); } && test -s conftest
$ac_exeext; then
39993 ac_cv_prog_cxx_works
=yes
39994 if (.
/conftest
; exit) 2>/dev
/null
; then
39995 ac_cv_prog_cxx_cross
=no
39997 ac_cv_prog_cxx_cross
=yes
40000 ac_cv_prog_cxx_works
=no
40004 ac_cpp
='$CPP $CPPFLAGS'
40005 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40009 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_works" >&5
40010 echo "${ECHO_T}$ac_cv_prog_cxx_works" >&6
40011 if test $ac_cv_prog_cxx_works = no
; then
40014 echo "$as_me:$LINENO: checking whether the C++ compiler supports namespaces" >&5
40015 echo $ECHO_N "checking whether the C++ compiler supports namespaces... $ECHO_C" >&6
40017 ac_cpp
='$CXXCPP $CPPFLAGS'
40018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40022 cat <<EOF > conftest.$ac_ext
40023 #include <iostream>
40024 namespace test { using namespace std; }
40026 int main () { return 0; }
40028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40029 (eval $ac_link) 2>&5
40031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40032 (exit $ac_status); } && test -s conftest
$ac_exeext; then
40033 gt_cv_prog_cxx_namespaces
=yes
40035 gt_cv_prog_cxx_namespaces
=no
40039 ac_cpp
='$CPP $CPPFLAGS'
40040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40044 echo "$as_me:$LINENO: result: $gt_cv_prog_cxx_namespaces" >&5
40045 echo "${ECHO_T}$gt_cv_prog_cxx_namespaces" >&6
40046 if test $gt_cv_prog_cxx_namespaces = no
; then
40054 echo "$as_me:$LINENO: checking for a traditional french locale" >&5
40055 echo $ECHO_N "checking for a traditional french locale... $ECHO_C" >&6
40056 if test "${gt_cv_locale_fr+set}" = set; then
40057 echo $ECHO_N "(cached) $ECHO_C" >&6
40063 darwin
*) macosx
=yes;;
40065 if test -n "$macosx"; then
40066 # On Darwin 7 (MacOS X), the libc supports some locales in non-UTF-8
40067 # encodings, but the kernel does not support them. The documentation
40069 # "... all code that calls BSD system routines should ensure
40070 # that the const *char parameters of these routines are in UTF-8
40071 # encoding. All BSD system functions expect their string
40072 # parameters to be in UTF-8 encoding and nothing else."
40073 # See the comments in config.charset. Therefore we bypass the test.
40074 gt_cv_locale_fr
=none
40076 cat <<EOF > conftest.$ac_ext
40077 #include <locale.h>
40082 /* Check whether the given locale name is recognized by the system. */
40083 if (setlocale (LC_ALL, "") == NULL) return 1;
40084 /* Check whether in the abbreviation of the second month, the second
40085 character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is only
40086 one byte long. This excludes the UTF-8 encoding. */
40087 t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
40088 if (strftime (buf, sizeof (buf), "%b", &t) < 3 || buf[2] != 'v') return 1;
40092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40093 (eval $ac_link) 2>&5
40095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40096 (exit $ac_status); } && test -s conftest
$ac_exeext; then
40097 # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
40098 # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
40099 # configure script would override the LC_ALL setting.
40100 # Test for the usual locale name.
40101 if (LC_ALL
=fr_FR LC_TIME
= .
/conftest
; exit) 2>/dev
/null
; then
40102 gt_cv_locale_fr
=fr_FR
40104 # Test for the locale name with explicit encoding suffix.
40105 if (LC_ALL
=fr_FR.ISO-8859-1 LC_TIME
= .
/conftest
; exit) 2>/dev
/null
; then
40106 gt_cv_locale_fr
=fr_FR.ISO-8859-1
40108 # Test for the AIX, OSF/1, FreeBSD, NetBSD locale name.
40109 if (LC_ALL
=fr_FR.ISO8859-1 LC_TIME
= .
/conftest
; exit) 2>/dev
/null
; then
40110 gt_cv_locale_fr
=fr_FR.ISO8859-1
40112 # Test for the HP-UX locale name.
40113 if (LC_ALL
=fr_FR.iso88591 LC_TIME
= .
/conftest
; exit) 2>/dev
/null
; then
40114 gt_cv_locale_fr
=fr_FR.iso88591
40116 # Test for the Solaris 7 locale name.
40117 if (LC_ALL
=fr LC_TIME
= .
/conftest
; exit) 2>/dev
/null
; then
40120 # Special test for NetBSD 1.6.
40121 if test -f /usr
/share
/locale
/fr_FR.ISO8859-
1/LC_CTYPE
; then
40122 gt_cv_locale_fr
=fr_FR.ISO8859-1
40125 gt_cv_locale_fr
=none
40137 echo "$as_me:$LINENO: result: $gt_cv_locale_fr" >&5
40138 echo "${ECHO_T}$gt_cv_locale_fr" >&6
40139 LOCALE_FR
=$gt_cv_locale_fr
40143 echo "$as_me:$LINENO: checking for a french Unicode locale" >&5
40144 echo $ECHO_N "checking for a french Unicode locale... $ECHO_C" >&6
40145 if test "${gt_cv_locale_fr_utf8+set}" = set; then
40146 echo $ECHO_N "(cached) $ECHO_C" >&6
40149 cat <<EOF > conftest.$ac_ext
40150 #include <locale.h>
40155 /* On BeOS, locales are not implemented in libc. Rather, libintl
40156 imitates locale dependent behaviour by looking at the environment
40157 variables, and all locales use the UTF-8 encoding. */
40158 #if !defined(__BEOS__)
40159 /* Check whether the given locale name is recognized by the system. */
40160 if (setlocale (LC_ALL, "") == NULL) return 1;
40161 /* Check whether in the abbreviation of the second month, the second
40162 character (should be U+00E9: LATIN SMALL LETTER E WITH ACUTE) is
40163 two bytes long, with UTF-8 encoding. */
40164 t.tm_year = 1975 - 1900; t.tm_mon = 2 - 1; t.tm_mday = 4;
40165 if (strftime (buf, sizeof (buf), "%b", &t) < 4
40166 || buf[1] != (char) 0xc3 || buf[2] != (char) 0xa9 || buf[3] != 'v')
40172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40173 (eval $ac_link) 2>&5
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); } && test -s conftest
$ac_exeext; then
40177 # Setting LC_ALL is not enough. Need to set LC_TIME to empty, because
40178 # otherwise on MacOS X 10.3.5 the LC_TIME=C from the beginning of the
40179 # configure script would override the LC_ALL setting.
40180 # Test for the usual locale name.
40181 if (LC_ALL
=fr_FR LC_TIME
= .
/conftest
; exit) 2>/dev
/null
; then
40182 gt_cv_locale_fr_utf8
=fr_FR
40184 # Test for the locale name with explicit encoding suffix.
40185 if (LC_ALL
=fr_FR.UTF-8 LC_TIME
= .
/conftest
; exit) 2>/dev
/null
; then
40186 gt_cv_locale_fr_utf8
=fr_FR.UTF-8
40188 # Test for the Solaris 7 locale name.
40189 if (LC_ALL
=fr.UTF-8 LC_TIME
= .
/conftest
; exit) 2>/dev
/null
; then
40190 gt_cv_locale_fr_utf8
=fr.UTF-8
40193 gt_cv_locale_fr_utf8
=none
40201 echo "$as_me:$LINENO: result: $gt_cv_locale_fr_utf8" >&5
40202 echo "${ECHO_T}$gt_cv_locale_fr_utf8" >&6
40203 LOCALE_FR_UTF8
=$gt_cv_locale_fr_utf8
40207 if test "${enable_libasprintf+set}" = set; then
40208 if test "$enable_libasprintf" != no
; then
40209 TESTLIBASPRINTF
=yes
40214 TESTLIBASPRINTF
=yes
40216 if test "$CXX" = ":"; then
40221 test -d intl || mkdir intl
40222 echo "GNU gettext library from gettext-$VERSION" > intl
/VERSION
40223 cat > intl
/ChangeLog.inst
<<EOF
40224 $RELEASE_DATE GNU <bug-gnu-gettext@gnu.org>
40226 * Version $VERSION released.
40230 ac_config_files
="$ac_config_files Makefile"
40233 ac_config_files
="$ac_config_files doc/Makefile"
40236 ac_config_files
="$ac_config_files intl/Makefile:../gettext-runtime/intl/Makefile.in"
40239 ac_config_files
="$ac_config_files lib/Makefile"
40241 ac_config_files
="$ac_config_files lib/javacomp.sh lib/javaexec.sh"
40243 ac_config_files
="$ac_config_files lib/csharpcomp.sh lib/csharpexec.sh"
40246 ac_config_files
="$ac_config_files libgrep/Makefile"
40249 ac_config_files
="$ac_config_files libuniname/Makefile"
40252 ac_config_files
="$ac_config_files src/Makefile"
40254 ac_config_files
="$ac_config_files src/user-email:src/user-email.sh.in"
40257 ac_config_files
="$ac_config_files po/Makefile.in"
40260 ac_config_files
="$ac_config_files projects/Makefile"
40263 ac_config_files
="$ac_config_files misc/Makefile"
40265 ac_config_files
="$ac_config_files misc/gettextize"
40267 ac_config_files
="$ac_config_files misc/autopoint"
40270 ac_config_files
="$ac_config_files man/Makefile"
40272 ac_config_files
="$ac_config_files man/x-to-1"
40275 ac_config_files
="$ac_config_files m4/Makefile"
40278 ac_config_files
="$ac_config_files tests/Makefile"
40281 ac_config_files
="$ac_config_files examples/Makefile"
40283 ac_config_files
="$ac_config_files examples/installpaths"
40285 ac_config_files
="$ac_config_files examples/po/Makefile"
40288 cat >confcache
<<\_ACEOF
40289 # This file is a shell script that caches the results of configure
40290 # tests run on this system so they can be shared between configure
40291 # scripts and configure runs, see configure's option --config-cache.
40292 # It is not useful on other systems. If it contains results you don't
40293 # want to keep, you may remove or edit it.
40295 # config.status only pays attention to the cache file if you give it
40296 # the --recheck option to rerun configure.
40298 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40299 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40300 # following values.
40304 # The following way of writing the cache mishandles newlines in values,
40305 # but we know of no workaround that is simple, portable, and efficient.
40306 # So, don't put newlines in cache variables' values.
40307 # Ultrix sh set writes to stderr and can't be redirected directly,
40308 # and sets the high bit in the cache file unless we assign to the vars.
40311 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40313 # `set' does not quote correctly, so add quotes (double-quote
40314 # substitution turns \\\\ into \\, and sed turns \\ into \).
40317 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40320 # `set' quotes correctly as required by POSIX, so do not add quotes.
40322 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40329 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40331 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40333 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
40334 if test -w $cache_file; then
40335 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40336 cat confcache
>$cache_file
40338 echo "not updating unwritable cache $cache_file"
40343 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
40344 # Let make expand exec_prefix.
40345 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
40347 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40348 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40349 # trailing colons and then remove the whole line if VPATH becomes empty
40350 # (actually we leave an empty line to preserve line numbers).
40351 if test "x$srcdir" = x.
; then
40352 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
40353 s/:*\$(srcdir):*/:/;
40354 s/:*\${srcdir}:*/:/;
40356 s/^\([^=]*=[ ]*\):*/\1/;
40362 DEFS
=-DHAVE_CONFIG_H
40366 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
40367 # 1. Remove the extension, and $U if already installed.
40368 ac_i
=`echo "$ac_i" |
40369 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40371 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
40372 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
40374 LIBOBJS
=$ac_libobjs
40376 LTLIBOBJS
=$ac_ltlibobjs
40379 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
40380 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
40381 Usually this means the macro was only invoked conditionally." >&5
40382 echo "$as_me: error: conditional \"AMDEP\" was never defined.
40383 Usually this means the macro was only invoked conditionally." >&2;}
40384 { (exit 1); exit 1; }; }
40386 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
40387 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
40388 Usually this means the macro was only invoked conditionally." >&5
40389 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
40390 Usually this means the macro was only invoked conditionally." >&2;}
40391 { (exit 1); exit 1; }; }
40393 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
40394 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
40395 Usually this means the macro was only invoked conditionally." >&5
40396 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
40397 Usually this means the macro was only invoked conditionally." >&2;}
40398 { (exit 1); exit 1; }; }
40400 if test -z "${RELOCATABLE_VIA_LD_TRUE}" && test -z "${RELOCATABLE_VIA_LD_FALSE}"; then
40401 { { echo "$as_me:$LINENO: error: conditional \"RELOCATABLE_VIA_LD\" was never defined.
40402 Usually this means the macro was only invoked conditionally." >&5
40403 echo "$as_me: error: conditional \"RELOCATABLE_VIA_LD\" was never defined.
40404 Usually this means the macro was only invoked conditionally." >&2;}
40405 { (exit 1); exit 1; }; }
40408 : ${CONFIG_STATUS=./config.status}
40409 ac_clean_files_save
=$ac_clean_files
40410 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
40411 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40412 echo "$as_me: creating $CONFIG_STATUS" >&6;}
40413 cat >$CONFIG_STATUS <<_ACEOF
40415 # Generated by $as_me.
40416 # Run this file to recreate the current configuration.
40417 # Compiler output produced by configure, useful for debugging
40418 # configure, is in config.log if it exists.
40421 ac_cs_recheck=false
40423 SHELL=\${CONFIG_SHELL-$SHELL}
40426 cat >>$CONFIG_STATUS <<\_ACEOF
40427 ## --------------------- ##
40428 ## M4sh Initialization. ##
40429 ## --------------------- ##
40431 # Be Bourne compatible
40432 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
40435 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40436 # is contrary to our usage. Disable this feature.
40437 alias -g '${1+"$@"}'='"$@"'
40438 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
40441 DUALCASE
=1; export DUALCASE
# for MKS sh
40443 # Support unset when possible.
40444 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
40451 # Work around bugs in pre-3.0 UWIN ksh.
40452 $as_unset ENV MAIL MAILPATH
40459 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40460 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40461 LC_TELEPHONE LC_TIME
40463 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40464 eval $as_var=C
; export $as_var
40470 # Required to use basename.
40471 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40477 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
40478 as_basename
=basename
40484 # Name of the executable.
40485 as_me
=`$as_basename "$0" ||
40486 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40487 X"$0" : 'X\(//\)$' \| \
40488 X"$0" : 'X\(/\)$' \| \
40489 . : '\(.\)' 2>/dev/null ||
40491 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40492 /^X\/\(\/\/\)$/{ s//\1/; q; }
40493 /^X\/\(\/\).*/{ s//\1/; q; }
40497 # PATH needs CR, and LINENO needs CR and PATH.
40498 # Avoid depending upon Character Ranges.
40499 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
40500 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40501 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40502 as_cr_digits
='0123456789'
40503 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40505 # The user is always right.
40506 if test "${PATH_SEPARATOR+set}" != set; then
40507 echo "#! /bin/sh" >conf$$.sh
40508 echo "exit 0" >>conf$$.sh
40510 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
40519 as_lineno_1
=$LINENO
40520 as_lineno_2
=$LINENO
40521 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
40522 test "x$as_lineno_1" != "x$as_lineno_2" &&
40523 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
40524 # Find who we are. Look in the path if we contain no path at all
40527 *[\\/]* ) as_myself
=$0 ;;
40528 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40529 for as_dir
in $PATH
40532 test -z "$as_dir" && as_dir
=.
40533 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
40538 # We did not find ourselves, most probably we were run as `sh COMMAND'
40539 # in which case we are not to be found in the path.
40540 if test "x$as_myself" = x
; then
40543 if test ! -f "$as_myself"; then
40544 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40545 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40546 { (exit 1); exit 1; }; }
40548 case $CONFIG_SHELL in
40550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40551 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
40554 test -z "$as_dir" && as_dir
=.
40555 for as_base
in sh bash ksh sh5
; do
40558 if ("$as_dir/$as_base" -c '
40559 as_lineno_1=$LINENO
40560 as_lineno_2=$LINENO
40561 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40562 test "x$as_lineno_1" != "x$as_lineno_2" &&
40563 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
40564 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
40565 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
40566 CONFIG_SHELL
=$as_dir/$as_base
40567 export CONFIG_SHELL
40568 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40576 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40577 # uniformly replaced by the line number. The first 'sed' inserts a
40578 # line-number line before each line; the second 'sed' does the real
40579 # work. The second script uses 'N' to pair each line-number line
40580 # with the numbered line, and appends trailing '-' during
40581 # substitution so that $LINENO is not a special case at line end.
40582 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40583 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40584 sed '=' <$as_myself |
40589 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40592 s,^['$as_cr_digits']*\n,,
40593 ' >$as_me.lineno
&&
40594 chmod +x
$as_me.lineno ||
40595 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40596 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40597 { (exit 1); exit 1; }; }
40599 # Don't try to exec as it changes $[0], causing all sort of problems
40600 # (the dirname of $[0] is not the place where we might find the
40601 # original and so on. Autoconf is especially sensible to this).
40603 # Exit status is that of the last command.
40608 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40609 *c
*,-n*) ECHO_N
= ECHO_C
='
40611 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
40612 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
40615 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40621 rm -f conf$$ conf$$.exe conf$$.
file
40623 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
40624 # We could just check for DJGPP; but this test a) works b) is more generic
40625 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40626 if test -f conf$$.exe
; then
40627 # Don't use ln at all; we don't have any links
40632 elif ln conf$$.
file conf$$
2>/dev
/null
; then
40637 rm -f conf$$ conf$$.exe conf$$.
file
40639 if mkdir
-p .
2>/dev
/null
; then
40642 test -d .
/-p && rmdir .
/-p
40646 as_executable_p
="test -f"
40648 # Sed expression to map a string onto a valid CPP name.
40649 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40651 # Sed expression to map a string onto a valid variable name.
40652 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40656 # We need space, tab and new line, in precisely that order.
40666 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40667 # report actual input values of CONFIG_FILES etc. instead of their
40668 # values after options handling. Logging --version etc. is OK.
40672 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
40673 ## Running $as_me. ##
40678 This file was extended by $as_me, which was
40679 generated by GNU Autoconf 2.59. Invocation command line was
40681 CONFIG_FILES = $CONFIG_FILES
40682 CONFIG_HEADERS = $CONFIG_HEADERS
40683 CONFIG_LINKS = $CONFIG_LINKS
40684 CONFIG_COMMANDS = $CONFIG_COMMANDS
40688 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
40692 # Files that config.status was made for.
40693 if test -n "$ac_config_files"; then
40694 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
40697 if test -n "$ac_config_headers"; then
40698 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
40701 if test -n "$ac_config_links"; then
40702 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
40705 if test -n "$ac_config_commands"; then
40706 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
40709 cat >>$CONFIG_STATUS <<\_ACEOF
40712 \`$as_me' instantiates files from templates according to the
40713 current configuration.
40715 Usage: $0 [OPTIONS] [FILE]...
40717 -h, --help print this help, then exit
40718 -V, --version print version number, then exit
40719 -q, --quiet do not print progress messages
40720 -d, --debug don't remove temporary files
40721 --recheck update $as_me by reconfiguring in the same conditions
40722 --file=FILE[:TEMPLATE]
40723 instantiate the configuration file FILE
40724 --header=FILE[:TEMPLATE]
40725 instantiate the configuration header FILE
40727 Configuration files:
40730 Configuration headers:
40733 Configuration commands:
40736 Report bugs to <bug-autoconf@gnu.org>."
40739 cat >>$CONFIG_STATUS <<_ACEOF
40742 configured by $0, generated by GNU Autoconf 2.59,
40743 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
40745 Copyright (C) 2003 Free Software Foundation, Inc.
40746 This config.status script is free software; the Free Software Foundation
40747 gives unlimited permission to copy, distribute and modify it."
40752 cat >>$CONFIG_STATUS <<\_ACEOF
40753 # If no file are specified by the user, then we need to provide default
40754 # value. By we need to know if files were specified by the user.
40760 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
40761 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
40769 *) # This is not an option, so the user has probably given explicit
40772 ac_need_defaults
=false
;;
40776 # Handling of the options.
40778 cat >>$CONFIG_STATUS <<\_ACEOF
40779 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
40781 --version |
--vers* |
-V )
40782 echo "$ac_cs_version"; exit 0 ;;
40784 # Conflict between --help and --header
40785 { { echo "$as_me:$LINENO: error: ambiguous option: $1
40786 Try \`$0 --help' for more information." >&5
40787 echo "$as_me: error: ambiguous option: $1
40788 Try \`$0 --help' for more information." >&2;}
40789 { (exit 1); exit 1; }; };;
40790 --help |
--hel |
-h )
40791 echo "$ac_cs_usage"; exit 0 ;;
40792 --debug |
--d* |
-d )
40794 --file |
--fil |
--fi |
--f )
40796 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
40797 ac_need_defaults
=false
;;
40798 --header |
--heade |
--head |
--hea )
40800 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
40801 ac_need_defaults
=false
;;
40802 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
40803 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
40806 # This is an error.
40807 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
40808 Try \`$0 --help' for more information." >&5
40809 echo "$as_me: error: unrecognized option: $1
40810 Try \`$0 --help' for more information." >&2;}
40811 { (exit 1); exit 1; }; } ;;
40813 *) ac_config_targets
="$ac_config_targets $1" ;;
40819 ac_configure_extra_args
=
40821 if $ac_cs_silent; then
40823 ac_configure_extra_args
="$ac_configure_extra_args --silent"
40827 cat >>$CONFIG_STATUS <<_ACEOF
40828 if \$ac_cs_recheck; then
40829 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
40830 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
40835 cat >>$CONFIG_STATUS <<_ACEOF
40837 # INIT-COMMANDS section.
40840 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
40841 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
40842 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
40844 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
40845 # Capture the value of LINGUAS because we need it to compute CATALOGS.
40846 LINGUAS="${LINGUAS-%UNSET%}"
40853 cat >>$CONFIG_STATUS <<\_ACEOF
40854 for ac_config_target
in $ac_config_targets
40856 case "$ac_config_target" in
40857 # Handling of arguments.
40858 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
40859 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
40860 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile:../gettext-runtime/intl/Makefile.in" ;;
40861 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
40862 "lib/javacomp.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/javacomp.sh" ;;
40863 "lib/javaexec.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/javaexec.sh" ;;
40864 "lib/csharpcomp.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/csharpcomp.sh" ;;
40865 "lib/csharpexec.sh" ) CONFIG_FILES
="$CONFIG_FILES lib/csharpexec.sh" ;;
40866 "libgrep/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libgrep/Makefile" ;;
40867 "libuniname/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libuniname/Makefile" ;;
40868 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
40869 "src/user-email" ) CONFIG_FILES
="$CONFIG_FILES src/user-email:src/user-email.sh.in" ;;
40870 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
40871 "projects/Makefile" ) CONFIG_FILES
="$CONFIG_FILES projects/Makefile" ;;
40872 "misc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES misc/Makefile" ;;
40873 "misc/gettextize" ) CONFIG_FILES
="$CONFIG_FILES misc/gettextize" ;;
40874 "misc/autopoint" ) CONFIG_FILES
="$CONFIG_FILES misc/autopoint" ;;
40875 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
40876 "man/x-to-1" ) CONFIG_FILES
="$CONFIG_FILES man/x-to-1" ;;
40877 "m4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
40878 "tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tests/Makefile" ;;
40879 "examples/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/Makefile" ;;
40880 "examples/installpaths" ) CONFIG_FILES
="$CONFIG_FILES examples/installpaths" ;;
40881 "examples/po/Makefile" ) CONFIG_FILES
="$CONFIG_FILES examples/po/Makefile" ;;
40882 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
40883 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
40884 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
40885 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
40886 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
40887 { (exit 1); exit 1; }; };;
40891 # If the user did not use the arguments to specify the items to instantiate,
40892 # then the envvar interface is used. Set only those that are not.
40893 # We use the long form for the default assignment because of an extremely
40894 # bizarre bug on SunOS 4.1.3.
40895 if $ac_need_defaults; then
40896 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
40897 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
40898 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
40901 # Have a temporary directory for convenience. Make it in the build tree
40902 # simply because there is no reason to put it here, and in addition,
40903 # creating and moving files from /tmp can sometimes cause problems.
40904 # Create a temporary directory, and hook for its removal unless debugging.
40907 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
40908 trap '{ (exit 1); exit 1; }' 1 2 13 15
40911 # Create a (secure) tmp directory for tmp files.
40914 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
40915 test -n "$tmp" && test -d "$tmp"
40918 tmp
=.
/confstat$$
-$RANDOM
40919 (umask 077 && mkdir
$tmp)
40922 echo "$me: cannot create a temporary directory in ." >&2
40923 { (exit 1); exit 1; }
40928 cat >>$CONFIG_STATUS <<_ACEOF
40931 # CONFIG_FILES section.
40934 # No need to generate the scripts if there are no CONFIG_FILES.
40935 # This happens for instance when ./config.status config.h
40936 if test -n "\$CONFIG_FILES"; then
40937 # Protect against being on the right side of a sed subst in config.status.
40938 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
40939 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
40940 s,@SHELL@,$SHELL,;t t
40941 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
40942 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
40943 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
40944 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
40945 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
40946 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40947 s,@exec_prefix@,$exec_prefix,;t t
40948 s,@prefix@,$prefix,;t t
40949 s,@program_transform_name@,$program_transform_name,;t t
40950 s,@bindir@,$bindir,;t t
40951 s,@sbindir@,$sbindir,;t t
40952 s,@libexecdir@,$libexecdir,;t t
40953 s,@datadir@,$datadir,;t t
40954 s,@sysconfdir@,$sysconfdir,;t t
40955 s,@sharedstatedir@,$sharedstatedir,;t t
40956 s,@localstatedir@,$localstatedir,;t t
40957 s,@libdir@,$libdir,;t t
40958 s,@includedir@,$includedir,;t t
40959 s,@oldincludedir@,$oldincludedir,;t t
40960 s,@infodir@,$infodir,;t t
40961 s,@mandir@,$mandir,;t t
40962 s,@build_alias@,$build_alias,;t t
40963 s,@host_alias@,$host_alias,;t t
40964 s,@target_alias@,$target_alias,;t t
40965 s,@DEFS@,$DEFS,;t t
40966 s,@ECHO_C@,$ECHO_C,;t t
40967 s,@ECHO_N@,$ECHO_N,;t t
40968 s,@ECHO_T@,$ECHO_T,;t t
40969 s,@LIBS@,$LIBS,;t t
40970 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40971 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40972 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40973 s,@CYGPATH_W@,$CYGPATH_W,;t t
40974 s,@PACKAGE@,$PACKAGE,;t t
40975 s,@VERSION@,$VERSION,;t t
40976 s,@ACLOCAL@,$ACLOCAL,;t t
40977 s,@AUTOCONF@,$AUTOCONF,;t t
40978 s,@AUTOMAKE@,$AUTOMAKE,;t t
40979 s,@AUTOHEADER@,$AUTOHEADER,;t t
40980 s,@MAKEINFO@,$MAKEINFO,;t t
40981 s,@install_sh@,$install_sh,;t t
40982 s,@STRIP@,$STRIP,;t t
40983 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40984 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
40985 s,@mkdir_p@,$mkdir_p,;t t
40987 s,@SET_MAKE@,$SET_MAKE,;t t
40988 s,@am__leading_dot@,$am__leading_dot,;t t
40989 s,@AMTAR@,$AMTAR,;t t
40990 s,@am__tar@,$am__tar,;t t
40991 s,@am__untar@,$am__untar,;t t
40992 s,@localedir@,$localedir,;t t
40993 s,@docdir@,$docdir,;t t
40995 s,@CFLAGS@,$CFLAGS,;t t
40996 s,@LDFLAGS@,$LDFLAGS,;t t
40997 s,@CPPFLAGS@,$CPPFLAGS,;t t
40998 s,@ac_ct_CC@,$ac_ct_CC,;t t
40999 s,@EXEEXT@,$EXEEXT,;t t
41000 s,@OBJEXT@,$OBJEXT,;t t
41001 s,@DEPDIR@,$DEPDIR,;t t
41002 s,@am__include@,$am__include,;t t
41003 s,@am__quote@,$am__quote,;t t
41004 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
41005 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
41006 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
41007 s,@CCDEPMODE@,$CCDEPMODE,;t t
41008 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
41009 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
41010 s,@YACC@,$YACC,;t t
41012 s,@GCJFLAGS@,$GCJFLAGS,;t t
41013 s,@HAVE_GCJ@,$HAVE_GCJ,;t t
41014 s,@BUILDJAVAEXE@,$BUILDJAVAEXE,;t t
41016 s,@EGREP@,$EGREP,;t t
41017 s,@HAVE_GCJ_IN_PATH@,$HAVE_GCJ_IN_PATH,;t t
41018 s,@HAVE_JAVAC_IN_PATH@,$HAVE_JAVAC_IN_PATH,;t t
41019 s,@HAVE_JIKES_IN_PATH@,$HAVE_JIKES_IN_PATH,;t t
41020 s,@JAVAC@,$JAVAC,;t t
41021 s,@CLASSPATH@,$CLASSPATH,;t t
41022 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
41023 s,@HAVE_GCJ_C@,$HAVE_GCJ_C,;t t
41024 s,@HAVE_JAVAC@,$HAVE_JAVAC,;t t
41025 s,@HAVE_JIKES@,$HAVE_JIKES,;t t
41027 s,@BUILDJAVA@,$BUILDJAVA,;t t
41028 s,@HAVE_GIJ_IN_PATH@,$HAVE_GIJ_IN_PATH,;t t
41029 s,@HAVE_JAVA_IN_PATH@,$HAVE_JAVA_IN_PATH,;t t
41030 s,@HAVE_JRE_IN_PATH@,$HAVE_JRE_IN_PATH,;t t
41031 s,@HAVE_JVIEW_IN_PATH@,$HAVE_JVIEW_IN_PATH,;t t
41032 s,@JAVA@,$JAVA,;t t
41033 s,@HAVE_GIJ@,$HAVE_GIJ,;t t
41034 s,@HAVE_JAVA@,$HAVE_JAVA,;t t
41035 s,@HAVE_JRE@,$HAVE_JRE,;t t
41036 s,@HAVE_JVIEW@,$HAVE_JVIEW,;t t
41037 s,@TESTJAVA@,$TESTJAVA,;t t
41038 s,@CSHARP_CHOICE@,$CSHARP_CHOICE,;t t
41039 s,@HAVE_CSCC_IN_PATH@,$HAVE_CSCC_IN_PATH,;t t
41040 s,@HAVE_MCS_IN_PATH@,$HAVE_MCS_IN_PATH,;t t
41041 s,@HAVE_CSC_IN_PATH@,$HAVE_CSC_IN_PATH,;t t
41042 s,@HAVE_CSCC@,$HAVE_CSCC,;t t
41043 s,@HAVE_MCS@,$HAVE_MCS,;t t
41044 s,@HAVE_CSC@,$HAVE_CSC,;t t
41045 s,@BUILDCSHARP@,$BUILDCSHARP,;t t
41046 s,@HAVE_ILRUN_IN_PATH@,$HAVE_ILRUN_IN_PATH,;t t
41047 s,@HAVE_MONO_IN_PATH@,$HAVE_MONO_IN_PATH,;t t
41048 s,@MONO_PATH@,$MONO_PATH,;t t
41049 s,@MONO_PATH_SEPARATOR@,$MONO_PATH_SEPARATOR,;t t
41050 s,@HAVE_ILRUN@,$HAVE_ILRUN,;t t
41051 s,@HAVE_MONO@,$HAVE_MONO,;t t
41052 s,@TESTCSHARP@,$TESTCSHARP,;t t
41053 s,@build@,$build,;t t
41054 s,@build_cpu@,$build_cpu,;t t
41055 s,@build_vendor@,$build_vendor,;t t
41056 s,@build_os@,$build_os,;t t
41057 s,@host@,$host,;t t
41058 s,@host_cpu@,$host_cpu,;t t
41059 s,@host_vendor@,$host_vendor,;t t
41060 s,@host_os@,$host_os,;t t
41061 s,@LN_S@,$LN_S,;t t
41062 s,@ECHO@,$ECHO,;t t
41064 s,@ac_ct_AR@,$ac_ct_AR,;t t
41065 s,@RANLIB@,$RANLIB,;t t
41066 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41067 s,@DLLTOOL@,$DLLTOOL,;t t
41068 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
41070 s,@ac_ct_AS@,$ac_ct_AS,;t t
41071 s,@OBJDUMP@,$OBJDUMP,;t t
41072 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
41074 s,@CXXFLAGS@,$CXXFLAGS,;t t
41075 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41076 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
41077 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
41078 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
41079 s,@CXXCPP@,$CXXCPP,;t t
41081 s,@FFLAGS@,$FFLAGS,;t t
41082 s,@ac_ct_F77@,$ac_ct_F77,;t t
41083 s,@LIBTOOL@,$LIBTOOL,;t t
41084 s,@RELOCATABLE@,$RELOCATABLE,;t t
41085 s,@LIBOBJS@,$LIBOBJS,;t t
41086 s,@SET_RELOCATABLE@,$SET_RELOCATABLE,;t t
41087 s,@RELOCATABLE_VIA_LD_TRUE@,$RELOCATABLE_VIA_LD_TRUE,;t t
41088 s,@RELOCATABLE_VIA_LD_FALSE@,$RELOCATABLE_VIA_LD_FALSE,;t t
41089 s,@STDBOOL_H@,$STDBOOL_H,;t t
41090 s,@HAVE__BOOL@,$HAVE__BOOL,;t t
41091 s,@ALLOCA@,$ALLOCA,;t t
41092 s,@ALLOCA_H@,$ALLOCA_H,;t t
41093 s,@FNMATCH_H@,$FNMATCH_H,;t t
41094 s,@GETOPT_H@,$GETOPT_H,;t t
41095 s,@LIBGREPOBJS@,$LIBGREPOBJS,;t t
41096 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
41097 s,@USE_NLS@,$USE_NLS,;t t
41098 s,@MSGFMT@,$MSGFMT,;t t
41099 s,@GMSGFMT@,$GMSGFMT,;t t
41100 s,@XGETTEXT@,$XGETTEXT,;t t
41101 s,@MSGMERGE@,$MSGMERGE,;t t
41102 s,@GLIBC2@,$GLIBC2,;t t
41103 s,@GLIBC21@,$GLIBC21,;t t
41104 s,@INTL_MACOSX_LIBS@,$INTL_MACOSX_LIBS,;t t
41105 s,@HAVE_POSIX_PRINTF@,$HAVE_POSIX_PRINTF,;t t
41106 s,@HAVE_ASPRINTF@,$HAVE_ASPRINTF,;t t
41107 s,@HAVE_SNPRINTF@,$HAVE_SNPRINTF,;t t
41108 s,@HAVE_WPRINTF@,$HAVE_WPRINTF,;t t
41109 s,@LIBICONV@,$LIBICONV,;t t
41110 s,@LTLIBICONV@,$LTLIBICONV,;t t
41111 s,@INTLBISON@,$INTLBISON,;t t
41112 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
41113 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
41114 s,@CATOBJEXT@,$CATOBJEXT,;t t
41115 s,@DATADIRNAME@,$DATADIRNAME,;t t
41116 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
41117 s,@GENCAT@,$GENCAT,;t t
41118 s,@INTLOBJS@,$INTLOBJS,;t t
41119 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
41120 s,@INTLLIBS@,$INTLLIBS,;t t
41121 s,@LIBINTL@,$LIBINTL,;t t
41122 s,@LTLIBINTL@,$LTLIBINTL,;t t
41123 s,@POSUB@,$POSUB,;t t
41124 s,@LIBEXPAT@,$LIBEXPAT,;t t
41125 s,@LTLIBEXPAT@,$LTLIBEXPAT,;t t
41126 s,@HAVE_LIBEXPAT@,$HAVE_LIBEXPAT,;t t
41127 s,@EMACS@,$EMACS,;t t
41128 s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
41129 s,@lispdir@,$lispdir,;t t
41130 s,@aclocaldir@,$aclocaldir,;t t
41131 s,@DVIPS@,$DVIPS,;t t
41132 s,@TEXI2PDF@,$TEXI2PDF,;t t
41133 s,@PERL@,$PERL,;t t
41134 s,@CROSS_COMPILING@,$CROSS_COMPILING,;t t
41135 s,@LOCALE_FR@,$LOCALE_FR,;t t
41136 s,@LOCALE_FR_UTF8@,$LOCALE_FR_UTF8,;t t
41137 s,@TESTLIBASPRINTF@,$TESTLIBASPRINTF,;t t
41138 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
41143 cat >>$CONFIG_STATUS <<\_ACEOF
41144 # Split the substitutions into bite-sized pieces for seds with
41145 # small command number limits, like on Digital OSF/1 and HP-UX.
41146 ac_max_sed_lines
=48
41147 ac_sed_frag
=1 # Number of current file.
41148 ac_beg
=1 # First line for current file.
41149 ac_end
=$ac_max_sed_lines # Line after last line for current file.
41152 while $ac_more_lines; do
41153 if test $ac_beg -gt 1; then
41154 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
41156 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
41158 if test ! -s $tmp/subs.frag
; then
41159 ac_more_lines
=false
41161 # The purpose of the label and of the branching condition is to
41162 # speed up the sed processing (if there are no `@' at all, there
41163 # is no need to browse any of the substitutions).
41164 # These are the two extra sed commands mentioned above.
41166 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
41167 if test -z "$ac_sed_cmds"; then
41168 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
41170 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
41172 ac_sed_frag
=`expr $ac_sed_frag + 1`
41174 ac_end
=`expr $ac_end + $ac_max_sed_lines`
41177 if test -z "$ac_sed_cmds"; then
41180 fi # test -n "$CONFIG_FILES"
41183 cat >>$CONFIG_STATUS <<\_ACEOF
41184 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
41185 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41187 - |
*:- |
*:-:* ) # input from stdin
41189 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41190 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41191 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41192 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41193 * ) ac_file_in
=$ac_file.
in ;;
41196 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
41197 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41198 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41199 X"$ac_file" : 'X\(//\)[^/]' \| \
41200 X"$ac_file" : 'X\(//\)$' \| \
41201 X"$ac_file" : 'X\(/\)' \| \
41202 . : '\(.\)' 2>/dev/null ||
41204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41206 /^X\(\/\/\)$/{ s//\1/; q; }
41207 /^X\(\/\).*/{ s//\1/; q; }
41209 { if $as_mkdir_p; then
41214 while test ! -d "$as_dir"; do
41215 as_dirs
="$as_dir $as_dirs"
41216 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41217 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41218 X"$as_dir" : 'X\(//\)[^/]' \| \
41219 X"$as_dir" : 'X\(//\)$' \| \
41220 X"$as_dir" : 'X\(/\)' \| \
41221 . : '\(.\)' 2>/dev/null ||
41223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41224 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41225 /^X\(\/\/\)$/{ s//\1/; q; }
41226 /^X\(\/\).*/{ s//\1/; q; }
41229 test ! -n "$as_dirs" || mkdir
$as_dirs
41230 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41231 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41232 { (exit 1); exit 1; }; }; }
41236 if test "$ac_dir" != .
; then
41237 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41238 # A "../" for each directory in $ac_dir_suffix.
41239 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41241 ac_dir_suffix
= ac_top_builddir
=
41245 .
) # No --srcdir option. We are building in place.
41247 if test -z "$ac_top_builddir"; then
41250 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41252 [\\/]* | ?
:[\\/]* ) # Absolute path.
41253 ac_srcdir
=$srcdir$ac_dir_suffix;
41254 ac_top_srcdir
=$srcdir ;;
41255 *) # Relative path.
41256 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41257 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41260 # Do not use `cd foo && pwd` to compute absolute paths, because
41261 # the directories may not exist.
41263 .
) ac_abs_builddir
="$ac_dir";;
41266 .
) ac_abs_builddir
=`pwd`;;
41267 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41268 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41271 case $ac_abs_builddir in
41272 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41274 case ${ac_top_builddir}.
in
41275 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41276 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41277 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41280 case $ac_abs_builddir in
41281 .
) ac_abs_srcdir
=$ac_srcdir;;
41284 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41285 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41286 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41289 case $ac_abs_builddir in
41290 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41292 case $ac_top_srcdir in
41293 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41294 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41295 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
41301 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
41302 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
41305 if test x
"$ac_file" != x-
; then
41306 { echo "$as_me:$LINENO: creating $ac_file" >&5
41307 echo "$as_me: creating $ac_file" >&6;}
41310 # Let's still pretend it is `configure' which instantiates (i.e., don't
41311 # use $as_me), people would be surprised to read:
41312 # /* config.h. Generated by config.status. */
41313 if test x
"$ac_file" = x-
; then
41316 configure_input
="$ac_file. "
41318 configure_input
=$configure_input"Generated from `echo $ac_file_in |
41319 sed 's,.*/,,'` by configure."
41321 # First look for the input files in the build tree, otherwise in the
41323 ac_file_inputs
=`IFS=:
41324 for f in $ac_file_in; do
41326 -) echo $tmp/stdin ;;
41328 # Absolute (can't be DOS-style, as IFS=:)
41329 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41330 echo "$as_me: error: cannot find input file: $f" >&2;}
41331 { (exit 1); exit 1; }; }
41334 if test -f "$f"; then
41337 elif test -f "$srcdir/$f"; then
41342 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41343 echo "$as_me: error: cannot find input file: $f" >&2;}
41344 { (exit 1); exit 1; }; }
41347 done` ||
{ (exit 1); exit 1; }
41349 cat >>$CONFIG_STATUS <<_ACEOF
41353 cat >>$CONFIG_STATUS <<\_ACEOF
41355 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
41356 s
,@configure_input@
,$configure_input,;t t
41357 s
,@srcdir@
,$ac_srcdir,;t t
41358 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
41359 s
,@top_srcdir@
,$ac_top_srcdir,;t t
41360 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
41361 s
,@builddir@
,$ac_builddir,;t t
41362 s
,@abs_builddir@
,$ac_abs_builddir,;t t
41363 s
,@top_builddir@
,$ac_top_builddir,;t t
41364 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
41365 s
,@INSTALL@
,$ac_INSTALL,;t t
41366 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41368 if test x"$ac_file" != x-; then
41369 mv $tmp/out $ac_file
41375 # Run the commands associated with the file.
41378 sed -e "s
,\
`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," -e "s
,\
`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," < $ac_file > $ac_file.tmp
41379 mv $ac_file.tmp $ac_file
41382 sed -e 's,^#distdir:,distdir:,' < $ac_file > $ac_file.tmp
41383 mv $ac_file.tmp $ac_file
41386 sed -e '/@rm -f \$''@/d' < $ac_file > $ac_file.tmp
41387 mv $ac_file.tmp $ac_file
41390 # Change srcdir variable so that it points to ../gettext-runtime/intl.
41391 sed -e 's|^srcdir =.*$|srcdir = $(top_srcdir)/../gettext-runtime/intl|' \
41392 < intl/Makefile > intl/Makefile.tmp
41393 mv intl/Makefile.tmp intl/Makefile
41396 sed -e "s
,\
`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," -e "s
,\
`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," < $ac_file > $ac_file.tmp
41397 mv $ac_file.tmp $ac_file
41400 sed -e "s
,\
`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," -e "s
,\
`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," < $ac_file > $ac_file.tmp
41401 mv $ac_file.tmp $ac_file
41403 libuniname/Makefile )
41404 sed -e "s
,\
`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," -e "s
,\
`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," < $ac_file > $ac_file.tmp
41405 mv $ac_file.tmp $ac_file
41408 sed -e "s
,\
`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," -e "s
,\
`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," < $ac_file > $ac_file.tmp
41409 mv $ac_file.tmp $ac_file
41411 misc/gettextize ) chmod a+x misc/gettextize ;;
41412 misc/autopoint ) chmod a+x misc/autopoint ;;
41414 sed -e 's,^#distdir:,distdir:,' < $ac_file > $ac_file.tmp
41415 mv $ac_file.tmp $ac_file
41418 sed -e "s
,\
`test -f \\\$< || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," -e "s
,\
`test -f '\\\$<' || echo '\\\$(srcdir)/'\`\\\$
<,\\\$
<," < $ac_file > $ac_file.tmp
41419 mv $ac_file.tmp $ac_file
41421 examples/Makefile )
41422 sed -e 's,^#distdir:,distdir:,' < $ac_file > $ac_file.tmp
41423 mv $ac_file.tmp $ac_file
41425 examples/po/Makefile )
41426 # When this code is run, in config.status, two variables have already been
41428 # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
41429 # - LINGUAS is the value of the environment variable LINGUAS at configure
41432 # Adjust a relative srcdir.
41433 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
41434 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
41435 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
41436 # In autoconf-2.13 it is called $ac_given_srcdir.
41437 # In autoconf-2.50 it is called $srcdir.
41438 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
41439 case "$ac_given_srcdir" in
41440 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
41441 /*) top_srcdir="$ac_given_srcdir" ;;
41442 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
41445 # Find a way to echo strings without interpreting backslash.
41446 if test "X
`(echo '\t') 2>/dev/null`" = 'X\t'; then
41449 if test "X
`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
41450 gt_echo='printf %s\n'
41457 gt_echo='echo_func'
41461 # A sed script that extracts the value of VARIABLE from a Makefile.
41463 # Test if the hold space is empty.
41468 # Yes it was empty. Look if we have the expected variable definition.
41469 /^[ ]*VARIABLE[ ]*=/{
41470 # Seen the first line of the variable definition.
41471 s/^[ ]*VARIABLE[ ]*=//
41476 # Here we are processing a line from the variable definition.
41477 # Remove comment, more precisely replace it with a space.
41479 # See if the line ends in a backslash.
41483 # Print the line, without the trailing backslash.
41486 # There was no trailing backslash. The end of the variable definition is
41487 # reached. Clear the hold space.
41492 # A trailing backslash means that the variable definition continues in the
41493 # next line. Put a nonempty string into the hold space to indicate this.
41499 # Set POTFILES to the value of the Makefile variable POTFILES.
41500 sed_x_POTFILES="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`"
41501 POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
41502 # Compute POTFILES_DEPS as
41503 # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
41505 for file in $POTFILES; do
41506 POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
41510 if test -n "$OBSOLETE_ALL_LINGUAS"; then
41511 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS
in configure.
in is obsolete
" || echo "setting ALL_LINGUAS
in configure.
in is obsolete
"
41513 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS
"; then
41514 # The LINGUAS file contains the set of available languages.
41515 ALL_LINGUAS_=`sed -e "/^
#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
41516 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
41518 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
41519 sed_x_LINGUAS
="`$gt_echo \"$sed_x_variable\" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`"
41520 ALL_LINGUAS_
=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
41522 # Hide the ALL_LINGUAS assigment from automake.
41523 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
41525 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
41526 # Compute UPDATEPOFILES
41527 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
41528 # Compute DUMMYPOFILES
41529 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
41531 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
41532 # Compute PROPERTIESFILES
41533 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).properties)
41534 # Compute CLASSFILES
41535 # as $(foreach lang, $(ALL_LINGUAS), $(top_srcdir)/$(DOMAIN)_$(lang).class)
41537 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
41539 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
41540 # Compute RESOURCESDLLFILES
41541 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
41542 case "$ac_given_srcdir" in
41544 *) srcdirpre
='$(srcdir)/' ;;
41555 for lang
in $ALL_LINGUAS; do
41556 POFILES
="$POFILES $srcdirpre$lang.po"
41557 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
41558 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
41559 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
41560 PROPERTIESFILES
="$PROPERTIESFILES \$(top_srcdir)/\$(DOMAIN)_$lang.properties"
41561 CLASSFILES
="$CLASSFILES \$(top_srcdir)/\$(DOMAIN)_$lang.class"
41562 QMFILES
="$QMFILES $srcdirpre$lang.qm"
41563 frobbedlang
=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
41564 MSGFILES
="$MSGFILES $srcdirpre$frobbedlang.msg"
41565 frobbedlang
=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
41566 RESOURCESDLLFILES
="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
41568 # CATALOGS depends on both $ac_dir and the user's LINGUAS
41569 # environment variable.
41571 if test -n "$ALL_LINGUAS"; then
41572 for presentlang
in $ALL_LINGUAS; do
41574 if test "%UNSET%" != "$LINGUAS"; then
41575 desiredlanguages
="$LINGUAS"
41577 desiredlanguages
="$ALL_LINGUAS"
41579 for desiredlang
in $desiredlanguages; do
41580 # Use the presentlang catalog if desiredlang is
41581 # a. equal to presentlang, or
41582 # b. a variant of presentlang (because in this case,
41583 # presentlang can be used as a fallback for messages
41584 # which are not translated in the desiredlang catalog).
41585 case "$desiredlang" in
41586 "$presentlang"*) useit
=yes;;
41589 if test $useit = yes; then
41590 INST_LINGUAS
="$INST_LINGUAS $presentlang"
41599 if test -n "$INST_LINGUAS"; then
41600 for lang
in $INST_LINGUAS; do
41601 CATALOGS
="$CATALOGS $lang.gmo"
41602 JAVACATALOGS
="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
41603 QTCATALOGS
="$QTCATALOGS $lang.qm"
41604 frobbedlang
=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
41605 TCLCATALOGS
="$TCLCATALOGS $frobbedlang.msg"
41606 frobbedlang
=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
41607 CSHARPCATALOGS
="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
41611 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
41612 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev
/null
; then
41613 # Add dependencies that cannot be formulated as a simple suffix rule.
41614 for lang
in $ALL_LINGUAS; do
41615 frobbedlang
=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
41616 cat >> "$ac_file.tmp" <<EOF
41617 $frobbedlang.msg: $lang.po
41618 @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
41619 \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
41623 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev
/null
; then
41624 # Add dependencies that cannot be formulated as a simple suffix rule.
41625 for lang
in $ALL_LINGUAS; do
41626 frobbedlang
=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
41627 cat >> "$ac_file.tmp" <<EOF
41628 $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
41629 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
41630 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
41634 if test -n "$POMAKEFILEDEPS"; then
41635 cat >> "$ac_file.tmp" <<EOF
41636 Makefile: $POMAKEFILEDEPS
41639 mv "$ac_file.tmp" "$ac_file"
41644 cat >>$CONFIG_STATUS <<\_ACEOF
41647 # CONFIG_HEADER section.
41650 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
41651 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41653 # ac_d sets the value in "#define NAME VALUE" lines.
41654 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41655 ac_dB
='[ ].*$,\1#\2'
41658 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41659 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41660 ac_uB
='$,\1#\2define\3'
41664 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
41665 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41667 - |
*:- |
*:-:* ) # input from stdin
41669 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41670 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41671 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41672 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
41673 * ) ac_file_in
=$ac_file.
in ;;
41676 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
41677 echo "$as_me: creating $ac_file" >&6;}
41679 # First look for the input files in the build tree, otherwise in the
41681 ac_file_inputs
=`IFS=:
41682 for f in $ac_file_in; do
41684 -) echo $tmp/stdin ;;
41686 # Absolute (can't be DOS-style, as IFS=:)
41687 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41688 echo "$as_me: error: cannot find input file: $f" >&2;}
41689 { (exit 1); exit 1; }; }
41690 # Do quote $f, to prevent DOS paths from being IFS'd.
41693 if test -f "$f"; then
41696 elif test -f "$srcdir/$f"; then
41701 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41702 echo "$as_me: error: cannot find input file: $f" >&2;}
41703 { (exit 1); exit 1; }; }
41706 done` ||
{ (exit 1); exit 1; }
41707 # Remove the trailing spaces.
41708 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41712 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41713 # `conftest.undefs', that substitutes the proper values into
41714 # config.h.in to produce config.h. The first handles `#define'
41715 # templates, and the second `#undef' templates.
41716 # And first: Protect against being on the right side of a sed subst in
41717 # config.status. Protect against being in an unquoted here document
41718 # in config.status.
41719 rm -f conftest.defines conftest.undefs
41720 # Using a here document instead of a string reduces the quoting nightmare.
41721 # Putting comments in sed scripts is not portable.
41723 # `end' is used to avoid that the second main sed command (meant for
41724 # 0-ary CPP macros) applies to n-ary macro definitions.
41725 # See the Autoconf documentation for `clear'.
41726 cat >confdef2sed.
sed <<\_ACEOF
41731 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41733 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41736 # If some macros were called several times there might be several times
41737 # the same #defines, which is useless. Nevertheless, we may not want to
41738 # sort them, since we want the *last* AC-DEFINE to be honored.
41739 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41740 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41741 rm -f confdef2sed.sed
41743 # This sed command replaces #undef with comments. This is necessary, for
41744 # example, in the case of _POSIX_SOURCE, which is predefined and required
41745 # on some systems where configure will not decide to define it.
41746 cat >>conftest.undefs <<\_ACEOF
41747 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41750 # Break up conftest.defines because some shells have a limit on the size
41751 # of here documents, and old seds have small limits too (100 cmds).
41752 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41753 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41754 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41755 echo ' :' >>$CONFIG_STATUS
41756 rm -f conftest.tail
41757 while grep . conftest.defines >/dev/null
41759 # Write a limited-size here document to $tmp/defines.sed.
41760 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41761 # Speed up: don't consider the non `#define' lines.
41762 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41763 # Work around the forget-to-reset-the-flag bug.
41764 echo 't clr' >>$CONFIG_STATUS
41765 echo ': clr' >>$CONFIG_STATUS
41766 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
41768 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41770 mv $tmp/out $tmp/in
41772 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
41773 rm -f conftest.defines
41774 mv conftest.
tail conftest.defines
41776 rm -f conftest.defines
41777 echo ' fi # grep' >>$CONFIG_STATUS
41778 echo >>$CONFIG_STATUS
41780 # Break up conftest.undefs because some shells have a limit on the size
41781 # of here documents, and old seds have small limits too (100 cmds).
41782 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41783 rm -f conftest.
tail
41784 while grep . conftest.undefs
>/dev
/null
41786 # Write a limited-size here document to $tmp/undefs.sed.
41787 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41788 # Speed up: don't consider the non
`#undef'
41789 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41790 # Work around the forget-to-reset-the-flag bug.
41791 echo 't clr' >>$CONFIG_STATUS
41792 echo ': clr' >>$CONFIG_STATUS
41793 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41795 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41797 mv $tmp/out $tmp/in
41799 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41800 rm -f conftest.undefs
41801 mv conftest.tail conftest.undefs
41803 rm -f conftest.undefs
41805 cat >>$CONFIG_STATUS <<\_ACEOF
41806 # Let's still pretend it is `configure
' which instantiates (i.e., don't
41807 # use $as_me), people would be surprised to read:
41808 # /* config.h. Generated by config.status. */
41809 if test x
"$ac_file" = x-
; then
41810 echo "/* Generated by configure. */" >$tmp/config.h
41812 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41814 cat $tmp/in >>$tmp/config.h
41816 if test x
"$ac_file" != x-
; then
41817 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
41818 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41819 echo "$as_me: $ac_file is unchanged" >&6;}
41821 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
41822 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41823 X"$ac_file" : 'X\(//\)[^/]' \| \
41824 X"$ac_file" : 'X\(//\)$' \| \
41825 X"$ac_file" : 'X\(/\)' \| \
41826 . : '\(.\)' 2>/dev/null ||
41828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41829 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41830 /^X\(\/\/\)$/{ s//\1/; q; }
41831 /^X\(\/\).*/{ s//\1/; q; }
41833 { if $as_mkdir_p; then
41838 while test ! -d "$as_dir"; do
41839 as_dirs
="$as_dir $as_dirs"
41840 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41841 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41842 X"$as_dir" : 'X\(//\)[^/]' \| \
41843 X"$as_dir" : 'X\(//\)$' \| \
41844 X"$as_dir" : 'X\(/\)' \| \
41845 . : '\(.\)' 2>/dev/null ||
41847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41848 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41849 /^X\(\/\/\)$/{ s//\1/; q; }
41850 /^X\(\/\).*/{ s//\1/; q; }
41853 test ! -n "$as_dirs" || mkdir
$as_dirs
41854 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41855 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41856 { (exit 1); exit 1; }; }; }
41859 mv $tmp/config.h
$ac_file
41863 rm -f $tmp/config.h
41865 # Compute $ac_file's index in $config_headers.
41867 for _am_header
in $config_headers :; do
41868 case $_am_header in
41869 $ac_file |
$ac_file:* )
41872 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
41875 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
41876 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41877 X$ac_file : 'X\(//\)[^/]' \| \
41878 X$ac_file : 'X\(//\)$' \| \
41879 X$ac_file : 'X\(/\)' \| \
41880 . : '\(.\)' 2>/dev/null ||
41882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41883 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41884 /^X\(\/\/\)$/{ s//\1/; q; }
41885 /^X\(\/\).*/{ s//\1/; q; }
41886 s/.*/./; q'`/stamp-h
$_am_stamp_count
41889 cat >>$CONFIG_STATUS <<\_ACEOF
41892 # CONFIG_COMMANDS section.
41894 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
41895 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
41896 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
41897 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
41898 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41899 X"$ac_dest" : 'X\(//\)[^/]' \| \
41900 X"$ac_dest" : 'X\(//\)$' \| \
41901 X"$ac_dest" : 'X\(/\)' \| \
41902 . : '\(.\)' 2>/dev/null ||
41904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41905 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41906 /^X\(\/\/\)$/{ s//\1/; q; }
41907 /^X\(\/\).*/{ s//\1/; q; }
41909 { if $as_mkdir_p; then
41914 while test ! -d "$as_dir"; do
41915 as_dirs
="$as_dir $as_dirs"
41916 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
41917 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41918 X"$as_dir" : 'X\(//\)[^/]' \| \
41919 X"$as_dir" : 'X\(//\)$' \| \
41920 X"$as_dir" : 'X\(/\)' \| \
41921 . : '\(.\)' 2>/dev/null ||
41923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41924 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41925 /^X\(\/\/\)$/{ s//\1/; q; }
41926 /^X\(\/\).*/{ s//\1/; q; }
41929 test ! -n "$as_dirs" || mkdir
$as_dirs
41930 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41931 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41932 { (exit 1); exit 1; }; }; }
41936 if test "$ac_dir" != .
; then
41937 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41938 # A "../" for each directory in $ac_dir_suffix.
41939 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41941 ac_dir_suffix
= ac_top_builddir
=
41945 .
) # No --srcdir option. We are building in place.
41947 if test -z "$ac_top_builddir"; then
41950 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
41952 [\\/]* | ?
:[\\/]* ) # Absolute path.
41953 ac_srcdir
=$srcdir$ac_dir_suffix;
41954 ac_top_srcdir
=$srcdir ;;
41955 *) # Relative path.
41956 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
41957 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
41960 # Do not use `cd foo && pwd` to compute absolute paths, because
41961 # the directories may not exist.
41963 .
) ac_abs_builddir
="$ac_dir";;
41966 .
) ac_abs_builddir
=`pwd`;;
41967 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
41968 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
41971 case $ac_abs_builddir in
41972 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41974 case ${ac_top_builddir}.
in
41975 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
41976 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
41977 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
41980 case $ac_abs_builddir in
41981 .
) ac_abs_srcdir
=$ac_srcdir;;
41984 .
) ac_abs_srcdir
=$ac_abs_builddir;;
41985 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
41986 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
41989 case $ac_abs_builddir in
41990 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
41992 case $ac_top_srcdir in
41993 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
41994 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
41995 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
42000 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42001 echo "$as_me: executing $ac_dest commands" >&6;}
42003 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
42004 # Strip MF so we end up with the name of the file.
42005 mf
=`echo "$mf" | sed -e 's/:.*$//'`
42006 # Check whether this is an Automake generated Makefile or not.
42007 # We used to match only the files named `Makefile.in', but
42008 # some people rename them; so instead we look at the file content.
42009 # Grep'ing the first line is not enough: some people post-process
42010 # each Makefile.in and add a new line on top of each file to say so.
42011 # So let's grep whole file.
42012 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
42013 dirpart
=`(dirname "$mf") 2>/dev/null ||
42014 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42015 X"$mf" : 'X\(//\)[^/]' \| \
42016 X"$mf" : 'X\(//\)$' \| \
42017 X"$mf" : 'X\(/\)' \| \
42018 . : '\(.\)' 2>/dev/null ||
42020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42021 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42022 /^X\(\/\/\)$/{ s//\1/; q; }
42023 /^X\(\/\).*/{ s//\1/; q; }
42028 # Extract the definition of DEPDIR, am__include, and am__quote
42029 # from the Makefile without running `make'.
42030 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
42031 test -z "$DEPDIR" && continue
42032 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
42033 test -z "am__include" && continue
42034 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
42035 # When using ansi2knr, U may be empty or an underscore; expand it
42036 U
=`sed -n 's/^U = //p' < "$mf"`
42037 # Find all dependency output files, they are included files with
42038 # $(DEPDIR) in their names. We invoke sed twice because it is the
42039 # simplest approach to changing $(DEPDIR) to its actual value in the
42041 for file in `sed -n "
42042 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
42043 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
42044 # Make sure the directory exists.
42045 test -f "$dirpart/$file" && continue
42046 fdir
=`(dirname "$file") 2>/dev/null ||
42047 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42048 X"$file" : 'X\(//\)[^/]' \| \
42049 X"$file" : 'X\(//\)$' \| \
42050 X"$file" : 'X\(/\)' \| \
42051 . : '\(.\)' 2>/dev/null ||
42053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42054 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42055 /^X\(\/\/\)$/{ s//\1/; q; }
42056 /^X\(\/\).*/{ s//\1/; q; }
42058 { if $as_mkdir_p; then
42059 mkdir
-p $dirpart/$fdir
42061 as_dir
=$dirpart/$fdir
42063 while test ! -d "$as_dir"; do
42064 as_dirs
="$as_dir $as_dirs"
42065 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
42066 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42067 X"$as_dir" : 'X\(//\)[^/]' \| \
42068 X"$as_dir" : 'X\(//\)$' \| \
42069 X"$as_dir" : 'X\(/\)' \| \
42070 . : '\(.\)' 2>/dev/null ||
42072 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42073 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42074 /^X\(\/\/\)$/{ s//\1/; q; }
42075 /^X\(\/\).*/{ s//\1/; q; }
42078 test ! -n "$as_dirs" || mkdir
$as_dirs
42079 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
42080 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
42081 { (exit 1); exit 1; }; }; }
42083 # echo "creating $dirpart/$file"
42084 echo '# dummy' > "$dirpart/$file"
42089 for ac_file
in $CONFIG_FILES; do
42090 # Support "outfile[:infile[:infile...]]"
42092 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
42094 # PO directories have a Makefile.in generated from Makefile.in.in.
42095 case "$ac_file" in */Makefile.
in)
42096 # Adjust a relative srcdir.
42097 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
42098 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
42099 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
42100 # In autoconf-2.13 it is called $ac_given_srcdir.
42101 # In autoconf-2.50 it is called $srcdir.
42102 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
42103 case "$ac_given_srcdir" in
42104 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
42105 /*) top_srcdir
="$ac_given_srcdir" ;;
42106 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
42108 # Treat a directory as a PO directory if and only if it has a
42109 # POTFILES.in file. This allows packages to have multiple PO
42110 # directories under different names or in different locations.
42111 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
42112 rm -f "$ac_dir/POTFILES"
42113 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
42114 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
42115 POMAKEFILEDEPS
="POTFILES.in"
42116 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
42117 # on $ac_dir but don't depend on user-specified configuration
42119 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
42120 # The LINGUAS file contains the set of available languages.
42121 if test -n "$OBSOLETE_ALL_LINGUAS"; then
42122 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
42124 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
42125 # Hide the ALL_LINGUAS assigment from automake.
42126 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
42127 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
42129 # The set of available languages was given in configure.in.
42130 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
42133 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
42134 # Compute UPDATEPOFILES
42135 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
42136 # Compute DUMMYPOFILES
42137 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
42139 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
42140 case "$ac_given_srcdir" in
42142 *) srcdirpre
='$(srcdir)/' ;;
42148 for lang
in $ALL_LINGUAS; do
42149 POFILES
="$POFILES $srcdirpre$lang.po"
42150 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
42151 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
42152 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
42154 # CATALOGS depends on both $ac_dir and the user's LINGUAS
42155 # environment variable.
42157 if test -n "$ALL_LINGUAS"; then
42158 for presentlang
in $ALL_LINGUAS; do
42160 if test "%UNSET%" != "$LINGUAS"; then
42161 desiredlanguages
="$LINGUAS"
42163 desiredlanguages
="$ALL_LINGUAS"
42165 for desiredlang
in $desiredlanguages; do
42166 # Use the presentlang catalog if desiredlang is
42167 # a. equal to presentlang, or
42168 # b. a variant of presentlang (because in this case,
42169 # presentlang can be used as a fallback for messages
42170 # which are not translated in the desiredlang catalog).
42171 case "$desiredlang" in
42172 "$presentlang"*) useit
=yes;;
42175 if test $useit = yes; then
42176 INST_LINGUAS
="$INST_LINGUAS $presentlang"
42181 if test -n "$INST_LINGUAS"; then
42182 for lang
in $INST_LINGUAS; do
42183 CATALOGS
="$CATALOGS $lang.gmo"
42186 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
42187 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"
42188 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
42189 if test -f "$f"; then
42191 *.orig |
*.bak |
*~
) ;;
42192 *) cat "$f" >> "$ac_dir/Makefile" ;;
42204 cat >>$CONFIG_STATUS <<\_ACEOF
42206 { (exit 0); exit 0; }
42208 chmod +x
$CONFIG_STATUS
42209 ac_clean_files
=$ac_clean_files_save
42212 # configure is writing to config.log, and then calls config.status.
42213 # config.status does its own redirection, appending to config.log.
42214 # Unfortunately, on DOS this fails, as config.log is still kept open
42215 # by configure, so config.status won't be able to write to it; its
42216 # output is simply discarded. So we exec the FD to /dev/null,
42217 # effectively closing config.log, so it can be properly (re)opened and
42218 # appended to by config.status. When coming back to configure, we
42219 # need to make the FD available again.
42220 if test "$no_create" != yes; then
42222 ac_config_status_args
=
42223 test "$silent" = yes &&
42224 ac_config_status_args
="$ac_config_status_args --quiet"
42226 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42228 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42229 # would make configure fail if this is the last instruction.
42230 $ac_cs_success ||
{ (exit 1); exit 1; }