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 "$lt_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 "$lt_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 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file
="ar.c"
424 # Factoring default headers for most tests.
425 ac_includes_default
="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 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 DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CPP WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE HDEFINES CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME ALLOCA LIBICONV LTLIBICONV NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_WINDMC BUILD_DLLWRAP BUILD_MISC BUILD_INSTALL_MISC OBJDUMP_DEFS EMULATION EMULATION_VECTOR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version
=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name
=s
,x
,x
,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
523 -build |
--build |
--buil |
--bui |
--bu)
524 ac_prev
=build_alias
;;
525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
526 build_alias
=$ac_optarg ;;
528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
530 ac_prev
=cache_file
;;
531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
533 cache_file
=$ac_optarg ;;
536 cache_file
=config.cache
;;
538 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
542 datadir
=$ac_optarg ;;
544 -disable-* |
--disable-*)
545 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* |
--enable-*)
554 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
567 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
568 |
--exec |
--exe |
--ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
571 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
572 |
--exec=* |
--exe=* |
--ex=*)
573 exec_prefix
=$ac_optarg ;;
575 -gas |
--gas |
--ga |
--g)
576 # Obsolete; use --with-gas.
579 -help |
--help |
--hel |
--he |
-h)
581 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
582 ac_init_help
=recursive
;;
583 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
584 ac_init_help
=short
;;
586 -host |
--host |
--hos |
--ho)
587 ac_prev
=host_alias
;;
588 -host=* |
--host=* |
--hos=* |
--ho=*)
589 host_alias
=$ac_optarg ;;
591 -includedir |
--includedir |
--includedi |
--included |
--include \
592 |
--includ |
--inclu |
--incl |
--inc)
593 ac_prev
=includedir
;;
594 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
595 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
596 includedir
=$ac_optarg ;;
598 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
600 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
601 infodir
=$ac_optarg ;;
603 -libdir |
--libdir |
--libdi |
--libd)
605 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
608 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
609 |
--libexe |
--libex |
--libe)
610 ac_prev
=libexecdir
;;
611 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
612 |
--libexe=* |
--libex=* |
--libe=*)
613 libexecdir
=$ac_optarg ;;
615 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
616 |
--localstate |
--localstat |
--localsta |
--localst \
617 |
--locals |
--local |
--loca |
--loc |
--lo)
618 ac_prev
=localstatedir
;;
619 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
620 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
621 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
622 localstatedir
=$ac_optarg ;;
624 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
626 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
630 # Obsolete; use --without-fp.
633 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
634 |
--no-cr |
--no-c |
-n)
637 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
638 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
641 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
642 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
643 |
--oldin |
--oldi |
--old |
--ol |
--o)
644 ac_prev
=oldincludedir
;;
645 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
646 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
647 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
648 oldincludedir
=$ac_optarg ;;
650 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
652 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
655 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
656 |
--program-pre |
--program-pr |
--program-p)
657 ac_prev
=program_prefix
;;
658 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
659 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
660 program_prefix
=$ac_optarg ;;
662 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
663 |
--program-suf |
--program-su |
--program-s)
664 ac_prev
=program_suffix
;;
665 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
666 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
667 program_suffix
=$ac_optarg ;;
669 -program-transform-name |
--program-transform-name \
670 |
--program-transform-nam |
--program-transform-na \
671 |
--program-transform-n |
--program-transform- \
672 |
--program-transform |
--program-transfor \
673 |
--program-transfo |
--program-transf \
674 |
--program-trans |
--program-tran \
675 |
--progr-tra |
--program-tr |
--program-t)
676 ac_prev
=program_transform_name
;;
677 -program-transform-name=* |
--program-transform-name=* \
678 |
--program-transform-nam=* |
--program-transform-na=* \
679 |
--program-transform-n=* |
--program-transform-=* \
680 |
--program-transform=* |
--program-transfor=* \
681 |
--program-transfo=* |
--program-transf=* \
682 |
--program-trans=* |
--program-tran=* \
683 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
684 program_transform_name
=$ac_optarg ;;
686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
687 |
-silent |
--silent |
--silen |
--sile |
--sil)
690 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
692 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
694 sbindir
=$ac_optarg ;;
696 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
697 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
698 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
700 ac_prev
=sharedstatedir
;;
701 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
702 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
703 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
705 sharedstatedir
=$ac_optarg ;;
707 -site |
--site |
--sit)
709 -site=* |
--site=* |
--sit=*)
712 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
714 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
717 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
718 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
719 ac_prev
=sysconfdir
;;
720 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
721 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
722 sysconfdir
=$ac_optarg ;;
724 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
725 ac_prev
=target_alias
;;
726 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
727 target_alias
=$ac_optarg ;;
729 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
732 -version |
--version |
--versio |
--versi |
--vers |
-V)
736 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* |
--without-*)
749 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
762 |
--x-incl |
--x-inc |
--x-in |
--x-i)
763 ac_prev
=x_includes
;;
764 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
765 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
766 x_includes
=$ac_optarg ;;
768 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
769 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
770 ac_prev
=x_libraries
;;
771 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
772 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
773 x_libraries
=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var
in exec_prefix prefix
810 eval ac_val
=$
`echo $ac_var`
812 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val
=$
`echo $ac_var`
824 [\\/$
]* | ?
:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x
; then
839 if test "x$build_alias" = x
; then
840 cross_compiling
=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
851 test "$silent" = yes && exec 6>/dev
/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted
=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir
=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set
=${build_alias+set}
891 ac_env_build_alias_value
=$build_alias
892 ac_cv_env_build_alias_set
=${build_alias+set}
893 ac_cv_env_build_alias_value
=$build_alias
894 ac_env_host_alias_set
=${host_alias+set}
895 ac_env_host_alias_value
=$host_alias
896 ac_cv_env_host_alias_set
=${host_alias+set}
897 ac_cv_env_host_alias_value
=$host_alias
898 ac_env_target_alias_set
=${target_alias+set}
899 ac_env_target_alias_value
=$target_alias
900 ac_cv_env_target_alias_set
=${target_alias+set}
901 ac_cv_env_target_alias_value
=$target_alias
902 ac_env_CC_set
=${CC+set}
904 ac_cv_env_CC_set
=${CC+set}
905 ac_cv_env_CC_value
=$CC
906 ac_env_CFLAGS_set
=${CFLAGS+set}
907 ac_env_CFLAGS_value
=$CFLAGS
908 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
909 ac_cv_env_CFLAGS_value
=$CFLAGS
910 ac_env_LDFLAGS_set
=${LDFLAGS+set}
911 ac_env_LDFLAGS_value
=$LDFLAGS
912 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
913 ac_cv_env_LDFLAGS_value
=$LDFLAGS
914 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
915 ac_env_CPPFLAGS_value
=$CPPFLAGS
916 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
917 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
918 ac_env_CPP_set
=${CPP+set}
919 ac_env_CPP_value
=$CPP
920 ac_cv_env_CPP_set
=${CPP+set}
921 ac_cv_env_CPP_value
=$CPP
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures this package to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
989 --build=BUILD configure
for building on BUILD
[guessed
]
990 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
991 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
995 if test -n "$ac_init_help"; then
1000 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1001 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1002 --disable-dependency-tracking speeds up one-time build
1003 --enable-dependency-tracking do not reject slow dependency extractors
1004 --enable-shared[=PKGS
]
1005 build shared libraries
[default
=yes]
1006 --enable-static[=PKGS
]
1007 build static libraries
[default
=yes]
1008 --enable-fast-install[=PKGS
]
1009 optimize
for fast installation
[default
=yes]
1010 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1011 --enable-targets alternative target configurations
1012 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
1013 --enable-werror treat compile warnings as errors
1014 --enable-build-warnings enable build-time compiler warnings
1015 --disable-nls do not use Native Language Support
1016 --enable-maintainer-mode enable make rules and dependencies not useful
1017 (and sometimes confusing
) to the casual installer
1018 --disable-rpath do not hardcode runtime library paths
1021 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1022 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1023 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1025 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1026 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1027 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1028 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1030 Some influential environment variables:
1031 CC C compiler command
1032 CFLAGS C compiler flags
1033 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1034 nonstandard directory <lib dir>
1035 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1036 headers in a nonstandard directory <include dir>
1039 Use these variables to override the choices made by `configure' or to
help
1040 it to
find libraries and programs with nonstandard names
/locations.
1045 if test "$ac_init_help" = "recursive"; then
1046 # If there are subdirs, report their specific --help.
1048 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1049 test -d $ac_dir ||
continue
1052 if test "$ac_dir" != .
; then
1053 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1054 # A "../" for each directory in $ac_dir_suffix.
1055 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1057 ac_dir_suffix
= ac_top_builddir
=
1061 .
) # No --srcdir option. We are building in place.
1063 if test -z "$ac_top_builddir"; then
1066 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1068 [\\/]* | ?
:[\\/]* ) # Absolute path.
1069 ac_srcdir
=$srcdir$ac_dir_suffix;
1070 ac_top_srcdir
=$srcdir ;;
1072 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1073 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1076 # Do not use `cd foo && pwd` to compute absolute paths, because
1077 # the directories may not exist.
1079 .
) ac_abs_builddir
="$ac_dir";;
1082 .
) ac_abs_builddir
=`pwd`;;
1083 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1084 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1087 case $ac_abs_builddir in
1088 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1090 case ${ac_top_builddir}.
in
1091 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1092 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1093 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1096 case $ac_abs_builddir in
1097 .
) ac_abs_srcdir
=$ac_srcdir;;
1100 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1101 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1102 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1105 case $ac_abs_builddir in
1106 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1108 case $ac_top_srcdir in
1109 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1110 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1111 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1116 # Check for guested configure; otherwise get Cygnus style configure.
1117 if test -f $ac_srcdir/configure.gnu
; then
1119 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1120 elif test -f $ac_srcdir/configure
; then
1122 $SHELL $ac_srcdir/configure
--help=recursive
1123 elif test -f $ac_srcdir/configure.ac ||
1124 test -f $ac_srcdir/configure.
in; then
1126 $ac_configure --help
1128 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1134 test -n "$ac_init_help" && exit 0
1135 if $ac_init_version; then
1138 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1139 This configure
script is free software
; the Free Software Foundation
1140 gives unlimited permission to copy
, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by $as_me, which was
1150 generated by GNU Autoconf 2.59. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir
=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next
=false
1215 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1216 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1217 |
-silent |
--silent |
--silen |
--sile |
--sil)
1219 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true
; then
1227 ac_must_keep_next
=false
# Got value, back to normal.
1230 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1231 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1232 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1233 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next
=true
;;
1241 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1249 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal
in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest
* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h
<<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h
<<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h
<<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h
<<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h
<<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE
; then
1371 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file
in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1393 *) . .
/$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted
=false
1405 for ac_var
in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1408 eval ac_new_set
=\
$ac_env_${ac_var}_set
1409 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val
="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted
=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted
=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted
=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg
=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp
='$CPP $CPPFLAGS'
1455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1479 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1480 if test -f $ac_dir/install-sh
; then
1482 ac_install_sh
="$ac_aux_dir/install-sh -c"
1484 elif test -f $ac_dir/install.sh
; then
1486 ac_install_sh
="$ac_aux_dir/install.sh -c"
1488 elif test -f $ac_dir/shtool
; then
1490 ac_install_sh
="$ac_aux_dir/shtool install -c"
1494 if test -z "$ac_aux_dir"; then
1495 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1496 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1497 { (exit 1); exit 1; }; }
1499 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1500 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1501 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1503 # Make sure we can run config.sub.
1504 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1505 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1506 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1507 { (exit 1); exit 1; }; }
1509 echo "$as_me:$LINENO: checking build system type" >&5
1510 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1511 if test "${ac_cv_build+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1514 ac_cv_build_alias
=$build_alias
1515 test -z "$ac_cv_build_alias" &&
1516 ac_cv_build_alias
=`$ac_config_guess`
1517 test -z "$ac_cv_build_alias" &&
1518 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1519 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1520 { (exit 1); exit 1; }; }
1521 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1522 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1523 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1524 { (exit 1); exit 1; }; }
1527 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1528 echo "${ECHO_T}$ac_cv_build" >&6
1530 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1531 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1532 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1535 echo "$as_me:$LINENO: checking host system type" >&5
1536 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1537 if test "${ac_cv_host+set}" = set; then
1538 echo $ECHO_N "(cached) $ECHO_C" >&6
1540 ac_cv_host_alias
=$host_alias
1541 test -z "$ac_cv_host_alias" &&
1542 ac_cv_host_alias
=$ac_cv_build_alias
1543 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1544 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1545 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1546 { (exit 1); exit 1; }; }
1549 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1550 echo "${ECHO_T}$ac_cv_host" >&6
1552 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1553 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1554 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1557 echo "$as_me:$LINENO: checking target system type" >&5
1558 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1559 if test "${ac_cv_target+set}" = set; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 ac_cv_target_alias
=$target_alias
1563 test "x$ac_cv_target_alias" = "x" &&
1564 ac_cv_target_alias
=$ac_cv_host_alias
1565 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1566 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1567 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1568 { (exit 1); exit 1; }; }
1571 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1572 echo "${ECHO_T}$ac_cv_target" >&6
1573 target
=$ac_cv_target
1574 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1575 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1576 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1579 # The aliases save the names the user supplied, while $host etc.
1580 # will get canonicalized.
1581 test -n "$target_alias" &&
1582 test "$program_prefix$program_suffix$program_transform_name" = \
1584 program_prefix
=${target_alias}-
1586 ac_cpp
='$CPP $CPPFLAGS'
1587 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1588 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1589 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1590 if test -n "$ac_tool_prefix"; then
1591 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1592 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1593 echo "$as_me:$LINENO: checking for $ac_word" >&5
1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1595 if test "${ac_cv_prog_CC+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 if test -n "$CC"; then
1599 ac_cv_prog_CC
="$CC" # Let the user override the test.
1601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1605 test -z "$as_dir" && as_dir
=.
1606 for ac_exec_ext
in '' $ac_executable_extensions; do
1607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1608 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1618 if test -n "$CC"; then
1619 echo "$as_me:$LINENO: result: $CC" >&5
1620 echo "${ECHO_T}$CC" >&6
1622 echo "$as_me:$LINENO: result: no" >&5
1623 echo "${ECHO_T}no" >&6
1627 if test -z "$ac_cv_prog_CC"; then
1629 # Extract the first word of "gcc", so it can be a program name with args.
1630 set dummy gcc
; ac_word
=$2
1631 echo "$as_me:$LINENO: checking for $ac_word" >&5
1632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1633 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 if test -n "$ac_ct_CC"; then
1637 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1643 test -z "$as_dir" && as_dir
=.
1644 for ac_exec_ext
in '' $ac_executable_extensions; do
1645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1646 ac_cv_prog_ac_ct_CC
="gcc"
1647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1655 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1656 if test -n "$ac_ct_CC"; then
1657 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1658 echo "${ECHO_T}$ac_ct_CC" >&6
1660 echo "$as_me:$LINENO: result: no" >&5
1661 echo "${ECHO_T}no" >&6
1669 if test -z "$CC"; then
1670 if test -n "$ac_tool_prefix"; then
1671 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1672 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1673 echo "$as_me:$LINENO: checking for $ac_word" >&5
1674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1675 if test "${ac_cv_prog_CC+set}" = set; then
1676 echo $ECHO_N "(cached) $ECHO_C" >&6
1678 if test -n "$CC"; then
1679 ac_cv_prog_CC
="$CC" # Let the user override the test.
1681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1685 test -z "$as_dir" && as_dir
=.
1686 for ac_exec_ext
in '' $ac_executable_extensions; do
1687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1688 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1698 if test -n "$CC"; then
1699 echo "$as_me:$LINENO: result: $CC" >&5
1700 echo "${ECHO_T}$CC" >&6
1702 echo "$as_me:$LINENO: result: no" >&5
1703 echo "${ECHO_T}no" >&6
1707 if test -z "$ac_cv_prog_CC"; then
1709 # Extract the first word of "cc", so it can be a program name with args.
1710 set dummy cc
; ac_word
=$2
1711 echo "$as_me:$LINENO: checking for $ac_word" >&5
1712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1713 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1714 echo $ECHO_N "(cached) $ECHO_C" >&6
1716 if test -n "$ac_ct_CC"; then
1717 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1723 test -z "$as_dir" && as_dir
=.
1724 for ac_exec_ext
in '' $ac_executable_extensions; do
1725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1726 ac_cv_prog_ac_ct_CC
="cc"
1727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1735 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1736 if test -n "$ac_ct_CC"; then
1737 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1738 echo "${ECHO_T}$ac_ct_CC" >&6
1740 echo "$as_me:$LINENO: result: no" >&5
1741 echo "${ECHO_T}no" >&6
1750 if test -z "$CC"; then
1751 # Extract the first word of "cc", so it can be a program name with args.
1752 set dummy cc
; ac_word
=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_CC+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 if test -n "$CC"; then
1759 ac_cv_prog_CC
="$CC" # Let the user override the test.
1762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1766 test -z "$as_dir" && as_dir
=.
1767 for ac_exec_ext
in '' $ac_executable_extensions; do
1768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1769 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1770 ac_prog_rejected
=yes
1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1780 if test $ac_prog_rejected = yes; then
1781 # We found a bogon in the path, so make sure we never use it.
1782 set dummy
$ac_cv_prog_CC
1784 if test $# != 0; then
1785 # We chose a different compiler from the bogus one.
1786 # However, it has the same basename, so the bogon will be chosen
1787 # first if we set CC to just the basename; use the full file name.
1789 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1795 if test -n "$CC"; then
1796 echo "$as_me:$LINENO: result: $CC" >&5
1797 echo "${ECHO_T}$CC" >&6
1799 echo "$as_me:$LINENO: result: no" >&5
1800 echo "${ECHO_T}no" >&6
1804 if test -z "$CC"; then
1805 if test -n "$ac_tool_prefix"; then
1808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1809 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1810 echo "$as_me:$LINENO: checking for $ac_word" >&5
1811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1812 if test "${ac_cv_prog_CC+set}" = set; then
1813 echo $ECHO_N "(cached) $ECHO_C" >&6
1815 if test -n "$CC"; then
1816 ac_cv_prog_CC
="$CC" # Let the user override the test.
1818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1822 test -z "$as_dir" && as_dir
=.
1823 for ac_exec_ext
in '' $ac_executable_extensions; do
1824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1825 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1835 if test -n "$CC"; then
1836 echo "$as_me:$LINENO: result: $CC" >&5
1837 echo "${ECHO_T}$CC" >&6
1839 echo "$as_me:$LINENO: result: no" >&5
1840 echo "${ECHO_T}no" >&6
1843 test -n "$CC" && break
1846 if test -z "$CC"; then
1850 # Extract the first word of "$ac_prog", so it can be a program name with args.
1851 set dummy
$ac_prog; ac_word
=$2
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 if test -n "$ac_ct_CC"; then
1858 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir
=.
1865 for ac_exec_ext
in '' $ac_executable_extensions; do
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867 ac_cv_prog_ac_ct_CC
="$ac_prog"
1868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1876 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1877 if test -n "$ac_ct_CC"; then
1878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1879 echo "${ECHO_T}$ac_ct_CC" >&6
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1885 test -n "$ac_ct_CC" && break
1894 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1895 See \`config.log' for more details." >&5
1896 echo "$as_me: error: no acceptable C compiler found in \$PATH
1897 See \`config.log' for more details." >&2;}
1898 { (exit 1); exit 1; }; }
1900 # Provide some information about the compiler.
1901 echo "$as_me:$LINENO:" \
1902 "checking for C compiler version" >&5
1903 ac_compiler
=`set X $ac_compile; echo $2`
1904 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1905 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1908 (exit $ac_status); }
1909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1910 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); }
1914 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1915 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1918 (exit $ac_status); }
1920 cat >conftest.
$ac_ext <<_ACEOF
1923 cat confdefs.h
>>conftest.
$ac_ext
1924 cat >>conftest.
$ac_ext <<_ACEOF
1925 /* end confdefs.h. */
1935 ac_clean_files_save
=$ac_clean_files
1936 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1937 # Try to create an executable without -o first, disregard a.out.
1938 # It will help us diagnose broken compilers, and finding out an intuition
1940 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1941 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1942 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1943 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1944 (eval $ac_link_default) 2>&5
1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 (exit $ac_status); }; then
1948 # Find the output, starting from the most likely. This scheme is
1949 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1952 # Be careful to initialize this variable, since it used to be cached.
1953 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1955 # b.out is created by i960 compilers.
1956 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1958 test -f "$ac_file" ||
continue
1960 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1963 # This is the source file.
1966 # We found the default executable, but exeext='' is most
1970 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1971 # FIXME: I believe we export ac_cv_exeext for Libtool,
1972 # but it would be cool to find out if it's true. Does anybody
1973 # maintain Libtool? --akim.
1981 echo "$as_me: failed program was:" >&5
1982 sed 's/^/| /' conftest.
$ac_ext >&5
1984 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1985 See \`config.log' for more details." >&5
1986 echo "$as_me: error: C compiler cannot create executables
1987 See \`config.log' for more details." >&2;}
1988 { (exit 77); exit 77; }; }
1991 ac_exeext
=$ac_cv_exeext
1992 echo "$as_me:$LINENO: result: $ac_file" >&5
1993 echo "${ECHO_T}$ac_file" >&6
1995 # Check the compiler produces executables we can run. If not, either
1996 # the compiler is broken, or we cross compile.
1997 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1998 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1999 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2000 # If not cross compiling, check that we can run a simple program.
2001 if test "$cross_compiling" != yes; then
2002 if { ac_try
='./$ac_file'
2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; }; then
2010 if test "$cross_compiling" = maybe
; then
2013 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2014 If you meant to cross compile, use \`--host'.
2015 See \`config.log' for more details." >&5
2016 echo "$as_me: error: cannot run C compiled programs.
2017 If you meant to cross compile, use \`--host'.
2018 See \`config.log' for more details." >&2;}
2019 { (exit 1); exit 1; }; }
2023 echo "$as_me:$LINENO: result: yes" >&5
2024 echo "${ECHO_T}yes" >&6
2026 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2027 ac_clean_files
=$ac_clean_files_save
2028 # Check the compiler produces executables we can run. If not, either
2029 # the compiler is broken, or we cross compile.
2030 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2031 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2032 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2033 echo "${ECHO_T}$cross_compiling" >&6
2035 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2036 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2038 (eval $ac_link) 2>&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }; then
2042 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2043 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2044 # work properly (i.e., refer to `conftest.exe'), while it won't with
2046 for ac_file
in conftest.exe conftest conftest.
*; do
2047 test -f "$ac_file" ||
continue
2049 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2050 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2057 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2058 See \`config.log' for more details." >&5
2059 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2060 See \`config.log' for more details." >&2;}
2061 { (exit 1); exit 1; }; }
2064 rm -f conftest
$ac_cv_exeext
2065 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2066 echo "${ECHO_T}$ac_cv_exeext" >&6
2068 rm -f conftest.
$ac_ext
2069 EXEEXT
=$ac_cv_exeext
2071 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2072 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2073 if test "${ac_cv_objext+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 cat >conftest.
$ac_ext <<_ACEOF
2079 cat confdefs.h
>>conftest.
$ac_ext
2080 cat >>conftest.
$ac_ext <<_ACEOF
2081 /* end confdefs.h. */
2091 rm -f conftest.o conftest.obj
2092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2093 (eval $ac_compile) 2>&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; then
2097 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2099 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2100 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.
$ac_ext >&5
2108 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2109 See \`config.log' for more details." >&5
2110 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2111 See \`config.log' for more details." >&2;}
2112 { (exit 1); exit 1; }; }
2115 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2117 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2118 echo "${ECHO_T}$ac_cv_objext" >&6
2119 OBJEXT
=$ac_cv_objext
2121 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2122 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2123 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 cat >conftest.
$ac_ext <<_ACEOF
2129 cat confdefs.h
>>conftest.
$ac_ext
2130 cat >>conftest.
$ac_ext <<_ACEOF
2131 /* end confdefs.h. */
2144 rm -f conftest.
$ac_objext
2145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2146 (eval $ac_compile) 2>conftest.er1
2148 grep -v '^ *+' conftest.er1
>conftest.err
2150 cat conftest.err
>&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); } &&
2153 { ac_try
='test -z "$ac_c_werror_flag"
2154 || test ! -s conftest.err'
2155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); }; } &&
2160 { ac_try
='test -s conftest.$ac_objext'
2161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }; }; then
2168 echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.
$ac_ext >&5
2173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2174 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2177 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2178 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2179 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2180 ac_test_CFLAGS
=${CFLAGS+set}
2181 ac_save_CFLAGS
=$CFLAGS
2183 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2184 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2185 if test "${ac_cv_prog_cc_g+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 cat >conftest.
$ac_ext <<_ACEOF
2191 cat confdefs.h
>>conftest.
$ac_ext
2192 cat >>conftest.
$ac_ext <<_ACEOF
2193 /* end confdefs.h. */
2203 rm -f conftest.
$ac_objext
2204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2205 (eval $ac_compile) 2>conftest.er1
2207 grep -v '^ *+' conftest.er1
>conftest.err
2209 cat conftest.err
>&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); } &&
2212 { ac_try
='test -z "$ac_c_werror_flag"
2213 || test ! -s conftest.err'
2214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; } &&
2219 { ac_try
='test -s conftest.$ac_objext'
2220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); }; }; then
2227 echo "$as_me: failed program was:" >&5
2228 sed 's/^/| /' conftest.
$ac_ext >&5
2232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2234 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2235 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2236 if test "$ac_test_CFLAGS" = set; then
2237 CFLAGS
=$ac_save_CFLAGS
2238 elif test $ac_cv_prog_cc_g = yes; then
2239 if test "$GCC" = yes; then
2245 if test "$GCC" = yes; then
2251 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2252 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2253 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 ac_cv_prog_cc_stdc
=no
2258 cat >conftest.
$ac_ext <<_ACEOF
2261 cat confdefs.h
>>conftest.
$ac_ext
2262 cat >>conftest.
$ac_ext <<_ACEOF
2263 /* end confdefs.h. */
2266 #include <sys/types.h>
2267 #include <sys/stat.h>
2268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2269 struct buf { int x; };
2270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2271 static char *e (p, i)
2277 static char *f (char * (*g) (char **, int), char **p, ...)
2282 s = g (p, va_arg (v,int));
2287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2288 function prototypes and stuff, but not '\xHH' hex character constants.
2289 These don't provoke an error unfortunately, instead are silently treated
2290 as 'x'. The following induces an error, until -std1 is added to get
2291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2292 array size at least. It's necessary to write '\x00'==0 to get something
2293 that's true only with -std1. */
2294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2296 int test (int i, double x);
2297 struct s1 {int (*f) (int a);};
2298 struct s2 {int (*f) (double a);};
2299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2305 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2310 # Don't try gcc -ansi; that turns off useful extensions and
2311 # breaks some systems' header files.
2312 # AIX -qlanglvl=ansi
2313 # Ultrix and OSF/1 -std1
2314 # HP-UX 10.20 and later -Ae
2315 # HP-UX older versions -Aa -D_HPUX_SOURCE
2316 # SVR4 -Xc -D__EXTENSIONS__
2317 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2319 CC
="$ac_save_CC $ac_arg"
2320 rm -f conftest.
$ac_objext
2321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322 (eval $ac_compile) 2>conftest.er1
2324 grep -v '^ *+' conftest.er1
>conftest.err
2326 cat conftest.err
>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); } &&
2329 { ac_try
='test -z "$ac_c_werror_flag"
2330 || test ! -s conftest.err'
2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }; } &&
2336 { ac_try
='test -s conftest.$ac_objext'
2337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }; }; then
2342 ac_cv_prog_cc_stdc
=$ac_arg
2345 echo "$as_me: failed program was:" >&5
2346 sed 's/^/| /' conftest.
$ac_ext >&5
2349 rm -f conftest.err conftest.
$ac_objext
2351 rm -f conftest.
$ac_ext conftest.
$ac_objext
2356 case "x$ac_cv_prog_cc_stdc" in
2358 echo "$as_me:$LINENO: result: none needed" >&5
2359 echo "${ECHO_T}none needed" >&6 ;;
2361 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2362 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2363 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2366 # Some people use a C++ compiler to compile C. Since we use `exit',
2367 # in C++ we need to declare it. In case someone uses the same compiler
2368 # for both compiling C and C++ we need to have the C++ compiler decide
2369 # the declaration of exit, since it's the most demanding environment.
2370 cat >conftest.
$ac_ext <<_ACEOF
2375 rm -f conftest.
$ac_objext
2376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2377 (eval $ac_compile) 2>conftest.er1
2379 grep -v '^ *+' conftest.er1
>conftest.err
2381 cat conftest.err
>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); } &&
2384 { ac_try
='test -z "$ac_c_werror_flag"
2385 || test ! -s conftest.err'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; } &&
2391 { ac_try
='test -s conftest.$ac_objext'
2392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; }; then
2397 for ac_declaration
in \
2399 'extern "C" void std::exit (int) throw (); using std::exit;' \
2400 'extern "C" void std::exit (int); using std::exit;' \
2401 'extern "C" void exit (int) throw ();' \
2402 'extern "C" void exit (int);' \
2405 cat >conftest.
$ac_ext <<_ACEOF
2408 cat confdefs.h
>>conftest.
$ac_ext
2409 cat >>conftest.
$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2421 rm -f conftest.
$ac_objext
2422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2423 (eval $ac_compile) 2>conftest.er1
2425 grep -v '^ *+' conftest.er1
>conftest.err
2427 cat conftest.err
>&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); } &&
2430 { ac_try
='test -z "$ac_c_werror_flag"
2431 || test ! -s conftest.err'
2432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; } &&
2437 { ac_try
='test -s conftest.$ac_objext'
2438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; }; then
2445 echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.
$ac_ext >&5
2450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2451 cat >conftest.
$ac_ext <<_ACEOF
2454 cat confdefs.h
>>conftest.
$ac_ext
2455 cat >>conftest.
$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2466 rm -f conftest.
$ac_objext
2467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2468 (eval $ac_compile) 2>conftest.er1
2470 grep -v '^ *+' conftest.er1
>conftest.err
2472 cat conftest.err
>&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); } &&
2475 { ac_try
='test -z "$ac_c_werror_flag"
2476 || test ! -s conftest.err'
2477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; } &&
2482 { ac_try
='test -s conftest.$ac_objext'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2490 echo "$as_me: failed program was:" >&5
2491 sed 's/^/| /' conftest.
$ac_ext >&5
2494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2497 if test -n "$ac_declaration"; then
2498 echo '#ifdef __cplusplus' >>confdefs.h
2499 echo $ac_declaration >>confdefs.h
2500 echo '#endif' >>confdefs.h
2504 echo "$as_me: failed program was:" >&5
2505 sed 's/^/| /' conftest.
$ac_ext >&5
2508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2510 ac_cpp
='$CPP $CPPFLAGS'
2511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2516 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2517 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2518 if test "${ac_cv_search_strerror+set}" = set; then
2519 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 ac_func_search_save_LIBS
=$LIBS
2522 ac_cv_search_strerror
=no
2523 cat >conftest.
$ac_ext <<_ACEOF
2526 cat confdefs.h
>>conftest.
$ac_ext
2527 cat >>conftest.
$ac_ext <<_ACEOF
2528 /* end confdefs.h. */
2530 /* Override any gcc2 internal prototype to avoid an error. */
2534 /* We use char because int might match the return type of a gcc2
2535 builtin and then its argument prototype would still apply. */
2545 rm -f conftest.
$ac_objext conftest
$ac_exeext
2546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2547 (eval $ac_link) 2>conftest.er1
2549 grep -v '^ *+' conftest.er1
>conftest.err
2551 cat conftest.err
>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); } &&
2554 { ac_try
='test -z "$ac_c_werror_flag"
2555 || test ! -s conftest.err'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; } &&
2561 { ac_try
='test -s conftest$ac_exeext'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; }; then
2567 ac_cv_search_strerror
="none required"
2569 echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.
$ac_ext >&5
2573 rm -f conftest.err conftest.
$ac_objext \
2574 conftest
$ac_exeext conftest.
$ac_ext
2575 if test "$ac_cv_search_strerror" = no
; then
2576 for ac_lib
in cposix
; do
2577 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2578 cat >conftest.
$ac_ext <<_ACEOF
2581 cat confdefs.h
>>conftest.
$ac_ext
2582 cat >>conftest.
$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2585 /* Override any gcc2 internal prototype to avoid an error. */
2589 /* We use char because int might match the return type of a gcc2
2590 builtin and then its argument prototype would still apply. */
2600 rm -f conftest.
$ac_objext conftest
$ac_exeext
2601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2602 (eval $ac_link) 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_exeext'
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; }; then
2622 ac_cv_search_strerror
="-l$ac_lib"
2625 echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.
$ac_ext >&5
2629 rm -f conftest.err conftest.
$ac_objext \
2630 conftest
$ac_exeext conftest.
$ac_ext
2633 LIBS
=$ac_func_search_save_LIBS
2635 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2636 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2637 if test "$ac_cv_search_strerror" != no
; then
2638 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2643 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2644 am__api_version
="1.9"
2645 # Find a good install program. We prefer a C program (faster),
2646 # so one script is as good as another. But avoid the broken or
2647 # incompatible versions:
2648 # SysV /etc/install, /usr/sbin/install
2649 # SunOS /usr/etc/install
2650 # IRIX /sbin/install
2652 # AmigaOS /C/install, which installs bootblocks on floppy discs
2653 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2654 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2655 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2656 # OS/2's system install, which has a completely different semantic
2657 # ./install, which can be erroneously created by make from ./install.sh.
2658 # Reject install programs that cannot install multiple files.
2659 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2660 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2661 if test -z "$INSTALL"; then
2662 if test "${ac_cv_path_install+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir
=.
2670 # Account for people who put trailing slashes in PATH elements.
2672 .
/ | .
// |
/cC
/* | \
2673 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2674 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2677 # OSF1 and SCO ODT 3.0 have their own names for install.
2678 # Don't use installbsd from OSF since it installs stuff as root
2680 for ac_prog
in ginstall scoinst
install; do
2681 for ac_exec_ext
in '' $ac_executable_extensions; do
2682 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2683 if test $ac_prog = install &&
2684 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2685 # AIX install. It has an incompatible calling convention.
2687 elif test $ac_prog = install &&
2688 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2689 # program-specific install script used by HP pwplus--don't use.
2692 rm -rf conftest.one conftest.two conftest.dir
2693 echo one
> conftest.one
2694 echo two
> conftest.two
2696 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2697 test -s conftest.one
&& test -s conftest.two
&&
2698 test -s conftest.dir
/conftest.one
&&
2699 test -s conftest.dir
/conftest.two
2701 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2712 rm -rf conftest.one conftest.two conftest.dir
2715 if test "${ac_cv_path_install+set}" = set; then
2716 INSTALL
=$ac_cv_path_install
2718 # As a last resort, use the slow shell script. Don't cache a
2719 # value for INSTALL within a source directory, because that will
2720 # break other packages using the cache if that directory is
2721 # removed, or if the value is a relative name.
2722 INSTALL
=$ac_install_sh
2725 echo "$as_me:$LINENO: result: $INSTALL" >&5
2726 echo "${ECHO_T}$INSTALL" >&6
2728 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2729 # It thinks the first close brace ends the variable substitution.
2730 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2732 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2734 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2736 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2737 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2740 echo timestamp
> conftest.
file
2741 # Do `set' in a subshell so we don't clobber the current shell's
2742 # arguments. Must try -L first in case configure is actually a
2743 # symlink; some systems play weird games with the mod time of symlinks
2744 # (eg FreeBSD returns the mod time of the symlink's containing
2747 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2748 if test "$*" = "X"; then
2750 set X
`ls -t $srcdir/configure conftest.file`
2753 if test "$*" != "X $srcdir/configure conftest.file" \
2754 && test "$*" != "X conftest.file $srcdir/configure"; then
2756 # If neither matched, then we have a broken ls. This can happen
2757 # if, for instance, CONFIG_SHELL is bash and it inherits a
2758 # broken ls alias from the environment. This has actually
2759 # happened. Such a system could not be considered "sane".
2760 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2761 alias in your environment" >&5
2762 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2763 alias in your environment" >&2;}
2764 { (exit 1); exit 1; }; }
2767 test "$2" = conftest.
file
2773 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2774 Check your system clock" >&5
2775 echo "$as_me: error: newly created file is older than distributed files!
2776 Check your system clock" >&2;}
2777 { (exit 1); exit 1; }; }
2779 echo "$as_me:$LINENO: result: yes" >&5
2780 echo "${ECHO_T}yes" >&6
2781 test "$program_prefix" != NONE
&&
2782 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2783 # Use a double $ so make ignores it.
2784 test "$program_suffix" != NONE
&&
2785 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2786 # Double any \ or $. echo might interpret backslashes.
2787 # By default was `s,x,x', remove it if useless.
2788 cat <<\_ACEOF
>conftest.
sed
2789 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2791 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2794 # expand $ac_aux_dir to an absolute path
2795 am_aux_dir
=`cd $ac_aux_dir && pwd`
2797 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2798 # Use eval to expand $SHELL
2799 if eval "$MISSING --run true"; then
2800 am_missing_run
="$MISSING --run "
2803 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2804 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2807 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2808 # We used to keeping the `.' as first argument, in order to
2809 # allow $(mkdir_p) to be used without argument. As in
2810 # $(mkdir_p) $(somedir)
2811 # where $(somedir) is conditionally defined. However this is wrong
2813 # 1. if the package is installed by a user who cannot write `.'
2814 # make install will fail,
2815 # 2. the above comment should most certainly read
2816 # $(mkdir_p) $(DESTDIR)$(somedir)
2817 # so it does not work when $(somedir) is undefined and
2818 # $(DESTDIR) is not.
2819 # To support the latter case, we have to write
2820 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2821 # so the `.' trick is pointless.
2822 mkdir_p
='mkdir -p --'
2824 # On NextStep and OpenStep, the `mkdir' command does not
2825 # recognize any option. It will interpret all options as
2826 # directories to create, and then abort because `.' already
2828 for d
in .
/-p .
/--version;
2830 test -d $d && rmdir $d
2832 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2833 if test -f "$ac_aux_dir/mkinstalldirs"; then
2834 mkdir_p
='$(mkinstalldirs)'
2836 mkdir_p
='$(install_sh) -d'
2840 for ac_prog
in gawk mawk nawk
awk
2842 # Extract the first word of "$ac_prog", so it can be a program name with args.
2843 set dummy
$ac_prog; ac_word
=$2
2844 echo "$as_me:$LINENO: checking for $ac_word" >&5
2845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2846 if test "${ac_cv_prog_AWK+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 if test -n "$AWK"; then
2850 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir
=.
2857 for ac_exec_ext
in '' $ac_executable_extensions; do
2858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_AWK
="$ac_prog"
2860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$AWK"; then
2870 echo "$as_me:$LINENO: result: $AWK" >&5
2871 echo "${ECHO_T}$AWK" >&6
2873 echo "$as_me:$LINENO: result: no" >&5
2874 echo "${ECHO_T}no" >&6
2877 test -n "$AWK" && break
2880 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2881 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2882 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2883 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 cat >conftest.
make <<\_ACEOF
2888 @
echo 'ac_maketemp="$(MAKE)"'
2890 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2891 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2892 if test -n "$ac_maketemp"; then
2893 eval ac_cv_prog_make_
${ac_make}_set
=yes
2895 eval ac_cv_prog_make_
${ac_make}_set
=no
2899 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2900 echo "$as_me:$LINENO: result: yes" >&5
2901 echo "${ECHO_T}yes" >&6
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2906 SET_MAKE
="MAKE=${MAKE-make}"
2909 rm -rf .tst
2>/dev
/null
2910 mkdir .tst
2>/dev
/null
2911 if test -d .tst
; then
2916 rmdir .tst
2>/dev
/null
2918 DEPDIR
="${am__leading_dot}deps"
2920 ac_config_commands
="$ac_config_commands depfiles"
2923 am_make
=${MAKE-make}
2924 cat > confinc
<< 'END'
2929 # If we don't find an include directive, just comment out the code.
2930 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2931 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2935 # First try GNU make style include.
2936 echo "include confinc" > confmf
2937 # We grep out `Entering directory' and `Leaving directory'
2938 # messages which can occur if `w' ends up in MAKEFLAGS.
2939 # In particular we don't look at `^make:' because GNU make might
2940 # be invoked under some other name (usually "gmake"), in which
2941 # case it prints its new name instead of `make'.
2942 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2947 # Now try BSD make style include.
2948 if test "$am__include" = "#"; then
2949 echo '.include "confinc"' > confmf
2950 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2951 am__include
=.include
2958 echo "$as_me:$LINENO: result: $_am_result" >&5
2959 echo "${ECHO_T}$_am_result" >&6
2960 rm -f confinc confmf
2962 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2963 if test "${enable_dependency_tracking+set}" = set; then
2964 enableval
="$enable_dependency_tracking"
2967 if test "x$enable_dependency_tracking" != xno
; then
2968 am_depcomp
="$ac_aux_dir/depcomp"
2973 if test "x$enable_dependency_tracking" != xno; then
2983 # test to see if srcdir already configured
2984 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2985 test -f $srcdir/config.status
; then
2986 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2987 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2988 { (exit 1); exit 1; }; }
2991 # test whether we have cygpath
2992 if test -z "$CYGPATH_W"; then
2993 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2994 CYGPATH_W
='cygpath -w'
3001 # Define the identity of the package.
3003 VERSION
=${BFD_VERSION}
3006 cat >>confdefs.h
<<_ACEOF
3007 #define PACKAGE "$PACKAGE"
3011 cat >>confdefs.h
<<_ACEOF
3012 #define VERSION "$VERSION"
3015 # Some tools Automake needs.
3017 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3020 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3023 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3026 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3029 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3031 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3033 # Installed binaries are usually stripped using `strip' when the user
3034 # run `make install-strip'. However `strip' might not be the right
3035 # tool to use in cross-compilation environments, therefore Automake
3036 # will honor the `STRIP' environment variable to overrule this program.
3037 if test "$cross_compiling" != no
; then
3038 if test -n "$ac_tool_prefix"; then
3039 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3040 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3041 echo "$as_me:$LINENO: checking for $ac_word" >&5
3042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3043 if test "${ac_cv_prog_STRIP+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3046 if test -n "$STRIP"; then
3047 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir
=.
3054 for ac_exec_ext
in '' $ac_executable_extensions; do
3055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 STRIP
=$ac_cv_prog_STRIP
3066 if test -n "$STRIP"; then
3067 echo "$as_me:$LINENO: result: $STRIP" >&5
3068 echo "${ECHO_T}$STRIP" >&6
3070 echo "$as_me:$LINENO: result: no" >&5
3071 echo "${ECHO_T}no" >&6
3075 if test -z "$ac_cv_prog_STRIP"; then
3077 # Extract the first word of "strip", so it can be a program name with args.
3078 set dummy strip
; ac_word
=$2
3079 echo "$as_me:$LINENO: checking for $ac_word" >&5
3080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3082 echo $ECHO_N "(cached) $ECHO_C" >&6
3084 if test -n "$ac_ct_STRIP"; then
3085 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3091 test -z "$as_dir" && as_dir
=.
3092 for ac_exec_ext
in '' $ac_executable_extensions; do
3093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3094 ac_cv_prog_ac_ct_STRIP
="strip"
3095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3101 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3104 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3105 if test -n "$ac_ct_STRIP"; then
3106 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3107 echo "${ECHO_T}$ac_ct_STRIP" >&6
3109 echo "$as_me:$LINENO: result: no" >&5
3110 echo "${ECHO_T}no" >&6
3115 STRIP
="$ac_cv_prog_STRIP"
3119 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3121 # We need awk for the "check" target. The system "awk" is bad on
3123 # Always define AMTAR for backward compatibility.
3125 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3127 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3132 depcc
="$CC" am_compiler_list
=
3134 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3135 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3136 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3140 # We make a subdir and do the tests there. Otherwise we can end up
3141 # making bogus files that we don't know about and never remove. For
3142 # instance it was reported that on HP-UX the gcc test will end up
3143 # making a dummy file named `D' -- because `-MD' means `put the output
3146 # Copy depcomp to subdir because otherwise we won't find it if we're
3147 # using a relative directory.
3148 cp "$am_depcomp" conftest.dir
3150 # We will build objects and dependencies in a subdirectory because
3151 # it helps to detect inapplicable dependency modes. For instance
3152 # both Tru64's cc and ICC support -MD to output dependencies as a
3153 # side effect of compilation, but ICC will put the dependencies in
3154 # the current directory while Tru64 will put them in the object
3158 am_cv_CC_dependencies_compiler_type
=none
3159 if test "$am_compiler_list" = ""; then
3160 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3162 for depmode
in $am_compiler_list; do
3163 # Setup a source with many dependencies, because some compilers
3164 # like to wrap large dependency lists on column 80 (with \), and
3165 # we should not choose a depcomp mode which is confused by this.
3167 # We need to recreate these files for each test, as the compiler may
3168 # overwrite some of them when testing with obscure command lines.
3169 # This happens at least with the AIX C compiler.
3171 for i
in 1 2 3 4 5 6; do
3172 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3173 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3174 # Solaris 8's {/usr,}/bin/sh.
3175 touch sub
/conftst
$i.h
3177 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3181 # after this tag, mechanisms are not by side-effect, so they'll
3182 # only be used when explicitly requested
3183 if test "x$enable_dependency_tracking" = xyes
; then
3191 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3192 # mode. It turns out that the SunPro C++ compiler does not properly
3193 # handle `-M -o', and we need to detect this.
3194 if depmode
=$depmode \
3195 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3196 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3197 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3198 >/dev
/null
2>conftest.err
&&
3199 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3200 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3201 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3202 # icc doesn't choke on unknown options, it will just issue warnings
3203 # or remarks (even with -Werror). So we grep stderr for any message
3204 # that says an option was ignored or not supported.
3205 # When given -MP, icc 7.0 and 7.1 complain thusly:
3206 # icc: Command line warning: ignoring option '-M'; no argument required
3207 # The diagnosis changed in icc 8.0:
3208 # icc: Command line remark: option '-MP' not supported
3209 if (grep 'ignoring option' conftest.err ||
3210 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3211 am_cv_CC_dependencies_compiler_type
=$depmode
3220 am_cv_CC_dependencies_compiler_type
=none
3224 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3225 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3226 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3231 test "x$enable_dependency_tracking" != xno \
3232 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3234 am__fastdepCC_FALSE
='#'
3236 am__fastdepCC_TRUE
='#'
3237 am__fastdepCC_FALSE
=
3244 ac_cpp
='$CPP $CPPFLAGS'
3245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3248 if test -n "$ac_tool_prefix"; then
3249 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3250 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3251 echo "$as_me:$LINENO: checking for $ac_word" >&5
3252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3253 if test "${ac_cv_prog_CC+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 if test -n "$CC"; then
3257 ac_cv_prog_CC
="$CC" # Let the user override the test.
3259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir
=.
3264 for ac_exec_ext
in '' $ac_executable_extensions; do
3265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 if test -n "$CC"; then
3277 echo "$as_me:$LINENO: result: $CC" >&5
3278 echo "${ECHO_T}$CC" >&6
3280 echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3285 if test -z "$ac_cv_prog_CC"; then
3287 # Extract the first word of "gcc", so it can be a program name with args.
3288 set dummy gcc
; ac_word
=$2
3289 echo "$as_me:$LINENO: checking for $ac_word" >&5
3290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3291 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3292 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 if test -n "$ac_ct_CC"; then
3295 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3301 test -z "$as_dir" && as_dir
=.
3302 for ac_exec_ext
in '' $ac_executable_extensions; do
3303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3304 ac_cv_prog_ac_ct_CC
="gcc"
3305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3314 if test -n "$ac_ct_CC"; then
3315 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3316 echo "${ECHO_T}$ac_ct_CC" >&6
3318 echo "$as_me:$LINENO: result: no" >&5
3319 echo "${ECHO_T}no" >&6
3327 if test -z "$CC"; then
3328 if test -n "$ac_tool_prefix"; then
3329 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3330 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3331 echo "$as_me:$LINENO: checking for $ac_word" >&5
3332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3333 if test "${ac_cv_prog_CC+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 if test -n "$CC"; then
3337 ac_cv_prog_CC
="$CC" # Let the user override the test.
3339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir
=.
3344 for ac_exec_ext
in '' $ac_executable_extensions; do
3345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3346 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3356 if test -n "$CC"; then
3357 echo "$as_me:$LINENO: result: $CC" >&5
3358 echo "${ECHO_T}$CC" >&6
3360 echo "$as_me:$LINENO: result: no" >&5
3361 echo "${ECHO_T}no" >&6
3365 if test -z "$ac_cv_prog_CC"; then
3367 # Extract the first word of "cc", so it can be a program name with args.
3368 set dummy cc
; ac_word
=$2
3369 echo "$as_me:$LINENO: checking for $ac_word" >&5
3370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3371 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 if test -n "$ac_ct_CC"; then
3375 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir
=.
3382 for ac_exec_ext
in '' $ac_executable_extensions; do
3383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3384 ac_cv_prog_ac_ct_CC
="cc"
3385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3393 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3394 if test -n "$ac_ct_CC"; then
3395 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3396 echo "${ECHO_T}$ac_ct_CC" >&6
3398 echo "$as_me:$LINENO: result: no" >&5
3399 echo "${ECHO_T}no" >&6
3408 if test -z "$CC"; then
3409 # Extract the first word of "cc", so it can be a program name with args.
3410 set dummy cc
; ac_word
=$2
3411 echo "$as_me:$LINENO: checking for $ac_word" >&5
3412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3413 if test "${ac_cv_prog_CC+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 if test -n "$CC"; then
3417 ac_cv_prog_CC
="$CC" # Let the user override the test.
3420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3424 test -z "$as_dir" && as_dir
=.
3425 for ac_exec_ext
in '' $ac_executable_extensions; do
3426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3428 ac_prog_rejected
=yes
3432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 if test $ac_prog_rejected = yes; then
3439 # We found a bogon in the path, so make sure we never use it.
3440 set dummy
$ac_cv_prog_CC
3442 if test $# != 0; then
3443 # We chose a different compiler from the bogus one.
3444 # However, it has the same basename, so the bogon will be chosen
3445 # first if we set CC to just the basename; use the full file name.
3447 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3453 if test -n "$CC"; then
3454 echo "$as_me:$LINENO: result: $CC" >&5
3455 echo "${ECHO_T}$CC" >&6
3457 echo "$as_me:$LINENO: result: no" >&5
3458 echo "${ECHO_T}no" >&6
3462 if test -z "$CC"; then
3463 if test -n "$ac_tool_prefix"; then
3466 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3467 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3468 echo "$as_me:$LINENO: checking for $ac_word" >&5
3469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3470 if test "${ac_cv_prog_CC+set}" = set; then
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 if test -n "$CC"; then
3474 ac_cv_prog_CC
="$CC" # Let the user override the test.
3476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3480 test -z "$as_dir" && as_dir
=.
3481 for ac_exec_ext
in '' $ac_executable_extensions; do
3482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 if test -n "$CC"; then
3494 echo "$as_me:$LINENO: result: $CC" >&5
3495 echo "${ECHO_T}$CC" >&6
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3501 test -n "$CC" && break
3504 if test -z "$CC"; then
3508 # Extract the first word of "$ac_prog", so it can be a program name with args.
3509 set dummy
$ac_prog; ac_word
=$2
3510 echo "$as_me:$LINENO: checking for $ac_word" >&5
3511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3512 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 if test -n "$ac_ct_CC"; then
3516 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3522 test -z "$as_dir" && as_dir
=.
3523 for ac_exec_ext
in '' $ac_executable_extensions; do
3524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3525 ac_cv_prog_ac_ct_CC
="$ac_prog"
3526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3534 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3535 if test -n "$ac_ct_CC"; then
3536 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3537 echo "${ECHO_T}$ac_ct_CC" >&6
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3543 test -n "$ac_ct_CC" && break
3552 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3553 See \`config.log' for more details." >&5
3554 echo "$as_me: error: no acceptable C compiler found in \$PATH
3555 See \`config.log' for more details." >&2;}
3556 { (exit 1); exit 1; }; }
3558 # Provide some information about the compiler.
3559 echo "$as_me:$LINENO:" \
3560 "checking for C compiler version" >&5
3561 ac_compiler
=`set X $ac_compile; echo $2`
3562 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3563 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); }
3567 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3568 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }
3572 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3573 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); }
3578 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3579 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3580 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 cat >conftest.
$ac_ext <<_ACEOF
3586 cat confdefs.h
>>conftest.
$ac_ext
3587 cat >>conftest.
$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3601 rm -f conftest.
$ac_objext
3602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3603 (eval $ac_compile) 2>conftest.er1
3605 grep -v '^ *+' conftest.er1
>conftest.err
3607 cat conftest.err
>&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } &&
3610 { ac_try
='test -z "$ac_c_werror_flag"
3611 || test ! -s conftest.err'
3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616 (exit $ac_status); }; } &&
3617 { ac_try
='test -s conftest.$ac_objext'
3618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); }; }; then
3625 echo "$as_me: failed program was:" >&5
3626 sed 's/^/| /' conftest.
$ac_ext >&5
3630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3631 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3634 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3635 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3636 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3637 ac_test_CFLAGS
=${CFLAGS+set}
3638 ac_save_CFLAGS
=$CFLAGS
3640 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3641 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3642 if test "${ac_cv_prog_cc_g+set}" = set; then
3643 echo $ECHO_N "(cached) $ECHO_C" >&6
3645 cat >conftest.
$ac_ext <<_ACEOF
3648 cat confdefs.h
>>conftest.
$ac_ext
3649 cat >>conftest.
$ac_ext <<_ACEOF
3650 /* end confdefs.h. */
3660 rm -f conftest.
$ac_objext
3661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3662 (eval $ac_compile) 2>conftest.er1
3664 grep -v '^ *+' conftest.er1
>conftest.err
3666 cat conftest.err
>&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } &&
3669 { ac_try
='test -z "$ac_c_werror_flag"
3670 || test ! -s conftest.err'
3671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); }; } &&
3676 { ac_try
='test -s conftest.$ac_objext'
3677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); }; }; then
3684 echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.
$ac_ext >&5
3689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3691 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3692 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3693 if test "$ac_test_CFLAGS" = set; then
3694 CFLAGS
=$ac_save_CFLAGS
3695 elif test $ac_cv_prog_cc_g = yes; then
3696 if test "$GCC" = yes; then
3702 if test "$GCC" = yes; then
3708 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3709 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3710 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 ac_cv_prog_cc_stdc
=no
3715 cat >conftest.
$ac_ext <<_ACEOF
3718 cat confdefs.h
>>conftest.
$ac_ext
3719 cat >>conftest.
$ac_ext <<_ACEOF
3720 /* end confdefs.h. */
3723 #include <sys/types.h>
3724 #include <sys/stat.h>
3725 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3726 struct buf { int x; };
3727 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3728 static char *e (p, i)
3734 static char *f (char * (*g) (char **, int), char **p, ...)
3739 s = g (p, va_arg (v,int));
3744 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3745 function prototypes and stuff, but not '\xHH' hex character constants.
3746 These don't provoke an error unfortunately, instead are silently treated
3747 as 'x'. The following induces an error, until -std1 is added to get
3748 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3749 array size at least. It's necessary to write '\x00'==0 to get something
3750 that's true only with -std1. */
3751 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3753 int test (int i, double x);
3754 struct s1 {int (*f) (int a);};
3755 struct s2 {int (*f) (double a);};
3756 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3762 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3767 # Don't try gcc -ansi; that turns off useful extensions and
3768 # breaks some systems' header files.
3769 # AIX -qlanglvl=ansi
3770 # Ultrix and OSF/1 -std1
3771 # HP-UX 10.20 and later -Ae
3772 # HP-UX older versions -Aa -D_HPUX_SOURCE
3773 # SVR4 -Xc -D__EXTENSIONS__
3774 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3776 CC
="$ac_save_CC $ac_arg"
3777 rm -f conftest.
$ac_objext
3778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3779 (eval $ac_compile) 2>conftest.er1
3781 grep -v '^ *+' conftest.er1
>conftest.err
3783 cat conftest.err
>&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } &&
3786 { ac_try
='test -z "$ac_c_werror_flag"
3787 || test ! -s conftest.err'
3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3792 (exit $ac_status); }; } &&
3793 { ac_try
='test -s conftest.$ac_objext'
3794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); }; }; then
3799 ac_cv_prog_cc_stdc
=$ac_arg
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.
$ac_ext >&5
3806 rm -f conftest.err conftest.
$ac_objext
3808 rm -f conftest.
$ac_ext conftest.
$ac_objext
3813 case "x$ac_cv_prog_cc_stdc" in
3815 echo "$as_me:$LINENO: result: none needed" >&5
3816 echo "${ECHO_T}none needed" >&6 ;;
3818 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3819 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3820 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3823 # Some people use a C++ compiler to compile C. Since we use `exit',
3824 # in C++ we need to declare it. In case someone uses the same compiler
3825 # for both compiling C and C++ we need to have the C++ compiler decide
3826 # the declaration of exit, since it's the most demanding environment.
3827 cat >conftest.
$ac_ext <<_ACEOF
3832 rm -f conftest.
$ac_objext
3833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3834 (eval $ac_compile) 2>conftest.er1
3836 grep -v '^ *+' conftest.er1
>conftest.err
3838 cat conftest.err
>&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } &&
3841 { ac_try
='test -z "$ac_c_werror_flag"
3842 || test ! -s conftest.err'
3843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); }; } &&
3848 { ac_try
='test -s conftest.$ac_objext'
3849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); }; }; then
3854 for ac_declaration
in \
3856 'extern "C" void std::exit (int) throw (); using std::exit;' \
3857 'extern "C" void std::exit (int); using std::exit;' \
3858 'extern "C" void exit (int) throw ();' \
3859 'extern "C" void exit (int);' \
3862 cat >conftest.
$ac_ext <<_ACEOF
3865 cat confdefs.h
>>conftest.
$ac_ext
3866 cat >>conftest.
$ac_ext <<_ACEOF
3867 /* end confdefs.h. */
3878 rm -f conftest.
$ac_objext
3879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3880 (eval $ac_compile) 2>conftest.er1
3882 grep -v '^ *+' conftest.er1
>conftest.err
3884 cat conftest.err
>&5
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); } &&
3887 { ac_try
='test -z "$ac_c_werror_flag"
3888 || test ! -s conftest.err'
3889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; } &&
3894 { ac_try
='test -s conftest.$ac_objext'
3895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; }; then
3902 echo "$as_me: failed program was:" >&5
3903 sed 's/^/| /' conftest.
$ac_ext >&5
3907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3908 cat >conftest.
$ac_ext <<_ACEOF
3911 cat confdefs.h
>>conftest.
$ac_ext
3912 cat >>conftest.
$ac_ext <<_ACEOF
3913 /* end confdefs.h. */
3923 rm -f conftest.
$ac_objext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3925 (eval $ac_compile) 2>conftest.er1
3927 grep -v '^ *+' conftest.er1
>conftest.err
3929 cat conftest.err
>&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try
='test -z "$ac_c_werror_flag"
3933 || test ! -s conftest.err'
3934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); }; } &&
3939 { ac_try
='test -s conftest.$ac_objext'
3940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); }; }; then
3947 echo "$as_me: failed program was:" >&5
3948 sed 's/^/| /' conftest.
$ac_ext >&5
3951 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3954 if test -n "$ac_declaration"; then
3955 echo '#ifdef __cplusplus' >>confdefs.h
3956 echo $ac_declaration >>confdefs.h
3957 echo '#endif' >>confdefs.h
3961 echo "$as_me: failed program was:" >&5
3962 sed 's/^/| /' conftest.
$ac_ext >&5
3965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3967 ac_cpp
='$CPP $CPPFLAGS'
3968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3973 cat >>confdefs.h
<<\_ACEOF
3974 #define _GNU_SOURCE 1
3980 macro_version
='2.1a'
3981 macro_revision
='1.2435'
3994 ltmain
="$ac_aux_dir/ltmain.sh"
4004 # Check whether --enable-shared or --disable-shared was given.
4005 if test "${enable_shared+set}" = set; then
4006 enableval
="$enable_shared"
4007 p
=${PACKAGE-default}
4009 yes) enable_shared
=yes ;;
4010 no
) enable_shared
=no
;;
4013 # Look at the argument we got. We use all the common list separators.
4014 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4015 for pkg
in $enableval; do
4017 if test "X$pkg" = "X$p"; then
4035 # Check whether --enable-static or --disable-static was given.
4036 if test "${enable_static+set}" = set; then
4037 enableval
="$enable_static"
4038 p
=${PACKAGE-default}
4040 yes) enable_static
=yes ;;
4041 no
) enable_static
=no
;;
4044 # Look at the argument we got. We use all the common list separators.
4045 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4046 for pkg
in $enableval; do
4048 if test "X$pkg" = "X$p"; then
4067 # Check whether --with-pic or --without-pic was given.
4068 if test "${with_pic+set}" = set; then
4075 test -z "$pic_mode" && pic_mode
=default
4083 # Check whether --enable-fast-install or --disable-fast-install was given.
4084 if test "${enable_fast_install+set}" = set; then
4085 enableval
="$enable_fast_install"
4086 p
=${PACKAGE-default}
4088 yes) enable_fast_install
=yes ;;
4089 no
) enable_fast_install
=no
;;
4091 enable_fast_install
=no
4092 # Look at the argument we got. We use all the common list separators.
4093 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4094 for pkg
in $enableval; do
4096 if test "X$pkg" = "X$p"; then
4097 enable_fast_install
=yes
4104 enable_fast_install
=yes
4114 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4115 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4116 if test "${lt_cv_path_SED+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 # Loop through the user's path and test for sed and gsed.
4120 # Then use that list of sed's as ones to test for truncation.
4121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4125 test -z "$as_dir" && as_dir
=.
4126 for lt_ac_prog
in sed gsed
; do
4127 for ac_exec_ext
in '' $ac_executable_extensions; do
4128 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4129 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4137 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4138 # along with /bin/sed that truncates output.
4139 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4140 test ! -f $lt_ac_sed && continue
4141 cat /dev
/null
> conftest.
in
4143 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4144 # Check for GNU sed and select it if it is found.
4145 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4146 lt_cv_path_SED
=$lt_ac_sed
4150 cat conftest.
in conftest.
in >conftest.tmp
4151 mv conftest.tmp conftest.
in
4152 cp conftest.
in conftest.
nl
4154 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4155 cmp -s conftest.out conftest.
nl ||
break
4156 # 10000 chars as input seems more than enough
4157 test $lt_ac_count -gt 10 && break
4158 lt_ac_count
=`expr $lt_ac_count + 1`
4159 if test $lt_ac_count -gt $lt_ac_max; then
4160 lt_ac_max
=$lt_ac_count
4161 lt_cv_path_SED
=$lt_ac_sed
4170 echo "$as_me:$LINENO: result: $SED" >&5
4171 echo "${ECHO_T}$SED" >&6
4173 test -z "$SED" && SED
=sed
4174 Xsed
="$SED -e 1s/^X//"
4186 echo "$as_me:$LINENO: checking for egrep" >&5
4187 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4188 if test "${ac_cv_prog_egrep+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4191 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4192 then ac_cv_prog_egrep
='grep -E'
4193 else ac_cv_prog_egrep
='egrep'
4196 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4197 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4198 EGREP
=$ac_cv_prog_egrep
4201 echo "$as_me:$LINENO: checking for fgrep" >&5
4202 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4203 if test "${ac_cv_prog_fgrep+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4207 then ac_cv_prog_fgrep
='grep -F'
4208 else ac_cv_prog_fgrep
='fgrep'
4211 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4212 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4213 FGREP
=$ac_cv_prog_fgrep
4216 test -z "$GREP" && GREP
=grep
4236 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4237 if test "${with_gnu_ld+set}" = set; then
4238 withval
="$with_gnu_ld"
4239 test "$withval" = no || with_gnu_ld
=yes
4244 if test "$GCC" = yes; then
4245 # Check if gcc -print-prog-name=ld gives a path.
4246 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4247 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4250 # gcc leaves a trailing carriage return which upsets mingw
4251 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4253 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4256 # Accept absolute paths.
4258 re_direlt
='/[^/][^/]*/\.\./'
4259 # Canonicalize the pathname of ld
4260 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4261 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4262 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4264 test -z "$LD" && LD
="$ac_prog"
4267 # If it fails, then pretend we aren't using GCC.
4271 # If it is relative, then search for the first ld in PATH.
4275 elif test "$with_gnu_ld" = yes; then
4276 echo "$as_me:$LINENO: checking for GNU ld" >&5
4277 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4279 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4280 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4282 if test "${lt_cv_path_LD+set}" = set; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 if test -z "$LD"; then
4286 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4287 for ac_dir
in $PATH; do
4289 test -z "$ac_dir" && ac_dir
=.
4290 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4291 lt_cv_path_LD
="$ac_dir/$ac_prog"
4292 # Check to see if the program is GNU ld. I'd rather use --version,
4293 # but apparently some variants of GNU ld only accept -v.
4294 # Break only if it was the GNU/non-GNU ld that we prefer.
4295 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4296 *GNU
* |
*'with BFD'*)
4297 test "$with_gnu_ld" != no
&& break
4300 test "$with_gnu_ld" != yes && break
4307 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4312 if test -n "$LD"; then
4313 echo "$as_me:$LINENO: result: $LD" >&5
4314 echo "${ECHO_T}$LD" >&6
4316 echo "$as_me:$LINENO: result: no" >&5
4317 echo "${ECHO_T}no" >&6
4319 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4320 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4321 { (exit 1); exit 1; }; }
4322 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4323 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4324 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4328 case `$LD -v 2>&1 </dev/null` in
4329 *GNU
* |
*'with BFD'*)
4330 lt_cv_prog_gnu_ld
=yes
4333 lt_cv_prog_gnu_ld
=no
4337 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4338 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4339 with_gnu_ld
=$lt_cv_prog_gnu_ld
4350 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4351 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4352 if test "${lt_cv_path_NM+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 if test -n "$NM"; then
4356 # Let the user override the test.
4359 lt_nm_to_check
="${ac_tool_prefix}nm"
4360 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4361 lt_nm_to_check
="$lt_nm_to_check nm"
4363 for lt_tmp_nm
in $lt_nm_to_check; do
4364 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4365 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4367 test -z "$ac_dir" && ac_dir
=.
4368 tmp_nm
="$ac_dir/$lt_tmp_nm"
4369 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4370 # Check to see if the nm accepts a BSD-compat flag.
4371 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4372 # nm: unknown option "B" ignored
4373 # Tru64's nm complains that /dev/null is an invalid object file
4374 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4375 */dev
/null
* |
*'Invalid file or object type'*)
4376 lt_cv_path_NM
="$tmp_nm -B"
4380 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4382 lt_cv_path_NM
="$tmp_nm -p"
4386 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4387 continue # so that we can try to find one that supports BSD flags
4396 : ${lt_cv_path_NM=no}
4399 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4400 echo "${ECHO_T}$lt_cv_path_NM" >&6
4401 if test "$lt_cv_path_NM" != "no"; then
4404 # Didn't find any BSD compatible name lister, look for dumpbin.
4405 if test -n "$ac_tool_prefix"; then
4406 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4409 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4410 echo "$as_me:$LINENO: checking for $ac_word" >&5
4411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4412 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 if test -n "$DUMPBIN"; then
4416 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir
=.
4423 for ac_exec_ext
in '' $ac_executable_extensions; do
4424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4425 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 DUMPBIN
=$ac_cv_prog_DUMPBIN
4435 if test -n "$DUMPBIN"; then
4436 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4437 echo "${ECHO_T}$DUMPBIN" >&6
4439 echo "$as_me:$LINENO: result: no" >&5
4440 echo "${ECHO_T}no" >&6
4443 test -n "$DUMPBIN" && break
4446 if test -z "$DUMPBIN"; then
4447 ac_ct_DUMPBIN
=$DUMPBIN
4448 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4450 # Extract the first word of "$ac_prog", so it can be a program name with args.
4451 set dummy
$ac_prog; ac_word
=$2
4452 echo "$as_me:$LINENO: checking for $ac_word" >&5
4453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4454 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 if test -n "$ac_ct_DUMPBIN"; then
4458 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir
=.
4465 for ac_exec_ext
in '' $ac_executable_extensions; do
4466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4476 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4477 if test -n "$ac_ct_DUMPBIN"; then
4478 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4479 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4481 echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6
4485 test -n "$ac_ct_DUMPBIN" && break
4487 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4489 DUMPBIN
=$ac_ct_DUMPBIN
4493 if test "$DUMPBIN" != ":"; then
4497 test -z "$NM" && NM
=nm
4504 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4505 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4506 if test "${lt_cv_nm_interface+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 lt_cv_nm_interface
="BSD nm"
4510 echo "int some_variable = 0;" > conftest.
$ac_ext
4511 (eval echo "\"\$as_me:4511: $ac_compile\"" >&5)
4512 (eval "$ac_compile" 2>conftest.err
)
4513 cat conftest.err
>&5
4514 (eval echo "\"\$as_me:4514: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4515 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4516 cat conftest.err
>&5
4517 (eval echo "\"\$as_me:4517: output\"" >&5)
4518 cat conftest.out
>&5
4519 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4520 lt_cv_nm_interface
="MS dumpbin"
4524 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4525 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4527 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4528 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4530 if test "$LN_S" = "ln -s"; then
4531 echo "$as_me:$LINENO: result: yes" >&5
4532 echo "${ECHO_T}yes" >&6
4534 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4535 echo "${ECHO_T}no, using $LN_S" >&6
4538 # find the maximum length of command line arguments
4539 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4540 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4541 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 # On DJGPP, this test can blow up pretty badly due to problems in libc
4550 # (any single argument exceeding 2000 bytes causes a buffer overrun
4551 # during glob expansion). Even if it were fixed, the result of this
4552 # check would be larger than it should be.
4553 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4557 # Under GNU Hurd, this test is not required because there is
4558 # no limit to the length of command line arguments.
4559 # Libtool will interpret -1 as no limit whatsoever
4560 lt_cv_sys_max_cmd_len
=-1;
4564 # On Win9x/ME, this test blows up -- it succeeds, but takes
4565 # about 5 minutes as the teststring grows exponentially.
4566 # Worse, since 9x/ME are not pre-emptively multitasking,
4567 # you end up with a "frozen" computer, even though with patience
4568 # the test eventually succeeds (with a max line length of 256k).
4569 # Instead, let's just punt: use the minimum linelength reported by
4570 # all of the supported platforms: 8192 (on NT/2K/XP).
4571 lt_cv_sys_max_cmd_len
=8192;
4575 # On AmigaOS with pdksh, this test takes hours, literally.
4576 # So we just punt and use a minimum line length of 8192.
4577 lt_cv_sys_max_cmd_len
=8192;
4580 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4581 # This has been around since 386BSD, at least. Likely further.
4582 if test -x /sbin
/sysctl
; then
4583 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4584 elif test -x /usr
/sbin
/sysctl
; then
4585 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4587 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4589 # And add a safety zone
4590 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4591 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4595 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4596 lt_cv_sys_max_cmd_len
=196608
4600 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4601 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4602 # nice to cause kernel panics so lets avoid the loop below.
4603 # First set a reasonable default.
4604 lt_cv_sys_max_cmd_len
=16384
4606 if test -x /sbin
/sysconfig
; then
4607 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4608 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4613 lt_cv_sys_max_cmd_len
=102400
4615 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4616 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4617 if test -n "$kargmax"; then
4618 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4620 lt_cv_sys_max_cmd_len
=32768
4624 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4625 if test -n $lt_cv_sys_max_cmd_len; then
4626 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4627 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4629 # Make teststring a little bigger before we do anything with it.
4630 # a 1K string should be a reasonable start.
4631 for i
in 1 2 3 4 5 6 7 8 ; do
4632 teststring
=$teststring$teststring
4634 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4635 # If test is not a shell built-in, we'll probably end up computing a
4636 # maximum length that is only half of the actual maximum length, but
4638 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4639 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4640 test $i != 17 # 1/2 MB should be enough
4643 teststring
=$teststring$teststring
4645 # Only check the string length outside the loop.
4646 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4648 # Add a significant safety factor because C++ compilers can tack on
4649 # massive amounts of additional arguments before passing them to the
4650 # linker. It appears as though 1/2 is a usable value.
4651 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4658 if test -n $lt_cv_sys_max_cmd_len ; then
4659 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4660 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4662 echo "$as_me:$LINENO: result: none" >&5
4663 echo "${ECHO_T}none" >&6
4665 max_cmd_len
=$lt_cv_sys_max_cmd_len
4677 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4678 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4679 # Try some XSI features
4682 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4683 = c,a/b,, ) >/dev/null 2>&1 \
4685 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4686 echo "${ECHO_T}$xsi_shell" >&6
4689 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4690 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4692 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4694 && lt_shell_append=yes
4695 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4696 echo "${ECHO_T}$lt_shell_append" >&6
4699 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4709 # test EBCDIC or ASCII
4710 case `echo X|tr X '\101'` in
4711 A) # ASCII based system
4712 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4713 lt_SP2NL='tr \040 \012'
4714 lt_NL2SP='tr \015\012 \040\040'
4716 *) # EBCDIC based system
4717 lt_SP2NL='tr \100 \n'
4718 lt_NL2SP='tr \r\n \100\100'
4730 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4731 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4732 if test "${lt_cv_ld_reload_flag+set}" = set; then
4733 echo $ECHO_N "(cached
) $ECHO_C" >&6
4735 lt_cv_ld_reload_flag='-r'
4737 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4738 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4739 reload_flag=$lt_cv_ld_reload_flag
4740 case $reload_flag in
4742 *) reload_flag=" $reload_flag" ;;
4744 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4747 if test "$GCC" = yes; then
4748 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4750 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4764 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4765 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4766 if test "${lt_cv_deplibs_check_method+set}" = set; then
4767 echo $ECHO_N "(cached
) $ECHO_C" >&6
4769 lt_cv_file_magic_cmd='$MAGIC_CMD'
4770 lt_cv_file_magic_test_file=
4771 lt_cv_deplibs_check_method='unknown'
4772 # Need to set the preceding variable on all platforms that support
4773 # interlibrary dependencies.
4774 # 'none' -- dependencies not supported.
4775 # `unknown' -- same as none, but documents that we really don't know.
4776 # 'pass_all' -- all dependencies passed with no checks.
4777 # 'test_compile' -- check by making test program.
4778 # 'file_magic [[regex]]' -- check by looking for files in library path
4779 # which responds to the $file_magic_cmd with a given extended regex.
4780 # If you have `file' or equivalent on your system and you're not sure
4781 # whether `pass_all' will *always* work, you probably want this one.
4785 lt_cv_deplibs_check_method=pass_all
4789 lt_cv_deplibs_check_method=pass_all
4793 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4794 lt_cv_file_magic_cmd='/usr/bin/file -L'
4795 lt_cv_file_magic_test_file=/shlib/libc.so
4799 # func_win32_libid is a shell function defined in ltmain.sh
4800 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4801 lt_cv_file_magic_cmd='func_win32_libid'
4805 # Base MSYS/MinGW do not provide the 'file' command needed by
4806 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4807 # unless we find 'file', for example because we are cross-compiling.
4808 if ( file / ) >/dev/null 2>&1; then
4809 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4810 lt_cv_file_magic_cmd='func_win32_libid'
4812 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4813 lt_cv_file_magic_cmd='$OBJDUMP -f'
4817 darwin* | rhapsody*)
4818 lt_cv_deplibs_check_method=pass_all
4821 freebsd* | dragonfly*)
4822 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4825 # Not sure whether the presence of OpenBSD here was a mistake.
4826 # Let's accept both of them until this is cleared up.
4827 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4828 lt_cv_file_magic_cmd=/usr/bin/file
4829 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4833 lt_cv_deplibs_check_method=pass_all
4838 lt_cv_deplibs_check_method=pass_all
4841 hpux10.20* | hpux11*)
4842 lt_cv_file_magic_cmd=/usr/bin/file
4845 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4846 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4849 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]'
4850 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4853 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4854 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4860 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4861 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4864 irix5* | irix6* | nonstopux*)
4866 *-32|*"-32 ") libmagic=32-bit;;
4867 *-n32|*"-n32 ") libmagic=N32;;
4868 *-64|*"-64 ") libmagic=64-bit;;
4869 *) libmagic=never-match;;
4871 lt_cv_deplibs_check_method=pass_all
4874 # This must be Linux ELF.
4875 linux* | k*bsd*-gnu)
4876 lt_cv_deplibs_check_method=pass_all
4880 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4881 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4883 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4888 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4889 lt_cv_file_magic_cmd=/usr/bin/file
4890 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4894 lt_cv_deplibs_check_method=pass_all
4898 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4899 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4901 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4905 osf3* | osf4* | osf5*)
4906 lt_cv_deplibs_check_method=pass_all
4910 lt_cv_deplibs_check_method=pass_all
4914 lt_cv_deplibs_check_method=pass_all
4917 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4918 lt_cv_deplibs_check_method=pass_all
4922 case $host_vendor in
4924 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]'
4925 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4928 lt_cv_deplibs_check_method=pass_all
4931 lt_cv_file_magic_cmd='/bin/file'
4932 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4935 lt_cv_file_magic_cmd='/bin/file'
4936 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4937 lt_cv_file_magic_test_file=/lib/libc.so
4940 lt_cv_deplibs_check_method=pass_all
4943 lt_cv_deplibs_check_method=pass_all
4949 lt_cv_deplibs_check_method=pass_all
4954 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4955 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4956 file_magic_cmd=$lt_cv_file_magic_cmd
4957 deplibs_check_method=$lt_cv_deplibs_check_method
4958 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4971 if test -n "$ac_tool_prefix"; then
4972 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4973 set dummy ${ac_tool_prefix}ar; ac_word=$2
4974 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4975 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4976 if test "${ac_cv_prog_AR+set}" = set; then
4977 echo $ECHO_N "(cached
) $ECHO_C" >&6
4979 if test -n "$AR"; then
4980 ac_cv_prog_AR="$AR" # Let the user override the test.
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 test -z "$as_dir" && as_dir=.
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_AR="${ac_tool_prefix}ar"
4990 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4999 if test -n "$AR"; then
5000 echo "$as_me:$LINENO: result
: $AR" >&5
5001 echo "${ECHO_T}$AR" >&6
5003 echo "$as_me:$LINENO: result
: no
" >&5
5004 echo "${ECHO_T}no
" >&6
5008 if test -z "$ac_cv_prog_AR"; then
5010 # Extract the first word of "ar", so it can be a program name with args.
5011 set dummy ar; ac_word=$2
5012 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5013 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5014 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5015 echo $ECHO_N "(cached
) $ECHO_C" >&6
5017 if test -n "$ac_ct_AR"; then
5018 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_ac_ct_AR="ar"
5028 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5034 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5037 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5038 if test -n "$ac_ct_AR"; then
5039 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5040 echo "${ECHO_T}$ac_ct_AR" >&6
5042 echo "$as_me:$LINENO: result
: no
" >&5
5043 echo "${ECHO_T}no
" >&6
5051 test -z "$AR" && AR=ar
5052 test -z "$AR_FLAGS" && AR_FLAGS=cru
5064 if test -n "$ac_tool_prefix"; then
5065 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5066 set dummy ${ac_tool_prefix}strip; ac_word=$2
5067 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5068 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5069 if test "${ac_cv_prog_STRIP+set}" = set; then
5070 echo $ECHO_N "(cached
) $ECHO_C" >&6
5072 if test -n "$STRIP"; then
5073 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5083 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5091 STRIP=$ac_cv_prog_STRIP
5092 if test -n "$STRIP"; then
5093 echo "$as_me:$LINENO: result
: $STRIP" >&5
5094 echo "${ECHO_T}$STRIP" >&6
5096 echo "$as_me:$LINENO: result
: no
" >&5
5097 echo "${ECHO_T}no
" >&6
5101 if test -z "$ac_cv_prog_STRIP"; then
5103 # Extract the first word of "strip
", so it can be a program name with args.
5104 set dummy strip; ac_word=$2
5105 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5106 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5108 echo $ECHO_N "(cached
) $ECHO_C" >&6
5110 if test -n "$ac_ct_STRIP"; then
5111 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120 ac_cv_prog_ac_ct_STRIP="strip
"
5121 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5127 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5131 if test -n "$ac_ct_STRIP"; then
5132 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5133 echo "${ECHO_T}$ac_ct_STRIP" >&6
5135 echo "$as_me:$LINENO: result
: no
" >&5
5136 echo "${ECHO_T}no
" >&6
5141 STRIP="$ac_cv_prog_STRIP"
5144 test -z "$STRIP" && STRIP=:
5151 if test -n "$ac_tool_prefix"; then
5152 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5153 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5154 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5155 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5156 if test "${ac_cv_prog_RANLIB+set}" = set; then
5157 echo $ECHO_N "(cached
) $ECHO_C" >&6
5159 if test -n "$RANLIB"; then
5160 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir=.
5167 for ac_exec_ext in '' $ac_executable_extensions; do
5168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5169 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5170 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5178 RANLIB=$ac_cv_prog_RANLIB
5179 if test -n "$RANLIB"; then
5180 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5181 echo "${ECHO_T}$RANLIB" >&6
5183 echo "$as_me:$LINENO: result
: no
" >&5
5184 echo "${ECHO_T}no
" >&6
5188 if test -z "$ac_cv_prog_RANLIB"; then
5189 ac_ct_RANLIB=$RANLIB
5190 # Extract the first word of "ranlib
", so it can be a program name with args.
5191 set dummy ranlib; ac_word=$2
5192 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5193 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5194 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5195 echo $ECHO_N "(cached
) $ECHO_C" >&6
5197 if test -n "$ac_ct_RANLIB"; then
5198 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5204 test -z "$as_dir" && as_dir=.
5205 for ac_exec_ext in '' $ac_executable_extensions; do
5206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5207 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5208 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5214 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5217 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5218 if test -n "$ac_ct_RANLIB"; then
5219 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5220 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5222 echo "$as_me:$LINENO: result
: no
" >&5
5223 echo "${ECHO_T}no
" >&6
5226 RANLIB=$ac_ct_RANLIB
5228 RANLIB="$ac_cv_prog_RANLIB"
5231 test -z "$RANLIB" && RANLIB=:
5238 # Determine commands to create old-style static archives.
5239 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5240 old_postinstall_cmds='chmod 644 $oldlib'
5241 old_postuninstall_cmds=
5243 if test -n "$RANLIB"; then
5246 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5249 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5252 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5288 # If no C compiler was specified, use CC.
5291 # If no C compiler flags were specified, use CFLAGS.
5292 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5294 # Allow CC to be a program name with arguments.
5298 # Check for command to grab the raw symbol name followed by C symbol from nm.
5299 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5300 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5301 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5302 echo $ECHO_N "(cached
) $ECHO_C" >&6
5305 # These are sane defaults that work on at least a few old systems.
5306 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5308 # Character class describing NM global symbol codes.
5309 symcode='[BCDEGRST]'
5311 # Regexp to match symbols that can be accessed directly from C.
5312 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5314 # Define system-specific variables.
5319 cygwin* | mingw* | pw32*)
5320 symcode='[ABCDGISTW]'
5323 if test "$host_cpu" = ia64; then
5324 symcode='[ABCDEGRST]'
5328 symcode='[BCDEGRST]'
5331 symcode='[BCDEGQRST]'
5342 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5350 # If we're using GNU nm, then use its standard symbol codes.
5351 case `$NM -V 2>&1` in
5352 *GNU* | *'with BFD'*)
5353 symcode='[ABCDGIRSTW]' ;;
5356 # Transform an extracted symbol line into a proper C declaration.
5357 # Some systems (esp. on ia64) link data and code symbols differently,
5358 # so use this general approach.
5359 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5361 # Transform an extracted symbol line into symbol name and symbol address
5362 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5364 # Handle CRLF in mingw tool chain
5368 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5372 # Try without a prefix underscore, then with it.
5373 for ac_symprfx in "" "_
"; do
5375 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5376 symxfrm="\\1 $ac_symprfx\\2 \\2"
5378 # Write the raw and C identifiers.
5379 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5380 # Fake it for dumpbin and say T for any non-static function
5381 # and D for any global variable.
5382 # Also find C++ and __fastcall symbols from MSVC++,
5383 # which start with @ or ?.
5384 lt_cv_sys_global_symbol_pipe="$AWK '"\
5385 " {last_section=section; section=\$ 3};"\
5386 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5387 " \$ 0!~/External *\|/{next};"\
5388 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5389 " {if(hide[section]) next};"\
5390 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5391 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5392 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5393 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5394 " ' prfx
=^
$ac_symprfx"
5396 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5399 # Check to see that the pipe works correctly.
5403 cat > conftest.$ac_ext <<_LT_EOF
5408 void nm_test_func(void);
5409 void nm_test_func(void){}
5413 int main(){nm_test_var='a';nm_test_func();return(0);}
5416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5417 (eval $ac_compile) 2>&5
5419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5420 (exit $ac_status); }; then
5421 # Now try to grab the symbols.
5423 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5424 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5426 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5427 (exit $ac_status); } && test -s "$nlist"; then
5428 # Try sorting and uniquifying the output.
5429 if sort "$nlist" | uniq > "$nlist"T; then
5430 mv -f "$nlist"T "$nlist"
5435 # Make sure that we snagged all the symbols we need.
5436 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5437 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5438 cat <<_LT_EOF > conftest.$ac_ext
5444 # Now generate the symbol file.
5445 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5447 cat <<_LT_EOF >> conftest.$ac_ext
5449 /* The mapping between symbol names and symbols. */
5454 lt__PROGRAM__LTX_preloaded_symbols[] =
5456 { "@PROGRAM@
", (void *) 0 },
5458 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5459 cat <<\_LT_EOF >> conftest.$ac_ext
5463 /* This works around a problem in FreeBSD linker */
5464 #ifdef FREEBSD_WORKAROUND
5465 static const void *lt_preloaded_setup() {
5466 return lt__PROGRAM__LTX_preloaded_symbols;
5474 # Now try linking the two files.
5475 mv conftest.$ac_objext conftstm.$ac_objext
5476 lt_save_LIBS="$LIBS"
5477 lt_save_CFLAGS="$CFLAGS"
5478 LIBS="conftstm.
$ac_objext"
5479 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5481 (eval $ac_link) 2>&5
5483 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5484 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5487 LIBS="$lt_save_LIBS"
5488 CFLAGS="$lt_save_CFLAGS"
5490 echo "cannot
find nm_test_func
in $nlist" >&5
5493 echo "cannot
find nm_test_var
in $nlist" >&5
5496 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5499 echo "$progname: failed program was
:" >&5
5500 cat conftest.$ac_ext >&5
5502 rm -f conftest* conftst*
5504 # Do not use the global_symbol_pipe unless it works.
5505 if test "$pipe_works" = yes; then
5508 lt_cv_sys_global_symbol_pipe=
5514 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5515 lt_cv_sys_global_symbol_to_cdecl=
5517 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5518 echo "$as_me:$LINENO: result
: failed
" >&5
5519 echo "${ECHO_T}failed
" >&6
5521 echo "$as_me:$LINENO: result
: ok
" >&5
5522 echo "${ECHO_T}ok
" >&6
5541 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5542 if test "${enable_libtool_lock+set}" = set; then
5543 enableval="$enable_libtool_lock"
5546 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5548 # Some flags need to be propagated to the compiler or linker for good
5552 # Find out which ABI we are using.
5553 echo 'int i;' > conftest.$ac_ext
5554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5555 (eval $ac_compile) 2>&5
5557 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5558 (exit $ac_status); }; then
5559 case `/usr/bin/file conftest.$ac_objext` in
5571 # Find out which ABI we are using.
5572 echo '#line 5572 "configure
"' > conftest.$ac_ext
5573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5574 (eval $ac_compile) 2>&5
5576 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5577 (exit $ac_status); }; then
5578 if test "$lt_cv_prog_gnu_ld" = yes; then
5579 case `/usr/bin/file conftest.$ac_objext` in
5581 LD="${LD-ld} -melf32bsmip"
5584 LD="${LD-ld} -melf32bmipn32"
5587 LD="${LD-ld} -melf64bmip"
5591 case `/usr/bin/file conftest.$ac_objext` in
5607 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5608 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5609 # Find out which ABI we are using.
5610 echo 'int i;' > conftest.$ac_ext
5611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5612 (eval $ac_compile) 2>&5
5614 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5615 (exit $ac_status); }; then
5616 case `/usr/bin/file conftest.o` in
5619 x86_64-*kfreebsd*-gnu)
5620 LD="${LD-ld} -m elf_i386_fbsd
"
5623 LD="${LD-ld} -m elf_i386
"
5625 ppc64-*linux*|powerpc64-*linux*)
5626 LD="${LD-ld} -m elf32ppclinux
"
5629 LD="${LD-ld} -m elf_s390
"
5632 LD="${LD-ld} -m elf32_sparc
"
5638 x86_64-*kfreebsd*-gnu)
5639 LD="${LD-ld} -m elf_x86_64_fbsd
"
5642 LD="${LD-ld} -m elf_x86_64
"
5644 ppc*-*linux*|powerpc*-*linux*)
5645 LD="${LD-ld} -m elf64ppc
"
5647 s390*-*linux*|s390*-*tpf*)
5648 LD="${LD-ld} -m elf64_s390
"
5651 LD="${LD-ld} -m elf64_sparc
"
5661 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5662 SAVE_CFLAGS="$CFLAGS"
5663 CFLAGS="$CFLAGS -belf"
5664 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5665 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5666 if test "${lt_cv_cc_needs_belf+set}" = set; then
5667 echo $ECHO_N "(cached
) $ECHO_C" >&6
5670 ac_cpp='$CPP $CPPFLAGS'
5671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5675 cat >conftest.$ac_ext <<_ACEOF
5678 cat confdefs.h >>conftest.$ac_ext
5679 cat >>conftest.$ac_ext <<_ACEOF
5680 /* end confdefs.h. */
5690 rm -f conftest.$ac_objext conftest$ac_exeext
5691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5692 (eval $ac_link) 2>conftest.er1
5694 grep -v '^ *+' conftest.er1 >conftest.err
5696 cat conftest.err >&5
5697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5698 (exit $ac_status); } &&
5699 { ac_try='test -z "$ac_c_werror_flag"
5700 || test ! -s conftest.err'
5701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5705 (exit $ac_status); }; } &&
5706 { ac_try='test -s conftest$ac_exeext'
5707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5711 (exit $ac_status); }; }; then
5712 lt_cv_cc_needs_belf=yes
5714 echo "$as_me: failed program was
:" >&5
5715 sed 's/^/| /' conftest.$ac_ext >&5
5717 lt_cv_cc_needs_belf=no
5719 rm -f conftest.err conftest.$ac_objext \
5720 conftest$ac_exeext conftest.$ac_ext
5722 ac_cpp='$CPP $CPPFLAGS'
5723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5728 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5729 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5730 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5731 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5732 CFLAGS="$SAVE_CFLAGS"
5736 # Find out which ABI we are using.
5737 echo 'int i;' > conftest.$ac_ext
5738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5739 (eval $ac_compile) 2>&5
5741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5742 (exit $ac_status); }; then
5743 case `/usr/bin/file conftest.o` in
5745 case $lt_cv_prog_gnu_ld in
5746 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5747 *) LD="${LD-ld} -64" ;;
5756 need_locks="$enable_libtool_lock"
5759 ac_cpp='$CPP $CPPFLAGS'
5760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5763 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5764 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5765 # On Suns, sometimes $CPP names a directory.
5766 if test -n "$CPP" && test -d "$CPP"; then
5769 if test -z "$CPP"; then
5770 if test "${ac_cv_prog_CPP+set}" = set; then
5771 echo $ECHO_N "(cached
) $ECHO_C" >&6
5773 # Double quotes because CPP needs to be expanded
5774 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5777 for ac_c_preproc_warn_flag in '' yes
5779 # Use a header file that comes with gcc, so configuring glibc
5780 # with a fresh cross-compiler works.
5781 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5782 # <limits.h> exists even on freestanding compilers.
5783 # On the NeXT, cc -E runs the code through the compiler's parser,
5784 # not just through cpp. "Syntax error
" is here to catch this case.
5785 cat >conftest.$ac_ext <<_ACEOF
5788 cat confdefs.h >>conftest.$ac_ext
5789 cat >>conftest.$ac_ext <<_ACEOF
5790 /* end confdefs.h. */
5792 # include <limits.h>
5794 # include <assert.h>
5798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5801 grep -v '^ *+' conftest.er1 >conftest.err
5803 cat conftest.err >&5
5804 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5805 (exit $ac_status); } >/dev/null; then
5806 if test -s conftest.err; then
5807 ac_cpp_err=$ac_c_preproc_warn_flag
5808 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5815 if test -z "$ac_cpp_err"; then
5818 echo "$as_me: failed program was
:" >&5
5819 sed 's/^/| /' conftest.$ac_ext >&5
5821 # Broken: fails on valid input.
5824 rm -f conftest.err conftest.$ac_ext
5826 # OK, works on sane cases. Now check whether non-existent headers
5827 # can be detected and how.
5828 cat >conftest.$ac_ext <<_ACEOF
5831 cat confdefs.h >>conftest.$ac_ext
5832 cat >>conftest.$ac_ext <<_ACEOF
5833 /* end confdefs.h. */
5834 #include <ac_nonexistent.h>
5836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5837 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5839 grep -v '^ *+' conftest.er1 >conftest.err
5841 cat conftest.err >&5
5842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5843 (exit $ac_status); } >/dev/null; then
5844 if test -s conftest.err; then
5845 ac_cpp_err=$ac_c_preproc_warn_flag
5846 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5853 if test -z "$ac_cpp_err"; then
5854 # Broken: success on invalid input.
5857 echo "$as_me: failed program was
:" >&5
5858 sed 's/^/| /' conftest.$ac_ext >&5
5860 # Passes both tests.
5864 rm -f conftest.err conftest.$ac_ext
5867 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5868 rm -f conftest.err conftest.$ac_ext
5869 if $ac_preproc_ok; then
5881 echo "$as_me:$LINENO: result
: $CPP" >&5
5882 echo "${ECHO_T}$CPP" >&6
5884 for ac_c_preproc_warn_flag in '' yes
5886 # Use a header file that comes with gcc, so configuring glibc
5887 # with a fresh cross-compiler works.
5888 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5889 # <limits.h> exists even on freestanding compilers.
5890 # On the NeXT, cc -E runs the code through the compiler's parser,
5891 # not just through cpp. "Syntax error
" is here to catch this case.
5892 cat >conftest.$ac_ext <<_ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5899 # include <limits.h>
5901 # include <assert.h>
5905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5908 grep -v '^ *+' conftest.er1 >conftest.err
5910 cat conftest.err >&5
5911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5912 (exit $ac_status); } >/dev/null; then
5913 if test -s conftest.err; then
5914 ac_cpp_err=$ac_c_preproc_warn_flag
5915 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5922 if test -z "$ac_cpp_err"; then
5925 echo "$as_me: failed program was
:" >&5
5926 sed 's/^/| /' conftest.$ac_ext >&5
5928 # Broken: fails on valid input.
5931 rm -f conftest.err conftest.$ac_ext
5933 # OK, works on sane cases. Now check whether non-existent headers
5934 # can be detected and how.
5935 cat >conftest.$ac_ext <<_ACEOF
5938 cat confdefs.h >>conftest.$ac_ext
5939 cat >>conftest.$ac_ext <<_ACEOF
5940 /* end confdefs.h. */
5941 #include <ac_nonexistent.h>
5943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5946 grep -v '^ *+' conftest.er1 >conftest.err
5948 cat conftest.err >&5
5949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5950 (exit $ac_status); } >/dev/null; then
5951 if test -s conftest.err; then
5952 ac_cpp_err=$ac_c_preproc_warn_flag
5953 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5960 if test -z "$ac_cpp_err"; then
5961 # Broken: success on invalid input.
5964 echo "$as_me: failed program was
:" >&5
5965 sed 's/^/| /' conftest.$ac_ext >&5
5967 # Passes both tests.
5971 rm -f conftest.err conftest.$ac_ext
5974 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5975 rm -f conftest.err conftest.$ac_ext
5976 if $ac_preproc_ok; then
5979 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5980 See \
`config.log' for more details." >&5
5981 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5982 See \`config.log
' for more details." >&2;}
5983 { (exit 1); exit 1; }; }
5987 ac_cpp='$CPP $CPPFLAGS'
5988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5989 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5993 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5994 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5995 if test "${ac_cv_header_stdc+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 cat >conftest.$ac_ext <<_ACEOF
6001 cat confdefs.h >>conftest.$ac_ext
6002 cat >>conftest.$ac_ext <<_ACEOF
6003 /* end confdefs.h. */
6017 rm -f conftest.$ac_objext
6018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6019 (eval $ac_compile) 2>conftest.er1
6021 grep -v '^
*+' conftest.er1 >conftest.err
6023 cat conftest.err >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } &&
6026 { ac_try='test -z "$ac_c_werror_flag"
6027 ||
test ! -s conftest.err
'
6028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; } &&
6033 { ac_try='test -s conftest.
$ac_objext'
6034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); }; }; then
6039 ac_cv_header_stdc=yes
6041 echo "$as_me: failed program was:" >&5
6042 sed 's
/^
/|
/' conftest.$ac_ext >&5
6044 ac_cv_header_stdc=no
6046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6048 if test $ac_cv_header_stdc = yes; then
6049 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6050 cat >conftest.$ac_ext <<_ACEOF
6053 cat confdefs.h >>conftest.$ac_ext
6054 cat >>conftest.$ac_ext <<_ACEOF
6055 /* end confdefs.h. */
6059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6060 $EGREP "memchr" >/dev/null 2>&1; then
6063 ac_cv_header_stdc=no
6069 if test $ac_cv_header_stdc = yes; then
6070 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6071 cat >conftest.$ac_ext <<_ACEOF
6074 cat confdefs.h >>conftest.$ac_ext
6075 cat >>conftest.$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6081 $EGREP "free" >/dev/null 2>&1; then
6084 ac_cv_header_stdc=no
6090 if test $ac_cv_header_stdc = yes; then
6091 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6092 if test "$cross_compiling" = yes; then
6095 cat >conftest.$ac_ext <<_ACEOF
6098 cat confdefs.h >>conftest.$ac_ext
6099 cat >>conftest.$ac_ext <<_ACEOF
6100 /* end confdefs.h. */
6102 #if ((' ' & 0x0FF) == 0x020)
6103 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6104 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6106 # define ISLOWER(c) \
6107 (('a
' <= (c) && (c) <= 'i
') \
6108 || ('j
' <= (c) && (c) <= 'r
') \
6109 || ('s
' <= (c) && (c) <= 'z
'))
6110 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6113 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6118 for (i = 0; i < 256; i++)
6119 if (XOR (islower (i), ISLOWER (i))
6120 || toupper (i) != TOUPPER (i))
6125 rm -f conftest$ac_exeext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6127 (eval $ac_link) 2>&5
6129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6130 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); }; }; then
6138 echo "$as_me: program exited with status $ac_status" >&5
6139 echo "$as_me: failed program was:" >&5
6140 sed 's
/^
/|
/' conftest.$ac_ext >&5
6143 ac_cv_header_stdc=no
6145 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6149 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6150 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6151 if test $ac_cv_header_stdc = yes; then
6153 cat >>confdefs.h <<\_ACEOF
6154 #define STDC_HEADERS 1
6159 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6169 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6170 inttypes.h stdint.h unistd.h
6172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6173 echo "$as_me:$LINENO: checking for $ac_header" >&5
6174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 cat >conftest.$ac_ext <<_ACEOF
6181 cat confdefs.h >>conftest.$ac_ext
6182 cat >>conftest.$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6184 $ac_includes_default
6186 #include <$ac_header>
6188 rm -f conftest.$ac_objext
6189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6190 (eval $ac_compile) 2>conftest.er1
6192 grep -v '^
*+' conftest.er1 >conftest.err
6194 cat conftest.err >&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); } &&
6197 { ac_try='test -z "$ac_c_werror_flag"
6198 ||
test ! -s conftest.err
'
6199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); }; } &&
6204 { ac_try='test -s conftest.
$ac_objext'
6205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); }; }; then
6210 eval "$as_ac_Header=yes"
6212 echo "$as_me: failed program was:" >&5
6213 sed 's
/^
/|
/' conftest.$ac_ext >&5
6215 eval "$as_ac_Header=no"
6217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6222 cat >>confdefs.h <<_ACEOF
6223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6232 for ac_header in dlfcn.h
6234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6235 echo "$as_me:$LINENO: checking for $ac_header" >&5
6236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6238 echo $ECHO_N "(cached) $ECHO_C" >&6
6240 cat >conftest.$ac_ext <<_ACEOF
6243 cat confdefs.h >>conftest.$ac_ext
6244 cat >>conftest.$ac_ext <<_ACEOF
6245 /* end confdefs.h. */
6246 $ac_includes_default
6248 #include <$ac_header>
6250 rm -f conftest.$ac_objext
6251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6252 (eval $ac_compile) 2>conftest.er1
6254 grep -v '^
*+' conftest.er1 >conftest.err
6256 cat conftest.err >&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); } &&
6259 { ac_try='test -z "$ac_c_werror_flag"
6260 ||
test ! -s conftest.err
'
6261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); }; } &&
6266 { ac_try='test -s conftest.
$ac_objext'
6267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); }; }; then
6272 eval "$as_ac_Header=yes"
6274 echo "$as_me: failed program was:" >&5
6275 sed 's
/^
/|
/' conftest.$ac_ext >&5
6277 eval "$as_ac_Header=no"
6279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6284 cat >>confdefs.h <<_ACEOF
6285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6294 # This can be used to rebuild libtool when needed
6295 LIBTOOL_DEPS="$ltmain"
6297 # Always use our own libtool.
6298 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6324 test -z "$LN_S" && LN_S="ln -s"
6339 if test -n "${ZSH_VERSION+set}" ; then
6340 setopt NO_GLOB_SUBST
6343 echo "$as_me:$LINENO: checking for objdir" >&5
6344 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6345 if test "${lt_cv_objdir+set}" = set; then
6346 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 rm -f .libs 2>/dev/null
6349 mkdir .libs 2>/dev/null
6350 if test -d .libs; then
6353 # MS-DOS does not allow filenames that begin with a dot.
6356 rmdir .libs 2>/dev/null
6358 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6359 echo "${ECHO_T}$lt_cv_objdir" >&6
6360 objdir=$lt_cv_objdir
6366 cat >>confdefs.h <<_ACEOF
6367 #define LT_OBJDIR "$lt_cv_objdir/"
6388 # AIX sometimes has problems with the GCC collect2 program. For some
6389 # reason, if we set the COLLECT_NAMES environment variable, the problems
6390 # vanish in a puff of smoke.
6391 if test "X${COLLECT_NAMES+set}" != Xset; then
6393 export COLLECT_NAMES
6398 # Sed substitution that helps us do robust quoting. It backslashifies
6399 # metacharacters that are still active within double-quoted strings.
6400 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6402 # Same as above, but do not quote variable references.
6403 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6405 # Sed substitution to delay expansion of an escaped shell variable in a
6406 # double_quote_subst'ed string.
6407 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6409 # Sed substitution to delay expansion of an escaped single quote.
6410 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6412 # Sed substitution to avoid accidental globbing in evaled expressions
6413 no_glob_subst='s/\*/\\\*/g'
6417 can_build_shared=yes
6419 # All known linkers require a `.a
' archive for static linking (except MSVC,
6420 # which needs '.lib
').
6423 with_gnu_ld="$lt_cv_prog_gnu_ld"
6426 old_CFLAGS="$CFLAGS"
6428 # Set sane defaults for various variables
6429 test -z "$CC" && CC=cc
6430 test -z "$LTCC" && LTCC=$CC
6431 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6432 test -z "$LD" && LD=ld
6433 test -z "$ac_objext" && ac_objext=o
6435 for cc_temp in $compiler""; do
6437 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6438 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6443 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6446 # Only perform the check for file, if the check method requires it
6447 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6448 case $deplibs_check_method in
6450 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6451 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6452 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6453 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6454 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6461 lt_save_MAGIC_CMD="$MAGIC_CMD"
6462 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6463 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6464 for ac_dir in $ac_dummy; do
6466 test -z "$ac_dir" && ac_dir=.
6467 if test -f $ac_dir/${ac_tool_prefix}file; then
6468 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6469 if test -n "$file_magic_test_file"; then
6470 case $deplibs_check_method in
6472 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6473 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6474 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6475 $EGREP "$file_magic_regex" > /dev/null; then
6480 *** Warning: the command libtool uses to detect shared libraries,
6481 *** $file_magic_cmd, produces output that libtool cannot recognize.
6482 *** The result is that libtool may fail to recognize shared libraries
6483 *** as such. This will affect the creation of libtool libraries that
6484 *** depend on shared libraries, but programs linked with such libtool
6485 *** libraries will work regardless of this problem. Nevertheless, you
6486 *** may want to report the problem to your system manager and/or to
6487 *** bug-libtool@gnu.org
6497 MAGIC_CMD="$lt_save_MAGIC_CMD"
6502 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6503 if test -n "$MAGIC_CMD"; then
6504 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6505 echo "${ECHO_T}$MAGIC_CMD" >&6
6507 echo "$as_me:$LINENO: result: no" >&5
6508 echo "${ECHO_T}no" >&6
6515 if test -z "$lt_cv_path_MAGIC_CMD"; then
6516 if test -n "$ac_tool_prefix"; then
6517 echo "$as_me:$LINENO: checking for file" >&5
6518 echo $ECHO_N "checking for file... $ECHO_C" >&6
6519 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6524 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6527 lt_save_MAGIC_CMD="$MAGIC_CMD"
6528 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6529 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6530 for ac_dir in $ac_dummy; do
6532 test -z "$ac_dir" && ac_dir=.
6533 if test -f $ac_dir/file; then
6534 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6535 if test -n "$file_magic_test_file"; then
6536 case $deplibs_check_method in
6538 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6539 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6540 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6541 $EGREP "$file_magic_regex" > /dev/null; then
6546 *** Warning: the command libtool uses to detect shared libraries,
6547 *** $file_magic_cmd, produces output that libtool cannot recognize.
6548 *** The result is that libtool may fail to recognize shared libraries
6549 *** as such. This will affect the creation of libtool libraries that
6550 *** depend on shared libraries, but programs linked with such libtool
6551 *** libraries will work regardless of this problem. Nevertheless, you
6552 *** may want to report the problem to your system manager and/or to
6553 *** bug-libtool@gnu.org
6563 MAGIC_CMD="$lt_save_MAGIC_CMD"
6568 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6569 if test -n "$MAGIC_CMD"; then
6570 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6571 echo "${ECHO_T}$MAGIC_CMD" >&6
6573 echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6
6587 # Use C for the default configuration in the libtool script
6591 ac_cpp='$CPP $CPPFLAGS'
6592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6593 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6597 # Source file extension for C test sources.
6600 # Object file extension for compiled C test sources.
6604 # Code to be used in simple compile tests
6605 lt_simple_compile_test_code="int some_variable = 0;"
6607 # Code to be used in simple link tests
6608 lt_simple_link_test_code='int main
(){return(0);}'
6616 # If no C compiler was specified, use CC.
6619 # If no C compiler flags were specified, use CFLAGS.
6620 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6622 # Allow CC to be a program name with arguments.
6625 # Save the default compiler, since it gets overwritten when the other
6626 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6627 compiler_DEFAULT=$CC
6629 # save warnings/boilerplate of simple test code
6630 ac_outfile=conftest.$ac_objext
6631 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6632 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6633 _lt_compiler_boilerplate=`cat conftest.err`
6636 ac_outfile=conftest.$ac_objext
6637 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6638 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6639 _lt_linker_boilerplate=`cat conftest.err`
6644 ## There is no encapsulation within the following macros, do not change
6645 ## the running order or otherwise move them around unless you know exactly
6646 ## what you are doing...
6647 if test -n "$compiler"; then
6649 lt_prog_compiler_no_builtin_flag=
6651 if test "$GCC" = yes; then
6652 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6654 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6655 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6656 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6659 lt_cv_prog_compiler_rtti_exceptions=no
6660 ac_outfile=conftest.$ac_objext
6661 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6662 lt_compiler_flag="-fno-rtti -fno-exceptions"
6663 # Insert the option either (1) after the last *FLAGS variable, or
6664 # (2) before a word containing "conftest.", or (3) at the end.
6665 # Note that $ac_compile itself does not contain backslashes and begins
6666 # with a dollar sign (not a hyphen), so the echo should work correctly.
6667 # The option is referenced via a variable to avoid confusing sed.
6668 lt_compile=`echo "$ac_compile" | $SED \
6669 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6670 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6671 -e 's
:$
: $lt_compiler_flag:'`
6672 (eval echo "\"\$as_me:6672: $lt_compile\"" >&5)
6673 (eval "$lt_compile" 2>conftest.err)
6675 cat conftest.err >&5
6676 echo "$as_me:6676: \$? = $ac_status" >&5
6677 if (exit $ac_status) && test -s "$ac_outfile"; then
6678 # The compiler can only warn and ignore the option if not recognized
6679 # So say no if there are warnings other than the usual output.
6680 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6681 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6682 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6683 lt_cv_prog_compiler_rtti_exceptions=yes
6689 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6690 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6692 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6693 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6705 lt_prog_compiler_wl=
6706 lt_prog_compiler_pic=
6707 lt_prog_compiler_static=
6709 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6710 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6712 if test "$GCC" = yes; then
6713 lt_prog_compiler_wl='-Wl,'
6714 lt_prog_compiler_static='-static'
6718 # All AIX code is PIC.
6719 if test "$host_cpu" = ia64; then
6720 # AIX 5 now supports IA64 processor
6721 lt_prog_compiler_static='-Bstatic'
6726 if test "$host_cpu" = m68k; then
6727 # FIXME: we need at least 68020 code to build shared libraries, but
6728 # adding the `-m68020' flag to GCC prevents building anything better
,
6730 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6734 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6735 # PIC is the default for these OSes.
6738 mingw
* | cygwin
* | pw32
* | os2
*)
6739 # This hack is so that the source file can tell whether it is being
6740 # built for inclusion in a dll (and should export symbols for example).
6741 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6742 # (--disable-auto-import) libraries
6743 lt_prog_compiler_pic
='-DDLL_EXPORT'
6746 darwin
* | rhapsody
*)
6747 # PIC is the default on this platform
6748 # Common symbols not allowed in MH_DYLIB files
6749 lt_prog_compiler_pic
='-fno-common'
6753 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6760 lt_prog_compiler_pic
='-fPIC'
6766 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6767 # Instead, we relocate shared libraries at runtime.
6771 # Just because we use GCC doesn't mean we suddenly get shared libraries
6772 # on systems that don't support them.
6773 lt_prog_compiler_can_build_shared
=no
6778 # QNX uses GNU C++, but need to define -shared option too, otherwise
6780 lt_prog_compiler_pic
='-fPIC -shared'
6784 if test -d /usr
/nec
; then
6785 lt_prog_compiler_pic
=-Kconform_pic
6790 lt_prog_compiler_pic
='-fPIC'
6794 # PORTME Check for flag to pass linker flags through the system compiler.
6797 lt_prog_compiler_wl
='-Wl,'
6798 if test "$host_cpu" = ia64
; then
6799 # AIX 5 now supports IA64 processor
6800 lt_prog_compiler_static
='-Bstatic'
6802 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6806 # PIC is the default on this platform
6807 # Common symbols not allowed in MH_DYLIB files
6808 case $cc_basename in
6810 lt_prog_compiler_pic
='-qnocommon'
6811 lt_prog_compiler_wl
='-Wl,'
6816 mingw
* | cygwin
* | pw32
* | os2
*)
6817 # This hack is so that the source file can tell whether it is being
6818 # built for inclusion in a dll (and should export symbols for example).
6819 lt_prog_compiler_pic
='-DDLL_EXPORT'
6822 hpux9
* | hpux10
* | hpux11
*)
6823 lt_prog_compiler_wl
='-Wl,'
6824 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6831 lt_prog_compiler_pic
='+Z'
6834 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6835 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6838 irix5
* | irix6
* | nonstopux
*)
6839 lt_prog_compiler_wl
='-Wl,'
6840 # PIC (with -KPIC) is the default.
6841 lt_prog_compiler_static
='-non_shared'
6844 linux
* | k
*bsd
*-gnu)
6845 case $cc_basename in
6847 lt_prog_compiler_wl
='-Wl,'
6848 lt_prog_compiler_pic
='-KPIC'
6849 lt_prog_compiler_static
='-static'
6851 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6852 # Portland Group compilers (*not* the Pentium gcc compiler,
6853 # which looks to be a dead project)
6854 lt_prog_compiler_wl
='-Wl,'
6855 lt_prog_compiler_pic
='-fpic'
6856 lt_prog_compiler_static
='-Bstatic'
6859 lt_prog_compiler_wl
='-Wl,'
6860 # All Alpha code is PIC.
6861 lt_prog_compiler_static
='-non_shared'
6864 case `$CC -V 2>&1 | sed 5q` in
6867 lt_prog_compiler_pic
='-KPIC'
6868 lt_prog_compiler_static
='-Bstatic'
6869 lt_prog_compiler_wl
='-Wl,'
6872 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6873 lt_prog_compiler_pic
='-KPIC'
6874 lt_prog_compiler_static
='-Bstatic'
6875 lt_prog_compiler_wl
=''
6883 lt_prog_compiler_pic
='-KPIC'
6884 lt_prog_compiler_static
='-Bstatic'
6888 # QNX uses GNU C++, but need to define -shared option too, otherwise
6890 lt_prog_compiler_pic
='-fPIC -shared'
6893 osf3
* | osf4
* | osf5
*)
6894 lt_prog_compiler_wl
='-Wl,'
6895 # All OSF/1 code is PIC.
6896 lt_prog_compiler_static
='-non_shared'
6900 lt_prog_compiler_static
='-non_shared'
6904 lt_prog_compiler_pic
='-KPIC'
6905 lt_prog_compiler_static
='-Bstatic'
6906 case $cc_basename in
6908 lt_prog_compiler_wl
='-Qoption ld ';;
6910 lt_prog_compiler_wl
='-Wl,';;
6915 lt_prog_compiler_wl
='-Qoption ld '
6916 lt_prog_compiler_pic
='-PIC'
6917 lt_prog_compiler_static
='-Bstatic'
6920 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6921 lt_prog_compiler_wl
='-Wl,'
6922 lt_prog_compiler_pic
='-KPIC'
6923 lt_prog_compiler_static
='-Bstatic'
6927 if test -d /usr
/nec
;then
6928 lt_prog_compiler_pic
='-Kconform_pic'
6929 lt_prog_compiler_static
='-Bstatic'
6933 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6934 lt_prog_compiler_wl
='-Wl,'
6935 lt_prog_compiler_pic
='-KPIC'
6936 lt_prog_compiler_static
='-Bstatic'
6940 lt_prog_compiler_wl
='-Wl,'
6941 lt_prog_compiler_can_build_shared
=no
6945 lt_prog_compiler_pic
='-pic'
6946 lt_prog_compiler_static
='-Bstatic'
6950 lt_prog_compiler_can_build_shared
=no
6956 # For platforms which do not support PIC, -DPIC is meaningless:
6958 lt_prog_compiler_pic
=
6961 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6964 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6965 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6973 # Check to make sure the PIC flag actually works.
6975 if test -n "$lt_prog_compiler_pic"; then
6976 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6977 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6978 if test "${lt_prog_compiler_pic_works+set}" = set; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 lt_prog_compiler_pic_works
=no
6982 ac_outfile
=conftest.
$ac_objext
6983 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6984 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6985 # Insert the option either (1) after the last *FLAGS variable, or
6986 # (2) before a word containing "conftest.", or (3) at the end.
6987 # Note that $ac_compile itself does not contain backslashes and begins
6988 # with a dollar sign (not a hyphen), so the echo should work correctly.
6989 # The option is referenced via a variable to avoid confusing sed.
6990 lt_compile
=`echo "$ac_compile" | $SED \
6991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6993 -e 's:$: $lt_compiler_flag:'`
6994 (eval echo "\"\$as_me:6994: $lt_compile\"" >&5)
6995 (eval "$lt_compile" 2>conftest.err
)
6997 cat conftest.err
>&5
6998 echo "$as_me:6998: \$? = $ac_status" >&5
6999 if (exit $ac_status) && test -s "$ac_outfile"; then
7000 # The compiler can only warn and ignore the option if not recognized
7001 # So say no if there are warnings other than the usual output.
7002 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7003 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7004 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7005 lt_prog_compiler_pic_works
=yes
7011 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7012 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7014 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7015 case $lt_prog_compiler_pic in
7017 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7020 lt_prog_compiler_pic
=
7021 lt_prog_compiler_can_build_shared
=no
7032 # Check to make sure the static flag actually works.
7034 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7035 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7036 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7037 if test "${lt_prog_compiler_static_works+set}" = set; then
7038 echo $ECHO_N "(cached) $ECHO_C" >&6
7040 lt_prog_compiler_static_works
=no
7041 save_LDFLAGS
="$LDFLAGS"
7042 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7043 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7044 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7045 # The linker can only warn and ignore the option if not recognized
7046 # So say no if there are warnings
7047 if test -s conftest.err
; then
7048 # Append any errors to the config.log.
7049 cat conftest.err
1>&5
7050 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7051 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7052 if diff conftest.exp conftest.er2
>/dev
/null
; then
7053 lt_prog_compiler_static_works
=yes
7056 lt_prog_compiler_static_works
=yes
7060 LDFLAGS
="$save_LDFLAGS"
7063 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7064 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7066 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7069 lt_prog_compiler_static
=
7078 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7079 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7080 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7081 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 lt_cv_prog_compiler_c_o
=no
7084 $RM -r conftest
2>/dev
/null
7088 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7090 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7091 # Insert the option either (1) after the last *FLAGS variable, or
7092 # (2) before a word containing "conftest.", or (3) at the end.
7093 # Note that $ac_compile itself does not contain backslashes and begins
7094 # with a dollar sign (not a hyphen), so the echo should work correctly.
7095 lt_compile
=`echo "$ac_compile" | $SED \
7096 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7098 -e 's:$: $lt_compiler_flag:'`
7099 (eval echo "\"\$as_me:7099: $lt_compile\"" >&5)
7100 (eval "$lt_compile" 2>out
/conftest.err
)
7102 cat out
/conftest.err
>&5
7103 echo "$as_me:7103: \$? = $ac_status" >&5
7104 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7106 # The compiler can only warn and ignore the option if not recognized
7107 # So say no if there are warnings
7108 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7109 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7110 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7111 lt_cv_prog_compiler_c_o
=yes
7116 # SGI C++ compiler will create directory out/ii_files/ for
7117 # template instantiation
7118 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7119 $RM out
/* && rmdir out
7125 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7126 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7133 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7134 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7135 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7136 echo $ECHO_N "(cached) $ECHO_C" >&6
7138 lt_cv_prog_compiler_c_o
=no
7139 $RM -r conftest
2>/dev
/null
7143 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7145 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7146 # Insert the option either (1) after the last *FLAGS variable, or
7147 # (2) before a word containing "conftest.", or (3) at the end.
7148 # Note that $ac_compile itself does not contain backslashes and begins
7149 # with a dollar sign (not a hyphen), so the echo should work correctly.
7150 lt_compile
=`echo "$ac_compile" | $SED \
7151 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7152 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7153 -e 's:$: $lt_compiler_flag:'`
7154 (eval echo "\"\$as_me:7154: $lt_compile\"" >&5)
7155 (eval "$lt_compile" 2>out
/conftest.err
)
7157 cat out
/conftest.err
>&5
7158 echo "$as_me:7158: \$? = $ac_status" >&5
7159 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7161 # The compiler can only warn and ignore the option if not recognized
7162 # So say no if there are warnings
7163 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7164 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7165 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7166 lt_cv_prog_compiler_c_o
=yes
7171 # SGI C++ compiler will create directory out/ii_files/ for
7172 # template instantiation
7173 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7174 $RM out
/* && rmdir out
7180 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7181 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7186 hard_links
="nottested"
7187 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7188 # do not overwrite the value of need_locks provided by the user
7189 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7190 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7193 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7195 ln conftest.a conftest.b
2>&5 || hard_links
=no
7196 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7197 echo "$as_me:$LINENO: result: $hard_links" >&5
7198 echo "${ECHO_T}$hard_links" >&6
7199 if test "$hard_links" = no
; then
7200 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7201 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7213 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7214 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7217 allow_undefined_flag
=
7218 always_export_symbols
=no
7220 archive_expsym_cmds
=
7221 compiler_needs_object
=no
7222 enable_shared_with_static_runtimes
=no
7223 export_dynamic_flag_spec
=
7224 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7225 hardcode_automatic
=no
7227 hardcode_direct_absolute
=no
7228 hardcode_libdir_flag_spec
=
7229 hardcode_libdir_flag_spec_ld
=
7230 hardcode_libdir_separator
=
7232 hardcode_shlibpath_var
=unsupported
7234 link_all_deplibs
=unknown
7237 old_archive_from_new_cmds
=
7238 old_archive_from_expsyms_cmds
=
7239 thread_safe_flag_spec
=
7240 whole_archive_flag_spec
=
7241 # include_expsyms should be a list of space-separated symbols to be *always*
7242 # included in the symbol list
7244 # exclude_expsyms can be an extended regexp of symbols to exclude
7245 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7246 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7247 # as well as any symbol that contains `d'.
7248 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7249 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7250 # platforms (ab)use it in PIC code, but their linkers get confused if
7251 # the symbol is explicitly referenced. Since portable code cannot
7252 # rely on this symbol name, it's probably fine to never include it in
7253 # preloaded symbol tables.
7254 extract_expsyms_cmds
=
7257 cygwin
* | mingw
* | pw32
*)
7258 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7259 # When not using gcc, we currently assume that we are using
7260 # Microsoft Visual C++.
7261 if test "$GCC" != yes; then
7266 # we just hope/assume this is gcc and not c89 (= MSVC++)
7275 if test "$with_gnu_ld" = yes; then
7276 # If archive_cmds runs LD, not CC, wlarc should be empty
7279 # Set some defaults for GNU ld with shared library support. These
7280 # are reset later if shared libraries are not supported. Putting them
7281 # here allows them to be overridden if necessary.
7282 runpath_var
=LD_RUN_PATH
7283 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7284 export_dynamic_flag_spec
='${wl}--export-dynamic'
7285 # ancient GNU ld didn't support --whole-archive et. al.
7286 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7287 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7289 whole_archive_flag_spec
=
7291 supports_anon_versioning
=no
7292 case `$LD -v 2>&1` in
7293 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7294 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7295 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7296 *\
2.11.
*) ;; # other 2.11 versions
7297 *) supports_anon_versioning
=yes ;;
7300 # See if GNU ld supports shared libraries.
7303 # On AIX/PPC, the GNU linker is very broken
7304 if test "$host_cpu" != ia64
; then
7308 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7309 *** to be unable to reliably create shared libraries on AIX.
7310 *** Therefore, libtool is disabling shared libraries support. If you
7311 *** really care for shared libraries, you may want to modify your PATH
7312 *** so that a non-GNU linker is found, and then restart.
7319 if test "$host_cpu" = m68k
; then
7320 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)'
7321 hardcode_libdir_flag_spec
='-L$libdir'
7322 hardcode_minus_L
=yes
7325 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7326 # that the semantics of dynamic libraries on AmigaOS, at least up
7327 # to version 4, is to share data among multiple programs linked
7328 # with the same dynamic library. Since this doesn't match the
7329 # behavior of shared libraries on other platforms, we can't use
7335 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7336 allow_undefined_flag
=unsupported
7337 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7338 # support --undefined. This deserves some investigation. FIXME
7339 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7345 cygwin
* | mingw
* | pw32
*)
7346 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7347 # as there is no search path for DLLs.
7348 hardcode_libdir_flag_spec
='-L$libdir'
7349 allow_undefined_flag
=unsupported
7350 always_export_symbols
=no
7351 enable_shared_with_static_runtimes
=yes
7352 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7354 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7355 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7356 # If the export-symbols file already is a .def file (1st line
7357 # is EXPORTS), use it as is; otherwise, prepend...
7358 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7359 cp $export_symbols $output_objdir/$soname.def;
7361 echo EXPORTS > $output_objdir/$soname.def;
7362 cat $export_symbols >> $output_objdir/$soname.def;
7364 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7372 hardcode_shlibpath_var
=no
7373 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7374 export_dynamic_flag_spec
='${wl}-E'
7375 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7376 # Instead, shared libraries are loaded at an image base (0x10000000 by
7377 # default) and relocated if they conflict, which is a slow very memory
7378 # consuming and fragmenting process. To avoid this, we pick a random,
7379 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7380 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7381 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7382 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7385 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7387 if test "$host_os" = linux-dietlibc
; then
7388 case $cc_basename in
7389 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7392 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7393 && test "$tmp_diet" = no
7396 case $cc_basename,$host_cpu in
7397 pgcc
*) # Portland Group C compiler
7398 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7399 tmp_addflag
=' $pic_flag'
7401 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7402 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7403 tmp_addflag
=' $pic_flag -Mnomain' ;;
7404 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7405 tmp_addflag
=' -i_dynamic' ;;
7406 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7407 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7408 ifc
* | ifort
*) # Intel Fortran compiler
7409 tmp_addflag
=' -nofor_main' ;;
7411 case `$CC -V 2>&1 | sed 5q` in
7412 *Sun\ C
*) # Sun C 5.9
7413 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7414 compiler_needs_object
=yes
7415 tmp_sharedflag
='-G' ;;
7416 *Sun\ F
*) # Sun Fortran 8.3
7417 tmp_sharedflag
='-G' ;;
7419 tmp_sharedflag
='-shared' ;;
7421 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7423 if test "x$supports_anon_versioning" = xyes
; then
7424 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7425 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7426 echo "local: *; };" >> $output_objdir/$libname.ver~
7427 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7435 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7436 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7439 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7440 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7445 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7449 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7450 *** create shared libraries on Solaris systems. Therefore, libtool
7451 *** is disabling shared libraries support. We urge you to upgrade GNU
7452 *** binutils to release 2.9.1 or newer. Another option is to modify
7453 *** your PATH or compiler configuration so that the native linker is
7454 *** used, and then restart.
7457 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7458 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7459 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7465 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7466 case `$LD -v 2>&1` in
7467 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7471 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7472 *** reliably create shared libraries on SCO systems. Therefore, libtool
7473 *** is disabling shared libraries support. We urge you to upgrade GNU
7474 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7475 *** your PATH or compiler configuration so that the native linker is
7476 *** used, and then restart.
7481 # For security reasons, it is highly recommended that you always
7482 # use absolute paths for naming shared libraries, and exclude the
7483 # DT_RUNPATH tag from executables and libraries. But doing so
7484 # requires that you compile everything twice, which is a pain.
7485 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7486 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7487 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7488 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7497 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7500 hardcode_shlibpath_var
=no
7504 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7505 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7506 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7513 if test "$ld_shlibs" = no
; then
7515 hardcode_libdir_flag_spec
=
7516 export_dynamic_flag_spec
=
7517 whole_archive_flag_spec
=
7520 # PORTME fill in a description of your system's linker (not GNU ld)
7523 allow_undefined_flag
=unsupported
7524 always_export_symbols
=yes
7525 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'
7526 # Note: this linker hardcodes the directories in LIBPATH if there
7527 # are no directories specified by -L.
7528 hardcode_minus_L
=yes
7529 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7530 # Neither direct hardcoding nor static linking is supported with a
7532 hardcode_direct
=unsupported
7537 if test "$host_cpu" = ia64
; then
7538 # On IA64, the linker does run time linking by default, so we don't
7539 # have to do anything special.
7540 aix_use_runtimelinking
=no
7541 exp_sym_flag
='-Bexport'
7544 # If we're using GNU nm, then we don't want the "-C" option.
7545 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7546 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7547 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'
7549 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'
7551 aix_use_runtimelinking
=no
7553 # Test if we are trying to use run time linking or normal
7554 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7555 # need to do runtime linking.
7556 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7557 for ld_flag
in $LDFLAGS; do
7558 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7559 aix_use_runtimelinking
=yes
7566 exp_sym_flag
='-bexport'
7567 no_entry_flag
='-bnoentry'
7570 # When large executables or shared objects are built, AIX ld can
7571 # have problems creating the table of contents. If linking a library
7572 # or program results in "error TOC overflow" add -mminimal-toc to
7573 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7574 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7578 hardcode_direct_absolute
=yes
7579 hardcode_libdir_separator
=':'
7580 link_all_deplibs
=yes
7581 file_list_spec
='${wl}-f,'
7583 if test "$GCC" = yes; then
7584 case $host_os in aix4.
[012]|aix4.
[012].
*)
7585 # We only want to do this on AIX 4.2 and lower, the check
7586 # below for broken collect2 doesn't work under 4.3+
7587 collect2name
=`${CC} -print-prog-name=collect2`
7588 if test -f "$collect2name" &&
7589 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7591 # We have reworked collect2
7594 # We have old collect2
7595 hardcode_direct
=unsupported
7596 # It fails to find uninstalled libraries when the uninstalled
7597 # path is not listed in the libpath. Setting hardcode_minus_L
7598 # to unsupported forces relinking
7599 hardcode_minus_L
=yes
7600 hardcode_libdir_flag_spec
='-L$libdir'
7601 hardcode_libdir_separator
=
7605 shared_flag
='-shared'
7606 if test "$aix_use_runtimelinking" = yes; then
7607 shared_flag
="$shared_flag "'${wl}-G'
7611 if test "$host_cpu" = ia64
; then
7612 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7613 # chokes on -Wl,-G. The following line is correct:
7616 if test "$aix_use_runtimelinking" = yes; then
7617 shared_flag
='${wl}-G'
7619 shared_flag
='${wl}-bM:SRE'
7624 # It seems that -bexpall does not export symbols beginning with
7625 # underscore (_), so it is better to generate a list of symbols to export.
7626 always_export_symbols
=yes
7627 if test "$aix_use_runtimelinking" = yes; then
7628 # Warning - without using the other runtime loading flags (-brtl),
7629 # -berok will link without error, but may produce a broken library.
7630 allow_undefined_flag
='-berok'
7631 # Determine the default libpath from the value encoded in an
7633 cat >conftest.
$ac_ext <<_ACEOF
7636 cat confdefs.h
>>conftest.
$ac_ext
7637 cat >>conftest.
$ac_ext <<_ACEOF
7638 /* end confdefs.h. */
7648 rm -f conftest.
$ac_objext conftest
$ac_exeext
7649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7650 (eval $ac_link) 2>conftest.er1
7652 grep -v '^ *+' conftest.er1
>conftest.err
7654 cat conftest.err
>&5
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); } &&
7657 { ac_try
='test -z "$ac_c_werror_flag"
7658 || test ! -s conftest.err'
7659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); }; } &&
7664 { ac_try
='test -s conftest$ac_exeext'
7665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); }; }; then
7671 lt_aix_libpath_sed
='
7672 /Import File Strings/,/^$/ {
7678 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7679 # Check for a 64-bit object if we didn't find anything.
7680 if test -z "$aix_libpath"; then
7681 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7684 echo "$as_me: failed program was:" >&5
7685 sed 's/^/| /' conftest.
$ac_ext >&5
7688 rm -f conftest.err conftest.
$ac_objext \
7689 conftest
$ac_exeext conftest.
$ac_ext
7690 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7692 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7693 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7695 if test "$host_cpu" = ia64
; then
7696 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7697 allow_undefined_flag
="-z nodefs"
7698 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7700 # Determine the default libpath from the value encoded in an
7702 cat >conftest.
$ac_ext <<_ACEOF
7705 cat confdefs.h
>>conftest.
$ac_ext
7706 cat >>conftest.
$ac_ext <<_ACEOF
7707 /* end confdefs.h. */
7717 rm -f conftest.
$ac_objext conftest
$ac_exeext
7718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7719 (eval $ac_link) 2>conftest.er1
7721 grep -v '^ *+' conftest.er1
>conftest.err
7723 cat conftest.err
>&5
7724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7725 (exit $ac_status); } &&
7726 { ac_try
='test -z "$ac_c_werror_flag"
7727 || test ! -s conftest.err'
7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); }; } &&
7733 { ac_try
='test -s conftest$ac_exeext'
7734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738 (exit $ac_status); }; }; then
7740 lt_aix_libpath_sed
='
7741 /Import File Strings/,/^$/ {
7747 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7748 # Check for a 64-bit object if we didn't find anything.
7749 if test -z "$aix_libpath"; then
7750 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7753 echo "$as_me: failed program was:" >&5
7754 sed 's/^/| /' conftest.
$ac_ext >&5
7757 rm -f conftest.err conftest.
$ac_objext \
7758 conftest
$ac_exeext conftest.
$ac_ext
7759 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7761 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7762 # Warning - without using the other run time loading flags,
7763 # -berok will link without error, but may produce a broken library.
7764 no_undefined_flag
=' ${wl}-bernotok'
7765 allow_undefined_flag
=' ${wl}-berok'
7766 # Exported symbols can be pulled into shared objects from archives
7767 whole_archive_flag_spec
='$convenience'
7768 archive_cmds_need_lc
=yes
7769 # This is similar to how AIX traditionally builds its shared libraries.
7770 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7776 if test "$host_cpu" = m68k
; then
7777 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)'
7778 hardcode_libdir_flag_spec
='-L$libdir'
7779 hardcode_minus_L
=yes
7781 # see comment about different semantics on the GNU ld section
7786 export_dynamic_flag_spec
=-rdynamic
7789 cygwin
* | mingw
* | pw32
*)
7790 # When not using gcc, we currently assume that we are using
7791 # Microsoft Visual C++.
7792 # hardcode_libdir_flag_spec is actually meaningless, as there is
7793 # no search path for DLLs.
7794 hardcode_libdir_flag_spec
=' '
7795 allow_undefined_flag
=unsupported
7796 # Tell ltmain to make .lib files, not .a files.
7798 # Tell ltmain to make .dll files, not .so files.
7800 # FIXME: Setting linknames here is a bad hack.
7801 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7802 # The linker will automatically build a .lib file if we build a DLL.
7803 old_archive_from_new_cmds
='true'
7804 # FIXME: Should let the user specify the lib program.
7805 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7806 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7807 enable_shared_with_static_runtimes
=yes
7810 darwin
* | rhapsody
*)
7812 rhapsody
* | darwin1.
[012])
7813 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7816 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7818 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7821 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7826 archive_cmds_need_lc
=no
7828 hardcode_automatic
=yes
7829 hardcode_shlibpath_var
=unsupported
7830 whole_archive_flag_spec
=''
7831 link_all_deplibs
=yes
7832 if test "$GCC" = yes ; then
7833 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7834 echo $ECHO_N "(cached) $ECHO_C" >&6
7836 lt_cv_apple_cc_single_mod
=no
7837 if test -z "${LT_MULTI_MODULE}"; then
7838 # By default we will add the -single_module flag. You can override
7839 # by either setting the environment variable LT_MULTI_MODULE
7840 # non-empty at configure time, or by adding -multi-module to the
7842 echo "int foo(void){return 1;}" > conftest.c
7843 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7844 -dynamiclib ${wl}-single_module conftest.c
7845 if test -f libconftest.dylib
; then
7846 lt_cv_apple_cc_single_mod
=yes
7847 rm libconftest.dylib
7853 output_verbose_link_cmd
=echo
7854 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7855 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7856 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7858 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7859 archive_expsym_cmds
='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7861 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7862 module_expsym_cmds
='sed -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}'
7864 case $cc_basename in
7866 output_verbose_link_cmd
=echo
7867 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7868 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7869 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7870 archive_expsym_cmds
='sed "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}'
7871 module_expsym_cmds
='sed "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}'
7881 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7882 hardcode_libdir_flag_spec
='-L$libdir'
7883 hardcode_shlibpath_var
=no
7890 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7891 # support. Future versions do this automatically, but an explicit c++rt0.o
7892 # does not break anything, and helps significantly (at the cost of a little
7895 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7896 hardcode_libdir_flag_spec
='-R$libdir'
7898 hardcode_shlibpath_var
=no
7901 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7903 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7905 hardcode_minus_L
=yes
7906 hardcode_shlibpath_var
=no
7909 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7910 freebsd
* | dragonfly
*)
7911 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7912 hardcode_libdir_flag_spec
='-R$libdir'
7914 hardcode_shlibpath_var
=no
7918 if test "$GCC" = yes; then
7919 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'
7921 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'
7923 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7924 hardcode_libdir_separator
=:
7927 # hardcode_minus_L: Not really in the search PATH,
7928 # but as the default location of the library.
7929 hardcode_minus_L
=yes
7930 export_dynamic_flag_spec
='${wl}-E'
7934 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7935 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7937 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7939 if test "$with_gnu_ld" = no
; then
7940 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7941 hardcode_libdir_flag_spec_ld
='+b $libdir'
7942 hardcode_libdir_separator
=:
7944 hardcode_direct_absolute
=yes
7945 export_dynamic_flag_spec
='${wl}-E'
7946 # hardcode_minus_L: Not really in the search PATH,
7947 # but as the default location of the library.
7948 hardcode_minus_L
=yes
7953 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7956 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7959 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7962 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7968 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7971 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7974 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7978 if test "$with_gnu_ld" = no
; then
7979 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7980 hardcode_libdir_separator
=:
7985 hardcode_shlibpath_var
=no
7989 hardcode_direct_absolute
=yes
7990 export_dynamic_flag_spec
='${wl}-E'
7992 # hardcode_minus_L: Not really in the search PATH,
7993 # but as the default location of the library.
7994 hardcode_minus_L
=yes
8000 irix5
* | irix6
* | nonstopux
*)
8001 if test "$GCC" = yes; then
8002 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8003 # Try to use the -exported_symbol ld option, if it does not
8004 # work, assume that -exports_file does not work either and
8005 # implicitly export all symbols.
8006 save_LDFLAGS
="$LDFLAGS"
8007 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8008 cat >conftest.
$ac_ext <<_ACEOF
8011 rm -f conftest.
$ac_objext conftest
$ac_exeext
8012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8013 (eval $ac_link) 2>conftest.er1
8015 grep -v '^ *+' conftest.er1
>conftest.err
8017 cat conftest.err
>&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); } &&
8020 { ac_try
='test -z "$ac_c_werror_flag"
8021 || test ! -s conftest.err'
8022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); }; } &&
8027 { ac_try
='test -s conftest$ac_exeext'
8028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032 (exit $ac_status); }; }; then
8033 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8036 echo "$as_me: failed program was:" >&5
8037 sed 's/^/| /' conftest.
$ac_ext >&5
8040 rm -f conftest.err conftest.
$ac_objext \
8041 conftest
$ac_exeext conftest.
$ac_ext
8042 LDFLAGS
="$save_LDFLAGS"
8044 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8045 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8047 archive_cmds_need_lc
='no'
8048 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8049 hardcode_libdir_separator
=:
8051 link_all_deplibs
=yes
8055 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8056 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8058 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8060 hardcode_libdir_flag_spec
='-R$libdir'
8062 hardcode_shlibpath_var
=no
8066 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8068 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8069 hardcode_libdir_separator
=:
8070 hardcode_shlibpath_var
=no
8078 hardcode_shlibpath_var
=no
8079 hardcode_direct_absolute
=yes
8080 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8081 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8082 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8083 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8084 export_dynamic_flag_spec
='${wl}-E'
8087 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8088 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8089 hardcode_libdir_flag_spec
='-R$libdir'
8092 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8093 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8100 hardcode_libdir_flag_spec
='-L$libdir'
8101 hardcode_minus_L
=yes
8102 allow_undefined_flag
=unsupported
8103 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'
8104 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8108 if test "$GCC" = yes; then
8109 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8110 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8112 allow_undefined_flag
=' -expect_unresolved \*'
8113 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8115 archive_cmds_need_lc
='no'
8116 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8117 hardcode_libdir_separator
=:
8120 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8121 if test "$GCC" = yes; then
8122 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8123 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8124 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8126 allow_undefined_flag
=' -expect_unresolved \*'
8127 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8128 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8129 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8131 # Both c and cxx compiler support -rpath directly
8132 hardcode_libdir_flag_spec
='-rpath $libdir'
8134 archive_cmds_need_lc
='no'
8135 hardcode_libdir_separator
=:
8139 no_undefined_flag
=' -z defs'
8140 if test "$GCC" = yes; then
8142 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8143 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8144 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8146 case `$CC -V 2>&1` in
8149 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8150 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8151 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8155 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8156 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8157 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8161 hardcode_libdir_flag_spec
='-R$libdir'
8162 hardcode_shlibpath_var
=no
8164 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8166 # The compiler driver will combine and reorder linker options,
8167 # but understands `-z linker_flag'. GCC discards it without `$wl',
8168 # but is careful enough not to reorder.
8169 # Supported since Solaris 2.6 (maybe 2.5.1?)
8170 if test "$GCC" = yes; then
8171 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8173 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8177 link_all_deplibs
=yes
8181 if test "x$host_vendor" = xsequent
; then
8182 # Use $CC to link under sequent, because it throws in some extra .o
8183 # files that make .init and .fini sections work.
8184 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8186 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8188 hardcode_libdir_flag_spec
='-L$libdir'
8190 hardcode_minus_L
=yes
8191 hardcode_shlibpath_var
=no
8195 case $host_vendor in
8197 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8198 hardcode_direct
=yes # is this really true???
8201 ## LD is ld it makes a PLAMLIB
8202 ## CC just makes a GrossModule.
8203 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8204 reload_cmds
='$CC -r -o $output$reload_objs'
8208 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8209 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8212 runpath_var
='LD_RUN_PATH'
8213 hardcode_shlibpath_var
=no
8217 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8218 hardcode_shlibpath_var
=no
8219 export_dynamic_flag_spec
='-Bexport'
8223 if test -d /usr
/nec
; then
8224 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8225 hardcode_shlibpath_var
=no
8226 runpath_var
=LD_RUN_PATH
8227 hardcode_runpath_var
=yes
8232 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8233 no_undefined_flag
='${wl}-z,text'
8234 archive_cmds_need_lc
=no
8235 hardcode_shlibpath_var
=no
8236 runpath_var
='LD_RUN_PATH'
8238 if test "$GCC" = yes; then
8239 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8240 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8242 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8243 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8247 sysv5
* | sco3.2v5
* | sco5v6
*)
8248 # Note: We can NOT use -z defs as we might desire, because we do not
8249 # link with -lc, and that would cause any symbols used from libc to
8250 # always be unresolved, which means just about no library would
8251 # ever link correctly. If we're not using GNU ld we use -z text
8252 # though, which does catch some bad symbols but isn't as heavy-handed
8254 no_undefined_flag
='${wl}-z,text'
8255 allow_undefined_flag
='${wl}-z,nodefs'
8256 archive_cmds_need_lc
=no
8257 hardcode_shlibpath_var
=no
8258 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8259 hardcode_libdir_separator
=':'
8260 link_all_deplibs
=yes
8261 export_dynamic_flag_spec
='${wl}-Bexport'
8262 runpath_var
='LD_RUN_PATH'
8264 if test "$GCC" = yes; then
8265 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8266 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8268 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8269 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8274 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8275 hardcode_libdir_flag_spec
='-L$libdir'
8276 hardcode_shlibpath_var
=no
8284 if test x
$host_vendor = xsni
; then
8286 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8287 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8293 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8294 echo "${ECHO_T}$ld_shlibs" >&6
8295 test "$ld_shlibs" = no
&& can_build_shared
=no
8297 with_gnu_ld
=$with_gnu_ld
8314 # Do we need to explicitly link libc?
8316 case "x$archive_cmds_need_lc" in
8318 # Assume -lc should be added
8319 archive_cmds_need_lc
=yes
8321 if test "$enable_shared" = yes && test "$GCC" = yes; then
8322 case $archive_cmds in
8324 # FIXME: we may have to deal with multi-command sequences.
8327 # Test whether the compiler implicitly links with -lc since on some
8328 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8329 # to ld, don't add -lc before -lgcc.
8330 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8331 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8333 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8336 (eval $ac_compile) 2>&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); } 2>conftest.err
; then
8342 libobjs
=conftest.
$ac_objext
8344 wl
=$lt_prog_compiler_wl
8345 pic_flag
=$lt_prog_compiler_pic
8351 lt_save_allow_undefined_flag
=$allow_undefined_flag
8352 allow_undefined_flag
=
8353 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8354 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }
8359 archive_cmds_need_lc
=no
8361 archive_cmds_need_lc
=yes
8363 allow_undefined_flag
=$lt_save_allow_undefined_flag
8365 cat conftest.err
1>&5
8368 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8369 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8532 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8533 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8535 if test "$withGCC" = yes; then
8537 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8538 *) lt_awk_arg
="/^libraries:/" ;;
8540 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8541 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8542 # if the path contains ";" then we assume it to be the separator
8543 # otherwise default to the standard path separator (i.e. ":") - it is
8544 # assumed that no part of a normal pathname contains ";" but that should
8545 # okay in the real world where ";" in dirpaths is itself problematic.
8546 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8548 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8550 # Ok, now we have the path, separated by spaces, we can step through it
8551 # and add multilib dir if necessary.
8552 lt_tmp_lt_search_path_spec
=
8553 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8554 for lt_sys_path
in $lt_search_path_spec; do
8555 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8556 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8558 test -d "$lt_sys_path" && \
8559 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8562 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8563 BEGIN {RS=" "; FS="/|\n";} {
8566 for (lt_i = NF; lt_i > 0; lt_i--) {
8567 if ($lt_i != "" && $lt_i != ".") {
8568 if ($lt_i == "..") {
8571 if (lt_count == 0) {
8572 lt_foo="/" $lt_i lt_foo;
8579 if (lt_foo != "") { lt_freq[lt_foo]++; }
8580 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8582 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8584 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8587 libname_spec
='lib$name'
8595 shlibpath_overrides_runpath
=unknown
8597 dynamic_linker
="$host_os ld.so"
8598 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8599 need_lib_prefix
=unknown
8600 hardcode_into_libs
=no
8602 # when you set need_version to no, make sure it does not cause -set_version
8603 # flags to be left without arguments
8604 need_version
=unknown
8609 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8610 shlibpath_var
=LIBPATH
8612 # AIX 3 has no versioning support, so we append a major version to the name.
8613 soname_spec
='${libname}${release}${shared_ext}$major'
8620 hardcode_into_libs
=yes
8621 if test "$host_cpu" = ia64
; then
8622 # AIX 5 supports IA64
8623 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8624 shlibpath_var
=LD_LIBRARY_PATH
8626 # With GCC up to 2.95.x, collect2 would create an import file
8627 # for dependence libraries. The import file would start with
8628 # the line `#! .'. This would cause the generated library to
8629 # depend on `.', always an invalid library. This was fixed in
8630 # development snapshots of GCC prior to 3.0.
8632 aix4 | aix4.
[01] | aix4.
[01].
*)
8633 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8635 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8642 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8643 # soname into executable. Probably we can add versioning support to
8644 # collect2, so additional links can be useful in future.
8645 if test "$aix_use_runtimelinking" = yes; then
8646 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8647 # instead of lib<name>.a to let people know that these are not
8648 # typical AIX shared libraries.
8649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8651 # We preserve .a as extension for shared libraries through AIX4.2
8652 # and later when we are not doing run time linking.
8653 library_names_spec
='${libname}${release}.a $libname.a'
8654 soname_spec
='${libname}${release}${shared_ext}$major'
8656 shlibpath_var
=LIBPATH
8661 if test "$host_cpu" = m68k
; then
8662 library_names_spec
='$libname.ixlibrary $libname.a'
8663 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8664 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'
8671 library_names_spec
='${libname}${shared_ext}'
8672 dynamic_linker
="$host_os ld.so"
8673 shlibpath_var
=LIBRARY_PATH
8679 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8680 soname_spec
='${libname}${release}${shared_ext}$major'
8681 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8682 shlibpath_var
=LD_LIBRARY_PATH
8683 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8684 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8685 # the default ld.so.conf also contains /usr/contrib/lib and
8686 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8687 # libtool to hard-code these into programs
8690 cygwin
* | mingw
* | pw32
*)
8691 version_type
=windows
8696 case $withGCC,$host_os in
8697 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8698 library_names_spec
='$libname.dll.a'
8699 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8700 postinstall_cmds
='base_file=`basename \${file}`~
8701 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8702 dldir=$destdir/`dirname \$dlpath`~
8703 test -d \$dldir || mkdir -p \$dldir~
8704 $install_prog $dir/$dlname \$dldir/$dlname~
8705 chmod a+x \$dldir/$dlname~
8706 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8707 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8709 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8710 dlpath=$dir/\$dldll~
8712 shlibpath_overrides_runpath
=yes
8716 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8717 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8718 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8721 # MinGW DLLs use traditional 'lib' prefix
8722 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8723 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8724 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8725 # It is most probably a Windows format PATH printed by
8726 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8727 # path with ; separators, and with drive letters. We can handle the
8728 # drive letters (cygwin fileutils understands them), so leave them,
8729 # especially as we might pass files found there to a mingw objdump,
8730 # which wouldn't understand a cygwinified path. Ahh.
8731 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8733 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8737 # pw32 DLLs use 'pw' prefix rather than 'lib'
8738 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8744 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8747 dynamic_linker
='Win32 ld.exe'
8748 # FIXME: first we should search . and the directory the executable is in
8752 darwin
* | rhapsody
*)
8753 dynamic_linker
="$host_os dyld"
8757 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8758 soname_spec
='${libname}${release}${major}$shared_ext'
8759 shlibpath_overrides_runpath
=yes
8760 shlibpath_var
=DYLD_LIBRARY_PATH
8761 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8763 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8764 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8772 soname_spec
='${libname}${release}${shared_ext}$major'
8773 shlibpath_var
=LD_LIBRARY_PATH
8780 freebsd
* | dragonfly
*)
8781 # DragonFly does not have aout. When/if they implement a new
8782 # versioning mechanism, adjust this.
8783 if test -x /usr
/bin
/objformat
; then
8784 objformat
=`/usr/bin/objformat`
8787 freebsd
[123]*) objformat
=aout
;;
8791 version_type
=freebsd-
$objformat
8792 case $version_type in
8794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8799 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8803 shlibpath_var
=LD_LIBRARY_PATH
8806 shlibpath_overrides_runpath
=yes
8808 freebsd3.
[01]* | freebsdelf3.
[01]*)
8809 shlibpath_overrides_runpath
=yes
8810 hardcode_into_libs
=yes
8812 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8813 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8814 shlibpath_overrides_runpath
=no
8815 hardcode_into_libs
=yes
8817 *) # from 4.6 on, and DragonFly
8818 shlibpath_overrides_runpath
=yes
8819 hardcode_into_libs
=yes
8828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8829 soname_spec
='${libname}${release}${shared_ext}$major'
8830 shlibpath_var
=LD_LIBRARY_PATH
8831 hardcode_into_libs
=yes
8834 hpux9
* | hpux10
* | hpux11
*)
8835 # Give a soname corresponding to the major version so that dld.sl refuses to
8836 # link against other versions.
8843 hardcode_into_libs
=yes
8844 dynamic_linker
="$host_os dld.so"
8845 shlibpath_var
=LD_LIBRARY_PATH
8846 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8847 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8848 soname_spec
='${libname}${release}${shared_ext}$major'
8849 if test "X$HPUX_IA64_MODE" = X32
; then
8850 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8852 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8854 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8858 hardcode_into_libs
=yes
8859 dynamic_linker
="$host_os dld.sl"
8860 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8861 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8863 soname_spec
='${libname}${release}${shared_ext}$major'
8864 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8865 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8869 dynamic_linker
="$host_os dld.sl"
8870 shlibpath_var
=SHLIB_PATH
8871 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8872 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8873 soname_spec
='${libname}${release}${shared_ext}$major'
8876 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8877 postinstall_cmds
='chmod 555 $lib'
8884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8885 soname_spec
='${libname}${release}${shared_ext}$major'
8886 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8887 shlibpath_var
=LD_LIBRARY_PATH
8888 shlibpath_overrides_runpath
=no
8889 hardcode_into_libs
=yes
8892 irix5
* | irix6
* | nonstopux
*)
8894 nonstopux
*) version_type
=nonstopux
;;
8896 if test "$lt_cv_prog_gnu_ld" = yes; then
8904 soname_spec
='${libname}${release}${shared_ext}$major'
8905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8907 irix5
* | nonstopux
*)
8911 case $LD in # libtool.m4 will add one of these switches to LD
8912 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8913 libsuff
= shlibsuff
= libmagic
=32-bit;;
8914 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8915 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8916 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8917 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8918 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8922 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8923 shlibpath_overrides_runpath
=no
8924 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8925 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8926 hardcode_into_libs
=yes
8929 # No shared lib support for Linux oldld, aout, or coff.
8930 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8934 # This must be Linux ELF.
8935 linux
* | k
*bsd
*-gnu)
8939 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8940 soname_spec
='${libname}${release}${shared_ext}$major'
8941 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8942 shlibpath_var
=LD_LIBRARY_PATH
8943 shlibpath_overrides_runpath
=no
8944 # Some binutils ld are patched to set DT_RUNPATH
8945 save_LDFLAGS
=$LDFLAGS
8947 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8948 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8949 cat >conftest.
$ac_ext <<_ACEOF
8952 cat confdefs.h
>>conftest.
$ac_ext
8953 cat >>conftest.
$ac_ext <<_ACEOF
8954 /* end confdefs.h. */
8964 rm -f conftest.
$ac_objext conftest
$ac_exeext
8965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8966 (eval $ac_link) 2>conftest.er1
8968 grep -v '^ *+' conftest.er1
>conftest.err
8970 cat conftest.err
>&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try
='test -z "$ac_c_werror_flag"
8974 || test ! -s conftest.err'
8975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); }; } &&
8980 { ac_try
='test -s conftest$ac_exeext'
8981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); }; }; then
8986 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
8987 shlibpath_overrides_runpath
=yes
8991 echo "$as_me: failed program was:" >&5
8992 sed 's/^/| /' conftest.
$ac_ext >&5
8995 rm -f conftest.err conftest.
$ac_objext \
8996 conftest
$ac_exeext conftest.
$ac_ext
8997 LDFLAGS
=$save_LDFLAGS
9000 # This implies no fast_install, which is unacceptable.
9001 # Some rework will be needed to allow for fast_install
9002 # before this can be enabled.
9003 hardcode_into_libs
=yes
9005 # Append ld.so.conf contents to the search path
9006 if test -f /etc
/ld.so.conf
; then
9007 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9008 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9011 # We used to test for /lib/ld.so.1 and disable shared libraries on
9012 # powerpc, because MkLinux only supported shared libraries with the
9013 # GNU dynamic linker. Since this was broken with cross compilers,
9014 # most powerpc-linux boxes support dynamic linking these days and
9015 # people can always --disable-shared, the test was removed, and we
9016 # assume the GNU/Linux dynamic linker is in use.
9017 dynamic_linker
='GNU/Linux ld.so'
9024 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9025 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9026 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9027 dynamic_linker
='NetBSD (a.out) ld.so'
9029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9030 soname_spec
='${libname}${release}${shared_ext}$major'
9031 dynamic_linker
='NetBSD ld.elf_so'
9033 shlibpath_var
=LD_LIBRARY_PATH
9034 shlibpath_overrides_runpath
=yes
9035 hardcode_into_libs
=yes
9040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9041 shlibpath_var
=LD_LIBRARY_PATH
9042 shlibpath_overrides_runpath
=yes
9049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9050 soname_spec
='${libname}${release}${shared_ext}$major'
9051 shlibpath_var
=LD_LIBRARY_PATH
9052 shlibpath_overrides_runpath
=no
9053 hardcode_into_libs
=yes
9054 dynamic_linker
='ldqnx.so'
9059 sys_lib_dlsearch_path_spec
="/usr/lib"
9061 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9063 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9064 *) need_version
=no
;;
9066 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9067 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9068 shlibpath_var
=LD_LIBRARY_PATH
9069 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9071 openbsd2.
[89] | openbsd2.
[89].
*)
9072 shlibpath_overrides_runpath
=no
9075 shlibpath_overrides_runpath
=yes
9079 shlibpath_overrides_runpath
=yes
9084 libname_spec
='$name'
9087 library_names_spec
='$libname${shared_ext} $libname.a'
9088 dynamic_linker
='OS/2 ld.exe'
9089 shlibpath_var
=LIBPATH
9092 osf3
* | osf4
* | osf5
*)
9096 soname_spec
='${libname}${release}${shared_ext}$major'
9097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9098 shlibpath_var
=LD_LIBRARY_PATH
9099 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9100 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9112 soname_spec
='${libname}${release}${shared_ext}$major'
9113 shlibpath_var
=LD_LIBRARY_PATH
9114 shlibpath_overrides_runpath
=yes
9115 hardcode_into_libs
=yes
9116 # ldd complains unless libraries are executable
9117 postinstall_cmds
='chmod +x $lib'
9122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9123 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9124 shlibpath_var
=LD_LIBRARY_PATH
9125 shlibpath_overrides_runpath
=yes
9126 if test "$with_gnu_ld" = yes; then
9134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9135 soname_spec
='${libname}${release}${shared_ext}$major'
9136 shlibpath_var
=LD_LIBRARY_PATH
9137 case $host_vendor in
9139 shlibpath_overrides_runpath
=no
9141 runpath_var
=LD_RUN_PATH
9149 shlibpath_overrides_runpath
=no
9150 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9156 if test -d /usr
/nec
;then
9158 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9159 soname_spec
='$libname${shared_ext}.$major'
9160 shlibpath_var
=LD_LIBRARY_PATH
9164 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9165 version_type
=freebsd-elf
9168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9169 soname_spec
='${libname}${release}${shared_ext}$major'
9170 shlibpath_var
=LD_LIBRARY_PATH
9171 shlibpath_overrides_runpath
=yes
9172 hardcode_into_libs
=yes
9173 if test "$with_gnu_ld" = yes; then
9174 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9176 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9179 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9183 sys_lib_dlsearch_path_spec
='/usr/lib'
9187 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9191 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9192 shlibpath_var
=LD_LIBRARY_PATH
9193 shlibpath_overrides_runpath
=no
9194 hardcode_into_libs
=yes
9199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9200 soname_spec
='${libname}${release}${shared_ext}$major'
9201 shlibpath_var
=LD_LIBRARY_PATH
9208 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9209 echo "${ECHO_T}$dynamic_linker" >&6
9210 test "$dynamic_linker" = no
&& can_build_shared
=no
9212 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9213 if test "$GCC" = yes; then
9214 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9303 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9304 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9306 if test -n "$hardcode_libdir_flag_spec" ||
9307 test -n "$runpath_var" ||
9308 test "X$hardcode_automatic" = "Xyes" ; then
9310 # We can hardcode non-existent directories.
9311 if test "$hardcode_direct" != no
&&
9312 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9313 # have to relink, otherwise we might link with an installed library
9314 # when we should be linking with a yet-to-be-installed one
9315 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9316 test "$hardcode_minus_L" != no
; then
9317 # Linking always hardcodes the temporary library directory.
9318 hardcode_action
=relink
9320 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9321 hardcode_action
=immediate
9324 # We cannot hardcode anything, or else we can only hardcode existing
9326 hardcode_action
=unsupported
9328 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9329 echo "${ECHO_T}$hardcode_action" >&6
9331 if test "$hardcode_action" = relink ||
9332 test "$inherit_rpath" = yes; then
9333 # Fast installation is not supported
9334 enable_fast_install
=no
9335 elif test "$shlibpath_overrides_runpath" = yes ||
9336 test "$enable_shared" = no
; then
9337 # Fast installation is not necessary
9338 enable_fast_install
=needless
9346 if test "x$enable_dlopen" != xyes
; then
9347 enable_dlopen
=unknown
9348 enable_dlopen_self
=unknown
9349 enable_dlopen_self_static
=unknown
9356 lt_cv_dlopen
="load_add_on"
9358 lt_cv_dlopen_self
=yes
9362 lt_cv_dlopen
="LoadLibrary"
9367 lt_cv_dlopen
="dlopen"
9372 # if libdl is installed we need to link against it
9373 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9374 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9375 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 ac_check_lib_save_LIBS
=$LIBS
9380 cat >conftest.
$ac_ext <<_ACEOF
9383 cat confdefs.h
>>conftest.
$ac_ext
9384 cat >>conftest.
$ac_ext <<_ACEOF
9385 /* end confdefs.h. */
9387 /* Override any gcc2 internal prototype to avoid an error. */
9391 /* We use char because int might match the return type of a gcc2
9392 builtin and then its argument prototype would still apply. */
9402 rm -f conftest.
$ac_objext conftest
$ac_exeext
9403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9404 (eval $ac_link) 2>conftest.er1
9406 grep -v '^ *+' conftest.er1
>conftest.err
9408 cat conftest.err
>&5
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); } &&
9411 { ac_try
='test -z "$ac_c_werror_flag"
9412 || test ! -s conftest.err'
9413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9417 (exit $ac_status); }; } &&
9418 { ac_try
='test -s conftest$ac_exeext'
9419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); }; }; then
9424 ac_cv_lib_dl_dlopen
=yes
9426 echo "$as_me: failed program was:" >&5
9427 sed 's/^/| /' conftest.
$ac_ext >&5
9429 ac_cv_lib_dl_dlopen
=no
9431 rm -f conftest.err conftest.
$ac_objext \
9432 conftest
$ac_exeext conftest.
$ac_ext
9433 LIBS
=$ac_check_lib_save_LIBS
9435 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9436 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9437 if test $ac_cv_lib_dl_dlopen = yes; then
9438 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9443 lt_cv_dlopen_self
=yes
9450 echo "$as_me:$LINENO: checking for shl_load" >&5
9451 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9452 if test "${ac_cv_func_shl_load+set}" = set; then
9453 echo $ECHO_N "(cached) $ECHO_C" >&6
9455 cat >conftest.
$ac_ext <<_ACEOF
9458 cat confdefs.h
>>conftest.
$ac_ext
9459 cat >>conftest.
$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9461 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9463 #define shl_load innocuous_shl_load
9465 /* System header to define __stub macros and hopefully few prototypes,
9466 which can conflict with char shl_load (); below.
9467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9468 <limits.h> exists even on freestanding compilers. */
9471 # include <limits.h>
9473 # include <assert.h>
9478 /* Override any gcc2 internal prototype to avoid an error. */
9483 /* We use char because int might match the return type of a gcc2
9484 builtin and then its argument prototype would still apply. */
9486 /* The GNU C library defines this for functions which it implements
9487 to always fail with ENOSYS. Some functions are actually named
9488 something starting with __ and the normal name is an alias. */
9489 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9492 char (*f) () = shl_load;
9501 return f != shl_load;
9506 rm -f conftest.
$ac_objext conftest
$ac_exeext
9507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9508 (eval $ac_link) 2>conftest.er1
9510 grep -v '^ *+' conftest.er1
>conftest.err
9512 cat conftest.err
>&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); } &&
9515 { ac_try
='test -z "$ac_c_werror_flag"
9516 || test ! -s conftest.err'
9517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); }; } &&
9522 { ac_try
='test -s conftest$ac_exeext'
9523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527 (exit $ac_status); }; }; then
9528 ac_cv_func_shl_load
=yes
9530 echo "$as_me: failed program was:" >&5
9531 sed 's/^/| /' conftest.
$ac_ext >&5
9533 ac_cv_func_shl_load
=no
9535 rm -f conftest.err conftest.
$ac_objext \
9536 conftest
$ac_exeext conftest.
$ac_ext
9538 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9539 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9540 if test $ac_cv_func_shl_load = yes; then
9541 lt_cv_dlopen
="shl_load"
9543 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9544 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9545 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9546 echo $ECHO_N "(cached) $ECHO_C" >&6
9548 ac_check_lib_save_LIBS
=$LIBS
9550 cat >conftest.
$ac_ext <<_ACEOF
9553 cat confdefs.h
>>conftest.
$ac_ext
9554 cat >>conftest.
$ac_ext <<_ACEOF
9555 /* end confdefs.h. */
9557 /* Override any gcc2 internal prototype to avoid an error. */
9561 /* We use char because int might match the return type of a gcc2
9562 builtin and then its argument prototype would still apply. */
9572 rm -f conftest.
$ac_objext conftest
$ac_exeext
9573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9574 (eval $ac_link) 2>conftest.er1
9576 grep -v '^ *+' conftest.er1
>conftest.err
9578 cat conftest.err
>&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); } &&
9581 { ac_try
='test -z "$ac_c_werror_flag"
9582 || test ! -s conftest.err'
9583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }; } &&
9588 { ac_try
='test -s conftest$ac_exeext'
9589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); }; }; then
9594 ac_cv_lib_dld_shl_load
=yes
9596 echo "$as_me: failed program was:" >&5
9597 sed 's/^/| /' conftest.
$ac_ext >&5
9599 ac_cv_lib_dld_shl_load
=no
9601 rm -f conftest.err conftest.
$ac_objext \
9602 conftest
$ac_exeext conftest.
$ac_ext
9603 LIBS
=$ac_check_lib_save_LIBS
9605 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9606 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9607 if test $ac_cv_lib_dld_shl_load = yes; then
9608 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9610 echo "$as_me:$LINENO: checking for dlopen" >&5
9611 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9612 if test "${ac_cv_func_dlopen+set}" = set; then
9613 echo $ECHO_N "(cached) $ECHO_C" >&6
9615 cat >conftest.
$ac_ext <<_ACEOF
9618 cat confdefs.h
>>conftest.
$ac_ext
9619 cat >>conftest.
$ac_ext <<_ACEOF
9620 /* end confdefs.h. */
9621 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9623 #define dlopen innocuous_dlopen
9625 /* System header to define __stub macros and hopefully few prototypes,
9626 which can conflict with char dlopen (); below.
9627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9628 <limits.h> exists even on freestanding compilers. */
9631 # include <limits.h>
9633 # include <assert.h>
9638 /* Override any gcc2 internal prototype to avoid an error. */
9643 /* We use char because int might match the return type of a gcc2
9644 builtin and then its argument prototype would still apply. */
9646 /* The GNU C library defines this for functions which it implements
9647 to always fail with ENOSYS. Some functions are actually named
9648 something starting with __ and the normal name is an alias. */
9649 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9652 char (*f) () = dlopen;
9666 rm -f conftest.
$ac_objext conftest
$ac_exeext
9667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9668 (eval $ac_link) 2>conftest.er1
9670 grep -v '^ *+' conftest.er1
>conftest.err
9672 cat conftest.err
>&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); } &&
9675 { ac_try
='test -z "$ac_c_werror_flag"
9676 || test ! -s conftest.err'
9677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); }; } &&
9682 { ac_try
='test -s conftest$ac_exeext'
9683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); }; }; then
9688 ac_cv_func_dlopen
=yes
9690 echo "$as_me: failed program was:" >&5
9691 sed 's/^/| /' conftest.
$ac_ext >&5
9693 ac_cv_func_dlopen
=no
9695 rm -f conftest.err conftest.
$ac_objext \
9696 conftest
$ac_exeext conftest.
$ac_ext
9698 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9699 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9700 if test $ac_cv_func_dlopen = yes; then
9701 lt_cv_dlopen
="dlopen"
9703 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9704 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9705 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9706 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 ac_check_lib_save_LIBS
=$LIBS
9710 cat >conftest.
$ac_ext <<_ACEOF
9713 cat confdefs.h
>>conftest.
$ac_ext
9714 cat >>conftest.
$ac_ext <<_ACEOF
9715 /* end confdefs.h. */
9717 /* Override any gcc2 internal prototype to avoid an error. */
9721 /* We use char because int might match the return type of a gcc2
9722 builtin and then its argument prototype would still apply. */
9732 rm -f conftest.
$ac_objext conftest
$ac_exeext
9733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9734 (eval $ac_link) 2>conftest.er1
9736 grep -v '^ *+' conftest.er1
>conftest.err
9738 cat conftest.err
>&5
9739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9740 (exit $ac_status); } &&
9741 { ac_try
='test -z "$ac_c_werror_flag"
9742 || test ! -s conftest.err'
9743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); }; } &&
9748 { ac_try
='test -s conftest$ac_exeext'
9749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); }; }; then
9754 ac_cv_lib_dl_dlopen
=yes
9756 echo "$as_me: failed program was:" >&5
9757 sed 's/^/| /' conftest.
$ac_ext >&5
9759 ac_cv_lib_dl_dlopen
=no
9761 rm -f conftest.err conftest.
$ac_objext \
9762 conftest
$ac_exeext conftest.
$ac_ext
9763 LIBS
=$ac_check_lib_save_LIBS
9765 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9766 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9767 if test $ac_cv_lib_dl_dlopen = yes; then
9768 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9770 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9771 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9772 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9773 echo $ECHO_N "(cached) $ECHO_C" >&6
9775 ac_check_lib_save_LIBS
=$LIBS
9777 cat >conftest.
$ac_ext <<_ACEOF
9780 cat confdefs.h
>>conftest.
$ac_ext
9781 cat >>conftest.
$ac_ext <<_ACEOF
9782 /* end confdefs.h. */
9784 /* Override any gcc2 internal prototype to avoid an error. */
9788 /* We use char because int might match the return type of a gcc2
9789 builtin and then its argument prototype would still apply. */
9799 rm -f conftest.
$ac_objext conftest
$ac_exeext
9800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9801 (eval $ac_link) 2>conftest.er1
9803 grep -v '^ *+' conftest.er1
>conftest.err
9805 cat conftest.err
>&5
9806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9807 (exit $ac_status); } &&
9808 { ac_try
='test -z "$ac_c_werror_flag"
9809 || test ! -s conftest.err'
9810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 (exit $ac_status); }; } &&
9815 { ac_try
='test -s conftest$ac_exeext'
9816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); }; }; then
9821 ac_cv_lib_svld_dlopen
=yes
9823 echo "$as_me: failed program was:" >&5
9824 sed 's/^/| /' conftest.
$ac_ext >&5
9826 ac_cv_lib_svld_dlopen
=no
9828 rm -f conftest.err conftest.
$ac_objext \
9829 conftest
$ac_exeext conftest.
$ac_ext
9830 LIBS
=$ac_check_lib_save_LIBS
9832 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9833 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9834 if test $ac_cv_lib_svld_dlopen = yes; then
9835 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9837 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9838 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9839 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9840 echo $ECHO_N "(cached) $ECHO_C" >&6
9842 ac_check_lib_save_LIBS
=$LIBS
9844 cat >conftest.
$ac_ext <<_ACEOF
9847 cat confdefs.h
>>conftest.
$ac_ext
9848 cat >>conftest.
$ac_ext <<_ACEOF
9849 /* end confdefs.h. */
9851 /* Override any gcc2 internal prototype to avoid an error. */
9855 /* We use char because int might match the return type of a gcc2
9856 builtin and then its argument prototype would still apply. */
9866 rm -f conftest.
$ac_objext conftest
$ac_exeext
9867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9868 (eval $ac_link) 2>conftest.er1
9870 grep -v '^ *+' conftest.er1
>conftest.err
9872 cat conftest.err
>&5
9873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); } &&
9875 { ac_try
='test -z "$ac_c_werror_flag"
9876 || test ! -s conftest.err'
9877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); }; } &&
9882 { ac_try
='test -s conftest$ac_exeext'
9883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); }; }; then
9888 ac_cv_lib_dld_dld_link
=yes
9890 echo "$as_me: failed program was:" >&5
9891 sed 's/^/| /' conftest.
$ac_ext >&5
9893 ac_cv_lib_dld_dld_link
=no
9895 rm -f conftest.err conftest.
$ac_objext \
9896 conftest
$ac_exeext conftest.
$ac_ext
9897 LIBS
=$ac_check_lib_save_LIBS
9899 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9900 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9901 if test $ac_cv_lib_dld_dld_link = yes; then
9902 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9923 if test "x$lt_cv_dlopen" != xno
; then
9929 case $lt_cv_dlopen in
9931 save_CPPFLAGS
="$CPPFLAGS"
9932 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9934 save_LDFLAGS
="$LDFLAGS"
9935 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9938 LIBS
="$lt_cv_dlopen_libs $LIBS"
9940 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9941 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9942 if test "${lt_cv_dlopen_self+set}" = set; then
9943 echo $ECHO_N "(cached) $ECHO_C" >&6
9945 if test "$cross_compiling" = yes; then :
9946 lt_cv_dlopen_self
=cross
9948 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9949 lt_status
=$lt_dlunknown
9950 cat > conftest.
$ac_ext <<_LT_EOF
9951 #line 9951 "configure"
9952 #include "confdefs.h"
9961 # define LT_DLGLOBAL RTLD_GLOBAL
9964 # define LT_DLGLOBAL DL_GLOBAL
9966 # define LT_DLGLOBAL 0
9970 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9971 find out it does not work in some platform. */
9972 #ifndef LT_DLLAZY_OR_NOW
9974 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9977 # define LT_DLLAZY_OR_NOW DL_LAZY
9980 # define LT_DLLAZY_OR_NOW RTLD_NOW
9983 # define LT_DLLAZY_OR_NOW DL_NOW
9985 # define LT_DLLAZY_OR_NOW 0
9993 extern "C" void exit (int);
9996 void fnord() { int i=42;}
9999 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10000 int status = $lt_dlunknown;
10004 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10005 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10006 /* dlclose (self); */
10014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10015 (eval $ac_link) 2>&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10019 (.
/conftest
; exit; ) >&5 2>/dev
/null
10021 case x
$lt_status in
10022 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10023 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10024 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10027 # compilation failed
10028 lt_cv_dlopen_self
=no
10035 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10036 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10038 if test "x$lt_cv_dlopen_self" = xyes
; then
10039 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10040 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10041 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10042 if test "${lt_cv_dlopen_self_static+set}" = set; then
10043 echo $ECHO_N "(cached) $ECHO_C" >&6
10045 if test "$cross_compiling" = yes; then :
10046 lt_cv_dlopen_self_static
=cross
10048 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10049 lt_status
=$lt_dlunknown
10050 cat > conftest.
$ac_ext <<_LT_EOF
10051 #line 10051 "configure"
10052 #include "confdefs.h"
10061 # define LT_DLGLOBAL RTLD_GLOBAL
10064 # define LT_DLGLOBAL DL_GLOBAL
10066 # define LT_DLGLOBAL 0
10070 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10071 find out it does not work in some platform. */
10072 #ifndef LT_DLLAZY_OR_NOW
10074 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10077 # define LT_DLLAZY_OR_NOW DL_LAZY
10080 # define LT_DLLAZY_OR_NOW RTLD_NOW
10083 # define LT_DLLAZY_OR_NOW DL_NOW
10085 # define LT_DLLAZY_OR_NOW 0
10093 extern "C" void exit (int);
10096 void fnord() { int i=42;}
10099 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10100 int status = $lt_dlunknown;
10104 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10105 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10106 /* dlclose (self); */
10114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10115 (eval $ac_link) 2>&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10119 (.
/conftest
; exit; ) >&5 2>/dev
/null
10121 case x
$lt_status in
10122 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10123 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10124 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10127 # compilation failed
10128 lt_cv_dlopen_self_static
=no
10135 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10136 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10139 CPPFLAGS
="$save_CPPFLAGS"
10140 LDFLAGS
="$save_LDFLAGS"
10145 case $lt_cv_dlopen_self in
10146 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10147 *) enable_dlopen_self
=unknown
;;
10150 case $lt_cv_dlopen_self_static in
10151 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10152 *) enable_dlopen_self_static
=unknown
;;
10174 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10175 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10176 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10177 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10178 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10179 echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6
10182 # FIXME - insert some real tests, host_os isn't really good enough
10185 if test -n "$STRIP" ; then
10186 striplib
="$STRIP -x"
10187 old_striplib
="$STRIP -S"
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10191 echo "$as_me:$LINENO: result: no" >&5
10192 echo "${ECHO_T}no" >&6
10196 echo "$as_me:$LINENO: result: no" >&5
10197 echo "${ECHO_T}no" >&6
10213 # Report which library types will actually be built
10214 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10215 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10216 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10217 echo "${ECHO_T}$can_build_shared" >&6
10219 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10220 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10221 test "$can_build_shared" = "no" && enable_shared
=no
10223 # On AIX, shared libraries and static libraries use the same namespace, and
10224 # are all built from PIC.
10227 test "$enable_shared" = yes && enable_static
=no
10228 if test -n "$RANLIB"; then
10229 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10230 postinstall_cmds
='$RANLIB $lib'
10235 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10236 test "$enable_shared" = yes && enable_static
=no
10240 echo "$as_me:$LINENO: result: $enable_shared" >&5
10241 echo "${ECHO_T}$enable_shared" >&6
10243 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10244 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10245 # Make sure either enable_shared or enable_static is yes.
10246 test "$enable_shared" = yes || enable_static
=yes
10247 echo "$as_me:$LINENO: result: $enable_static" >&5
10248 echo "${ECHO_T}$enable_static" >&6
10255 ac_cpp
='$CPP $CPPFLAGS'
10256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10274 ac_config_commands
="$ac_config_commands libtool"
10279 # Only expand once:
10283 # Check whether --enable-targets or --disable-targets was given.
10284 if test "${enable_targets+set}" = set; then
10285 enableval
="$enable_targets"
10286 case "${enableval}" in
10287 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10288 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10289 { (exit 1); exit 1; }; }
10291 no
) enable_targets
= ;;
10292 *) enable_targets
=$enableval ;;
10294 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10295 if test "${enable_commonbfdlib+set}" = set; then
10296 enableval
="$enable_commonbfdlib"
10297 case "${enableval}" in
10298 yes) commonbfdlib
=true
;;
10299 no
) commonbfdlib
=false
;;
10300 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10301 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10302 { (exit 1); exit 1; }; } ;;
10306 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10308 # Check whether --enable-werror or --disable-werror was given.
10309 if test "${enable_werror+set}" = set; then
10310 enableval
="$enable_werror"
10311 case "${enableval}" in
10312 yes | y
) ERROR_ON_WARNING
="yes" ;;
10313 no | n
) ERROR_ON_WARNING
="no" ;;
10314 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10315 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10316 { (exit 1); exit 1; }; } ;;
10320 # Enable -Wno-format by default when using gcc on mingw
10323 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10324 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
10330 # Enable -Werror by default when using gcc
10331 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10332 ERROR_ON_WARNING
=yes
10336 if test "${ERROR_ON_WARNING}" = yes ; then
10337 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10338 NO_WERROR
="-Wno-error"
10341 if test "${GCC}" = yes ; then
10342 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10345 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10346 if test "${enable_build_warnings+set}" = set; then
10347 enableval
="$enable_build_warnings"
10348 case "${enableval}" in
10349 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10350 no
) if test "${GCC}" = yes ; then
10353 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10354 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10355 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10356 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10357 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10361 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10362 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10369 ac_config_headers
="$ac_config_headers config.h:config.in"
10372 if test -z "$target" ; then
10373 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
10374 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
10375 { (exit 1); exit 1; }; }
10377 if test -z "$host" ; then
10378 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
10379 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
10380 { (exit 1); exit 1; }; }
10383 for ac_prog
in 'bison -y' byacc
10385 # Extract the first word of "$ac_prog", so it can be a program name with args.
10386 set dummy
$ac_prog; ac_word
=$2
10387 echo "$as_me:$LINENO: checking for $ac_word" >&5
10388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10389 if test "${ac_cv_prog_YACC+set}" = set; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10392 if test -n "$YACC"; then
10393 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
10395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10396 for as_dir
in $PATH
10399 test -z "$as_dir" && as_dir
=.
10400 for ac_exec_ext
in '' $ac_executable_extensions; do
10401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10402 ac_cv_prog_YACC
="$ac_prog"
10403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10411 YACC
=$ac_cv_prog_YACC
10412 if test -n "$YACC"; then
10413 echo "$as_me:$LINENO: result: $YACC" >&5
10414 echo "${ECHO_T}$YACC" >&6
10416 echo "$as_me:$LINENO: result: no" >&5
10417 echo "${ECHO_T}no" >&6
10420 test -n "$YACC" && break
10422 test -n "$YACC" || YACC
="yacc"
10424 for ac_prog
in flex
lex
10426 # Extract the first word of "$ac_prog", so it can be a program name with args.
10427 set dummy
$ac_prog; ac_word
=$2
10428 echo "$as_me:$LINENO: checking for $ac_word" >&5
10429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10430 if test "${ac_cv_prog_LEX+set}" = set; then
10431 echo $ECHO_N "(cached) $ECHO_C" >&6
10433 if test -n "$LEX"; then
10434 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
10436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10437 for as_dir
in $PATH
10440 test -z "$as_dir" && as_dir
=.
10441 for ac_exec_ext
in '' $ac_executable_extensions; do
10442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10443 ac_cv_prog_LEX
="$ac_prog"
10444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10452 LEX
=$ac_cv_prog_LEX
10453 if test -n "$LEX"; then
10454 echo "$as_me:$LINENO: result: $LEX" >&5
10455 echo "${ECHO_T}$LEX" >&6
10457 echo "$as_me:$LINENO: result: no" >&5
10458 echo "${ECHO_T}no" >&6
10461 test -n "$LEX" && break
10463 test -n "$LEX" || LEX
=":"
10465 if test -z "$LEXLIB"
10467 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
10468 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
10469 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 ac_check_lib_save_LIBS
=$LIBS
10474 cat >conftest.
$ac_ext <<_ACEOF
10477 cat confdefs.h
>>conftest.
$ac_ext
10478 cat >>conftest.
$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10481 /* Override any gcc2 internal prototype to avoid an error. */
10485 /* We use char because int might match the return type of a gcc2
10486 builtin and then its argument prototype would still apply. */
10496 rm -f conftest.
$ac_objext conftest
$ac_exeext
10497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10498 (eval $ac_link) 2>conftest.er1
10500 grep -v '^ *+' conftest.er1
>conftest.err
10502 cat conftest.err
>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); } &&
10505 { ac_try
='test -z "$ac_c_werror_flag"
10506 || test ! -s conftest.err'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; } &&
10512 { ac_try
='test -s conftest$ac_exeext'
10513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10514 (eval $ac_try) 2>&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); }; }; then
10518 ac_cv_lib_fl_yywrap
=yes
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.
$ac_ext >&5
10523 ac_cv_lib_fl_yywrap
=no
10525 rm -f conftest.err conftest.
$ac_objext \
10526 conftest
$ac_exeext conftest.
$ac_ext
10527 LIBS
=$ac_check_lib_save_LIBS
10529 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
10530 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
10531 if test $ac_cv_lib_fl_yywrap = yes; then
10534 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
10535 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
10536 if test "${ac_cv_lib_l_yywrap+set}" = set; then
10537 echo $ECHO_N "(cached) $ECHO_C" >&6
10539 ac_check_lib_save_LIBS
=$LIBS
10541 cat >conftest.
$ac_ext <<_ACEOF
10544 cat confdefs.h
>>conftest.
$ac_ext
10545 cat >>conftest.
$ac_ext <<_ACEOF
10546 /* end confdefs.h. */
10548 /* Override any gcc2 internal prototype to avoid an error. */
10552 /* We use char because int might match the return type of a gcc2
10553 builtin and then its argument prototype would still apply. */
10563 rm -f conftest.
$ac_objext conftest
$ac_exeext
10564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10565 (eval $ac_link) 2>conftest.er1
10567 grep -v '^ *+' conftest.er1
>conftest.err
10569 cat conftest.err
>&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); } &&
10572 { ac_try
='test -z "$ac_c_werror_flag"
10573 || test ! -s conftest.err'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); }; } &&
10579 { ac_try
='test -s conftest$ac_exeext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 ac_cv_lib_l_yywrap
=yes
10587 echo "$as_me: failed program was:" >&5
10588 sed 's/^/| /' conftest.
$ac_ext >&5
10590 ac_cv_lib_l_yywrap
=no
10592 rm -f conftest.err conftest.
$ac_objext \
10593 conftest
$ac_exeext conftest.
$ac_ext
10594 LIBS
=$ac_check_lib_save_LIBS
10596 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
10597 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
10598 if test $ac_cv_lib_l_yywrap = yes; then
10606 if test "x$LEX" != "x:"; then
10607 echo "$as_me:$LINENO: checking lex output file root" >&5
10608 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
10609 if test "${ac_cv_prog_lex_root+set}" = set; then
10610 echo $ECHO_N "(cached) $ECHO_C" >&6
10612 # The minimal lex program is just a single line: %%. But some broken lexes
10613 # (Solaris, I think it was) want two %% lines, so accommodate them.
10614 cat >conftest.l
<<_ACEOF
10618 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
10619 (eval $LEX conftest.l
) 2>&5
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); }
10623 if test -f lex.yy.c
; then
10624 ac_cv_prog_lex_root
=lex.yy
10625 elif test -f lexyy.c
; then
10626 ac_cv_prog_lex_root
=lexyy
10628 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
10629 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
10630 { (exit 1); exit 1; }; }
10633 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
10634 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
10636 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
10638 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
10639 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
10640 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
10641 echo $ECHO_N "(cached) $ECHO_C" >&6
10643 # POSIX says lex can declare yytext either as a pointer or an array; the
10644 # default is implementation-dependent. Figure out which it is, since
10645 # not all implementations provide the %pointer and %array declarations.
10646 ac_cv_prog_lex_yytext_pointer
=no
10647 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
10649 LIBS
="$LIBS $LEXLIB"
10650 cat >conftest.
$ac_ext <<_ACEOF
10651 `cat $LEX_OUTPUT_ROOT.c`
10653 rm -f conftest.
$ac_objext conftest
$ac_exeext
10654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10655 (eval $ac_link) 2>conftest.er1
10657 grep -v '^ *+' conftest.er1
>conftest.err
10659 cat conftest.err
>&5
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); } &&
10662 { ac_try
='test -z "$ac_c_werror_flag"
10663 || test ! -s conftest.err'
10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10665 (eval $ac_try) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); }; } &&
10669 { ac_try
='test -s conftest$ac_exeext'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then
10675 ac_cv_prog_lex_yytext_pointer
=yes
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.
$ac_ext >&5
10681 rm -f conftest.err conftest.
$ac_objext \
10682 conftest
$ac_exeext conftest.
$ac_ext
10684 rm -f "${LEX_OUTPUT_ROOT}.c"
10687 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
10688 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
10689 if test $ac_cv_prog_lex_yytext_pointer = yes; then
10691 cat >>confdefs.h
<<\_ACEOF
10692 #define YYTEXT_POINTER 1
10698 if test "$LEX" = :; then
10699 LEX
=${am_missing_run}flex
10702 ALL_LINGUAS
="fr tr ja es sv da zh_CN ru ro rw zh_TW fi vi uk sk"
10703 # If we haven't got the data from the intl directory,
10704 # assume NLS is disabled.
10713 if test -f ..
/intl
/config.intl
; then
10714 . ..
/intl
/config.intl
10716 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10717 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10718 if test x
"$USE_NLS" != xyes
; then
10719 echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6
10722 echo "$as_me:$LINENO: result: yes" >&5
10723 echo "${ECHO_T}yes" >&6
10725 cat >>confdefs.h
<<\_ACEOF
10726 #define ENABLE_NLS 1
10730 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10731 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10732 # Look for .po and .gmo files in the source directory.
10735 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
10736 # If there aren't any .gmo files the shell will give us the
10737 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10739 case "$cat" in *\
**)
10742 # The quadruple backslash is collapsed to a double backslash
10743 # by the backticks, then collapsed again by the double quotes,
10744 # leaving us with one backslash in the sed expression (right
10745 # before the dot that mustn't act as a wildcard).
10746 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10747 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
10748 # The user is allowed to set LINGUAS to a list of languages to
10749 # install catalogs for. If it's empty that means "all of them."
10750 if test "x$LINGUAS" = x
; then
10751 CATALOGS
="$CATALOGS $cat"
10752 XLINGUAS
="$XLINGUAS $lang"
10754 case "$LINGUAS" in *$lang*)
10755 CATALOGS
="$CATALOGS $cat"
10756 XLINGUAS
="$XLINGUAS $lang"
10761 LINGUAS
="$XLINGUAS"
10762 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10763 echo "${ECHO_T}$LINGUAS" >&6
10777 if test -n "$ac_aux_dir"; then
10778 case "$ac_aux_dir" in
10779 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
10780 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10783 if test -z "$MKINSTALLDIRS"; then
10784 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
10789 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10790 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10791 # Check whether --enable-nls or --disable-nls was given.
10792 if test "${enable_nls+set}" = set; then
10793 enableval
="$enable_nls"
10798 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10799 echo "${ECHO_T}$USE_NLS" >&6
10806 # Prepare PATH_SEPARATOR.
10807 # The user is always right.
10808 if test "${PATH_SEPARATOR+set}" != set; then
10809 echo "#! /bin/sh" >conf$$.sh
10810 echo "exit 0" >>conf$$.sh
10812 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10820 # Find out how to test for executable files. Don't use a zero-byte file,
10821 # as systems may use methods other than mode bits to determine executability.
10822 cat >conf$$.
file <<_ASEOF
10826 chmod +x conf$$.
file
10827 if test -x conf$$.
file >/dev
/null
2>&1; then
10828 ac_executable_p
="test -x"
10830 ac_executable_p
="test -f"
10834 # Extract the first word of "msgfmt", so it can be a program name with args.
10835 set dummy msgfmt
; ac_word
=$2
10836 echo "$as_me:$LINENO: checking for $ac_word" >&5
10837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10838 if test "${ac_cv_path_MSGFMT+set}" = set; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10843 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
10846 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10847 for ac_dir
in $PATH; do
10849 test -z "$ac_dir" && ac_dir
=.
10850 for ac_exec_ext
in '' $ac_executable_extensions; do
10851 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10852 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
10853 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
10854 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
10861 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
10865 MSGFMT
="$ac_cv_path_MSGFMT"
10866 if test "$MSGFMT" != ":"; then
10867 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10868 echo "${ECHO_T}$MSGFMT" >&6
10870 echo "$as_me:$LINENO: result: no" >&5
10871 echo "${ECHO_T}no" >&6
10874 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10875 set dummy gmsgfmt
; ac_word
=$2
10876 echo "$as_me:$LINENO: checking for $ac_word" >&5
10877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10878 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10879 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
10886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10887 for as_dir
in $PATH
10890 test -z "$as_dir" && as_dir
=.
10891 for ac_exec_ext
in '' $ac_executable_extensions; do
10892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10893 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
10894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10900 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
10904 GMSGFMT
=$ac_cv_path_GMSGFMT
10906 if test -n "$GMSGFMT"; then
10907 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10908 echo "${ECHO_T}$GMSGFMT" >&6
10910 echo "$as_me:$LINENO: result: no" >&5
10911 echo "${ECHO_T}no" >&6
10916 # Prepare PATH_SEPARATOR.
10917 # The user is always right.
10918 if test "${PATH_SEPARATOR+set}" != set; then
10919 echo "#! /bin/sh" >conf$$.sh
10920 echo "exit 0" >>conf$$.sh
10922 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10930 # Find out how to test for executable files. Don't use a zero-byte file,
10931 # as systems may use methods other than mode bits to determine executability.
10932 cat >conf$$.
file <<_ASEOF
10936 chmod +x conf$$.
file
10937 if test -x conf$$.
file >/dev
/null
2>&1; then
10938 ac_executable_p
="test -x"
10940 ac_executable_p
="test -f"
10944 # Extract the first word of "xgettext", so it can be a program name with args.
10945 set dummy xgettext
; ac_word
=$2
10946 echo "$as_me:$LINENO: checking for $ac_word" >&5
10947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10948 if test "${ac_cv_path_XGETTEXT+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10951 case "$XGETTEXT" in
10953 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
10956 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
10957 for ac_dir
in $PATH; do
10959 test -z "$ac_dir" && ac_dir
=.
10960 for ac_exec_ext
in '' $ac_executable_extensions; do
10961 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10962 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
10963 (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
10964 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
10971 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
10975 XGETTEXT
="$ac_cv_path_XGETTEXT"
10976 if test "$XGETTEXT" != ":"; then
10977 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
10978 echo "${ECHO_T}$XGETTEXT" >&6
10980 echo "$as_me:$LINENO: result: no" >&5
10981 echo "${ECHO_T}no" >&6
10987 # Prepare PATH_SEPARATOR.
10988 # The user is always right.
10989 if test "${PATH_SEPARATOR+set}" != set; then
10990 echo "#! /bin/sh" >conf$$.sh
10991 echo "exit 0" >>conf$$.sh
10993 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11001 # Find out how to test for executable files. Don't use a zero-byte file,
11002 # as systems may use methods other than mode bits to determine executability.
11003 cat >conf$$.
file <<_ASEOF
11007 chmod +x conf$$.
file
11008 if test -x conf$$.
file >/dev
/null
2>&1; then
11009 ac_executable_p
="test -x"
11011 ac_executable_p
="test -f"
11015 # Extract the first word of "msgmerge", so it can be a program name with args.
11016 set dummy msgmerge
; ac_word
=$2
11017 echo "$as_me:$LINENO: checking for $ac_word" >&5
11018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11019 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11020 echo $ECHO_N "(cached) $ECHO_C" >&6
11022 case "$MSGMERGE" in
11024 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11027 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11028 for ac_dir
in $PATH; do
11030 test -z "$ac_dir" && ac_dir
=.
11031 for ac_exec_ext
in '' $ac_executable_extensions; do
11032 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11033 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11034 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11041 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11045 MSGMERGE
="$ac_cv_path_MSGMERGE"
11046 if test "$MSGMERGE" != ":"; then
11047 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11048 echo "${ECHO_T}$MSGMERGE" >&6
11050 echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6
11055 if test "$GMSGFMT" != ":"; then
11056 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11057 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11060 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11061 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11062 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11067 if test "$XGETTEXT" != ":"; then
11068 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11069 (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
11072 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11073 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11079 ac_config_commands
="$ac_config_commands default-1"
11083 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11084 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11085 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11086 if test "${enable_maintainer_mode+set}" = set; then
11087 enableval
="$enable_maintainer_mode"
11088 USE_MAINTAINER_MODE
=$enableval
11090 USE_MAINTAINER_MODE
=no
11092 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11093 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11096 if test $USE_MAINTAINER_MODE = yes; then
11097 MAINTAINER_MODE_TRUE
=
11098 MAINTAINER_MODE_FALSE
='#'
11100 MAINTAINER_MODE_TRUE
='#'
11101 MAINTAINER_MODE_FALSE
=
11104 MAINT
=$MAINTAINER_MODE_TRUE
11110 GENINSRC_NEVER_TRUE
=
11111 GENINSRC_NEVER_FALSE
='#'
11113 GENINSRC_NEVER_TRUE
='#'
11114 GENINSRC_NEVER_FALSE
=
11118 if test -n "$EXEEXT"; then
11120 cat >>confdefs.h
<<\_ACEOF
11121 #define HAVE_EXECUTABLE_SUFFIX 1
11126 cat >>confdefs.h
<<_ACEOF
11127 #define EXECUTABLE_SUFFIX "${EXEEXT}"
11131 # host-specific stuff:
11135 .
${srcdir}/..
/bfd
/configure.
host
11140 if test -n "$ac_tool_prefix"; then
11141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11142 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11143 echo "$as_me:$LINENO: checking for $ac_word" >&5
11144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11145 if test "${ac_cv_prog_RANLIB+set}" = set; then
11146 echo $ECHO_N "(cached) $ECHO_C" >&6
11148 if test -n "$RANLIB"; then
11149 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11152 for as_dir
in $PATH
11155 test -z "$as_dir" && as_dir
=.
11156 for ac_exec_ext
in '' $ac_executable_extensions; do
11157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11158 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11167 RANLIB
=$ac_cv_prog_RANLIB
11168 if test -n "$RANLIB"; then
11169 echo "$as_me:$LINENO: result: $RANLIB" >&5
11170 echo "${ECHO_T}$RANLIB" >&6
11172 echo "$as_me:$LINENO: result: no" >&5
11173 echo "${ECHO_T}no" >&6
11177 if test -z "$ac_cv_prog_RANLIB"; then
11178 ac_ct_RANLIB
=$RANLIB
11179 # Extract the first word of "ranlib", so it can be a program name with args.
11180 set dummy ranlib
; ac_word
=$2
11181 echo "$as_me:$LINENO: checking for $ac_word" >&5
11182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11184 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 if test -n "$ac_ct_RANLIB"; then
11187 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11190 for as_dir
in $PATH
11193 test -z "$as_dir" && as_dir
=.
11194 for ac_exec_ext
in '' $ac_executable_extensions; do
11195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11196 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11203 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11206 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11207 if test -n "$ac_ct_RANLIB"; then
11208 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11209 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11211 echo "$as_me:$LINENO: result: no" >&5
11212 echo "${ECHO_T}no" >&6
11215 RANLIB
=$ac_ct_RANLIB
11217 RANLIB
="$ac_cv_prog_RANLIB"
11220 # Find a good install program. We prefer a C program (faster),
11221 # so one script is as good as another. But avoid the broken or
11222 # incompatible versions:
11223 # SysV /etc/install, /usr/sbin/install
11224 # SunOS /usr/etc/install
11225 # IRIX /sbin/install
11227 # AmigaOS /C/install, which installs bootblocks on floppy discs
11228 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11229 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11230 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11231 # OS/2's system install, which has a completely different semantic
11232 # ./install, which can be erroneously created by make from ./install.sh.
11233 # Reject install programs that cannot install multiple files.
11234 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11235 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11236 if test -z "$INSTALL"; then
11237 if test "${ac_cv_path_install+set}" = set; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11241 for as_dir
in $PATH
11244 test -z "$as_dir" && as_dir
=.
11245 # Account for people who put trailing slashes in PATH elements.
11247 .
/ | .
// |
/cC
/* | \
11248 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
11249 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
11252 # OSF1 and SCO ODT 3.0 have their own names for install.
11253 # Don't use installbsd from OSF since it installs stuff as root
11255 for ac_prog
in ginstall scoinst
install; do
11256 for ac_exec_ext
in '' $ac_executable_extensions; do
11257 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11258 if test $ac_prog = install &&
11259 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11260 # AIX install. It has an incompatible calling convention.
11262 elif test $ac_prog = install &&
11263 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
11264 # program-specific install script used by HP pwplus--don't use.
11267 rm -rf conftest.one conftest.two conftest.dir
11268 echo one
> conftest.one
11269 echo two
> conftest.two
11271 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
11272 test -s conftest.one
&& test -s conftest.two
&&
11273 test -s conftest.dir
/conftest.one
&&
11274 test -s conftest.dir
/conftest.two
11276 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
11287 rm -rf conftest.one conftest.two conftest.dir
11290 if test "${ac_cv_path_install+set}" = set; then
11291 INSTALL
=$ac_cv_path_install
11293 # As a last resort, use the slow shell script. Don't cache a
11294 # value for INSTALL within a source directory, because that will
11295 # break other packages using the cache if that directory is
11296 # removed, or if the value is a relative name.
11297 INSTALL
=$ac_install_sh
11300 echo "$as_me:$LINENO: result: $INSTALL" >&5
11301 echo "${ECHO_T}$INSTALL" >&6
11303 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11304 # It thinks the first close brace ends the variable substitution.
11305 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
11307 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
11309 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
11312 # Put a plausible default for CC_FOR_BUILD in Makefile.
11313 if test -z "$CC_FOR_BUILD"; then
11314 if test "x$cross_compiling" = "xno"; then
11315 CC_FOR_BUILD
='$(CC)'
11321 # Also set EXEEXT_FOR_BUILD.
11322 if test "x$cross_compiling" = "xno"; then
11323 EXEEXT_FOR_BUILD
='$(EXEEXT)'
11325 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
11326 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
11327 if test "${bfd_cv_build_exeext+set}" = set; then
11328 echo $ECHO_N "(cached) $ECHO_C" >&6
11331 echo 'int main () { return 0; }' > conftest.c
11332 bfd_cv_build_exeext
=
11333 ${CC_FOR_BUILD} -o conftest conftest.c
1>&5 2>&5
11334 for file in conftest.
*; do
11336 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
11337 *) bfd_cv_build_exeext
=`echo $file | sed -e s/conftest//` ;;
11341 test x
"${bfd_cv_build_exeext}" = x
&& bfd_cv_build_exeext
=no
11343 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
11344 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
11345 EXEEXT_FOR_BUILD
=""
11346 test x
"${bfd_cv_build_exeext}" != xno
&& EXEEXT_FOR_BUILD
=${bfd_cv_build_exeext}
11350 DEMANGLER_NAME
=c
++filt
11352 *-*-go32* |
*-*-msdos*)
11353 DEMANGLER_NAME
=cxxfilt
11365 for ac_header
in string.h
strings.h stdlib.h unistd.h fcntl.h sys
/file.h limits.h sys
/param.h
11367 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11369 echo "$as_me:$LINENO: checking for $ac_header" >&5
11370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11377 # Is the header compilable?
11378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11380 cat >conftest.
$ac_ext <<_ACEOF
11383 cat confdefs.h
>>conftest.
$ac_ext
11384 cat >>conftest.
$ac_ext <<_ACEOF
11385 /* end confdefs.h. */
11386 $ac_includes_default
11387 #include <$ac_header>
11389 rm -f conftest.
$ac_objext
11390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11391 (eval $ac_compile) 2>conftest.er1
11393 grep -v '^ *+' conftest.er1
>conftest.err
11395 cat conftest.err
>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); } &&
11398 { ac_try
='test -z "$ac_c_werror_flag"
11399 || test ! -s conftest.err'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; } &&
11405 { ac_try
='test -s conftest.$ac_objext'
11406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11407 (eval $ac_try) 2>&5
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); }; }; then
11411 ac_header_compiler
=yes
11413 echo "$as_me: failed program was:" >&5
11414 sed 's/^/| /' conftest.
$ac_ext >&5
11416 ac_header_compiler
=no
11418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11420 echo "${ECHO_T}$ac_header_compiler" >&6
11422 # Is the header present?
11423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11425 cat >conftest.
$ac_ext <<_ACEOF
11428 cat confdefs.h
>>conftest.
$ac_ext
11429 cat >>conftest.
$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11431 #include <$ac_header>
11433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11436 grep -v '^ *+' conftest.er1
>conftest.err
11438 cat conftest.err
>&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); } >/dev
/null
; then
11441 if test -s conftest.err
; then
11442 ac_cpp_err
=$ac_c_preproc_warn_flag
11443 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11450 if test -z "$ac_cpp_err"; then
11451 ac_header_preproc
=yes
11453 echo "$as_me: failed program was:" >&5
11454 sed 's/^/| /' conftest.
$ac_ext >&5
11456 ac_header_preproc
=no
11458 rm -f conftest.err conftest.
$ac_ext
11459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11460 echo "${ECHO_T}$ac_header_preproc" >&6
11462 # So? What about this header?
11463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11469 ac_header_preproc
=yes
11472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11486 ## ------------------------------------------ ##
11487 ## Report this to the AC_PACKAGE_NAME lists. ##
11488 ## ------------------------------------------ ##
11491 sed "s/^/$as_me: WARNING: /" >&2
11494 echo "$as_me:$LINENO: checking for $ac_header" >&5
11495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11497 echo $ECHO_N "(cached) $ECHO_C" >&6
11499 eval "$as_ac_Header=\$ac_header_preproc"
11501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11506 cat >>confdefs.h
<<_ACEOF
11507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11514 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
11515 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
11516 if test "${ac_cv_header_sys_wait_h+set}" = set; then
11517 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 cat >conftest.
$ac_ext <<_ACEOF
11522 cat confdefs.h
>>conftest.
$ac_ext
11523 cat >>conftest.
$ac_ext <<_ACEOF
11524 /* end confdefs.h. */
11525 #include <sys/types.h>
11526 #include <sys/wait.h>
11527 #ifndef WEXITSTATUS
11528 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
11531 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11539 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11544 rm -f conftest.
$ac_objext
11545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11546 (eval $ac_compile) 2>conftest.er1
11548 grep -v '^ *+' conftest.er1
>conftest.err
11550 cat conftest.err
>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); } &&
11553 { ac_try
='test -z "$ac_c_werror_flag"
11554 || test ! -s conftest.err'
11555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11556 (eval $ac_try) 2>&5
11558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); }; } &&
11560 { ac_try
='test -s conftest.$ac_objext'
11561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11562 (eval $ac_try) 2>&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); }; }; then
11566 ac_cv_header_sys_wait_h
=yes
11568 echo "$as_me: failed program was:" >&5
11569 sed 's/^/| /' conftest.
$ac_ext >&5
11571 ac_cv_header_sys_wait_h
=no
11573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11575 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
11576 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
11577 if test $ac_cv_header_sys_wait_h = yes; then
11579 cat >>confdefs.h
<<\_ACEOF
11580 #define HAVE_SYS_WAIT_H 1
11585 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11586 # for constant arguments. Useless!
11587 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11588 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11589 if test "${ac_cv_working_alloca_h+set}" = set; then
11590 echo $ECHO_N "(cached) $ECHO_C" >&6
11592 cat >conftest.
$ac_ext <<_ACEOF
11595 cat confdefs.h
>>conftest.
$ac_ext
11596 cat >>conftest.
$ac_ext <<_ACEOF
11597 /* end confdefs.h. */
11598 #include <alloca.h>
11602 char *p = (char *) alloca (2 * sizeof (int));
11607 rm -f conftest.
$ac_objext conftest
$ac_exeext
11608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11609 (eval $ac_link) 2>conftest.er1
11611 grep -v '^ *+' conftest.er1
>conftest.err
11613 cat conftest.err
>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } &&
11616 { ac_try
='test -z "$ac_c_werror_flag"
11617 || test ! -s conftest.err'
11618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11619 (eval $ac_try) 2>&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); }; } &&
11623 { ac_try
='test -s conftest$ac_exeext'
11624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11625 (eval $ac_try) 2>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); }; }; then
11629 ac_cv_working_alloca_h
=yes
11631 echo "$as_me: failed program was:" >&5
11632 sed 's/^/| /' conftest.
$ac_ext >&5
11634 ac_cv_working_alloca_h
=no
11636 rm -f conftest.err conftest.
$ac_objext \
11637 conftest
$ac_exeext conftest.
$ac_ext
11639 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11640 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11641 if test $ac_cv_working_alloca_h = yes; then
11643 cat >>confdefs.h
<<\_ACEOF
11644 #define HAVE_ALLOCA_H 1
11649 echo "$as_me:$LINENO: checking for alloca" >&5
11650 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11651 if test "${ac_cv_func_alloca_works+set}" = set; then
11652 echo $ECHO_N "(cached) $ECHO_C" >&6
11654 cat >conftest.
$ac_ext <<_ACEOF
11657 cat confdefs.h
>>conftest.
$ac_ext
11658 cat >>conftest.
$ac_ext <<_ACEOF
11659 /* end confdefs.h. */
11661 # define alloca __builtin_alloca
11664 # include <malloc.h>
11665 # define alloca _alloca
11668 # include <alloca.h>
11673 # ifndef alloca /* predefined by HP cc +Olibcalls */
11684 char *p = (char *) alloca (1);
11689 rm -f conftest.
$ac_objext conftest
$ac_exeext
11690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11691 (eval $ac_link) 2>conftest.er1
11693 grep -v '^ *+' conftest.er1
>conftest.err
11695 cat conftest.err
>&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); } &&
11698 { ac_try
='test -z "$ac_c_werror_flag"
11699 || test ! -s conftest.err'
11700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 (eval $ac_try) 2>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); }; } &&
11705 { ac_try
='test -s conftest$ac_exeext'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; }; then
11711 ac_cv_func_alloca_works
=yes
11713 echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.
$ac_ext >&5
11716 ac_cv_func_alloca_works
=no
11718 rm -f conftest.err conftest.
$ac_objext \
11719 conftest
$ac_exeext conftest.
$ac_ext
11721 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11722 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11724 if test $ac_cv_func_alloca_works = yes; then
11726 cat >>confdefs.h
<<\_ACEOF
11727 #define HAVE_ALLOCA 1
11731 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11732 # that cause trouble. Some versions do not even contain alloca or
11733 # contain a buggy version. If you still want to use their alloca,
11734 # use ar to extract alloca.o from them instead of compiling alloca.c.
11736 ALLOCA
=alloca.
$ac_objext
11738 cat >>confdefs.h
<<\_ACEOF
11743 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11744 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11745 if test "${ac_cv_os_cray+set}" = set; then
11746 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 cat >conftest.
$ac_ext <<_ACEOF
11751 cat confdefs.h
>>conftest.
$ac_ext
11752 cat >>conftest.
$ac_ext <<_ACEOF
11753 /* end confdefs.h. */
11754 #if defined(CRAY) && ! defined(CRAY2)
11761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11762 $EGREP "webecray" >/dev
/null
2>&1; then
11770 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11771 echo "${ECHO_T}$ac_cv_os_cray" >&6
11772 if test $ac_cv_os_cray = yes; then
11773 for ac_func
in _getb67 GETB67 getb67
; do
11774 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11775 echo "$as_me:$LINENO: checking for $ac_func" >&5
11776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11777 if eval "test \"\${$as_ac_var+set}\" = set"; then
11778 echo $ECHO_N "(cached) $ECHO_C" >&6
11780 cat >conftest.
$ac_ext <<_ACEOF
11783 cat confdefs.h
>>conftest.
$ac_ext
11784 cat >>conftest.
$ac_ext <<_ACEOF
11785 /* end confdefs.h. */
11786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11788 #define $ac_func innocuous_$ac_func
11790 /* System header to define __stub macros and hopefully few prototypes,
11791 which can conflict with char $ac_func (); below.
11792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11793 <limits.h> exists even on freestanding compilers. */
11796 # include <limits.h>
11798 # include <assert.h>
11803 /* Override any gcc2 internal prototype to avoid an error. */
11808 /* We use char because int might match the return type of a gcc2
11809 builtin and then its argument prototype would still apply. */
11811 /* The GNU C library defines this for functions which it implements
11812 to always fail with ENOSYS. Some functions are actually named
11813 something starting with __ and the normal name is an alias. */
11814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11817 char (*f) () = $ac_func;
11826 return f != $ac_func;
11831 rm -f conftest.
$ac_objext conftest
$ac_exeext
11832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11833 (eval $ac_link) 2>conftest.er1
11835 grep -v '^ *+' conftest.er1
>conftest.err
11837 cat conftest.err
>&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } &&
11840 { ac_try
='test -z "$ac_c_werror_flag"
11841 || test ! -s conftest.err'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; } &&
11847 { ac_try
='test -s conftest$ac_exeext'
11848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11849 (eval $ac_try) 2>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }; }; then
11853 eval "$as_ac_var=yes"
11855 echo "$as_me: failed program was:" >&5
11856 sed 's/^/| /' conftest.
$ac_ext >&5
11858 eval "$as_ac_var=no"
11860 rm -f conftest.err conftest.
$ac_objext \
11861 conftest
$ac_exeext conftest.
$ac_ext
11863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11865 if test `eval echo '${'$as_ac_var'}'` = yes; then
11867 cat >>confdefs.h
<<_ACEOF
11868 #define CRAY_STACKSEG_END $ac_func
11877 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11878 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11879 if test "${ac_cv_c_stack_direction+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 if test "$cross_compiling" = yes; then
11883 ac_cv_c_stack_direction
=0
11885 cat >conftest.
$ac_ext <<_ACEOF
11888 cat confdefs.h
>>conftest.
$ac_ext
11889 cat >>conftest.
$ac_ext <<_ACEOF
11890 /* end confdefs.h. */
11892 find_stack_direction ()
11894 static char *addr = 0;
11899 return find_stack_direction ();
11902 return (&dummy > addr) ? 1 : -1;
11908 exit (find_stack_direction () < 0);
11911 rm -f conftest
$ac_exeext
11912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11913 (eval $ac_link) 2>&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; }; then
11922 ac_cv_c_stack_direction
=1
11924 echo "$as_me: program exited with status $ac_status" >&5
11925 echo "$as_me: failed program was:" >&5
11926 sed 's/^/| /' conftest.
$ac_ext >&5
11928 ( exit $ac_status )
11929 ac_cv_c_stack_direction
=-1
11931 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11934 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11935 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11937 cat >>confdefs.h
<<_ACEOF
11938 #define STACK_DIRECTION $ac_cv_c_stack_direction
11949 for ac_func
in sbrk utimes setmode getc_unlocked strcoll
11951 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11952 echo "$as_me:$LINENO: checking for $ac_func" >&5
11953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11954 if eval "test \"\${$as_ac_var+set}\" = set"; then
11955 echo $ECHO_N "(cached) $ECHO_C" >&6
11957 cat >conftest.
$ac_ext <<_ACEOF
11960 cat confdefs.h
>>conftest.
$ac_ext
11961 cat >>conftest.
$ac_ext <<_ACEOF
11962 /* end confdefs.h. */
11963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11965 #define $ac_func innocuous_$ac_func
11967 /* System header to define __stub macros and hopefully few prototypes,
11968 which can conflict with char $ac_func (); below.
11969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11970 <limits.h> exists even on freestanding compilers. */
11973 # include <limits.h>
11975 # include <assert.h>
11980 /* Override any gcc2 internal prototype to avoid an error. */
11985 /* We use char because int might match the return type of a gcc2
11986 builtin and then its argument prototype would still apply. */
11988 /* The GNU C library defines this for functions which it implements
11989 to always fail with ENOSYS. Some functions are actually named
11990 something starting with __ and the normal name is an alias. */
11991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11994 char (*f) () = $ac_func;
12003 return f != $ac_func;
12008 rm -f conftest.
$ac_objext conftest
$ac_exeext
12009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12010 (eval $ac_link) 2>conftest.er1
12012 grep -v '^ *+' conftest.er1
>conftest.err
12014 cat conftest.err
>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } &&
12017 { ac_try
='test -z "$ac_c_werror_flag"
12018 || test ! -s conftest.err'
12019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12020 (eval $ac_try) 2>&5
12022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023 (exit $ac_status); }; } &&
12024 { ac_try
='test -s conftest$ac_exeext'
12025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026 (eval $ac_try) 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; }; then
12030 eval "$as_ac_var=yes"
12032 echo "$as_me: failed program was:" >&5
12033 sed 's/^/| /' conftest.
$ac_ext >&5
12035 eval "$as_ac_var=no"
12037 rm -f conftest.err conftest.
$ac_objext \
12038 conftest
$ac_exeext conftest.
$ac_ext
12040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12042 if test `eval echo '${'$as_ac_var'}'` = yes; then
12043 cat >>confdefs.h
<<_ACEOF
12044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12050 echo "$as_me:$LINENO: checking for mkstemp" >&5
12051 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
12052 if test "${ac_cv_func_mkstemp+set}" = set; then
12053 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 cat >conftest.
$ac_ext <<_ACEOF
12058 cat confdefs.h
>>conftest.
$ac_ext
12059 cat >>conftest.
$ac_ext <<_ACEOF
12060 /* end confdefs.h. */
12061 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
12062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12063 #define mkstemp innocuous_mkstemp
12065 /* System header to define __stub macros and hopefully few prototypes,
12066 which can conflict with char mkstemp (); below.
12067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12068 <limits.h> exists even on freestanding compilers. */
12071 # include <limits.h>
12073 # include <assert.h>
12078 /* Override any gcc2 internal prototype to avoid an error. */
12083 /* We use char because int might match the return type of a gcc2
12084 builtin and then its argument prototype would still apply. */
12086 /* The GNU C library defines this for functions which it implements
12087 to always fail with ENOSYS. Some functions are actually named
12088 something starting with __ and the normal name is an alias. */
12089 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
12092 char (*f) () = mkstemp;
12101 return f != mkstemp;
12106 rm -f conftest.
$ac_objext conftest
$ac_exeext
12107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12108 (eval $ac_link) 2>conftest.er1
12110 grep -v '^ *+' conftest.er1
>conftest.err
12112 cat conftest.err
>&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); } &&
12115 { ac_try
='test -z "$ac_c_werror_flag"
12116 || test ! -s conftest.err'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; } &&
12122 { ac_try
='test -s conftest$ac_exeext'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; }; then
12128 ac_cv_func_mkstemp
=yes
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.
$ac_ext >&5
12133 ac_cv_func_mkstemp
=no
12135 rm -f conftest.err conftest.
$ac_objext \
12136 conftest
$ac_exeext conftest.
$ac_ext
12138 echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
12139 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
12140 if test $ac_cv_func_mkstemp = yes; then
12142 cat >>confdefs.h
<<\_ACEOF
12143 #define HAVE_MKSTEMP 1
12148 echo "$as_me:$LINENO: checking for mkdtemp" >&5
12149 echo $ECHO_N "checking for mkdtemp... $ECHO_C" >&6
12150 if test "${ac_cv_func_mkdtemp+set}" = set; then
12151 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 cat >conftest.
$ac_ext <<_ACEOF
12156 cat confdefs.h
>>conftest.
$ac_ext
12157 cat >>conftest.
$ac_ext <<_ACEOF
12158 /* end confdefs.h. */
12159 /* Define mkdtemp to an innocuous variant, in case <limits.h> declares mkdtemp.
12160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12161 #define mkdtemp innocuous_mkdtemp
12163 /* System header to define __stub macros and hopefully few prototypes,
12164 which can conflict with char mkdtemp (); below.
12165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12166 <limits.h> exists even on freestanding compilers. */
12169 # include <limits.h>
12171 # include <assert.h>
12176 /* Override any gcc2 internal prototype to avoid an error. */
12181 /* We use char because int might match the return type of a gcc2
12182 builtin and then its argument prototype would still apply. */
12184 /* The GNU C library defines this for functions which it implements
12185 to always fail with ENOSYS. Some functions are actually named
12186 something starting with __ and the normal name is an alias. */
12187 #if defined (__stub_mkdtemp) || defined (__stub___mkdtemp)
12190 char (*f) () = mkdtemp;
12199 return f != mkdtemp;
12204 rm -f conftest.
$ac_objext conftest
$ac_exeext
12205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12206 (eval $ac_link) 2>conftest.er1
12208 grep -v '^ *+' conftest.er1
>conftest.err
12210 cat conftest.err
>&5
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); } &&
12213 { ac_try
='test -z "$ac_c_werror_flag"
12214 || test ! -s conftest.err'
12215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12216 (eval $ac_try) 2>&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); }; } &&
12220 { ac_try
='test -s conftest$ac_exeext'
12221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12222 (eval $ac_try) 2>&5
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); }; }; then
12226 ac_cv_func_mkdtemp
=yes
12228 echo "$as_me: failed program was:" >&5
12229 sed 's/^/| /' conftest.
$ac_ext >&5
12231 ac_cv_func_mkdtemp
=no
12233 rm -f conftest.err conftest.
$ac_objext \
12234 conftest
$ac_exeext conftest.
$ac_ext
12236 echo "$as_me:$LINENO: result: $ac_cv_func_mkdtemp" >&5
12237 echo "${ECHO_T}$ac_cv_func_mkdtemp" >&6
12238 if test $ac_cv_func_mkdtemp = yes; then
12240 cat >>confdefs.h
<<\_ACEOF
12241 #define HAVE_MKDTEMP 1
12247 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
12248 # needs to be defined for it
12249 echo "$as_me:$LINENO: checking for fopen64" >&5
12250 echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
12251 if test "${bu_cv_have_fopen64+set}" = set; then
12252 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 cat >conftest.
$ac_ext <<_ACEOF
12257 cat confdefs.h
>>conftest.
$ac_ext
12258 cat >>conftest.
$ac_ext <<_ACEOF
12259 /* end confdefs.h. */
12264 FILE *f = fopen64 ("/tmp/foo","r");
12269 rm -f conftest.
$ac_objext conftest
$ac_exeext
12270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12271 (eval $ac_link) 2>conftest.er1
12273 grep -v '^ *+' conftest.er1
>conftest.err
12275 cat conftest.err
>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } &&
12278 { ac_try
='test -z "$ac_c_werror_flag"
12279 || test ! -s conftest.err'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; } &&
12285 { ac_try
='test -s conftest$ac_exeext'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; }; then
12291 bu_cv_have_fopen64
=yes
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.
$ac_ext >&5
12296 saved_CPPFLAGS
=$CPPFLAGS
12297 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12298 cat >conftest.
$ac_ext <<_ACEOF
12301 cat confdefs.h
>>conftest.
$ac_ext
12302 cat >>conftest.
$ac_ext <<_ACEOF
12303 /* end confdefs.h. */
12308 FILE *f = fopen64 ("/tmp/foo","r");
12313 rm -f conftest.
$ac_objext conftest
$ac_exeext
12314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12315 (eval $ac_link) 2>conftest.er1
12317 grep -v '^ *+' conftest.er1
>conftest.err
12319 cat conftest.err
>&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } &&
12322 { ac_try
='test -z "$ac_c_werror_flag"
12323 || test ! -s conftest.err'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; } &&
12329 { ac_try
='test -s conftest$ac_exeext'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; }; then
12335 bu_cv_have_fopen64
="need -D_LARGEFILE64_SOURCE"
12337 echo "$as_me: failed program was:" >&5
12338 sed 's/^/| /' conftest.
$ac_ext >&5
12340 bu_cv_have_fopen64
=no
12342 rm -f conftest.err conftest.
$ac_objext \
12343 conftest
$ac_exeext conftest.
$ac_ext
12344 CPPFLAGS
=$saved_CPPFLAGS
12346 rm -f conftest.err conftest.
$ac_objext \
12347 conftest
$ac_exeext conftest.
$ac_ext
12350 echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
12351 echo "${ECHO_T}$bu_cv_have_fopen64" >&6
12352 if test "$bu_cv_have_fopen64" != no
; then
12354 cat >>confdefs.h
<<\_ACEOF
12355 #define HAVE_FOPEN64 1
12359 echo "$as_me:$LINENO: checking for stat64" >&5
12360 echo $ECHO_N "checking for stat64... $ECHO_C" >&6
12361 if test "${bu_cv_have_stat64+set}" = set; then
12362 echo $ECHO_N "(cached) $ECHO_C" >&6
12364 cat >conftest.
$ac_ext <<_ACEOF
12367 cat confdefs.h
>>conftest.
$ac_ext
12368 cat >>conftest.
$ac_ext <<_ACEOF
12369 /* end confdefs.h. */
12370 #include <sys/stat.h>
12374 struct stat64 st; stat64 ("/tmp/foo", &st);
12379 rm -f conftest.
$ac_objext conftest
$ac_exeext
12380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12381 (eval $ac_link) 2>conftest.er1
12383 grep -v '^ *+' conftest.er1
>conftest.err
12385 cat conftest.err
>&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); } &&
12388 { ac_try
='test -z "$ac_c_werror_flag"
12389 || test ! -s conftest.err'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; } &&
12395 { ac_try
='test -s conftest$ac_exeext'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; }; then
12401 bu_cv_have_stat64
=yes
12403 echo "$as_me: failed program was:" >&5
12404 sed 's/^/| /' conftest.
$ac_ext >&5
12406 saved_CPPFLAGS
=$CPPFLAGS
12407 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12408 cat >conftest.
$ac_ext <<_ACEOF
12411 cat confdefs.h
>>conftest.
$ac_ext
12412 cat >>conftest.
$ac_ext <<_ACEOF
12413 /* end confdefs.h. */
12414 #include <sys/stat.h>
12418 struct stat64 st; stat64 ("/tmp/foo", &st);
12423 rm -f conftest.
$ac_objext conftest
$ac_exeext
12424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12425 (eval $ac_link) 2>conftest.er1
12427 grep -v '^ *+' conftest.er1
>conftest.err
12429 cat conftest.err
>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } &&
12432 { ac_try
='test -z "$ac_c_werror_flag"
12433 || test ! -s conftest.err'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; } &&
12439 { ac_try
='test -s conftest$ac_exeext'
12440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12441 (eval $ac_try) 2>&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); }; }; then
12445 bu_cv_have_stat64
="need -D_LARGEFILE64_SOURCE"
12447 echo "$as_me: failed program was:" >&5
12448 sed 's/^/| /' conftest.
$ac_ext >&5
12450 bu_cv_have_stat64
=no
12452 rm -f conftest.err conftest.
$ac_objext \
12453 conftest
$ac_exeext conftest.
$ac_ext
12454 CPPFLAGS
=$saved_CPPFLAGS
12456 rm -f conftest.err conftest.
$ac_objext \
12457 conftest
$ac_exeext conftest.
$ac_ext
12460 echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
12461 echo "${ECHO_T}$bu_cv_have_stat64" >&6
12462 if test "$bu_cv_have_stat64" != no
; then
12464 cat >>confdefs.h
<<\_ACEOF
12465 #define HAVE_STAT64 1
12469 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
12470 ||
test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
12472 cat >>confdefs.h
<<\_ACEOF
12473 #define _LARGEFILE64_SOURCE 1
12476 CPPFLAGS
="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12479 # Some systems have frexp only in -lm, not in -lc.
12480 echo "$as_me:$LINENO: checking for library containing frexp" >&5
12481 echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
12482 if test "${ac_cv_search_frexp+set}" = set; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12485 ac_func_search_save_LIBS
=$LIBS
12486 ac_cv_search_frexp
=no
12487 cat >conftest.
$ac_ext <<_ACEOF
12490 cat confdefs.h
>>conftest.
$ac_ext
12491 cat >>conftest.
$ac_ext <<_ACEOF
12492 /* end confdefs.h. */
12494 /* Override any gcc2 internal prototype to avoid an error. */
12498 /* We use char because int might match the return type of a gcc2
12499 builtin and then its argument prototype would still apply. */
12509 rm -f conftest.
$ac_objext conftest
$ac_exeext
12510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12511 (eval $ac_link) 2>conftest.er1
12513 grep -v '^ *+' conftest.er1
>conftest.err
12515 cat conftest.err
>&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } &&
12518 { ac_try
='test -z "$ac_c_werror_flag"
12519 || test ! -s conftest.err'
12520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12521 (eval $ac_try) 2>&5
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; } &&
12525 { ac_try
='test -s conftest$ac_exeext'
12526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12527 (eval $ac_try) 2>&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); }; }; then
12531 ac_cv_search_frexp
="none required"
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.
$ac_ext >&5
12537 rm -f conftest.err conftest.
$ac_objext \
12538 conftest
$ac_exeext conftest.
$ac_ext
12539 if test "$ac_cv_search_frexp" = no
; then
12540 for ac_lib
in m
; do
12541 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12542 cat >conftest.
$ac_ext <<_ACEOF
12545 cat confdefs.h
>>conftest.
$ac_ext
12546 cat >>conftest.
$ac_ext <<_ACEOF
12547 /* end confdefs.h. */
12549 /* Override any gcc2 internal prototype to avoid an error. */
12553 /* We use char because int might match the return type of a gcc2
12554 builtin and then its argument prototype would still apply. */
12564 rm -f conftest.
$ac_objext conftest
$ac_exeext
12565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12566 (eval $ac_link) 2>conftest.er1
12568 grep -v '^ *+' conftest.er1
>conftest.err
12570 cat conftest.err
>&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); } &&
12573 { ac_try
='test -z "$ac_c_werror_flag"
12574 || test ! -s conftest.err'
12575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12576 (eval $ac_try) 2>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); }; } &&
12580 { ac_try
='test -s conftest$ac_exeext'
12581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12582 (eval $ac_try) 2>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); }; }; then
12586 ac_cv_search_frexp
="-l$ac_lib"
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.
$ac_ext >&5
12593 rm -f conftest.err conftest.
$ac_objext \
12594 conftest
$ac_exeext conftest.
$ac_ext
12597 LIBS
=$ac_func_search_save_LIBS
12599 echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
12600 echo "${ECHO_T}$ac_cv_search_frexp" >&6
12601 if test "$ac_cv_search_frexp" != no
; then
12602 test "$ac_cv_search_frexp" = "none required" || LIBS
="$ac_cv_search_frexp $LIBS"
12607 echo "$as_me:$LINENO: checking for time_t in time.h" >&5
12608 echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
12609 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
12610 echo $ECHO_N "(cached) $ECHO_C" >&6
12612 cat >conftest.
$ac_ext <<_ACEOF
12615 cat confdefs.h
>>conftest.
$ac_ext
12616 cat >>conftest.
$ac_ext <<_ACEOF
12617 /* end confdefs.h. */
12627 rm -f conftest.
$ac_objext
12628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12629 (eval $ac_compile) 2>conftest.er1
12631 grep -v '^ *+' conftest.er1
>conftest.err
12633 cat conftest.err
>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); } &&
12636 { ac_try
='test -z "$ac_c_werror_flag"
12637 || test ! -s conftest.err'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; } &&
12643 { ac_try
='test -s conftest.$ac_objext'
12644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12645 (eval $ac_try) 2>&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); }; }; then
12649 bu_cv_decl_time_t_time_h
=yes
12651 echo "$as_me: failed program was:" >&5
12652 sed 's/^/| /' conftest.
$ac_ext >&5
12654 bu_cv_decl_time_t_time_h
=no
12656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12659 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
12660 echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
12661 if test $bu_cv_decl_time_t_time_h = yes; then
12663 cat >>confdefs.h
<<\_ACEOF
12664 #define HAVE_TIME_T_IN_TIME_H 1
12669 echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
12670 echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
12671 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
12672 echo $ECHO_N "(cached) $ECHO_C" >&6
12674 cat >conftest.
$ac_ext <<_ACEOF
12677 cat confdefs.h
>>conftest.
$ac_ext
12678 cat >>conftest.
$ac_ext <<_ACEOF
12679 /* end confdefs.h. */
12680 #include <sys/types.h>
12689 rm -f conftest.
$ac_objext
12690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12691 (eval $ac_compile) 2>conftest.er1
12693 grep -v '^ *+' conftest.er1
>conftest.err
12695 cat conftest.err
>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); } &&
12698 { ac_try
='test -z "$ac_c_werror_flag"
12699 || test ! -s conftest.err'
12700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12701 (eval $ac_try) 2>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; } &&
12705 { ac_try
='test -s conftest.$ac_objext'
12706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707 (eval $ac_try) 2>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; }; then
12711 bu_cv_decl_time_t_types_h
=yes
12713 echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.
$ac_ext >&5
12716 bu_cv_decl_time_t_types_h
=no
12718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12721 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
12722 echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
12723 if test $bu_cv_decl_time_t_types_h = yes; then
12725 cat >>confdefs.h
<<\_ACEOF
12726 #define HAVE_TIME_T_IN_TYPES_H 1
12731 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
12732 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
12733 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
12734 echo $ECHO_N "(cached) $ECHO_C" >&6
12736 cat >conftest.
$ac_ext <<_ACEOF
12739 cat confdefs.h
>>conftest.
$ac_ext
12740 cat >>conftest.
$ac_ext <<_ACEOF
12741 /* end confdefs.h. */
12742 #include <unistd.h>
12746 extern int getopt (int, char *const*, const char *);
12751 rm -f conftest.
$ac_objext
12752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12753 (eval $ac_compile) 2>conftest.er1
12755 grep -v '^ *+' conftest.er1
>conftest.err
12757 cat conftest.err
>&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); } &&
12760 { ac_try
='test -z "$ac_c_werror_flag"
12761 || test ! -s conftest.err'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; } &&
12767 { ac_try
='test -s conftest.$ac_objext'
12768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12769 (eval $ac_try) 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; }; then
12773 bu_cv_decl_getopt_unistd_h
=yes
12775 echo "$as_me: failed program was:" >&5
12776 sed 's/^/| /' conftest.
$ac_ext >&5
12778 bu_cv_decl_getopt_unistd_h
=no
12780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12783 echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
12784 echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
12785 if test $bu_cv_decl_getopt_unistd_h = yes; then
12787 cat >>confdefs.h
<<\_ACEOF
12788 #define HAVE_DECL_GETOPT 1
12793 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
12795 echo "$as_me:$LINENO: checking for utime.h" >&5
12796 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
12797 if test "${bu_cv_header_utime_h+set}" = set; then
12798 echo $ECHO_N "(cached) $ECHO_C" >&6
12800 cat >conftest.
$ac_ext <<_ACEOF
12803 cat confdefs.h
>>conftest.
$ac_ext
12804 cat >>conftest.
$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12806 #include <sys/types.h>
12819 rm -f conftest.
$ac_objext
12820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12821 (eval $ac_compile) 2>conftest.er1
12823 grep -v '^ *+' conftest.er1
>conftest.err
12825 cat conftest.err
>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try
='test -z "$ac_c_werror_flag"
12829 || test ! -s conftest.err'
12830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12831 (eval $ac_try) 2>&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); }; } &&
12835 { ac_try
='test -s conftest.$ac_objext'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; }; then
12841 bu_cv_header_utime_h
=yes
12843 echo "$as_me: failed program was:" >&5
12844 sed 's/^/| /' conftest.
$ac_ext >&5
12846 bu_cv_header_utime_h
=no
12848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12851 echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
12852 echo "${ECHO_T}$bu_cv_header_utime_h" >&6
12853 if test $bu_cv_header_utime_h = yes; then
12855 cat >>confdefs.h
<<\_ACEOF
12856 #define HAVE_GOOD_UTIME_H 1
12861 echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
12862 echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
12863 if test "${ac_cv_have_decl_fprintf+set}" = set; then
12864 echo $ECHO_N "(cached) $ECHO_C" >&6
12866 cat >conftest.
$ac_ext <<_ACEOF
12869 cat confdefs.h
>>conftest.
$ac_ext
12870 cat >>conftest.
$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 $ac_includes_default
12877 char *p = (char *) fprintf;
12884 rm -f conftest.
$ac_objext
12885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12886 (eval $ac_compile) 2>conftest.er1
12888 grep -v '^ *+' conftest.er1
>conftest.err
12890 cat conftest.err
>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); } &&
12893 { ac_try
='test -z "$ac_c_werror_flag"
12894 || test ! -s conftest.err'
12895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12896 (eval $ac_try) 2>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); }; } &&
12900 { ac_try
='test -s conftest.$ac_objext'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; }; then
12906 ac_cv_have_decl_fprintf
=yes
12908 echo "$as_me: failed program was:" >&5
12909 sed 's/^/| /' conftest.
$ac_ext >&5
12911 ac_cv_have_decl_fprintf
=no
12913 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12915 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
12916 echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
12917 if test $ac_cv_have_decl_fprintf = yes; then
12919 cat >>confdefs.h
<<_ACEOF
12920 #define HAVE_DECL_FPRINTF 1
12925 cat >>confdefs.h
<<_ACEOF
12926 #define HAVE_DECL_FPRINTF 0
12931 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12932 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
12933 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
12934 echo $ECHO_N "(cached) $ECHO_C" >&6
12936 cat >conftest.
$ac_ext <<_ACEOF
12939 cat confdefs.h
>>conftest.
$ac_ext
12940 cat >>conftest.
$ac_ext <<_ACEOF
12941 /* end confdefs.h. */
12942 $ac_includes_default
12947 char *p = (char *) stpcpy;
12954 rm -f conftest.
$ac_objext
12955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12956 (eval $ac_compile) 2>conftest.er1
12958 grep -v '^ *+' conftest.er1
>conftest.err
12960 cat conftest.err
>&5
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); } &&
12963 { ac_try
='test -z "$ac_c_werror_flag"
12964 || test ! -s conftest.err'
12965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12966 (eval $ac_try) 2>&5
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); }; } &&
12970 { ac_try
='test -s conftest.$ac_objext'
12971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12972 (eval $ac_try) 2>&5
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); }; }; then
12976 ac_cv_have_decl_stpcpy
=yes
12978 echo "$as_me: failed program was:" >&5
12979 sed 's/^/| /' conftest.
$ac_ext >&5
12981 ac_cv_have_decl_stpcpy
=no
12983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12985 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12986 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
12987 if test $ac_cv_have_decl_stpcpy = yes; then
12989 cat >>confdefs.h
<<_ACEOF
12990 #define HAVE_DECL_STPCPY 1
12995 cat >>confdefs.h
<<_ACEOF
12996 #define HAVE_DECL_STPCPY 0
13001 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
13002 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
13003 if test "${ac_cv_have_decl_strstr+set}" = set; then
13004 echo $ECHO_N "(cached) $ECHO_C" >&6
13006 cat >conftest.
$ac_ext <<_ACEOF
13009 cat confdefs.h
>>conftest.
$ac_ext
13010 cat >>conftest.
$ac_ext <<_ACEOF
13011 /* end confdefs.h. */
13012 $ac_includes_default
13017 char *p = (char *) strstr;
13024 rm -f conftest.
$ac_objext
13025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13026 (eval $ac_compile) 2>conftest.er1
13028 grep -v '^ *+' conftest.er1
>conftest.err
13030 cat conftest.err
>&5
13031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032 (exit $ac_status); } &&
13033 { ac_try
='test -z "$ac_c_werror_flag"
13034 || test ! -s conftest.err'
13035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13036 (eval $ac_try) 2>&5
13038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13039 (exit $ac_status); }; } &&
13040 { ac_try
='test -s conftest.$ac_objext'
13041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13042 (eval $ac_try) 2>&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); }; }; then
13046 ac_cv_have_decl_strstr
=yes
13048 echo "$as_me: failed program was:" >&5
13049 sed 's/^/| /' conftest.
$ac_ext >&5
13051 ac_cv_have_decl_strstr
=no
13053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13055 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
13056 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
13057 if test $ac_cv_have_decl_strstr = yes; then
13059 cat >>confdefs.h
<<_ACEOF
13060 #define HAVE_DECL_STRSTR 1
13065 cat >>confdefs.h
<<_ACEOF
13066 #define HAVE_DECL_STRSTR 0
13071 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
13072 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
13073 if test "${ac_cv_have_decl_sbrk+set}" = set; then
13074 echo $ECHO_N "(cached) $ECHO_C" >&6
13076 cat >conftest.
$ac_ext <<_ACEOF
13079 cat confdefs.h
>>conftest.
$ac_ext
13080 cat >>conftest.
$ac_ext <<_ACEOF
13081 /* end confdefs.h. */
13082 $ac_includes_default
13087 char *p = (char *) sbrk;
13094 rm -f conftest.
$ac_objext
13095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13096 (eval $ac_compile) 2>conftest.er1
13098 grep -v '^ *+' conftest.er1
>conftest.err
13100 cat conftest.err
>&5
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); } &&
13103 { ac_try
='test -z "$ac_c_werror_flag"
13104 || test ! -s conftest.err'
13105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13106 (eval $ac_try) 2>&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); }; } &&
13110 { ac_try
='test -s conftest.$ac_objext'
13111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13112 (eval $ac_try) 2>&5
13114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13115 (exit $ac_status); }; }; then
13116 ac_cv_have_decl_sbrk
=yes
13118 echo "$as_me: failed program was:" >&5
13119 sed 's/^/| /' conftest.
$ac_ext >&5
13121 ac_cv_have_decl_sbrk
=no
13123 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13125 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
13126 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
13127 if test $ac_cv_have_decl_sbrk = yes; then
13129 cat >>confdefs.h
<<_ACEOF
13130 #define HAVE_DECL_SBRK 1
13135 cat >>confdefs.h
<<_ACEOF
13136 #define HAVE_DECL_SBRK 0
13141 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
13142 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
13143 if test "${ac_cv_have_decl_getenv+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 cat >conftest.
$ac_ext <<_ACEOF
13149 cat confdefs.h
>>conftest.
$ac_ext
13150 cat >>conftest.
$ac_ext <<_ACEOF
13151 /* end confdefs.h. */
13152 $ac_includes_default
13157 char *p = (char *) getenv;
13164 rm -f conftest.
$ac_objext
13165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13166 (eval $ac_compile) 2>conftest.er1
13168 grep -v '^ *+' conftest.er1
>conftest.err
13170 cat conftest.err
>&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); } &&
13173 { ac_try
='test -z "$ac_c_werror_flag"
13174 || test ! -s conftest.err'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; } &&
13180 { ac_try
='test -s conftest.$ac_objext'
13181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13182 (eval $ac_try) 2>&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); }; }; then
13186 ac_cv_have_decl_getenv
=yes
13188 echo "$as_me: failed program was:" >&5
13189 sed 's/^/| /' conftest.
$ac_ext >&5
13191 ac_cv_have_decl_getenv
=no
13193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13195 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
13196 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
13197 if test $ac_cv_have_decl_getenv = yes; then
13199 cat >>confdefs.h
<<_ACEOF
13200 #define HAVE_DECL_GETENV 1
13205 cat >>confdefs.h
<<_ACEOF
13206 #define HAVE_DECL_GETENV 0
13211 echo "$as_me:$LINENO: checking whether environ is declared" >&5
13212 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
13213 if test "${ac_cv_have_decl_environ+set}" = set; then
13214 echo $ECHO_N "(cached) $ECHO_C" >&6
13216 cat >conftest.
$ac_ext <<_ACEOF
13219 cat confdefs.h
>>conftest.
$ac_ext
13220 cat >>conftest.
$ac_ext <<_ACEOF
13221 /* end confdefs.h. */
13222 $ac_includes_default
13227 char *p = (char *) environ;
13234 rm -f conftest.
$ac_objext
13235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13236 (eval $ac_compile) 2>conftest.er1
13238 grep -v '^ *+' conftest.er1
>conftest.err
13240 cat conftest.err
>&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); } &&
13243 { ac_try
='test -z "$ac_c_werror_flag"
13244 || test ! -s conftest.err'
13245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13246 (eval $ac_try) 2>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); }; } &&
13250 { ac_try
='test -s conftest.$ac_objext'
13251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13252 (eval $ac_try) 2>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; }; then
13256 ac_cv_have_decl_environ
=yes
13258 echo "$as_me: failed program was:" >&5
13259 sed 's/^/| /' conftest.
$ac_ext >&5
13261 ac_cv_have_decl_environ
=no
13263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13265 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
13266 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
13267 if test $ac_cv_have_decl_environ = yes; then
13269 cat >>confdefs.h
<<_ACEOF
13270 #define HAVE_DECL_ENVIRON 1
13275 cat >>confdefs.h
<<_ACEOF
13276 #define HAVE_DECL_ENVIRON 0
13281 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
13282 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
13283 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
13284 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 cat >conftest.
$ac_ext <<_ACEOF
13289 cat confdefs.h
>>conftest.
$ac_ext
13290 cat >>conftest.
$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13292 $ac_includes_default
13296 #ifndef getc_unlocked
13297 char *p = (char *) getc_unlocked;
13304 rm -f conftest.
$ac_objext
13305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13306 (eval $ac_compile) 2>conftest.er1
13308 grep -v '^ *+' conftest.er1
>conftest.err
13310 cat conftest.err
>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); } &&
13313 { ac_try
='test -z "$ac_c_werror_flag"
13314 || test ! -s conftest.err'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; } &&
13320 { ac_try
='test -s conftest.$ac_objext'
13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13322 (eval $ac_try) 2>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; }; then
13326 ac_cv_have_decl_getc_unlocked
=yes
13328 echo "$as_me: failed program was:" >&5
13329 sed 's/^/| /' conftest.
$ac_ext >&5
13331 ac_cv_have_decl_getc_unlocked
=no
13333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13335 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
13336 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
13337 if test $ac_cv_have_decl_getc_unlocked = yes; then
13339 cat >>confdefs.h
<<_ACEOF
13340 #define HAVE_DECL_GETC_UNLOCKED 1
13345 cat >>confdefs.h
<<_ACEOF
13346 #define HAVE_DECL_GETC_UNLOCKED 0
13351 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
13352 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
13353 if test "${ac_cv_have_decl_snprintf+set}" = set; then
13354 echo $ECHO_N "(cached) $ECHO_C" >&6
13356 cat >conftest.
$ac_ext <<_ACEOF
13359 cat confdefs.h
>>conftest.
$ac_ext
13360 cat >>conftest.
$ac_ext <<_ACEOF
13361 /* end confdefs.h. */
13362 $ac_includes_default
13367 char *p = (char *) snprintf;
13374 rm -f conftest.
$ac_objext
13375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13376 (eval $ac_compile) 2>conftest.er1
13378 grep -v '^ *+' conftest.er1
>conftest.err
13380 cat conftest.err
>&5
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); } &&
13383 { ac_try
='test -z "$ac_c_werror_flag"
13384 || test ! -s conftest.err'
13385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13386 (eval $ac_try) 2>&5
13388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13389 (exit $ac_status); }; } &&
13390 { ac_try
='test -s conftest.$ac_objext'
13391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 (eval $ac_try) 2>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; }; then
13396 ac_cv_have_decl_snprintf
=yes
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.
$ac_ext >&5
13401 ac_cv_have_decl_snprintf
=no
13403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13405 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
13406 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
13407 if test $ac_cv_have_decl_snprintf = yes; then
13409 cat >>confdefs.h
<<_ACEOF
13410 #define HAVE_DECL_SNPRINTF 1
13415 cat >>confdefs.h
<<_ACEOF
13416 #define HAVE_DECL_SNPRINTF 0
13421 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
13422 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
13423 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 cat >conftest.
$ac_ext <<_ACEOF
13429 cat confdefs.h
>>conftest.
$ac_ext
13430 cat >>conftest.
$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13432 $ac_includes_default
13437 char *p = (char *) vsnprintf;
13444 rm -f conftest.
$ac_objext
13445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13446 (eval $ac_compile) 2>conftest.er1
13448 grep -v '^ *+' conftest.er1
>conftest.err
13450 cat conftest.err
>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } &&
13453 { ac_try
='test -z "$ac_c_werror_flag"
13454 || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try
='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 ac_cv_have_decl_vsnprintf
=yes
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.
$ac_ext >&5
13471 ac_cv_have_decl_vsnprintf
=no
13473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13475 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
13476 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
13477 if test $ac_cv_have_decl_vsnprintf = yes; then
13479 cat >>confdefs.h
<<_ACEOF
13480 #define HAVE_DECL_VSNPRINTF 1
13485 cat >>confdefs.h
<<_ACEOF
13486 #define HAVE_DECL_VSNPRINTF 0
13496 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
13498 cat >>confdefs.h
<<\_ACEOF
13499 #define USE_BINARY_FOPEN 1
13504 # target-specific stuff:
13506 # Canonicalize the secondary target names.
13507 if test -n "$enable_targets"; then
13508 for targ
in `echo $enable_targets | sed 's/,/ /g'`
13510 result
=`$ac_config_sub $targ 2>/dev/null`
13511 if test -n "$result"; then
13512 canon_targets
="$canon_targets $result"
13514 # Allow targets that config.sub doesn't recognize, like "all".
13515 canon_targets
="$canon_targets $targ"
13520 if test "${ac_cv_header_iconv_h+set}" = set; then
13521 echo "$as_me:$LINENO: checking for iconv.h" >&5
13522 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
13523 if test "${ac_cv_header_iconv_h+set}" = set; then
13524 echo $ECHO_N "(cached) $ECHO_C" >&6
13526 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
13527 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
13529 # Is the header compilable?
13530 echo "$as_me:$LINENO: checking iconv.h usability" >&5
13531 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
13532 cat >conftest.
$ac_ext <<_ACEOF
13535 cat confdefs.h
>>conftest.
$ac_ext
13536 cat >>conftest.
$ac_ext <<_ACEOF
13537 /* end confdefs.h. */
13538 $ac_includes_default
13541 rm -f conftest.
$ac_objext
13542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13543 (eval $ac_compile) 2>conftest.er1
13545 grep -v '^ *+' conftest.er1
>conftest.err
13547 cat conftest.err
>&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); } &&
13550 { ac_try
='test -z "$ac_c_werror_flag"
13551 || test ! -s conftest.err'
13552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13553 (eval $ac_try) 2>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); }; } &&
13557 { ac_try
='test -s conftest.$ac_objext'
13558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559 (eval $ac_try) 2>&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); }; }; then
13563 ac_header_compiler
=yes
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.
$ac_ext >&5
13568 ac_header_compiler
=no
13570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13572 echo "${ECHO_T}$ac_header_compiler" >&6
13574 # Is the header present?
13575 echo "$as_me:$LINENO: checking iconv.h presence" >&5
13576 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
13577 cat >conftest.
$ac_ext <<_ACEOF
13580 cat confdefs.h
>>conftest.
$ac_ext
13581 cat >>conftest.
$ac_ext <<_ACEOF
13582 /* end confdefs.h. */
13585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13586 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13588 grep -v '^ *+' conftest.er1
>conftest.err
13590 cat conftest.err
>&5
13591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13592 (exit $ac_status); } >/dev
/null
; then
13593 if test -s conftest.err
; then
13594 ac_cpp_err
=$ac_c_preproc_warn_flag
13595 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13602 if test -z "$ac_cpp_err"; then
13603 ac_header_preproc
=yes
13605 echo "$as_me: failed program was:" >&5
13606 sed 's/^/| /' conftest.
$ac_ext >&5
13608 ac_header_preproc
=no
13610 rm -f conftest.err conftest.
$ac_ext
13611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13612 echo "${ECHO_T}$ac_header_preproc" >&6
13614 # So? What about this header?
13615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13617 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
13618 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13619 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
13620 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
13621 ac_header_preproc
=yes
13624 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
13625 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
13626 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
13627 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
13628 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
13629 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
13630 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
13631 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
13632 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
13633 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
13634 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
13635 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
13638 ## ------------------------------------------ ##
13639 ## Report this to the AC_PACKAGE_NAME lists. ##
13640 ## ------------------------------------------ ##
13643 sed "s/^/$as_me: WARNING: /" >&2
13646 echo "$as_me:$LINENO: checking for iconv.h" >&5
13647 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
13648 if test "${ac_cv_header_iconv_h+set}" = set; then
13649 echo $ECHO_N "(cached) $ECHO_C" >&6
13651 ac_cv_header_iconv_h
=$ac_header_preproc
13653 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
13654 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
13660 if test "X$prefix" = "XNONE"; then
13661 acl_final_prefix
="$ac_default_prefix"
13663 acl_final_prefix
="$prefix"
13665 if test "X$exec_prefix" = "XNONE"; then
13666 acl_final_exec_prefix
='${prefix}'
13668 acl_final_exec_prefix
="$exec_prefix"
13670 acl_save_prefix
="$prefix"
13671 prefix
="$acl_final_prefix"
13672 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13673 prefix
="$acl_save_prefix"
13676 # Check whether --with-gnu-ld or --without-gnu-ld was given.
13677 if test "${with_gnu_ld+set}" = set; then
13678 withval
="$with_gnu_ld"
13679 test "$withval" = no || with_gnu_ld
=yes
13683 # Prepare PATH_SEPARATOR.
13684 # The user is always right.
13685 if test "${PATH_SEPARATOR+set}" != set; then
13686 echo "#! /bin/sh" >conf$$.sh
13687 echo "exit 0" >>conf$$.sh
13689 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13697 if test "$GCC" = yes; then
13698 # Check if gcc -print-prog-name=ld gives a path.
13699 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
13700 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
13703 # gcc leaves a trailing carriage return which upsets mingw
13704 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13706 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13709 # Accept absolute paths.
13710 [\\/]* |
[A-Za-z
]:[\\/]*)
13711 re_direlt
='/[^/][^/]*/\.\./'
13712 # Canonicalize the path of ld
13713 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13714 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13715 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13717 test -z "$LD" && LD
="$ac_prog"
13720 # If it fails, then pretend we aren't using GCC.
13724 # If it is relative, then search for the first ld in PATH.
13725 with_gnu_ld
=unknown
13728 elif test "$with_gnu_ld" = yes; then
13729 echo "$as_me:$LINENO: checking for GNU ld" >&5
13730 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13732 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13733 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13735 if test "${acl_cv_path_LD+set}" = set; then
13736 echo $ECHO_N "(cached) $ECHO_C" >&6
13738 if test -z "$LD"; then
13739 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13740 for ac_dir
in $PATH; do
13741 test -z "$ac_dir" && ac_dir
=.
13742 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13743 acl_cv_path_LD
="$ac_dir/$ac_prog"
13744 # Check to see if the program is GNU ld. I'd rather use --version,
13745 # but apparently some GNU ld's only accept -v.
13746 # Break only if it was the GNU/non-GNU ld that we prefer.
13747 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
13748 test "$with_gnu_ld" != no
&& break
13750 test "$with_gnu_ld" != yes && break
13756 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13760 LD
="$acl_cv_path_LD"
13761 if test -n "$LD"; then
13762 echo "$as_me:$LINENO: result: $LD" >&5
13763 echo "${ECHO_T}$LD" >&6
13765 echo "$as_me:$LINENO: result: no" >&5
13766 echo "${ECHO_T}no" >&6
13768 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13769 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13770 { (exit 1); exit 1; }; }
13771 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13772 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13773 if test "${acl_cv_prog_gnu_ld+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13776 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13777 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
13778 acl_cv_prog_gnu_ld
=yes
13780 acl_cv_prog_gnu_ld
=no
13783 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
13784 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
13785 with_gnu_ld
=$acl_cv_prog_gnu_ld
13789 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
13790 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
13791 if test "${acl_cv_rpath+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13795 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13796 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13798 rm -f .
/conftest.sh
13802 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
13803 echo "${ECHO_T}$acl_cv_rpath" >&6
13805 libext
="$acl_cv_libext"
13806 shlibext
="$acl_cv_shlibext"
13807 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13808 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13809 hardcode_direct
="$acl_cv_hardcode_direct"
13810 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13811 # Check whether --enable-rpath or --disable-rpath was given.
13812 if test "${enable_rpath+set}" = set; then
13813 enableval
="$enable_rpath"
13827 acl_save_prefix
="$prefix"
13828 prefix
="$acl_final_prefix"
13829 acl_save_exec_prefix
="$exec_prefix"
13830 exec_prefix
="$acl_final_exec_prefix"
13832 eval additional_includedir
=\"$includedir\"
13833 eval additional_libdir
=\"$libdir\"
13835 exec_prefix
="$acl_save_exec_prefix"
13836 prefix
="$acl_save_prefix"
13839 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
13840 if test "${with_libiconv_prefix+set}" = set; then
13841 withval
="$with_libiconv_prefix"
13843 if test "X$withval" = "Xno"; then
13846 if test "X$withval" = "X"; then
13848 acl_save_prefix
="$prefix"
13849 prefix
="$acl_final_prefix"
13850 acl_save_exec_prefix
="$exec_prefix"
13851 exec_prefix
="$acl_final_exec_prefix"
13853 eval additional_includedir
=\"$includedir\"
13854 eval additional_libdir
=\"$libdir\"
13856 exec_prefix
="$acl_save_exec_prefix"
13857 prefix
="$acl_save_prefix"
13860 additional_includedir
="$withval/include"
13861 additional_libdir
="$withval/lib"
13871 names_already_handled
=
13872 names_next_round
='iconv '
13873 while test -n "$names_next_round"; do
13874 names_this_round
="$names_next_round"
13876 for name
in $names_this_round; do
13878 for n
in $names_already_handled; do
13879 if test "$n" = "$name"; then
13880 already_handled
=yes
13884 if test -z "$already_handled"; then
13885 names_already_handled
="$names_already_handled $name"
13886 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13887 eval value
=\"\
$HAVE_LIB$uppername\"
13888 if test -n "$value"; then
13889 if test "$value" = yes; then
13890 eval value
=\"\
$LIB$uppername\"
13891 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
13892 eval value
=\"\
$LTLIB$uppername\"
13893 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
13902 if test $use_additional = yes; then
13903 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13904 found_dir
="$additional_libdir"
13905 found_so
="$additional_libdir/lib$name.$shlibext"
13906 if test -f "$additional_libdir/lib$name.la"; then
13907 found_la
="$additional_libdir/lib$name.la"
13910 if test -f "$additional_libdir/lib$name.$libext"; then
13911 found_dir
="$additional_libdir"
13912 found_a
="$additional_libdir/lib$name.$libext"
13913 if test -f "$additional_libdir/lib$name.la"; then
13914 found_la
="$additional_libdir/lib$name.la"
13919 if test "X$found_dir" = "X"; then
13920 for x
in $LDFLAGS $LTLIBICONV; do
13922 acl_save_prefix
="$prefix"
13923 prefix
="$acl_final_prefix"
13924 acl_save_exec_prefix
="$exec_prefix"
13925 exec_prefix
="$acl_final_exec_prefix"
13927 exec_prefix
="$acl_save_exec_prefix"
13928 prefix
="$acl_save_prefix"
13932 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13933 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13935 found_so
="$dir/lib$name.$shlibext"
13936 if test -f "$dir/lib$name.la"; then
13937 found_la
="$dir/lib$name.la"
13940 if test -f "$dir/lib$name.$libext"; then
13942 found_a
="$dir/lib$name.$libext"
13943 if test -f "$dir/lib$name.la"; then
13944 found_la
="$dir/lib$name.la"
13950 if test "X$found_dir" != "X"; then
13955 if test "X$found_dir" != "X"; then
13956 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13957 if test "X$found_so" != "X"; then
13958 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13959 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13962 for x
in $ltrpathdirs; do
13963 if test "X$x" = "X$found_dir"; then
13968 if test -z "$haveit"; then
13969 ltrpathdirs
="$ltrpathdirs $found_dir"
13971 if test "$hardcode_direct" = yes; then
13972 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13974 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13975 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13977 for x
in $rpathdirs; do
13978 if test "X$x" = "X$found_dir"; then
13983 if test -z "$haveit"; then
13984 rpathdirs
="$rpathdirs $found_dir"
13988 for x
in $LDFLAGS $LIBICONV; do
13990 acl_save_prefix
="$prefix"
13991 prefix
="$acl_final_prefix"
13992 acl_save_exec_prefix
="$exec_prefix"
13993 exec_prefix
="$acl_final_exec_prefix"
13995 exec_prefix
="$acl_save_exec_prefix"
13996 prefix
="$acl_save_prefix"
13998 if test "X$x" = "X-L$found_dir"; then
14003 if test -z "$haveit"; then
14004 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14006 if test "$hardcode_minus_L" != no
; then
14007 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14009 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14015 if test "X$found_a" != "X"; then
14016 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14018 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14021 additional_includedir
=
14022 case "$found_dir" in
14024 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
14025 additional_includedir
="$basedir/include"
14028 if test "X$additional_includedir" != "X"; then
14029 if test "X$additional_includedir" != "X/usr/include"; then
14031 if test "X$additional_includedir" = "X/usr/local/include"; then
14032 if test -n "$GCC"; then
14034 linux
*) haveit
=yes;;
14038 if test -z "$haveit"; then
14039 for x
in $CPPFLAGS $INCICONV; do
14041 acl_save_prefix
="$prefix"
14042 prefix
="$acl_final_prefix"
14043 acl_save_exec_prefix
="$exec_prefix"
14044 exec_prefix
="$acl_final_exec_prefix"
14046 exec_prefix
="$acl_save_exec_prefix"
14047 prefix
="$acl_save_prefix"
14049 if test "X$x" = "X-I$additional_includedir"; then
14054 if test -z "$haveit"; then
14055 if test -d "$additional_includedir"; then
14056 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14062 if test -n "$found_la"; then
14063 save_libdir
="$libdir"
14064 case "$found_la" in
14065 */* |
*\\*) .
"$found_la" ;;
14066 *) .
"./$found_la" ;;
14068 libdir
="$save_libdir"
14069 for dep
in $dependency_libs; do
14072 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14073 if test "X$additional_libdir" != "X/usr/lib"; then
14075 if test "X$additional_libdir" = "X/usr/local/lib"; then
14076 if test -n "$GCC"; then
14078 linux
*) haveit
=yes;;
14082 if test -z "$haveit"; then
14084 for x
in $LDFLAGS $LIBICONV; do
14086 acl_save_prefix
="$prefix"
14087 prefix
="$acl_final_prefix"
14088 acl_save_exec_prefix
="$exec_prefix"
14089 exec_prefix
="$acl_final_exec_prefix"
14091 exec_prefix
="$acl_save_exec_prefix"
14092 prefix
="$acl_save_prefix"
14094 if test "X$x" = "X-L$additional_libdir"; then
14099 if test -z "$haveit"; then
14100 if test -d "$additional_libdir"; then
14101 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14105 for x
in $LDFLAGS $LTLIBICONV; do
14107 acl_save_prefix
="$prefix"
14108 prefix
="$acl_final_prefix"
14109 acl_save_exec_prefix
="$exec_prefix"
14110 exec_prefix
="$acl_final_exec_prefix"
14112 exec_prefix
="$acl_save_exec_prefix"
14113 prefix
="$acl_save_prefix"
14115 if test "X$x" = "X-L$additional_libdir"; then
14120 if test -z "$haveit"; then
14121 if test -d "$additional_libdir"; then
14122 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14129 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14130 if test "$enable_rpath" != no
; then
14132 for x
in $rpathdirs; do
14133 if test "X$x" = "X$dir"; then
14138 if test -z "$haveit"; then
14139 rpathdirs
="$rpathdirs $dir"
14142 for x
in $ltrpathdirs; do
14143 if test "X$x" = "X$dir"; then
14148 if test -z "$haveit"; then
14149 ltrpathdirs
="$ltrpathdirs $dir"
14154 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14157 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14160 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14161 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14167 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14168 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14174 if test "X$rpathdirs" != "X"; then
14175 if test -n "$hardcode_libdir_separator"; then
14177 for found_dir
in $rpathdirs; do
14178 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14180 acl_save_libdir
="$libdir"
14182 eval flag
=\"$hardcode_libdir_flag_spec\"
14183 libdir
="$acl_save_libdir"
14184 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14186 for found_dir
in $rpathdirs; do
14187 acl_save_libdir
="$libdir"
14188 libdir
="$found_dir"
14189 eval flag
=\"$hardcode_libdir_flag_spec\"
14190 libdir
="$acl_save_libdir"
14191 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14195 if test "X$ltrpathdirs" != "X"; then
14196 for found_dir
in $ltrpathdirs; do
14197 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14207 am_save_CPPFLAGS
="$CPPFLAGS"
14209 for element
in $INCICONV; do
14211 for x
in $CPPFLAGS; do
14213 acl_save_prefix
="$prefix"
14214 prefix
="$acl_final_prefix"
14215 acl_save_exec_prefix
="$exec_prefix"
14216 exec_prefix
="$acl_final_exec_prefix"
14218 exec_prefix
="$acl_save_exec_prefix"
14219 prefix
="$acl_save_prefix"
14221 if test "X$x" = "X$element"; then
14226 if test -z "$haveit"; then
14227 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14232 echo "$as_me:$LINENO: checking for iconv" >&5
14233 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
14234 if test "${am_cv_func_iconv+set}" = set; then
14235 echo $ECHO_N "(cached) $ECHO_C" >&6
14238 am_cv_func_iconv
="no, consider installing GNU libiconv"
14240 cat >conftest.
$ac_ext <<_ACEOF
14243 cat confdefs.h
>>conftest.
$ac_ext
14244 cat >>conftest.
$ac_ext <<_ACEOF
14245 /* end confdefs.h. */
14246 #include <stdlib.h>
14251 iconv_t cd = iconv_open("","");
14252 iconv(cd,NULL,NULL,NULL,NULL);
14258 rm -f conftest.
$ac_objext conftest
$ac_exeext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14260 (eval $ac_link) 2>conftest.er1
14262 grep -v '^ *+' conftest.er1
>conftest.err
14264 cat conftest.err
>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try
='test -z "$ac_c_werror_flag"
14268 || test ! -s conftest.err'
14269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14270 (eval $ac_try) 2>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); }; } &&
14274 { ac_try
='test -s conftest$ac_exeext'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; }; then
14280 am_cv_func_iconv
=yes
14282 echo "$as_me: failed program was:" >&5
14283 sed 's/^/| /' conftest.
$ac_ext >&5
14286 rm -f conftest.err conftest.
$ac_objext \
14287 conftest
$ac_exeext conftest.
$ac_ext
14288 if test "$am_cv_func_iconv" != yes; then
14289 am_save_LIBS
="$LIBS"
14290 LIBS
="$LIBS $LIBICONV"
14291 cat >conftest.
$ac_ext <<_ACEOF
14294 cat confdefs.h
>>conftest.
$ac_ext
14295 cat >>conftest.
$ac_ext <<_ACEOF
14296 /* end confdefs.h. */
14297 #include <stdlib.h>
14302 iconv_t cd = iconv_open("","");
14303 iconv(cd,NULL,NULL,NULL,NULL);
14309 rm -f conftest.
$ac_objext conftest
$ac_exeext
14310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14311 (eval $ac_link) 2>conftest.er1
14313 grep -v '^ *+' conftest.er1
>conftest.err
14315 cat conftest.err
>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); } &&
14318 { ac_try
='test -z "$ac_c_werror_flag"
14319 || test ! -s conftest.err'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; } &&
14325 { ac_try
='test -s conftest$ac_exeext'
14326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14327 (eval $ac_try) 2>&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); }; }; then
14331 am_cv_lib_iconv
=yes
14332 am_cv_func_iconv
=yes
14334 echo "$as_me: failed program was:" >&5
14335 sed 's/^/| /' conftest.
$ac_ext >&5
14338 rm -f conftest.err conftest.
$ac_objext \
14339 conftest
$ac_exeext conftest.
$ac_ext
14340 LIBS
="$am_save_LIBS"
14344 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
14345 echo "${ECHO_T}$am_cv_func_iconv" >&6
14346 if test "$am_cv_func_iconv" = yes; then
14348 cat >>confdefs.h
<<\_ACEOF
14349 #define HAVE_ICONV 1
14353 if test "$am_cv_lib_iconv" = yes; then
14354 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
14355 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
14356 echo "$as_me:$LINENO: result: $LIBICONV" >&5
14357 echo "${ECHO_T}$LIBICONV" >&6
14359 CPPFLAGS
="$am_save_CPPFLAGS"
14366 if test "$am_cv_func_iconv" = yes; then
14367 echo "$as_me:$LINENO: checking for iconv declaration" >&5
14368 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
14369 if test "${am_cv_proto_iconv+set}" = set; then
14370 echo $ECHO_N "(cached) $ECHO_C" >&6
14373 cat >conftest.
$ac_ext <<_ACEOF
14376 cat confdefs.h
>>conftest.
$ac_ext
14377 cat >>conftest.
$ac_ext <<_ACEOF
14378 /* end confdefs.h. */
14380 #include <stdlib.h>
14386 #if defined(__STDC__) || defined(__cplusplus)
14387 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14400 rm -f conftest.
$ac_objext
14401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14402 (eval $ac_compile) 2>conftest.er1
14404 grep -v '^ *+' conftest.er1
>conftest.err
14406 cat conftest.err
>&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); } &&
14409 { ac_try
='test -z "$ac_c_werror_flag"
14410 || test ! -s conftest.err'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; } &&
14416 { ac_try
='test -s conftest.$ac_objext'
14417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14418 (eval $ac_try) 2>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }; }; then
14422 am_cv_proto_iconv_arg1
=""
14424 echo "$as_me: failed program was:" >&5
14425 sed 's/^/| /' conftest.
$ac_ext >&5
14427 am_cv_proto_iconv_arg1
="const"
14429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14430 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);"
14433 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
14434 echo "$as_me:$LINENO: result: ${ac_t:-
14435 }$am_cv_proto_iconv" >&5
14436 echo "${ECHO_T}${ac_t:-
14437 }$am_cv_proto_iconv" >&6
14439 cat >>confdefs.h
<<_ACEOF
14440 #define ICONV_CONST $am_cv_proto_iconv_arg1
14457 BUILD_INSTALL_MISC
=
14460 for targ
in $target $canon_targets
14462 if test "x$targ" = "xall"; then
14464 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
14465 BUILD_SRCONV
='$(SRCONV_PROG)'
14466 NLMCONV_DEFS
="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
14467 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
14468 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14469 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14470 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14471 if test -z "$DLLTOOL_DEFAULT"; then
14472 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
14474 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
14475 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
14478 i
[3-7]86*-*-netware*)
14479 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
14480 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_I386"
14483 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
14484 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_ALPHA"
14486 powerpc
*-*-netware*)
14487 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
14488 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_POWERPC"
14491 BUILD_NLMCONV
='$(NLMCONV_PROG)$(EXEEXT)'
14492 NLMCONV_DEFS
="$NLMCONV_DEFS -DNLMCONV_SPARC"
14496 *-*-hms*) BUILD_SRCONV
='$(SRCONV_PROG)' ;;
14500 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14501 if test -z "$DLLTOOL_DEFAULT"; then
14502 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_EPOC"
14504 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
14505 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14506 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14508 arm-wince-pe
* | arm-
*-wince)
14509 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14510 if test -z "$DLLTOOL_DEFAULT"; then
14511 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM_WINCE"
14513 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
14514 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14515 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14518 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14519 if test -z "$DLLTOOL_DEFAULT"; then
14520 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
14522 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
14523 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14524 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14527 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14528 if test -z "$DLLTOOL_DEFAULT"; then
14529 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_ARM"
14531 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_ARM"
14532 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14533 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14536 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14537 if test -z "$DLLTOOL_DEFAULT"; then
14538 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MX86_64"
14540 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
14541 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14542 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14543 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
14545 i
[3-7]86-*-pe* | i
[3-7]86-*-cygwin* | i
[3-7]86-*-mingw32** | i
[3-7]86-*-netbsdpe*)
14546 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14547 if test -z "$DLLTOOL_DEFAULT"; then
14548 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
14550 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
14551 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14552 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14553 BUILD_DLLWRAP
='$(DLLWRAP_PROG)$(EXEEXT)'
14555 i
[3-7]86-*-interix)
14556 BUILD_DLLTOOL
='$(DLLTOOL_PROG)'
14557 if test -z "$DLLTOOL_DEFAULT"; then
14558 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_I386"
14560 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_I386"
14562 powerpc
*-aix5.
[01])
14565 OBJDUMP_DEFS
="-DAIX_WEAK_SUPPORT"
14567 powerpc
*-*-pe* | powerpc
*-*-cygwin*)
14568 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14569 if test -z "$DLLTOOL_DEFAULT"; then
14570 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_PPC"
14572 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_PPC"
14573 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14574 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14576 powerpc
*-*-linux* | powerpc
*-*-elf* | powerpc
*-*-eabi*)
14577 BUILD_INSTALL_MISC
="${BUILD_INSTALL_MISC} embedspu"
14580 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14581 if test -z "$DLLTOOL_DEFAULT"; then
14582 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_SH"
14584 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_SH"
14585 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14586 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14589 BUILD_MISC
="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
14592 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14593 if test -z "$DLLTOOL_DEFAULT"; then
14594 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MIPS"
14596 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
14597 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14598 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14601 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14602 if test -z "$DLLTOOL_DEFAULT"; then
14603 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE"
14605 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
14606 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14607 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14610 BUILD_DLLTOOL
='$(DLLTOOL_PROG)$(EXEEXT)'
14611 if test -z "$DLLTOOL_DEFAULT"; then
14612 DLLTOOL_DEFAULT
="-DDLLTOOL_DEFAULT_MCORE_ELF"
14614 DLLTOOL_DEFS
="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
14617 OBJDUMP_DEFS
="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
14623 DLLTOOL_DEFS
="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
14625 if test "${with_windres+set}" = set; then
14626 BUILD_WINDRES
='$(WINDRES_PROG)$(EXEEXT)'
14629 if test "${with_windmc+set}" = set; then
14630 BUILD_WINDMC
='$(WINDMC_PROG)$(EXEEXT)'
14646 cat >>confdefs.h
<<_ACEOF
14647 #define TARGET "${target}"
14652 .
$srcdir/..
/bfd
/config.bfd
14653 if test "x$targ_underscore" = "xyes"; then
14659 cat >>confdefs.h
<<_ACEOF
14660 #define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
14665 for targ_alias
in `echo $target_alias $enable_targets | sed 's/,/ /g'`
14667 # Canonicalize the secondary target names.
14668 result
=`$ac_config_sub $targ_alias 2>/dev/null`
14669 if test -n "$result"; then
14675 .
${srcdir}/configure.tgt
14677 EMULATION
=$targ_emul
14678 EMULATION_VECTOR
=$targ_emul_vector
14684 # Required for html and install-html
14689 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
14690 cat >confcache
<<\_ACEOF
14691 # This file is a shell script that caches the results of configure
14692 # tests run on this system so they can be shared between configure
14693 # scripts and configure runs, see configure's option --config-cache.
14694 # It is not useful on other systems. If it contains results you don't
14695 # want to keep, you may remove or edit it.
14697 # config.status only pays attention to the cache file if you give it
14698 # the --recheck option to rerun configure.
14700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14702 # following values.
14706 # The following way of writing the cache mishandles newlines in values,
14707 # but we know of no workaround that is simple, portable, and efficient.
14708 # So, don't put newlines in cache variables' values.
14709 # Ultrix sh set writes to stderr and can't be redirected directly,
14710 # and sets the high bit in the cache file unless we assign to the vars.
14713 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14715 # `set' does not quote correctly, so add quotes (double-quote
14716 # substitution turns \\\\ into \\, and sed turns \\ into \).
14719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14722 # `set' quotes correctly as required by POSIX, so do not add quotes.
14724 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14733 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14735 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
14736 if test -w $cache_file; then
14737 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14738 cat confcache
>$cache_file
14740 echo "not updating unwritable cache $cache_file"
14745 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14746 # Let make expand exec_prefix.
14747 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14749 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14750 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14751 # trailing colons and then remove the whole line if VPATH becomes empty
14752 # (actually we leave an empty line to preserve line numbers).
14753 if test "x$srcdir" = x.
; then
14754 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14755 s/:*\$(srcdir):*/:/;
14756 s/:*\${srcdir}:*/:/;
14758 s/^\([^=]*=[ ]*\):*/\1/;
14764 DEFS
=-DHAVE_CONFIG_H
14768 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14769 # 1. Remove the extension, and $U if already installed.
14770 ac_i
=`echo "$ac_i" |
14771 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14773 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
14774 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
14776 LIBOBJS
=$ac_libobjs
14778 LTLIBOBJS
=$ac_ltlibobjs
14781 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14782 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14783 Usually this means the macro was only invoked conditionally." >&5
14784 echo "$as_me: error: conditional \"AMDEP\" was never defined.
14785 Usually this means the macro was only invoked conditionally." >&2;}
14786 { (exit 1); exit 1; }; }
14788 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14789 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14790 Usually this means the macro was only invoked conditionally." >&5
14791 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14792 Usually this means the macro was only invoked conditionally." >&2;}
14793 { (exit 1); exit 1; }; }
14795 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14796 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14797 Usually this means the macro was only invoked conditionally." >&5
14798 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14799 Usually this means the macro was only invoked conditionally." >&2;}
14800 { (exit 1); exit 1; }; }
14802 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
14803 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
14804 Usually this means the macro was only invoked conditionally." >&5
14805 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
14806 Usually this means the macro was only invoked conditionally." >&2;}
14807 { (exit 1); exit 1; }; }
14810 : ${CONFIG_STATUS=./config.status}
14811 ac_clean_files_save
=$ac_clean_files
14812 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14813 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14814 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14815 cat >$CONFIG_STATUS <<_ACEOF
14817 # Generated by $as_me.
14818 # Run this file to recreate the current configuration.
14819 # Compiler output produced by configure, useful for debugging
14820 # configure, is in config.log if it exists.
14823 ac_cs_recheck=false
14825 SHELL=\${CONFIG_SHELL-$SHELL}
14828 cat >>$CONFIG_STATUS <<\_ACEOF
14829 ## --------------------- ##
14830 ## M4sh Initialization. ##
14831 ## --------------------- ##
14833 # Be Bourne compatible
14834 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
14837 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14838 # is contrary to our usage. Disable this feature.
14839 alias -g '${1+"$@"}'='"$@"'
14840 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
14843 DUALCASE
=1; export DUALCASE
# for MKS sh
14845 # Support unset when possible.
14846 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
14853 # Work around bugs in pre-3.0 UWIN ksh.
14854 $as_unset ENV MAIL MAILPATH
14861 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14862 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14863 LC_TELEPHONE LC_TIME
14865 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14866 eval $as_var=C
; export $as_var
14872 # Required to use basename.
14873 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14879 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
14880 as_basename
=basename
14886 # Name of the executable.
14887 as_me
=`$as_basename "$0" ||
14888 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14889 X"$0" : 'X\(//\)$' \| \
14890 X"$0" : 'X\(/\)$' \| \
14891 . : '\(.\)' 2>/dev/null ||
14893 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14894 /^X\/\(\/\/\)$/{ s//\1/; q; }
14895 /^X\/\(\/\).*/{ s//\1/; q; }
14899 # PATH needs CR, and LINENO needs CR and PATH.
14900 # Avoid depending upon Character Ranges.
14901 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14902 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14903 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14904 as_cr_digits
='0123456789'
14905 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14907 # The user is always right.
14908 if test "${PATH_SEPARATOR+set}" != set; then
14909 echo "#! /bin/sh" >conf$$.sh
14910 echo "exit 0" >>conf$$.sh
14912 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14921 as_lineno_1
=$LINENO
14922 as_lineno_2
=$LINENO
14923 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14924 test "x$as_lineno_1" != "x$as_lineno_2" &&
14925 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14926 # Find who we are. Look in the path if we contain no path at all
14929 *[\\/]* ) as_myself
=$0 ;;
14930 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14931 for as_dir
in $PATH
14934 test -z "$as_dir" && as_dir
=.
14935 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14940 # We did not find ourselves, most probably we were run as `sh COMMAND'
14941 # in which case we are not to be found in the path.
14942 if test "x$as_myself" = x
; then
14945 if test ! -f "$as_myself"; then
14946 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14947 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14948 { (exit 1); exit 1; }; }
14950 case $CONFIG_SHELL in
14952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14953 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14956 test -z "$as_dir" && as_dir
=.
14957 for as_base
in sh bash ksh sh5
; do
14960 if ("$as_dir/$as_base" -c '
14961 as_lineno_1=$LINENO
14962 as_lineno_2=$LINENO
14963 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14964 test "x$as_lineno_1" != "x$as_lineno_2" &&
14965 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14966 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
14967 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
14968 CONFIG_SHELL
=$as_dir/$as_base
14969 export CONFIG_SHELL
14970 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14978 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14979 # uniformly replaced by the line number. The first 'sed' inserts a
14980 # line-number line before each line; the second 'sed' does the real
14981 # work. The second script uses 'N' to pair each line-number line
14982 # with the numbered line, and appends trailing '-' during
14983 # substitution so that $LINENO is not a special case at line end.
14984 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14985 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14986 sed '=' <$as_myself |
14991 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14994 s,^['$as_cr_digits']*\n,,
14995 ' >$as_me.lineno
&&
14996 chmod +x
$as_me.lineno ||
14997 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14998 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14999 { (exit 1); exit 1; }; }
15001 # Don't try to exec as it changes $[0], causing all sort of problems
15002 # (the dirname of $[0] is not the place where we might find the
15003 # original and so on. Autoconf is especially sensible to this).
15005 # Exit status is that of the last command.
15010 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15011 *c
*,-n*) ECHO_N
= ECHO_C
='
15013 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
15014 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
15017 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15023 rm -f conf$$ conf$$.exe conf$$.
file
15025 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15026 # We could just check for DJGPP; but this test a) works b) is more generic
15027 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15028 if test -f conf$$.exe
; then
15029 # Don't use ln at all; we don't have any links
15034 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15039 rm -f conf$$ conf$$.exe conf$$.
file
15041 if mkdir
-p .
2>/dev
/null
; then
15044 test -d .
/-p && rmdir .
/-p
15048 as_executable_p
="test -f"
15050 # Sed expression to map a string onto a valid CPP name.
15051 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15053 # Sed expression to map a string onto a valid variable name.
15054 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15058 # We need space, tab and new line, in precisely that order.
15068 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15069 # report actual input values of CONFIG_FILES etc. instead of their
15070 # values after options handling. Logging --version etc. is OK.
15074 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15075 ## Running $as_me. ##
15080 This file was extended by $as_me, which was
15081 generated by GNU Autoconf 2.59. Invocation command line was
15083 CONFIG_FILES = $CONFIG_FILES
15084 CONFIG_HEADERS = $CONFIG_HEADERS
15085 CONFIG_LINKS = $CONFIG_LINKS
15086 CONFIG_COMMANDS = $CONFIG_COMMANDS
15090 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15094 # Files that config.status was made for.
15095 if test -n "$ac_config_files"; then
15096 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15099 if test -n "$ac_config_headers"; then
15100 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15103 if test -n "$ac_config_links"; then
15104 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15107 if test -n "$ac_config_commands"; then
15108 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15111 cat >>$CONFIG_STATUS <<\_ACEOF
15114 \`$as_me' instantiates files from templates according to the
15115 current configuration.
15117 Usage: $0 [OPTIONS] [FILE]...
15119 -h, --help print this help, then exit
15120 -V, --version print version number, then exit
15121 -q, --quiet do not print progress messages
15122 -d, --debug don't remove temporary files
15123 --recheck update $as_me by reconfiguring in the same conditions
15124 --file=FILE[:TEMPLATE]
15125 instantiate the configuration file FILE
15126 --header=FILE[:TEMPLATE]
15127 instantiate the configuration header FILE
15129 Configuration files:
15132 Configuration headers:
15135 Configuration commands:
15138 Report bugs to <bug-autoconf@gnu.org>."
15141 cat >>$CONFIG_STATUS <<_ACEOF
15144 configured by $0, generated by GNU Autoconf 2.59,
15145 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15147 Copyright (C) 2003 Free Software Foundation, Inc.
15148 This config.status script is free software; the Free Software Foundation
15149 gives unlimited permission to copy, distribute and modify it."
15154 cat >>$CONFIG_STATUS <<\_ACEOF
15155 # If no file are specified by the user, then we need to provide default
15156 # value. By we need to know if files were specified by the user.
15162 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15163 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15171 *) # This is not an option, so the user has probably given explicit
15174 ac_need_defaults
=false
;;
15178 # Handling of the options.
15180 cat >>$CONFIG_STATUS <<\_ACEOF
15181 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15183 --version |
--vers* |
-V )
15184 echo "$ac_cs_version"; exit 0 ;;
15186 # Conflict between --help and --header
15187 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15188 Try \`$0 --help' for more information." >&5
15189 echo "$as_me: error: ambiguous option: $1
15190 Try \`$0 --help' for more information." >&2;}
15191 { (exit 1); exit 1; }; };;
15192 --help |
--hel |
-h )
15193 echo "$ac_cs_usage"; exit 0 ;;
15194 --debug |
--d* |
-d )
15196 --file |
--fil |
--fi |
--f )
15198 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15199 ac_need_defaults
=false
;;
15200 --header |
--heade |
--head |
--hea )
15202 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15203 ac_need_defaults
=false
;;
15204 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15205 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15208 # This is an error.
15209 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15210 Try \`$0 --help' for more information." >&5
15211 echo "$as_me: error: unrecognized option: $1
15212 Try \`$0 --help' for more information." >&2;}
15213 { (exit 1); exit 1; }; } ;;
15215 *) ac_config_targets
="$ac_config_targets $1" ;;
15221 ac_configure_extra_args
=
15223 if $ac_cs_silent; then
15225 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15229 cat >>$CONFIG_STATUS <<_ACEOF
15230 if \$ac_cs_recheck; then
15231 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15232 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15237 cat >>$CONFIG_STATUS <<_ACEOF
15239 # INIT-COMMANDS section.
15242 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15245 # The HP-UX ksh and POSIX shell print the target directory to stdout
15246 # if CDPATH is set.
15247 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15249 sed_quote_subst='$sed_quote_subst'
15250 double_quote_subst='$double_quote_subst'
15251 delay_variable_subst='$delay_variable_subst'
15252 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15253 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15254 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15255 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15256 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15257 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15258 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15259 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15260 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15261 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15262 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15263 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15264 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15265 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15266 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15267 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15268 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15269 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15270 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15271 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15272 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15273 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15274 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15275 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15276 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15277 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15278 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15279 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15280 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15281 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15282 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15283 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15284 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15285 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15286 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15287 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15288 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15289 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15290 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15291 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15292 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15293 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15294 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15295 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15296 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15297 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15298 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15299 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15300 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15301 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15302 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15303 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15304 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15305 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15306 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15307 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15308 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15309 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15310 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15311 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15312 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15313 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15314 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15315 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15316 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15317 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15318 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15319 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15320 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15321 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15322 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15323 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15324 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15325 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15326 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15327 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15328 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15329 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15330 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15331 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15332 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15333 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15334 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15335 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15336 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15337 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15338 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15339 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15340 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15341 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15342 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15343 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15344 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15345 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15346 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15347 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15348 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15349 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15350 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15351 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15352 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15353 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15354 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15355 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15356 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15357 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15358 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15359 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15360 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15361 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15362 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15365 LTCFLAGS='$LTCFLAGS'
15366 compiler='$compiler_DEFAULT'
15368 # Quote evaled strings.
15379 deplibs_check_method \
15388 lt_cv_sys_global_symbol_pipe \
15389 lt_cv_sys_global_symbol_to_cdecl \
15390 lt_cv_sys_global_symbol_to_c_name_address \
15393 lt_prog_compiler_no_builtin_flag \
15394 lt_prog_compiler_wl \
15395 lt_prog_compiler_pic \
15396 lt_prog_compiler_static \
15397 lt_cv_prog_compiler_c_o \
15400 export_dynamic_flag_spec \
15401 whole_archive_flag_spec \
15402 compiler_needs_object \
15404 allow_undefined_flag \
15405 no_undefined_flag \
15406 hardcode_libdir_flag_spec \
15407 hardcode_libdir_flag_spec_ld \
15408 hardcode_libdir_separator \
15413 variables_saved_for_relink \
15415 library_names_spec \
15420 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15421 *[\\\\\\\`\\"\\\$]*)
15422 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15425 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15430 # Double-quote double-evaled strings.
15431 for var in reload_cmds \
15432 old_postinstall_cmds \
15433 old_postuninstall_cmds \
15435 extract_expsyms_cmds \
15436 old_archive_from_new_cmds \
15437 old_archive_from_expsyms_cmds \
15439 archive_expsym_cmds \
15441 module_expsym_cmds \
15442 export_symbols_cmds \
15445 postuninstall_cmds \
15447 sys_lib_search_path_spec \
15448 sys_lib_dlsearch_path_spec; do
15449 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15450 *[\\\\\\\`\\"\\\$]*)
15451 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15454 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15459 # Fix-up fallback echo if it was mangled by the above quoting rules.
15461 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15465 ac_aux_dir='$ac_aux_dir'
15466 xsi_shell='$xsi_shell'
15467 lt_shell_append='$lt_shell_append'
15469 # See if we are running on zsh, and set the options which allow our
15470 # commands through without removal of \ escapes INIT.
15471 if test -n "\${ZSH_VERSION+set}" ; then
15472 setopt NO_GLOB_SUBST
15478 TIMESTAMP='$TIMESTAMP'
15484 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15485 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
15487 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15488 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15489 LINGUAS="${LINGUAS-%UNSET%}"
15496 cat >>$CONFIG_STATUS <<\_ACEOF
15497 for ac_config_target
in $ac_config_targets
15499 case "$ac_config_target" in
15500 # Handling of arguments.
15501 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15502 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
15503 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15504 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15505 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15506 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15507 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
15508 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15509 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15510 { (exit 1); exit 1; }; };;
15514 # If the user did not use the arguments to specify the items to instantiate,
15515 # then the envvar interface is used. Set only those that are not.
15516 # We use the long form for the default assignment because of an extremely
15517 # bizarre bug on SunOS 4.1.3.
15518 if $ac_need_defaults; then
15519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15521 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15524 # Have a temporary directory for convenience. Make it in the build tree
15525 # simply because there is no reason to put it here, and in addition,
15526 # creating and moving files from /tmp can sometimes cause problems.
15527 # Create a temporary directory, and hook for its removal unless debugging.
15530 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15531 trap '{ (exit 1); exit 1; }' 1 2 13 15
15534 # Create a (secure) tmp directory for tmp files.
15537 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15538 test -n "$tmp" && test -d "$tmp"
15541 tmp
=.
/confstat$$
-$RANDOM
15542 (umask 077 && mkdir
$tmp)
15545 echo "$me: cannot create a temporary directory in ." >&2
15546 { (exit 1); exit 1; }
15551 cat >>$CONFIG_STATUS <<_ACEOF
15554 # CONFIG_FILES section.
15557 # No need to generate the scripts if there are no CONFIG_FILES.
15558 # This happens for instance when ./config.status config.h
15559 if test -n "\$CONFIG_FILES"; then
15560 # Protect against being on the right side of a sed subst in config.status.
15561 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15562 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15563 s,@SHELL@,$SHELL,;t t
15564 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15565 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15566 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15567 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15568 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15569 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15570 s,@exec_prefix@,$exec_prefix,;t t
15571 s,@prefix@,$prefix,;t t
15572 s,@program_transform_name@,$program_transform_name,;t t
15573 s,@bindir@,$bindir,;t t
15574 s,@sbindir@,$sbindir,;t t
15575 s,@libexecdir@,$libexecdir,;t t
15576 s,@datadir@,$datadir,;t t
15577 s,@sysconfdir@,$sysconfdir,;t t
15578 s,@sharedstatedir@,$sharedstatedir,;t t
15579 s,@localstatedir@,$localstatedir,;t t
15580 s,@libdir@,$libdir,;t t
15581 s,@includedir@,$includedir,;t t
15582 s,@oldincludedir@,$oldincludedir,;t t
15583 s,@infodir@,$infodir,;t t
15584 s,@mandir@,$mandir,;t t
15585 s,@build_alias@,$build_alias,;t t
15586 s,@host_alias@,$host_alias,;t t
15587 s,@target_alias@,$target_alias,;t t
15588 s,@DEFS@,$DEFS,;t t
15589 s,@ECHO_C@,$ECHO_C,;t t
15590 s,@ECHO_N@,$ECHO_N,;t t
15591 s,@ECHO_T@,$ECHO_T,;t t
15592 s,@LIBS@,$LIBS,;t t
15593 s,@build@,$build,;t t
15594 s,@build_cpu@,$build_cpu,;t t
15595 s,@build_vendor@,$build_vendor,;t t
15596 s,@build_os@,$build_os,;t t
15597 s,@host@,$host,;t t
15598 s,@host_cpu@,$host_cpu,;t t
15599 s,@host_vendor@,$host_vendor,;t t
15600 s,@host_os@,$host_os,;t t
15601 s,@target@,$target,;t t
15602 s,@target_cpu@,$target_cpu,;t t
15603 s,@target_vendor@,$target_vendor,;t t
15604 s,@target_os@,$target_os,;t t
15606 s,@CFLAGS@,$CFLAGS,;t t
15607 s,@LDFLAGS@,$LDFLAGS,;t t
15608 s,@CPPFLAGS@,$CPPFLAGS,;t t
15609 s,@ac_ct_CC@,$ac_ct_CC,;t t
15610 s,@EXEEXT@,$EXEEXT,;t t
15611 s,@OBJEXT@,$OBJEXT,;t t
15612 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15613 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15614 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15615 s,@CYGPATH_W@,$CYGPATH_W,;t t
15616 s,@PACKAGE@,$PACKAGE,;t t
15617 s,@VERSION@,$VERSION,;t t
15618 s,@ACLOCAL@,$ACLOCAL,;t t
15619 s,@AUTOCONF@,$AUTOCONF,;t t
15620 s,@AUTOMAKE@,$AUTOMAKE,;t t
15621 s,@AUTOHEADER@,$AUTOHEADER,;t t
15622 s,@MAKEINFO@,$MAKEINFO,;t t
15623 s,@install_sh@,$install_sh,;t t
15624 s,@STRIP@,$STRIP,;t t
15625 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15626 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15627 s,@mkdir_p@,$mkdir_p,;t t
15629 s,@SET_MAKE@,$SET_MAKE,;t t
15630 s,@am__leading_dot@,$am__leading_dot,;t t
15631 s,@AMTAR@,$AMTAR,;t t
15632 s,@am__tar@,$am__tar,;t t
15633 s,@am__untar@,$am__untar,;t t
15634 s,@DEPDIR@,$DEPDIR,;t t
15635 s,@am__include@,$am__include,;t t
15636 s,@am__quote@,$am__quote,;t t
15637 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15638 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15639 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15640 s,@CCDEPMODE@,$CCDEPMODE,;t t
15641 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15642 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15643 s,@LIBTOOL@,$LIBTOOL,;t t
15645 s,@EGREP@,$EGREP,;t t
15646 s,@FGREP@,$FGREP,;t t
15647 s,@GREP@,$GREP,;t t
15649 s,@DUMPBIN@,$DUMPBIN,;t t
15650 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
15652 s,@LN_S@,$LN_S,;t t
15654 s,@ac_ct_AR@,$ac_ct_AR,;t t
15655 s,@RANLIB@,$RANLIB,;t t
15656 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15657 s,@lt_ECHO@,$lt_ECHO,;t t
15659 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15660 s,@NO_WERROR@,$NO_WERROR,;t t
15661 s,@YACC@,$YACC,;t t
15663 s,@LEXLIB@,$LEXLIB,;t t
15664 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
15665 s,@USE_NLS@,$USE_NLS,;t t
15666 s,@LIBINTL@,$LIBINTL,;t t
15667 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
15668 s,@INCINTL@,$INCINTL,;t t
15669 s,@XGETTEXT@,$XGETTEXT,;t t
15670 s,@GMSGFMT@,$GMSGFMT,;t t
15671 s,@POSUB@,$POSUB,;t t
15672 s,@CATALOGS@,$CATALOGS,;t t
15673 s,@DATADIRNAME@,$DATADIRNAME,;t t
15674 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15675 s,@GENCAT@,$GENCAT,;t t
15676 s,@CATOBJEXT@,$CATOBJEXT,;t t
15677 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15678 s,@MSGFMT@,$MSGFMT,;t t
15679 s,@MSGMERGE@,$MSGMERGE,;t t
15680 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15681 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15682 s,@MAINT@,$MAINT,;t t
15683 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
15684 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
15685 s,@HDEFINES@,$HDEFINES,;t t
15686 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15687 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15688 s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
15689 s,@ALLOCA@,$ALLOCA,;t t
15690 s,@LIBICONV@,$LIBICONV,;t t
15691 s,@LTLIBICONV@,$LTLIBICONV,;t t
15692 s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
15693 s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
15694 s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
15695 s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
15696 s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
15697 s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
15698 s,@BUILD_WINDMC@,$BUILD_WINDMC,;t t
15699 s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
15700 s,@BUILD_MISC@,$BUILD_MISC,;t t
15701 s,@BUILD_INSTALL_MISC@,$BUILD_INSTALL_MISC,;t t
15702 s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
15703 s,@EMULATION@,$EMULATION,;t t
15704 s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
15705 s,@datarootdir@,$datarootdir,;t t
15706 s,@docdir@,$docdir,;t t
15707 s,@htmldir@,$htmldir,;t t
15708 s,@LIBOBJS@,$LIBOBJS,;t t
15709 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15714 cat >>$CONFIG_STATUS <<\_ACEOF
15715 # Split the substitutions into bite-sized pieces for seds with
15716 # small command number limits, like on Digital OSF/1 and HP-UX.
15717 ac_max_sed_lines
=48
15718 ac_sed_frag
=1 # Number of current file.
15719 ac_beg
=1 # First line for current file.
15720 ac_end
=$ac_max_sed_lines # Line after last line for current file.
15723 while $ac_more_lines; do
15724 if test $ac_beg -gt 1; then
15725 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15727 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15729 if test ! -s $tmp/subs.frag
; then
15730 ac_more_lines
=false
15732 # The purpose of the label and of the branching condition is to
15733 # speed up the sed processing (if there are no `@' at all, there
15734 # is no need to browse any of the substitutions).
15735 # These are the two extra sed commands mentioned above.
15737 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
15738 if test -z "$ac_sed_cmds"; then
15739 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
15741 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15743 ac_sed_frag
=`expr $ac_sed_frag + 1`
15745 ac_end
=`expr $ac_end + $ac_max_sed_lines`
15748 if test -z "$ac_sed_cmds"; then
15751 fi # test -n "$CONFIG_FILES"
15754 cat >>$CONFIG_STATUS <<\_ACEOF
15755 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
15756 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15758 - |
*:- |
*:-:* ) # input from stdin
15760 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15761 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15762 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15763 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15764 * ) ac_file_in
=$ac_file.
in ;;
15767 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15768 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15770 X"$ac_file" : 'X\(//\)[^/]' \| \
15771 X"$ac_file" : 'X\(//\)$' \| \
15772 X"$ac_file" : 'X\(/\)' \| \
15773 . : '\(.\)' 2>/dev/null ||
15775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15776 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15777 /^X\(\/\/\)$/{ s//\1/; q; }
15778 /^X\(\/\).*/{ s//\1/; q; }
15780 { if $as_mkdir_p; then
15785 while test ! -d "$as_dir"; do
15786 as_dirs
="$as_dir $as_dirs"
15787 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15788 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15789 X"$as_dir" : 'X\(//\)[^/]' \| \
15790 X"$as_dir" : 'X\(//\)$' \| \
15791 X"$as_dir" : 'X\(/\)' \| \
15792 . : '\(.\)' 2>/dev/null ||
15794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15795 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15796 /^X\(\/\/\)$/{ s//\1/; q; }
15797 /^X\(\/\).*/{ s//\1/; q; }
15800 test ! -n "$as_dirs" || mkdir
$as_dirs
15801 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15802 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15803 { (exit 1); exit 1; }; }; }
15807 if test "$ac_dir" != .
; then
15808 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15809 # A "../" for each directory in $ac_dir_suffix.
15810 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15812 ac_dir_suffix
= ac_top_builddir
=
15816 .
) # No --srcdir option. We are building in place.
15818 if test -z "$ac_top_builddir"; then
15821 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15823 [\\/]* | ?
:[\\/]* ) # Absolute path.
15824 ac_srcdir
=$srcdir$ac_dir_suffix;
15825 ac_top_srcdir
=$srcdir ;;
15826 *) # Relative path.
15827 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15828 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15831 # Do not use `cd foo && pwd` to compute absolute paths, because
15832 # the directories may not exist.
15834 .
) ac_abs_builddir
="$ac_dir";;
15837 .
) ac_abs_builddir
=`pwd`;;
15838 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15839 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15842 case $ac_abs_builddir in
15843 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15845 case ${ac_top_builddir}.
in
15846 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15847 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15848 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15851 case $ac_abs_builddir in
15852 .
) ac_abs_srcdir
=$ac_srcdir;;
15855 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15856 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15857 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15860 case $ac_abs_builddir in
15861 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15863 case $ac_top_srcdir in
15864 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15865 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15866 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15872 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15873 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
15876 if test x
"$ac_file" != x-
; then
15877 { echo "$as_me:$LINENO: creating $ac_file" >&5
15878 echo "$as_me: creating $ac_file" >&6;}
15881 # Let's still pretend it is `configure' which instantiates (i.e., don't
15882 # use $as_me), people would be surprised to read:
15883 # /* config.h. Generated by config.status. */
15884 if test x
"$ac_file" = x-
; then
15887 configure_input
="$ac_file. "
15889 configure_input
=$configure_input"Generated from `echo $ac_file_in |
15890 sed 's,.*/,,'` by configure."
15892 # First look for the input files in the build tree, otherwise in the
15894 ac_file_inputs
=`IFS=:
15895 for f in $ac_file_in; do
15897 -) echo $tmp/stdin ;;
15899 # Absolute (can't be DOS-style, as IFS=:)
15900 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15901 echo "$as_me: error: cannot find input file: $f" >&2;}
15902 { (exit 1); exit 1; }; }
15905 if test -f "$f"; then
15908 elif test -f "$srcdir/$f"; then
15913 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15914 echo "$as_me: error: cannot find input file: $f" >&2;}
15915 { (exit 1); exit 1; }; }
15918 done` ||
{ (exit 1); exit 1; }
15920 cat >>$CONFIG_STATUS <<_ACEOF
15924 cat >>$CONFIG_STATUS <<\_ACEOF
15926 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15927 s
,@configure_input@
,$configure_input,;t t
15928 s
,@srcdir@
,$ac_srcdir,;t t
15929 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
15930 s
,@top_srcdir@
,$ac_top_srcdir,;t t
15931 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
15932 s
,@builddir@
,$ac_builddir,;t t
15933 s
,@abs_builddir@
,$ac_abs_builddir,;t t
15934 s
,@top_builddir@
,$ac_top_builddir,;t t
15935 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
15936 s
,@INSTALL@
,$ac_INSTALL,;t t
15937 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15939 if test x"$ac_file" != x-; then
15940 mv $tmp/out $ac_file
15948 cat >>$CONFIG_STATUS <<\_ACEOF
15951 # CONFIG_HEADER section.
15954 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15955 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15957 # ac_d sets the value in "#define NAME VALUE" lines.
15958 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15959 ac_dB
='[ ].*$,\1#\2'
15962 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15963 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15964 ac_uB
='$,\1#\2define\3'
15968 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15969 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15971 - |
*:- |
*:-:* ) # input from stdin
15973 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15974 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15975 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15976 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15977 * ) ac_file_in
=$ac_file.
in ;;
15980 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15981 echo "$as_me: creating $ac_file" >&6;}
15983 # First look for the input files in the build tree, otherwise in the
15985 ac_file_inputs
=`IFS=:
15986 for f in $ac_file_in; do
15988 -) echo $tmp/stdin ;;
15990 # Absolute (can't be DOS-style, as IFS=:)
15991 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15992 echo "$as_me: error: cannot find input file: $f" >&2;}
15993 { (exit 1); exit 1; }; }
15994 # Do quote $f, to prevent DOS paths from being IFS'd.
15997 if test -f "$f"; then
16000 elif test -f "$srcdir/$f"; then
16005 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16006 echo "$as_me: error: cannot find input file: $f" >&2;}
16007 { (exit 1); exit 1; }; }
16010 done` ||
{ (exit 1); exit 1; }
16011 # Remove the trailing spaces.
16012 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16016 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16017 # `conftest.undefs', that substitutes the proper values into
16018 # config.h.in to produce config.h. The first handles `#define'
16019 # templates, and the second `#undef' templates.
16020 # And first: Protect against being on the right side of a sed subst in
16021 # config.status. Protect against being in an unquoted here document
16022 # in config.status.
16023 rm -f conftest.defines conftest.undefs
16024 # Using a here document instead of a string reduces the quoting nightmare.
16025 # Putting comments in sed scripts is not portable.
16027 # `end' is used to avoid that the second main sed command (meant for
16028 # 0-ary CPP macros) applies to n-ary macro definitions.
16029 # See the Autoconf documentation for `clear'.
16030 cat >confdef2sed.
sed <<\_ACEOF
16035 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16037 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16040 # If some macros were called several times there might be several times
16041 # the same #defines, which is useless. Nevertheless, we may not want to
16042 # sort them, since we want the *last* AC-DEFINE to be honored.
16043 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16044 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16045 rm -f confdef2sed.sed
16047 # This sed command replaces #undef with comments. This is necessary, for
16048 # example, in the case of _POSIX_SOURCE, which is predefined and required
16049 # on some systems where configure will not decide to define it.
16050 cat >>conftest.undefs <<\_ACEOF
16051 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16054 # Break up conftest.defines because some shells have a limit on the size
16055 # of here documents, and old seds have small limits too (100 cmds).
16056 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16057 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16058 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16059 echo ' :' >>$CONFIG_STATUS
16060 rm -f conftest.tail
16061 while grep . conftest.defines >/dev/null
16063 # Write a limited-size here document to $tmp/defines.sed.
16064 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16065 # Speed up: don't consider the non `#define' lines.
16066 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16067 # Work around the forget-to-reset-the-flag bug.
16068 echo 't clr' >>$CONFIG_STATUS
16069 echo ': clr' >>$CONFIG_STATUS
16070 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
16072 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16074 mv $tmp/out $tmp/in
16076 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
16077 rm -f conftest.defines
16078 mv conftest.
tail conftest.defines
16080 rm -f conftest.defines
16081 echo ' fi # grep' >>$CONFIG_STATUS
16082 echo >>$CONFIG_STATUS
16084 # Break up conftest.undefs because some shells have a limit on the size
16085 # of here documents, and old seds have small limits too (100 cmds).
16086 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16087 rm -f conftest.
tail
16088 while grep . conftest.undefs
>/dev
/null
16090 # Write a limited-size here document to $tmp/undefs.sed.
16091 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16092 # Speed up: don't consider the non
`#undef'
16093 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16094 # Work around the forget-to-reset-the-flag bug.
16095 echo 't clr' >>$CONFIG_STATUS
16096 echo ': clr' >>$CONFIG_STATUS
16097 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16099 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16101 mv $tmp/out $tmp/in
16103 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16104 rm -f conftest.undefs
16105 mv conftest.tail conftest.undefs
16107 rm -f conftest.undefs
16109 cat >>$CONFIG_STATUS <<\_ACEOF
16110 # Let's still pretend it is `configure
' which instantiates (i.e., don't
16111 # use $as_me), people would be surprised to read:
16112 # /* config.h. Generated by config.status. */
16113 if test x
"$ac_file" = x-
; then
16114 echo "/* Generated by configure. */" >$tmp/config.h
16116 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16118 cat $tmp/in >>$tmp/config.h
16120 if test x
"$ac_file" != x-
; then
16121 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
16122 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16123 echo "$as_me: $ac_file is unchanged" >&6;}
16125 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16126 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16127 X"$ac_file" : 'X\(//\)[^/]' \| \
16128 X"$ac_file" : 'X\(//\)$' \| \
16129 X"$ac_file" : 'X\(/\)' \| \
16130 . : '\(.\)' 2>/dev/null ||
16132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16134 /^X\(\/\/\)$/{ s//\1/; q; }
16135 /^X\(\/\).*/{ s//\1/; q; }
16137 { if $as_mkdir_p; then
16142 while test ! -d "$as_dir"; do
16143 as_dirs
="$as_dir $as_dirs"
16144 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16145 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16146 X"$as_dir" : 'X\(//\)[^/]' \| \
16147 X"$as_dir" : 'X\(//\)$' \| \
16148 X"$as_dir" : 'X\(/\)' \| \
16149 . : '\(.\)' 2>/dev/null ||
16151 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16152 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16153 /^X\(\/\/\)$/{ s//\1/; q; }
16154 /^X\(\/\).*/{ s//\1/; q; }
16157 test ! -n "$as_dirs" || mkdir
$as_dirs
16158 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16159 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16160 { (exit 1); exit 1; }; }; }
16163 mv $tmp/config.h
$ac_file
16167 rm -f $tmp/config.h
16169 # Compute $ac_file's index in $config_headers.
16171 for _am_header
in $config_headers :; do
16172 case $_am_header in
16173 $ac_file |
$ac_file:* )
16176 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16179 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
16180 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16181 X$ac_file : 'X\(//\)[^/]' \| \
16182 X$ac_file : 'X\(//\)$' \| \
16183 X$ac_file : 'X\(/\)' \| \
16184 . : '\(.\)' 2>/dev/null ||
16186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16187 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16188 /^X\(\/\/\)$/{ s//\1/; q; }
16189 /^X\(\/\).*/{ s//\1/; q; }
16190 s/.*/./; q'`/stamp-h
$_am_stamp_count
16193 cat >>$CONFIG_STATUS <<\_ACEOF
16196 # CONFIG_COMMANDS section.
16198 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
16199 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
16200 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16201 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
16202 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16203 X"$ac_dest" : 'X\(//\)[^/]' \| \
16204 X"$ac_dest" : 'X\(//\)$' \| \
16205 X"$ac_dest" : 'X\(/\)' \| \
16206 . : '\(.\)' 2>/dev/null ||
16208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16209 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16210 /^X\(\/\/\)$/{ s//\1/; q; }
16211 /^X\(\/\).*/{ s//\1/; q; }
16213 { if $as_mkdir_p; then
16218 while test ! -d "$as_dir"; do
16219 as_dirs
="$as_dir $as_dirs"
16220 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16221 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16222 X"$as_dir" : 'X\(//\)[^/]' \| \
16223 X"$as_dir" : 'X\(//\)$' \| \
16224 X"$as_dir" : 'X\(/\)' \| \
16225 . : '\(.\)' 2>/dev/null ||
16227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16228 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16229 /^X\(\/\/\)$/{ s//\1/; q; }
16230 /^X\(\/\).*/{ s//\1/; q; }
16233 test ! -n "$as_dirs" || mkdir
$as_dirs
16234 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16235 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16236 { (exit 1); exit 1; }; }; }
16240 if test "$ac_dir" != .
; then
16241 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16242 # A "../" for each directory in $ac_dir_suffix.
16243 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16245 ac_dir_suffix
= ac_top_builddir
=
16249 .
) # No --srcdir option. We are building in place.
16251 if test -z "$ac_top_builddir"; then
16254 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16256 [\\/]* | ?
:[\\/]* ) # Absolute path.
16257 ac_srcdir
=$srcdir$ac_dir_suffix;
16258 ac_top_srcdir
=$srcdir ;;
16259 *) # Relative path.
16260 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16261 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16264 # Do not use `cd foo && pwd` to compute absolute paths, because
16265 # the directories may not exist.
16267 .
) ac_abs_builddir
="$ac_dir";;
16270 .
) ac_abs_builddir
=`pwd`;;
16271 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16272 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16275 case $ac_abs_builddir in
16276 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16278 case ${ac_top_builddir}.
in
16279 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16280 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16281 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16284 case $ac_abs_builddir in
16285 .
) ac_abs_srcdir
=$ac_srcdir;;
16288 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16289 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16290 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16293 case $ac_abs_builddir in
16294 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16296 case $ac_top_srcdir in
16297 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16298 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16299 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16304 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16305 echo "$as_me: executing $ac_dest commands" >&6;}
16307 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
16308 # Strip MF so we end up with the name of the file.
16309 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16310 # Check whether this is an Automake generated Makefile or not.
16311 # We used to match only the files named `Makefile.in', but
16312 # some people rename them; so instead we look at the file content.
16313 # Grep'ing the first line is not enough: some people post-process
16314 # each Makefile.in and add a new line on top of each file to say so.
16315 # So let's grep whole file.
16316 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
16317 dirpart
=`(dirname "$mf") 2>/dev/null ||
16318 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16319 X"$mf" : 'X\(//\)[^/]' \| \
16320 X"$mf" : 'X\(//\)$' \| \
16321 X"$mf" : 'X\(/\)' \| \
16322 . : '\(.\)' 2>/dev/null ||
16324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16325 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16326 /^X\(\/\/\)$/{ s//\1/; q; }
16327 /^X\(\/\).*/{ s//\1/; q; }
16332 # Extract the definition of DEPDIR, am__include, and am__quote
16333 # from the Makefile without running `make'.
16334 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16335 test -z "$DEPDIR" && continue
16336 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16337 test -z "am__include" && continue
16338 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16339 # When using ansi2knr, U may be empty or an underscore; expand it
16340 U
=`sed -n 's/^U = //p' < "$mf"`
16341 # Find all dependency output files, they are included files with
16342 # $(DEPDIR) in their names. We invoke sed twice because it is the
16343 # simplest approach to changing $(DEPDIR) to its actual value in the
16345 for file in `sed -n "
16346 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16347 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16348 # Make sure the directory exists.
16349 test -f "$dirpart/$file" && continue
16350 fdir
=`(dirname "$file") 2>/dev/null ||
16351 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16352 X"$file" : 'X\(//\)[^/]' \| \
16353 X"$file" : 'X\(//\)$' \| \
16354 X"$file" : 'X\(/\)' \| \
16355 . : '\(.\)' 2>/dev/null ||
16357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16358 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16359 /^X\(\/\/\)$/{ s//\1/; q; }
16360 /^X\(\/\).*/{ s//\1/; q; }
16362 { if $as_mkdir_p; then
16363 mkdir
-p $dirpart/$fdir
16365 as_dir
=$dirpart/$fdir
16367 while test ! -d "$as_dir"; do
16368 as_dirs
="$as_dir $as_dirs"
16369 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16370 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16371 X"$as_dir" : 'X\(//\)[^/]' \| \
16372 X"$as_dir" : 'X\(//\)$' \| \
16373 X"$as_dir" : 'X\(/\)' \| \
16374 . : '\(.\)' 2>/dev/null ||
16376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16377 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16378 /^X\(\/\/\)$/{ s//\1/; q; }
16379 /^X\(\/\).*/{ s//\1/; q; }
16382 test ! -n "$as_dirs" || mkdir
$as_dirs
16383 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16384 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16385 { (exit 1); exit 1; }; }; }
16387 # echo "creating $dirpart/$file"
16388 echo '# dummy' > "$dirpart/$file"
16394 # See if we are running on zsh, and set the options which allow our
16395 # commands through without removal of \ escapes.
16396 if test -n "${ZSH_VERSION+set}" ; then
16397 setopt NO_GLOB_SUBST
16400 cfgfile
="${ofile}T"
16401 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16404 cat <<_LT_EOF >> "$cfgfile"
16407 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16408 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
16409 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16410 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16412 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16413 # 2006, 2007 Free Software Foundation, Inc.
16415 # This file is part of GNU Libtool:
16416 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
16418 # This program is free software; you can redistribute it and/or modify
16419 # it under the terms of the GNU General Public License as published by
16420 # the Free Software Foundation; either version 2 of the License, or
16421 # (at your option) any later version.
16423 # This program is distributed in the hope that it will be useful, but
16424 # WITHOUT ANY WARRANTY; without even the implied warranty of
16425 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16426 # General Public License for more details.
16428 # You should have received a copy of the GNU General Public License
16429 # along with this program; if not, a copy can be downloaded from
16430 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
16431 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16432 # MA 02110-1301, USA.
16434 # As a special exception to the GNU General Public License, if you
16435 # distribute this file as part of a program that contains a
16436 # configuration script generated by Autoconf, you may include it under
16437 # the same distribution terms that you use for the rest of that program.
16440 # The names of the tagged configurations supported by this script.
16443 # ### BEGIN LIBTOOL CONFIG
16445 # Which release of libtool.m4 was used?
16446 macro_version=$macro_version
16447 macro_revision=$macro_revision
16449 # Whether or not to build shared libraries.
16450 build_libtool_libs=$enable_shared
16452 # Whether or not to build static libraries.
16453 build_old_libs=$enable_static
16455 # What type of objects to build.
16458 # Whether or not to optimize for fast installation.
16459 fast_install=$enable_fast_install
16462 host_alias=$host_alias
16466 # The build system.
16467 build_alias=$build_alias
16471 # A sed program that does not truncate output.
16474 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16475 Xsed="\$SED -e 1s/^X//"
16477 # A grep program that handles long lines.
16483 # A literal string matcher.
16486 # A BSD- or MS-compatible name lister.
16489 # Whether we need soft or hard links.
16492 # What is the maximum length of a command?
16493 max_cmd_len=$max_cmd_len
16495 # Object file suffix (normally "o").
16498 # Executable file suffix (normally "").
16501 # whether the shell understands "unset".
16504 # turn spaces into newlines.
16507 # turn newlines into spaces.
16510 # How to create reloadable object files.
16511 reload_flag=$lt_reload_flag
16512 reload_cmds=$lt_reload_cmds
16514 # Method to check whether dependent libraries are shared objects.
16515 deplibs_check_method=$lt_deplibs_check_method
16517 # Command to use when deplibs_check_method == "file_magic".
16518 file_magic_cmd=$lt_file_magic_cmd
16522 AR_FLAGS=$lt_AR_FLAGS
16524 # A symbol stripping program.
16527 # Commands used to install an old-style archive.
16529 old_postinstall_cmds=$lt_old_postinstall_cmds
16530 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16535 # LTCC compiler flags.
16536 LTCFLAGS=$lt_CFLAGS
16538 # Take the output of nm and produce a listing of raw symbols and C names.
16539 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16541 # Transform the output of nm in a proper C declaration.
16542 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16544 # Transform the output of nm in a C name address pair.
16545 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16547 # The name of the directory that contains temporary libtool files.
16550 # Shell to use when invoking shell scripts.
16553 # An echo program that does not interpret backslashes.
16556 # Used to examine libraries when file_magic_cmd begins with "file".
16557 MAGIC_CMD=$MAGIC_CMD
16559 # Must we lock files when doing compilation?
16560 need_locks=$lt_need_locks
16562 # Old archive suffix (normally "a").
16565 # Shared library suffix (normally ".so").
16566 shrext_cmds=$lt_shrext_cmds
16568 # The commands to extract the exported symbol list from a shared archive.
16569 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16571 # Variables whose values should be saved in libtool wrapper scripts and
16572 # restored at link time.
16573 variables_saved_for_relink=$lt_variables_saved_for_relink
16575 # Do we need the "lib" prefix for modules?
16576 need_lib_prefix=$need_lib_prefix
16578 # Do we need a version for libraries?
16579 need_version=$need_version
16581 # Library versioning type.
16582 version_type=$version_type
16584 # Shared library runtime path variable.
16585 runpath_var=$runpath_var
16587 # Shared library path variable.
16588 shlibpath_var=$shlibpath_var
16590 # Is shlibpath searched before the hard-coded library search path?
16591 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16593 # Format of library name prefix.
16594 libname_spec=$lt_libname_spec
16596 # List of archive names. First name is the real one, the rest are links.
16597 # The last name is the one that the linker finds with -lNAME
16598 library_names_spec=$lt_library_names_spec
16600 # The coded name of the library, if different from the real name.
16601 soname_spec=$lt_soname_spec
16603 # Command to use after installation of a shared archive.
16604 postinstall_cmds=$lt_postinstall_cmds
16606 # Command to use after uninstallation of a shared archive.
16607 postuninstall_cmds=$lt_postuninstall_cmds
16609 # Commands used to finish a libtool library installation in a directory.
16610 finish_cmds=$lt_finish_cmds
16612 # As "finish_cmds", except a single script fragment to be evaled but
16614 finish_eval=$lt_finish_eval
16616 # Whether we should hardcode library paths into libraries.
16617 hardcode_into_libs=$hardcode_into_libs
16619 # Compile-time system search path for libraries.
16620 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16622 # Run-time system search path for libraries.
16623 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16625 # Whether dlopen is supported.
16626 dlopen_support=$enable_dlopen
16628 # Whether dlopen of programs is supported.
16629 dlopen_self=$enable_dlopen_self
16631 # Whether dlopen of statically linked programs is supported.
16632 dlopen_self_static=$enable_dlopen_self_static
16634 # Commands to strip libraries.
16635 old_striplib=$lt_old_striplib
16636 striplib=$lt_striplib
16639 # The linker used to build libraries.
16642 # Commands used to build an old-style archive.
16643 old_archive_cmds=$lt_old_archive_cmds
16645 # A language specific compiler.
16648 # Is the compiler the GNU compiler?
16651 # Compiler flag to turn off builtin functions.
16652 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16654 # How to pass a linker flag through the compiler.
16655 wl=$lt_lt_prog_compiler_wl
16657 # Additional compiler flags for building library objects.
16658 pic_flag=$lt_lt_prog_compiler_pic
16660 # Compiler flag to prevent dynamic linking.
16661 link_static_flag=$lt_lt_prog_compiler_static
16663 # Does compiler simultaneously support -c and -o options?
16664 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16666 # Whether or not to add -lc for building shared libraries.
16667 build_libtool_need_lc=$archive_cmds_need_lc
16669 # Whether or not to disallow shared libs when runtime libs are static.
16670 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16672 # Compiler flag to allow reflexive dlopens.
16673 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16675 # Compiler flag to generate shared objects directly from archives.
16676 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16678 # Whether the compiler copes with passing no objects directly.
16679 compiler_needs_object=$lt_compiler_needs_object
16681 # Create an old-style archive from a shared archive.
16682 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16684 # Create a temporary old-style archive to link instead of a shared archive.
16685 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16687 # Commands used to build a shared archive.
16688 archive_cmds=$lt_archive_cmds
16689 archive_expsym_cmds=$lt_archive_expsym_cmds
16691 # Commands used to build a loadable module if different from building
16692 # a shared archive.
16693 module_cmds=$lt_module_cmds
16694 module_expsym_cmds=$lt_module_expsym_cmds
16696 # Whether we are building with GNU ld or not.
16697 with_gnu_ld=$lt_with_gnu_ld
16699 # Flag that allows shared libraries with undefined symbols to be built.
16700 allow_undefined_flag=$lt_allow_undefined_flag
16702 # Flag that enforces no undefined symbols.
16703 no_undefined_flag=$lt_no_undefined_flag
16705 # Flag to hardcode \$libdir into a binary during linking.
16706 # This must work even if \$libdir does not exist
16707 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16709 # If ld is used when linking, flag to hardcode \$libdir into a binary
16710 # during linking. This must work even if \$libdir does not exist.
16711 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16713 # Whether we need a single "-rpath" flag with a separated argument.
16714 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16716 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16717 # DIR into the resulting binary.
16718 hardcode_direct=$hardcode_direct
16720 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16721 # DIR into the resulting binary and the resulting library dependency is
16722 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16723 # library is relocated.
16724 hardcode_direct_absolute=$hardcode_direct_absolute
16726 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16727 # into the resulting binary.
16728 hardcode_minus_L=$hardcode_minus_L
16730 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16731 # into the resulting binary.
16732 hardcode_shlibpath_var=$hardcode_shlibpath_var
16734 # Set to "yes" if building a shared library automatically hardcodes DIR
16735 # into the library and all subsequent libraries and executables linked
16737 hardcode_automatic=$hardcode_automatic
16739 # Set to yes if linker adds runtime paths of dependent libraries
16740 # to runtime path list.
16741 inherit_rpath=$inherit_rpath
16743 # Whether libtool must link a program against all its dependency libraries.
16744 link_all_deplibs=$link_all_deplibs
16746 # Fix the shell variable \$srcfile for the compiler.
16747 fix_srcfile_path=$lt_fix_srcfile_path
16749 # Set to "yes" if exported symbols are required.
16750 always_export_symbols=$always_export_symbols
16752 # The commands to list exported symbols.
16753 export_symbols_cmds=$lt_export_symbols_cmds
16755 # Symbols that should not be listed in the preloaded symbols.
16756 exclude_expsyms=$lt_exclude_expsyms
16758 # Symbols that must always be exported.
16759 include_expsyms=$lt_include_expsyms
16761 # Commands necessary for linking programs (against libraries) with templates.
16762 prelink_cmds=$lt_prelink_cmds
16764 # Specify filename containing input files.
16765 file_list_spec=$lt_file_list_spec
16767 # How to hardcode a shared library path into an executable.
16768 hardcode_action=$hardcode_action
16770 # ### END LIBTOOL CONFIG
16776 cat <<\_LT_EOF
>> "$cfgfile"
16777 # AIX sometimes has problems with the GCC collect2 program. For some
16778 # reason, if we set the COLLECT_NAMES environment variable, the problems
16779 # vanish in a puff of smoke.
16780 if test "X${COLLECT_NAMES+set}" != Xset
; then
16782 export COLLECT_NAMES
16789 ltmain
="$ac_aux_dir/ltmain.sh"
16792 # We use sed instead of cat because bash on DJGPP gets confused if
16793 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16794 # text mode, it properly converts lines to CR/LF. This bash problem
16795 # is reportedly fixed, but why not run on old versions too?
16796 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16797 ||
(rm -f "$cfgfile"; exit 1)
16801 cat << \_LT_EOF
>> "$cfgfile"
16802 # func_dirname file append nondir_replacement
16803 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16804 # otherwise set result to NONDIR_REPLACEMENT.
16808 */*) func_dirname_result
="${1%/*}${2}" ;;
16809 * ) func_dirname_result
="${3}" ;;
16813 # func_basename file
16816 func_basename_result
="${1##*/}"
16819 # func_stripname prefix suffix name
16820 # strip PREFIX and SUFFIX off of NAME.
16821 # PREFIX and SUFFIX must not contain globbing or regex special
16822 # characters, hashes, percent signs, but SUFFIX may contain a leading
16823 # dot (in which case that matches only a dot).
16826 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16827 # positional parameters, so assign one to ordinary parameter first.
16828 func_stripname_result
=${3}
16829 func_stripname_result
=${func_stripname_result#"${1}"}
16830 func_stripname_result
=${func_stripname_result%"${2}"}
16836 func_opt_split_opt
=${1%%=*}
16837 func_opt_split_arg
=${1#*=}
16844 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16845 *) func_lo2o_result
=${1} ;;
16850 *) # Bourne compatible functions.
16851 cat << \_LT_EOF
>> "$cfgfile"
16852 # func_dirname file append nondir_replacement
16853 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16854 # otherwise set result to NONDIR_REPLACEMENT.
16857 # Extract subdirectory from the argument.
16858 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16859 if test "X$func_dirname_result" = "X${1}"; then
16860 func_dirname_result
="${3}"
16862 func_dirname_result
="$func_dirname_result${2}"
16866 # func_basename file
16869 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
16872 # func_stripname prefix suffix name
16873 # strip PREFIX and SUFFIX off of NAME.
16874 # PREFIX and SUFFIX must not contain globbing or regex special
16875 # characters, hashes, percent signs, but SUFFIX may contain a leading
16876 # dot (in which case that matches only a dot).
16877 # func_strip_suffix prefix name
16881 .
*) func_stripname_result
=`$ECHO "X${3}" \
16882 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16883 *) func_stripname_result
=`$ECHO "X${3}" \
16884 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16889 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16890 my_sed_long_arg
='1s/^-[^=]*=//'
16895 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16896 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16902 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16907 case $lt_shell_append in
16909 cat << \_LT_EOF
>> "$cfgfile"
16911 # func_append var value
16912 # Append VALUE to the end of shell variable VAR.
16920 cat << \_LT_EOF
>> "$cfgfile"
16922 # func_append var value
16923 # Append VALUE to the end of shell variable VAR.
16933 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16934 ||
(rm -f "$cfgfile"; exit 1)
16936 mv -f "$cfgfile" "$ofile" ||
16937 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16942 for ac_file
in $CONFIG_FILES; do
16943 # Support "outfile[:infile[:infile...]]"
16945 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16947 # PO directories have a Makefile.in generated from Makefile.in.in.
16948 case "$ac_file" in */Makefile.
in)
16949 # Adjust a relative srcdir.
16950 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16951 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
16952 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16953 # In autoconf-2.13 it is called $ac_given_srcdir.
16954 # In autoconf-2.50 it is called $srcdir.
16955 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16956 case "$ac_given_srcdir" in
16957 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16958 /*) top_srcdir
="$ac_given_srcdir" ;;
16959 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16961 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16962 rm -f "$ac_dir/POTFILES"
16963 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16964 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16965 POMAKEFILEDEPS
="POTFILES.in"
16966 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16967 # on $ac_dir but don't depend on user-specified configuration
16969 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16970 # The LINGUAS file contains the set of available languages.
16971 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16972 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16974 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16975 # Hide the ALL_LINGUAS assigment from automake.
16976 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16977 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16979 # The set of available languages was given in configure.in.
16980 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16982 case "$ac_given_srcdir" in
16984 *) srcdirpre
='$(srcdir)/' ;;
16990 for lang
in $ALL_LINGUAS; do
16991 POFILES
="$POFILES $srcdirpre$lang.po"
16992 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16993 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16994 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16996 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16997 # environment variable.
16999 if test -n "$ALL_LINGUAS"; then
17000 for presentlang
in $ALL_LINGUAS; do
17002 if test "%UNSET%" != "$LINGUAS"; then
17003 desiredlanguages
="$LINGUAS"
17005 desiredlanguages
="$ALL_LINGUAS"
17007 for desiredlang
in $desiredlanguages; do
17008 # Use the presentlang catalog if desiredlang is
17009 # a. equal to presentlang, or
17010 # b. a variant of presentlang (because in this case,
17011 # presentlang can be used as a fallback for messages
17012 # which are not translated in the desiredlang catalog).
17013 case "$desiredlang" in
17014 "$presentlang"*) useit
=yes;;
17017 if test $useit = yes; then
17018 INST_LINGUAS
="$INST_LINGUAS $presentlang"
17023 if test -n "$INST_LINGUAS"; then
17024 for lang
in $INST_LINGUAS; do
17025 CATALOGS
="$CATALOGS $lang.gmo"
17028 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
17029 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
17030 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
17031 if test -f "$f"; then
17033 *.orig |
*.bak |
*~
) ;;
17034 *) cat "$f" >> "$ac_dir/Makefile" ;;
17046 cat >>$CONFIG_STATUS <<\_ACEOF
17048 { (exit 0); exit 0; }
17050 chmod +x
$CONFIG_STATUS
17051 ac_clean_files
=$ac_clean_files_save
17054 # configure is writing to config.log, and then calls config.status.
17055 # config.status does its own redirection, appending to config.log.
17056 # Unfortunately, on DOS this fails, as config.log is still kept open
17057 # by configure, so config.status won't be able to write to it; its
17058 # output is simply discarded. So we exec the FD to /dev/null,
17059 # effectively closing config.log, so it can be properly (re)opened and
17060 # appended to by config.status. When coming back to configure, we
17061 # need to make the FD available again.
17062 if test "$no_create" != yes; then
17064 ac_config_status_args
=
17065 test "$silent" = yes &&
17066 ac_config_status_args
="$ac_config_status_args --quiet"
17068 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17070 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17071 # would make configure fail if this is the last instruction.
17072 $ac_cs_success ||
{ (exit 1); exit 1; }