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 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="gprof.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 LN_S RANLIB ac_ct_RANLIB LIBTOOL CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT WARN_CFLAGS NO_WERROR LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default
=yes
856 --enable-static=PKGS build static libraries default
=yes
857 --enable-fast-install=PKGS optimize
for fast installation default
=yes
858 --disable-libtool-lock avoid locking
(might
break parallel builds
)
859 --disable-nls do not use Native Language Support
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing
) to the casual installer
862 --enable-werror treat compile warnings as errors
863 --enable-build-warnings Enable build-time compiler warnings
866 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
867 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
868 --with-gnu-ld assume the C compiler uses GNU ld default
=no
869 --with-pic try to use only PIC
/non-PIC objects default
=use both
870 --with-included-gettext use the GNU
gettext library included here
872 Some influential environment variables
:
873 CC C compiler
command
874 CFLAGS C compiler flags
875 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
876 nonstandard directory
<lib dir
>
877 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
878 headers
in a nonstandard directory
<include dir
>
881 Use these variables to override the choices made by
`configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
894 if test "$ac_dir" != .; then
895 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
899 ac_dir_suffix= ac_top_builddir=
903 .) # No --srcdir option. We are building in place.
905 if test -z "$ac_top_builddir"; then
908 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
918 # Do not use `cd foo
&& pwd` to compute absolute paths, because
919 # the directories may not exist.
921 .) ac_abs_builddir="$ac_dir";;
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 case ${ac_top_builddir}. in
933 .) ac_abs_top_builddir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .) ac_abs_top_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
980 Copyright (C) 2003 Free Software Foundation, Inc.
981 This configure script is free software; the Free Software Foundation
982 gives unlimited permission to copy, distribute and modify it.
988 This file contains any messages produced by compilers while
989 running configure, to aid debugging if configure makes a mistake.
991 It was created by $as_me, which was
992 generated by GNU Autoconf 2.59. Invocation command line was
1003 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1004 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1005 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1006 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1007 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1010 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1012 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1014 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1015 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1016 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1018 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 test -z "$as_dir" && as_dir=.
1027 echo "PATH: $as_dir"
1042 # Keep a trace of the command line.
1043 # Strip out --no-create and --no-recursion so they do not pile up.
1044 # Strip out --silent because we don't want to record it for future runs.
1045 # Also quote any args containing shell meta-characters.
1046 # Make two passes to allow for proper duplicate-argument suppression.
1051 ac_must_keep_next=false
1057 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1061 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1062 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1065 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1067 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1068 if test $ac_must_keep_next = true; then
1069 ac_must_keep_next=false # Got value, back to normal.
1072 *=* | --config-cache | -C | -disable-* | --disable-* \
1073 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1074 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1075 | -with-* | --with-* | -without-* | --without-* | --x)
1076 case "$ac_configure_args0 " in
1077 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080 -* ) ac_must_keep_next=true ;;
1083 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1084 # Get rid of the leading space.
1090 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1091 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1093 # When interrupted or exit'd, cleanup temporary files, and complete
1094 # config.log. We remove comments because anyway the quotes in there
1095 # would cause problems or look ugly.
1096 # WARNING: Be sure not to use single quotes in there, as some shells,
1097 # such as our DU 5.0 friend, will then `close
' the trap.
1098 trap 'exit_status
=$?
1099 # Save into config.log some information that might help in debugging.
1104 ## ---------------- ##
1105 ## Cache variables. ##
1106 ## ---------------- ##
1109 # The following way of writing the cache mishandles newlines in values,
1112 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1127 ## ----------------- ##
1128 ## Output variables. ##
1129 ## ----------------- ##
1132 for ac_var
in $ac_subst_vars
1134 eval ac_val
=$
`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1139 if test -n "$ac_subst_files"; then
1146 for ac_var
in $ac_subst_files
1148 eval ac_val
=$
`echo $ac_var`
1149 echo "$ac_var='"'"'$ac_val'"'"'"
1154 if test -s confdefs.h
; then
1161 sed "/^$/d" confdefs.h |
sort
1164 test "$ac_signal" != 0 &&
1165 echo "$as_me: caught signal $ac_signal"
1166 echo "$as_me: exit $exit_status"
1168 rm -f core
*.core
&&
1169 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1172 for ac_signal in 1 2 13 15; do
1173 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1178 rm -rf conftest* confdefs.h
1179 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 # Predefined preprocessor variables.
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 # Let the site file select an alternate cache file if it wants to.
1210 # Prefer explicitly selected file to automatically selected ones.
1211 if test -z "$CONFIG_SITE"; then
1212 if test "x$prefix" != xNONE; then
1213 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1215 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218 for ac_site_file in $CONFIG_SITE; do
1219 if test -r "$ac_site_file"; then
1220 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1221 echo "$as_me: loading site script $ac_site_file" >&6;}
1222 sed 's
/^
/|
/' "$ac_site_file" >&5
1227 if test -r "$cache_file"; then
1228 # Some versions of bash will fail to source /dev/null (special
1229 # files actually), so we avoid doing that.
1230 if test -f "$cache_file"; then
1231 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1232 echo "$as_me: loading cache $cache_file" >&6;}
1234 [\\/]* | ?:[\\/]* ) . $cache_file;;
1235 *) . ./$cache_file;;
1239 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1240 echo "$as_me: creating cache $cache_file" >&6;}
1244 # Check that the precious variables saved in the cache have kept the same
1246 ac_cache_corrupted=false
1247 for ac_var in `(set) 2>&1 |
1248 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1249 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1250 eval ac_new_set=\$ac_env_${ac_var}_set
1251 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1252 eval ac_new_val="\$ac_env_${ac_var}_value"
1253 case $ac_old_set,$ac_new_set in
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1257 ac_cache_corrupted=: ;;
1259 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1261 ac_cache_corrupted=: ;;
1264 if test "x$ac_old_val" != "x$ac_new_val"; then
1265 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1266 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1267 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1268 echo "$as_me: former value: $ac_old_val" >&2;}
1269 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1270 echo "$as_me: current value: $ac_new_val" >&2;}
1271 ac_cache_corrupted=:
1274 # Pass precious variables to config.status.
1275 if test "$ac_new_set" = set; then
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1279 *) ac_arg=$ac_var=$ac_new_val ;;
1281 case " $ac_configure_args " in
1282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 if $ac_cache_corrupted; then
1288 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1289 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1290 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1291 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1292 { (exit 1); exit 1; }; }
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1298 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1322 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1323 if test -f $ac_dir/install-sh; then
1325 ac_install_sh="$ac_aux_dir/install-sh -c"
1327 elif test -f $ac_dir/install.sh; then
1329 ac_install_sh="$ac_aux_dir/install.sh -c"
1331 elif test -f $ac_dir/shtool; then
1333 ac_install_sh="$ac_aux_dir/shtool install -c"
1337 if test -z "$ac_aux_dir"; then
1338 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1339 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1340 { (exit 1); exit 1; }; }
1342 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1343 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1344 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1346 # Make sure we can run config.sub.
1347 $ac_config_sub sun4 >/dev/null 2>&1 ||
1348 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1349 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1350 { (exit 1); exit 1; }; }
1352 echo "$as_me:$LINENO: checking build system type" >&5
1353 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1354 if test "${ac_cv_build+set}" = set; then
1355 echo $ECHO_N "(cached) $ECHO_C" >&6
1357 ac_cv_build_alias=$build_alias
1358 test -z "$ac_cv_build_alias" &&
1359 ac_cv_build_alias=`$ac_config_guess`
1360 test -z "$ac_cv_build_alias" &&
1361 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1362 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1363 { (exit 1); exit 1; }; }
1364 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1365 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1366 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1367 { (exit 1); exit 1; }; }
1370 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1371 echo "${ECHO_T}$ac_cv_build" >&6
1373 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1374 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1375 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1378 echo "$as_me:$LINENO: checking host system type" >&5
1379 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1380 if test "${ac_cv_host+set}" = set; then
1381 echo $ECHO_N "(cached) $ECHO_C" >&6
1383 ac_cv_host_alias=$host_alias
1384 test -z "$ac_cv_host_alias" &&
1385 ac_cv_host_alias=$ac_cv_build_alias
1386 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1387 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1388 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1389 { (exit 1); exit 1; }; }
1392 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1393 echo "${ECHO_T}$ac_cv_host" >&6
1395 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1396 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1397 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1400 echo "$as_me:$LINENO: checking target system type" >&5
1401 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1402 if test "${ac_cv_target+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 ac_cv_target_alias=$target_alias
1406 test "x$ac_cv_target_alias" = "x" &&
1407 ac_cv_target_alias=$ac_cv_host_alias
1408 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1409 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1410 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1411 { (exit 1); exit 1; }; }
1414 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1415 echo "${ECHO_T}$ac_cv_target" >&6
1416 target=$ac_cv_target
1417 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1418 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1419 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1422 # The aliases save the names the user supplied, while $host etc.
1423 # will get canonicalized.
1424 test -n "$target_alias" &&
1425 test "$program_prefix$program_suffix$program_transform_name" = \
1427 program_prefix=${target_alias}-
1429 ac_cpp='$CPP $CPPFLAGS'
1430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1431 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1433 if test -n "$ac_tool_prefix"; then
1434 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1435 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1436 echo "$as_me:$LINENO: checking for $ac_word" >&5
1437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1438 if test "${ac_cv_prog_CC+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1441 if test -n "$CC"; then
1442 ac_cv_prog_CC="$CC" # Let the user override the test.
1444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1448 test -z "$as_dir" && as_dir=.
1449 for ac_exec_ext in '' $ac_executable_extensions; do
1450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1451 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1461 if test -n "$CC"; then
1462 echo "$as_me:$LINENO: result: $CC" >&5
1463 echo "${ECHO_T}$CC" >&6
1465 echo "$as_me:$LINENO: result: no" >&5
1466 echo "${ECHO_T}no" >&6
1470 if test -z "$ac_cv_prog_CC"; then
1472 # Extract the first word of "gcc", so it can be a program name with args.
1473 set dummy gcc; ac_word=$2
1474 echo "$as_me:$LINENO: checking for $ac_word" >&5
1475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1476 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1477 echo $ECHO_N "(cached) $ECHO_C" >&6
1479 if test -n "$ac_ct_CC"; then
1480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486 test -z "$as_dir" && as_dir=.
1487 for ac_exec_ext in '' $ac_executable_extensions; do
1488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1489 ac_cv_prog_ac_ct_CC="gcc"
1490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1499 if test -n "$ac_ct_CC"; then
1500 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1501 echo "${ECHO_T}$ac_ct_CC" >&6
1503 echo "$as_me:$LINENO: result: no" >&5
1504 echo "${ECHO_T}no" >&6
1512 if test -z "$CC"; then
1513 if test -n "$ac_tool_prefix"; then
1514 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1515 set dummy ${ac_tool_prefix}cc; ac_word=$2
1516 echo "$as_me:$LINENO: checking for $ac_word" >&5
1517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1518 if test "${ac_cv_prog_CC+set}" = set; then
1519 echo $ECHO_N "(cached) $ECHO_C" >&6
1521 if test -n "$CC"; then
1522 ac_cv_prog_CC="$CC" # Let the user override the test.
1524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1528 test -z "$as_dir" && as_dir=.
1529 for ac_exec_ext in '' $ac_executable_extensions; do
1530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1531 ac_cv_prog_CC="${ac_tool_prefix}cc"
1532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1541 if test -n "$CC"; then
1542 echo "$as_me:$LINENO: result: $CC" >&5
1543 echo "${ECHO_T}$CC" >&6
1545 echo "$as_me:$LINENO: result: no" >&5
1546 echo "${ECHO_T}no" >&6
1550 if test -z "$ac_cv_prog_CC"; then
1552 # Extract the first word of "cc", so it can be a program name with args.
1553 set dummy cc; ac_word=$2
1554 echo "$as_me:$LINENO: checking for $ac_word" >&5
1555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 if test -n "$ac_ct_CC"; then
1560 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1566 test -z "$as_dir" && as_dir=.
1567 for ac_exec_ext in '' $ac_executable_extensions; do
1568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1569 ac_cv_prog_ac_ct_CC="cc"
1570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1579 if test -n "$ac_ct_CC"; then
1580 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1581 echo "${ECHO_T}$ac_ct_CC" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1593 if test -z "$CC"; then
1594 # Extract the first word of "cc", so it can be a program name with args.
1595 set dummy cc; ac_word=$2
1596 echo "$as_me:$LINENO: checking for $ac_word" >&5
1597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1598 if test "${ac_cv_prog_CC+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 if test -n "$CC"; then
1602 ac_cv_prog_CC="$CC" # Let the user override the test.
1605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1609 test -z "$as_dir" && as_dir=.
1610 for ac_exec_ext in '' $ac_executable_extensions; do
1611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1612 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1613 ac_prog_rejected=yes
1617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 if test $ac_prog_rejected = yes; then
1624 # We found a bogon in the path, so make sure we never use it.
1625 set dummy $ac_cv_prog_CC
1627 if test $# != 0; then
1628 # We chose a different compiler from the bogus one.
1629 # However, it has the same basename, so the bogon will be chosen
1630 # first if we set CC to just the basename; use the full file name.
1632 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1638 if test -n "$CC"; then
1639 echo "$as_me:$LINENO: result: $CC" >&5
1640 echo "${ECHO_T}$CC" >&6
1642 echo "$as_me:$LINENO: result: no" >&5
1643 echo "${ECHO_T}no" >&6
1647 if test -z "$CC"; then
1648 if test -n "$ac_tool_prefix"; then
1651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_prog_CC+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 if test -n "$CC"; then
1659 ac_cv_prog_CC="$CC" # Let the user override the test.
1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1665 test -z "$as_dir" && as_dir=.
1666 for ac_exec_ext in '' $ac_executable_extensions; do
1667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 if test -n "$CC"; then
1679 echo "$as_me:$LINENO: result: $CC" >&5
1680 echo "${ECHO_T}$CC" >&6
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1686 test -n "$CC" && break
1689 if test -z "$CC"; then
1693 # Extract the first word of "$ac_prog", so it can be a program name with args.
1694 set dummy $ac_prog; ac_word=$2
1695 echo "$as_me:$LINENO: checking for $ac_word" >&5
1696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1697 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1698 echo $ECHO_N "(cached) $ECHO_C" >&6
1700 if test -n "$ac_ct_CC"; then
1701 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707 test -z "$as_dir" && as_dir=.
1708 for ac_exec_ext in '' $ac_executable_extensions; do
1709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1710 ac_cv_prog_ac_ct_CC="$ac_prog"
1711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1720 if test -n "$ac_ct_CC"; then
1721 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1722 echo "${ECHO_T}$ac_ct_CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1728 test -n "$ac_ct_CC" && break
1737 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1738 See \`config.log' for more details.
" >&5
1739 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1740 See \
`config.log' for more details." >&2;}
1741 { (exit 1); exit 1; }; }
1743 # Provide some information about the compiler.
1744 echo "$as_me:$LINENO:" \
1745 "checking for C compiler version" >&5
1746 ac_compiler=`set X
$ac_compile; echo $2`
1747 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1748 (eval $ac_compiler --version </dev/null >&5) 2>&5
1750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1751 (exit $ac_status); }
1752 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1753 (eval $ac_compiler -v </dev/null >&5) 2>&5
1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 (exit $ac_status); }
1757 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1758 (eval $ac_compiler -V </dev/null >&5) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }
1763 cat >conftest.$ac_ext <<_ACEOF
1766 cat confdefs.h >>conftest.$ac_ext
1767 cat >>conftest.$ac_ext <<_ACEOF
1768 /* end confdefs.h. */
1778 ac_clean_files_save=$ac_clean_files
1779 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1780 # Try to create an executable without -o first, disregard a.out.
1781 # It will help us diagnose broken compilers, and finding out an intuition
1783 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1784 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1785 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1786 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1787 (eval $ac_link_default) 2>&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); }; then
1791 # Find the output, starting from the most likely. This scheme is
1792 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1795 # Be careful to initialize this variable, since it used to be cached.
1796 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1798 # b.out is created by i960 compilers.
1799 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1801 test -f "$ac_file" || continue
1803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1806 # This is the source file.
1809 # We found the default executable, but exeext='' is most
1813 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1814 # FIXME: I believe we export ac_cv_exeext for Libtool,
1815 # but it would be cool to find out if it's true. Does anybody
1816 # maintain Libtool? --akim.
1824 echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.$ac_ext >&5
1827 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1828 See \`config.log
' for more details." >&5
1829 echo "$as_me: error: C compiler cannot create executables
1830 See \`config.log' for more details.
" >&2;}
1831 { (exit 77); exit 77; }; }
1834 ac_exeext=$ac_cv_exeext
1835 echo "$as_me:$LINENO: result
: $ac_file" >&5
1836 echo "${ECHO_T}$ac_file" >&6
1838 # Check the compiler produces executables we can run. If not, either
1839 # the compiler is broken, or we cross compile.
1840 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1841 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1842 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1843 # If not cross compiling, check that we can run a simple program.
1844 if test "$cross_compiling" != yes; then
1845 if { ac_try='./$ac_file'
1846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1850 (exit $ac_status); }; }; then
1853 if test "$cross_compiling" = maybe; then
1856 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1857 If you meant to cross compile
, use \
`--host'.
1858 See \`config.log
' for more details." >&5
1859 echo "$as_me: error: cannot run C compiled programs.
1860 If you meant to cross compile, use \`--host'.
1861 See \
`config.log' for more details." >&2;}
1862 { (exit 1); exit 1; }; }
1866 echo "$as_me:$LINENO: result: yes" >&5
1867 echo "${ECHO_T}yes" >&6
1869 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1870 ac_clean_files=$ac_clean_files_save
1871 # Check the compiler produces executables we can run. If not, either
1872 # the compiler is broken, or we cross compile.
1873 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1874 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1875 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1876 echo "${ECHO_T}$cross_compiling" >&6
1878 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1879 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1881 (eval $ac_link) 2>&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); }; then
1885 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1886 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1887 # work properly (i.e., refer to `conftest.exe'), while it won't with
1889 for ac_file
in conftest.exe conftest conftest.
*; do
1890 test -f "$ac_file" ||
continue
1892 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1893 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1900 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1901 See \`config.log' for more details." >&5
1902 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1903 See \`config.log' for more details." >&2;}
1904 { (exit 1); exit 1; }; }
1907 rm -f conftest
$ac_cv_exeext
1908 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1909 echo "${ECHO_T}$ac_cv_exeext" >&6
1911 rm -f conftest.
$ac_ext
1912 EXEEXT
=$ac_cv_exeext
1914 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1915 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1916 if test "${ac_cv_objext+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 cat >conftest.
$ac_ext <<_ACEOF
1922 cat confdefs.h
>>conftest.
$ac_ext
1923 cat >>conftest.
$ac_ext <<_ACEOF
1924 /* end confdefs.h. */
1934 rm -f conftest.o conftest.obj
1935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1936 (eval $ac_compile) 2>&5
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); }; then
1940 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1942 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1943 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1948 echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.
$ac_ext >&5
1951 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1952 See \`config.log' for more details." >&5
1953 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1954 See \`config.log' for more details." >&2;}
1955 { (exit 1); exit 1; }; }
1958 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1960 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1961 echo "${ECHO_T}$ac_cv_objext" >&6
1962 OBJEXT
=$ac_cv_objext
1964 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1965 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1966 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1967 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 cat >conftest.
$ac_ext <<_ACEOF
1972 cat confdefs.h
>>conftest.
$ac_ext
1973 cat >>conftest.
$ac_ext <<_ACEOF
1974 /* end confdefs.h. */
1987 rm -f conftest.
$ac_objext
1988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1989 (eval $ac_compile) 2>conftest.er1
1991 grep -v '^ *+' conftest.er1
>conftest.err
1993 cat conftest.err
>&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); } &&
1996 { ac_try
='test -z "$ac_c_werror_flag"
1997 || test ! -s conftest.err'
1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }; } &&
2003 { ac_try
='test -s conftest.$ac_objext'
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }; }; then
2011 echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.
$ac_ext >&5
2016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2017 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2020 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2021 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2022 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2023 ac_test_CFLAGS
=${CFLAGS+set}
2024 ac_save_CFLAGS
=$CFLAGS
2026 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2027 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2028 if test "${ac_cv_prog_cc_g+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 cat >conftest.
$ac_ext <<_ACEOF
2034 cat confdefs.h
>>conftest.
$ac_ext
2035 cat >>conftest.
$ac_ext <<_ACEOF
2036 /* end confdefs.h. */
2046 rm -f conftest.
$ac_objext
2047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2048 (eval $ac_compile) 2>conftest.er1
2050 grep -v '^ *+' conftest.er1
>conftest.err
2052 cat conftest.err
>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); } &&
2055 { ac_try
='test -z "$ac_c_werror_flag"
2056 || test ! -s conftest.err'
2057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; } &&
2062 { ac_try
='test -s conftest.$ac_objext'
2063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }; }; then
2070 echo "$as_me: failed program was:" >&5
2071 sed 's/^/| /' conftest.
$ac_ext >&5
2075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2077 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2078 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2079 if test "$ac_test_CFLAGS" = set; then
2080 CFLAGS
=$ac_save_CFLAGS
2081 elif test $ac_cv_prog_cc_g = yes; then
2082 if test "$GCC" = yes; then
2088 if test "$GCC" = yes; then
2094 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2095 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2096 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 ac_cv_prog_cc_stdc
=no
2101 cat >conftest.
$ac_ext <<_ACEOF
2104 cat confdefs.h
>>conftest.
$ac_ext
2105 cat >>conftest.
$ac_ext <<_ACEOF
2106 /* end confdefs.h. */
2109 #include <sys/types.h>
2110 #include <sys/stat.h>
2111 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2112 struct buf { int x; };
2113 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2114 static char *e (p, i)
2120 static char *f (char * (*g) (char **, int), char **p, ...)
2125 s = g (p, va_arg (v,int));
2130 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2131 function prototypes and stuff, but not '\xHH' hex character constants.
2132 These don't provoke an error unfortunately, instead are silently treated
2133 as 'x'. The following induces an error, until -std1 is added to get
2134 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2135 array size at least. It's necessary to write '\x00'==0 to get something
2136 that's true only with -std1. */
2137 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2139 int test (int i, double x);
2140 struct s1 {int (*f) (int a);};
2141 struct s2 {int (*f) (double a);};
2142 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2148 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2153 # Don't try gcc -ansi; that turns off useful extensions and
2154 # breaks some systems' header files.
2155 # AIX -qlanglvl=ansi
2156 # Ultrix and OSF/1 -std1
2157 # HP-UX 10.20 and later -Ae
2158 # HP-UX older versions -Aa -D_HPUX_SOURCE
2159 # SVR4 -Xc -D__EXTENSIONS__
2160 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2162 CC
="$ac_save_CC $ac_arg"
2163 rm -f conftest.
$ac_objext
2164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2165 (eval $ac_compile) 2>conftest.er1
2167 grep -v '^ *+' conftest.er1
>conftest.err
2169 cat conftest.err
>&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); } &&
2172 { ac_try
='test -z "$ac_c_werror_flag"
2173 || test ! -s conftest.err'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; } &&
2179 { ac_try
='test -s conftest.$ac_objext'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; }; then
2185 ac_cv_prog_cc_stdc
=$ac_arg
2188 echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.
$ac_ext >&5
2192 rm -f conftest.err conftest.
$ac_objext
2194 rm -f conftest.
$ac_ext conftest.
$ac_objext
2199 case "x$ac_cv_prog_cc_stdc" in
2201 echo "$as_me:$LINENO: result: none needed" >&5
2202 echo "${ECHO_T}none needed" >&6 ;;
2204 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2205 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2206 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2209 # Some people use a C++ compiler to compile C. Since we use `exit',
2210 # in C++ we need to declare it. In case someone uses the same compiler
2211 # for both compiling C and C++ we need to have the C++ compiler decide
2212 # the declaration of exit, since it's the most demanding environment.
2213 cat >conftest.
$ac_ext <<_ACEOF
2218 rm -f conftest.
$ac_objext
2219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2220 (eval $ac_compile) 2>conftest.er1
2222 grep -v '^ *+' conftest.er1
>conftest.err
2224 cat conftest.err
>&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); } &&
2227 { ac_try
='test -z "$ac_c_werror_flag"
2228 || test ! -s conftest.err'
2229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }; } &&
2234 { ac_try
='test -s conftest.$ac_objext'
2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; }; then
2240 for ac_declaration
in \
2242 'extern "C" void std::exit (int) throw (); using std::exit;' \
2243 'extern "C" void std::exit (int); using std::exit;' \
2244 'extern "C" void exit (int) throw ();' \
2245 'extern "C" void exit (int);' \
2248 cat >conftest.
$ac_ext <<_ACEOF
2251 cat confdefs.h
>>conftest.
$ac_ext
2252 cat >>conftest.
$ac_ext <<_ACEOF
2253 /* end confdefs.h. */
2264 rm -f conftest.
$ac_objext
2265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2266 (eval $ac_compile) 2>conftest.er1
2268 grep -v '^ *+' conftest.er1
>conftest.err
2270 cat conftest.err
>&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); } &&
2273 { ac_try
='test -z "$ac_c_werror_flag"
2274 || test ! -s conftest.err'
2275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; } &&
2280 { ac_try
='test -s conftest.$ac_objext'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; }; then
2288 echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.
$ac_ext >&5
2293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2294 cat >conftest.
$ac_ext <<_ACEOF
2297 cat confdefs.h
>>conftest.
$ac_ext
2298 cat >>conftest.
$ac_ext <<_ACEOF
2299 /* end confdefs.h. */
2309 rm -f conftest.
$ac_objext
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>conftest.er1
2313 grep -v '^ *+' conftest.er1
>conftest.err
2315 cat conftest.err
>&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); } &&
2318 { ac_try
='test -z "$ac_c_werror_flag"
2319 || test ! -s conftest.err'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; } &&
2325 { ac_try
='test -s conftest.$ac_objext'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; }; then
2333 echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.
$ac_ext >&5
2337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2340 if test -n "$ac_declaration"; then
2341 echo '#ifdef __cplusplus' >>confdefs.h
2342 echo $ac_declaration >>confdefs.h
2343 echo '#endif' >>confdefs.h
2347 echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.
$ac_ext >&5
2351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2353 ac_cpp
='$CPP $CPPFLAGS'
2354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2359 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2360 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2361 if test "${ac_cv_search_strerror+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 ac_func_search_save_LIBS
=$LIBS
2365 ac_cv_search_strerror
=no
2366 cat >conftest.
$ac_ext <<_ACEOF
2369 cat confdefs.h
>>conftest.
$ac_ext
2370 cat >>conftest.
$ac_ext <<_ACEOF
2371 /* end confdefs.h. */
2373 /* Override any gcc2 internal prototype to avoid an error. */
2377 /* We use char because int might match the return type of a gcc2
2378 builtin and then its argument prototype would still apply. */
2388 rm -f conftest.
$ac_objext conftest
$ac_exeext
2389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2390 (eval $ac_link) 2>conftest.er1
2392 grep -v '^ *+' conftest.er1
>conftest.err
2394 cat conftest.err
>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } &&
2397 { ac_try
='test -z "$ac_c_werror_flag"
2398 || test ! -s conftest.err'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; } &&
2404 { ac_try
='test -s conftest$ac_exeext'
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; }; then
2410 ac_cv_search_strerror
="none required"
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.
$ac_ext >&5
2416 rm -f conftest.err conftest.
$ac_objext \
2417 conftest
$ac_exeext conftest.
$ac_ext
2418 if test "$ac_cv_search_strerror" = no
; then
2419 for ac_lib
in cposix
; do
2420 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2421 cat >conftest.
$ac_ext <<_ACEOF
2424 cat confdefs.h
>>conftest.
$ac_ext
2425 cat >>conftest.
$ac_ext <<_ACEOF
2426 /* end confdefs.h. */
2428 /* Override any gcc2 internal prototype to avoid an error. */
2432 /* We use char because int might match the return type of a gcc2
2433 builtin and then its argument prototype would still apply. */
2443 rm -f conftest.
$ac_objext conftest
$ac_exeext
2444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2445 (eval $ac_link) 2>conftest.er1
2447 grep -v '^ *+' conftest.er1
>conftest.err
2449 cat conftest.err
>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); } &&
2452 { ac_try
='test -z "$ac_c_werror_flag"
2453 || test ! -s conftest.err'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; } &&
2459 { ac_try
='test -s conftest$ac_exeext'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; }; then
2465 ac_cv_search_strerror
="-l$ac_lib"
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2472 rm -f conftest.err conftest.
$ac_objext \
2473 conftest
$ac_exeext conftest.
$ac_ext
2476 LIBS
=$ac_func_search_save_LIBS
2478 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2479 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2480 if test "$ac_cv_search_strerror" != no
; then
2481 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2486 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2487 am__api_version
="1.9"
2488 # Find a good install program. We prefer a C program (faster),
2489 # so one script is as good as another. But avoid the broken or
2490 # incompatible versions:
2491 # SysV /etc/install, /usr/sbin/install
2492 # SunOS /usr/etc/install
2493 # IRIX /sbin/install
2495 # AmigaOS /C/install, which installs bootblocks on floppy discs
2496 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2497 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2498 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2499 # OS/2's system install, which has a completely different semantic
2500 # ./install, which can be erroneously created by make from ./install.sh.
2501 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2502 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2503 if test -z "$INSTALL"; then
2504 if test "${ac_cv_path_install+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 # Account for people who put trailing slashes in PATH elements.
2514 .
/ | .
// |
/cC
/* | \
2515 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2516 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2519 # OSF1 and SCO ODT 3.0 have their own names for install.
2520 # Don't use installbsd from OSF since it installs stuff as root
2522 for ac_prog
in ginstall scoinst
install; do
2523 for ac_exec_ext
in '' $ac_executable_extensions; do
2524 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2525 if test $ac_prog = install &&
2526 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2527 # AIX install. It has an incompatible calling convention.
2529 elif test $ac_prog = install &&
2530 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2531 # program-specific install script used by HP pwplus--don't use.
2534 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2546 if test "${ac_cv_path_install+set}" = set; then
2547 INSTALL
=$ac_cv_path_install
2549 # As a last resort, use the slow shell script. We don't cache a
2550 # path for INSTALL within a source directory, because that will
2551 # break other packages using the cache if that directory is
2552 # removed, or if the path is relative.
2553 INSTALL
=$ac_install_sh
2556 echo "$as_me:$LINENO: result: $INSTALL" >&5
2557 echo "${ECHO_T}$INSTALL" >&6
2559 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2560 # It thinks the first close brace ends the variable substitution.
2561 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2563 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2565 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2567 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2568 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2571 echo timestamp
> conftest.
file
2572 # Do `set' in a subshell so we don't clobber the current shell's
2573 # arguments. Must try -L first in case configure is actually a
2574 # symlink; some systems play weird games with the mod time of symlinks
2575 # (eg FreeBSD returns the mod time of the symlink's containing
2578 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2579 if test "$*" = "X"; then
2581 set X
`ls -t $srcdir/configure conftest.file`
2584 if test "$*" != "X $srcdir/configure conftest.file" \
2585 && test "$*" != "X conftest.file $srcdir/configure"; then
2587 # If neither matched, then we have a broken ls. This can happen
2588 # if, for instance, CONFIG_SHELL is bash and it inherits a
2589 # broken ls alias from the environment. This has actually
2590 # happened. Such a system could not be considered "sane".
2591 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2592 alias in your environment" >&5
2593 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2594 alias in your environment" >&2;}
2595 { (exit 1); exit 1; }; }
2598 test "$2" = conftest.
file
2604 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2605 Check your system clock" >&5
2606 echo "$as_me: error: newly created file is older than distributed files!
2607 Check your system clock" >&2;}
2608 { (exit 1); exit 1; }; }
2610 echo "$as_me:$LINENO: result: yes" >&5
2611 echo "${ECHO_T}yes" >&6
2612 test "$program_prefix" != NONE
&&
2613 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2614 # Use a double $ so make ignores it.
2615 test "$program_suffix" != NONE
&&
2616 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2617 # Double any \ or $. echo might interpret backslashes.
2618 # By default was `s,x,x', remove it if useless.
2619 cat <<\_ACEOF
>conftest.
sed
2620 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2622 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2625 # expand $ac_aux_dir to an absolute path
2626 am_aux_dir
=`cd $ac_aux_dir && pwd`
2628 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2629 # Use eval to expand $SHELL
2630 if eval "$MISSING --run true"; then
2631 am_missing_run
="$MISSING --run "
2634 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2635 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2638 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2639 # We used to keeping the `.' as first argument, in order to
2640 # allow $(mkdir_p) to be used without argument. As in
2641 # $(mkdir_p) $(somedir)
2642 # where $(somedir) is conditionally defined. However this is wrong
2644 # 1. if the package is installed by a user who cannot write `.'
2645 # make install will fail,
2646 # 2. the above comment should most certainly read
2647 # $(mkdir_p) $(DESTDIR)$(somedir)
2648 # so it does not work when $(somedir) is undefined and
2649 # $(DESTDIR) is not.
2650 # To support the latter case, we have to write
2651 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2652 # so the `.' trick is pointless.
2653 mkdir_p
='mkdir -p --'
2655 # On NextStep and OpenStep, the `mkdir' command does not
2656 # recognize any option. It will interpret all options as
2657 # directories to create, and then abort because `.' already
2659 for d
in .
/-p .
/--version;
2661 test -d $d && rmdir $d
2663 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2664 if test -f "$ac_aux_dir/mkinstalldirs"; then
2665 mkdir_p
='$(mkinstalldirs)'
2667 mkdir_p
='$(install_sh) -d'
2671 for ac_prog
in gawk mawk nawk
awk
2673 # Extract the first word of "$ac_prog", so it can be a program name with args.
2674 set dummy
$ac_prog; ac_word
=$2
2675 echo "$as_me:$LINENO: checking for $ac_word" >&5
2676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2677 if test "${ac_cv_prog_AWK+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 if test -n "$AWK"; then
2681 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2687 test -z "$as_dir" && as_dir
=.
2688 for ac_exec_ext
in '' $ac_executable_extensions; do
2689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2690 ac_cv_prog_AWK
="$ac_prog"
2691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 if test -n "$AWK"; then
2701 echo "$as_me:$LINENO: result: $AWK" >&5
2702 echo "${ECHO_T}$AWK" >&6
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2708 test -n "$AWK" && break
2711 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2712 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2713 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2714 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2715 echo $ECHO_N "(cached) $ECHO_C" >&6
2717 cat >conftest.
make <<\_ACEOF
2719 @
echo 'ac_maketemp="$(MAKE)"'
2721 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2722 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2723 if test -n "$ac_maketemp"; then
2724 eval ac_cv_prog_make_
${ac_make}_set
=yes
2726 eval ac_cv_prog_make_
${ac_make}_set
=no
2730 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2731 echo "$as_me:$LINENO: result: yes" >&5
2732 echo "${ECHO_T}yes" >&6
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2737 SET_MAKE
="MAKE=${MAKE-make}"
2740 rm -rf .tst
2>/dev
/null
2741 mkdir .tst
2>/dev
/null
2742 if test -d .tst
; then
2747 rmdir .tst
2>/dev
/null
2749 DEPDIR
="${am__leading_dot}deps"
2751 ac_config_commands
="$ac_config_commands depfiles"
2754 am_make
=${MAKE-make}
2755 cat > confinc
<< 'END'
2760 # If we don't find an include directive, just comment out the code.
2761 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2762 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2766 # First try GNU make style include.
2767 echo "include confinc" > confmf
2768 # We grep out `Entering directory' and `Leaving directory'
2769 # messages which can occur if `w' ends up in MAKEFLAGS.
2770 # In particular we don't look at `^make:' because GNU make might
2771 # be invoked under some other name (usually "gmake"), in which
2772 # case it prints its new name instead of `make'.
2773 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2778 # Now try BSD make style include.
2779 if test "$am__include" = "#"; then
2780 echo '.include "confinc"' > confmf
2781 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2782 am__include
=.include
2789 echo "$as_me:$LINENO: result: $_am_result" >&5
2790 echo "${ECHO_T}$_am_result" >&6
2791 rm -f confinc confmf
2793 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2794 if test "${enable_dependency_tracking+set}" = set; then
2795 enableval
="$enable_dependency_tracking"
2798 if test "x$enable_dependency_tracking" != xno
; then
2799 am_depcomp
="$ac_aux_dir/depcomp"
2804 if test "x$enable_dependency_tracking" != xno; then
2814 # test to see if srcdir already configured
2815 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2816 test -f $srcdir/config.status
; then
2817 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2818 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2819 { (exit 1); exit 1; }; }
2822 # test whether we have cygpath
2823 if test -z "$CYGPATH_W"; then
2824 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2825 CYGPATH_W
='cygpath -w'
2832 # Define the identity of the package.
2834 VERSION
=${BFD_VERSION}
2837 cat >>confdefs.h
<<_ACEOF
2838 #define PACKAGE "$PACKAGE"
2842 cat >>confdefs.h
<<_ACEOF
2843 #define VERSION "$VERSION"
2846 # Some tools Automake needs.
2848 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2851 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2854 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2857 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2860 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2862 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2864 # Installed binaries are usually stripped using `strip' when the user
2865 # run `make install-strip'. However `strip' might not be the right
2866 # tool to use in cross-compilation environments, therefore Automake
2867 # will honor the `STRIP' environment variable to overrule this program.
2868 if test "$cross_compiling" != no
; then
2869 if test -n "$ac_tool_prefix"; then
2870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2871 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2872 echo "$as_me:$LINENO: checking for $ac_word" >&5
2873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2874 if test "${ac_cv_prog_STRIP+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 if test -n "$STRIP"; then
2878 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir
=.
2885 for ac_exec_ext
in '' $ac_executable_extensions; do
2886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 STRIP
=$ac_cv_prog_STRIP
2897 if test -n "$STRIP"; then
2898 echo "$as_me:$LINENO: result: $STRIP" >&5
2899 echo "${ECHO_T}$STRIP" >&6
2901 echo "$as_me:$LINENO: result: no" >&5
2902 echo "${ECHO_T}no" >&6
2906 if test -z "$ac_cv_prog_STRIP"; then
2908 # Extract the first word of "strip", so it can be a program name with args.
2909 set dummy strip
; ac_word
=$2
2910 echo "$as_me:$LINENO: checking for $ac_word" >&5
2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 if test -n "$ac_ct_STRIP"; then
2916 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir
=.
2923 for ac_exec_ext
in '' $ac_executable_extensions; do
2924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2925 ac_cv_prog_ac_ct_STRIP
="strip"
2926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2935 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2936 if test -n "$ac_ct_STRIP"; then
2937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2938 echo "${ECHO_T}$ac_ct_STRIP" >&6
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2946 STRIP
="$ac_cv_prog_STRIP"
2950 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2952 # We need awk for the "check" target. The system "awk" is bad on
2954 # Always define AMTAR for backward compatibility.
2956 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2958 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2963 depcc
="$CC" am_compiler_list
=
2965 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2966 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2967 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2971 # We make a subdir and do the tests there. Otherwise we can end up
2972 # making bogus files that we don't know about and never remove. For
2973 # instance it was reported that on HP-UX the gcc test will end up
2974 # making a dummy file named `D' -- because `-MD' means `put the output
2977 # Copy depcomp to subdir because otherwise we won't find it if we're
2978 # using a relative directory.
2979 cp "$am_depcomp" conftest.dir
2981 # We will build objects and dependencies in a subdirectory because
2982 # it helps to detect inapplicable dependency modes. For instance
2983 # both Tru64's cc and ICC support -MD to output dependencies as a
2984 # side effect of compilation, but ICC will put the dependencies in
2985 # the current directory while Tru64 will put them in the object
2989 am_cv_CC_dependencies_compiler_type
=none
2990 if test "$am_compiler_list" = ""; then
2991 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2993 for depmode
in $am_compiler_list; do
2994 # Setup a source with many dependencies, because some compilers
2995 # like to wrap large dependency lists on column 80 (with \), and
2996 # we should not choose a depcomp mode which is confused by this.
2998 # We need to recreate these files for each test, as the compiler may
2999 # overwrite some of them when testing with obscure command lines.
3000 # This happens at least with the AIX C compiler.
3002 for i
in 1 2 3 4 5 6; do
3003 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3004 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3005 # Solaris 8's {/usr,}/bin/sh.
3006 touch sub
/conftst
$i.h
3008 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3012 # after this tag, mechanisms are not by side-effect, so they'll
3013 # only be used when explicitly requested
3014 if test "x$enable_dependency_tracking" = xyes
; then
3022 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3023 # mode. It turns out that the SunPro C++ compiler does not properly
3024 # handle `-M -o', and we need to detect this.
3025 if depmode
=$depmode \
3026 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3027 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3028 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3029 >/dev
/null
2>conftest.err
&&
3030 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3031 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3032 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3033 # icc doesn't choke on unknown options, it will just issue warnings
3034 # or remarks (even with -Werror). So we grep stderr for any message
3035 # that says an option was ignored or not supported.
3036 # When given -MP, icc 7.0 and 7.1 complain thusly:
3037 # icc: Command line warning: ignoring option '-M'; no argument required
3038 # The diagnosis changed in icc 8.0:
3039 # icc: Command line remark: option '-MP' not supported
3040 if (grep 'ignoring option' conftest.err ||
3041 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3042 am_cv_CC_dependencies_compiler_type
=$depmode
3051 am_cv_CC_dependencies_compiler_type
=none
3055 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3056 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3057 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3062 test "x$enable_dependency_tracking" != xno \
3063 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3065 am__fastdepCC_FALSE
='#'
3067 am__fastdepCC_TRUE
='#'
3068 am__fastdepCC_FALSE
=
3074 # Check whether --enable-shared or --disable-shared was given.
3075 if test "${enable_shared+set}" = set; then
3076 enableval
="$enable_shared"
3077 p
=${PACKAGE-default}
3079 yes) enable_shared
=yes ;;
3080 no
) enable_shared
=no
;;
3083 # Look at the argument we got. We use all the common list separators.
3084 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3085 for pkg
in $enableval; do
3086 if test "X$pkg" = "X$p"; then
3096 # Check whether --enable-static or --disable-static was given.
3097 if test "${enable_static+set}" = set; then
3098 enableval
="$enable_static"
3099 p
=${PACKAGE-default}
3101 yes) enable_static
=yes ;;
3102 no
) enable_static
=no
;;
3105 # Look at the argument we got. We use all the common list separators.
3106 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3107 for pkg
in $enableval; do
3108 if test "X$pkg" = "X$p"; then
3118 # Check whether --enable-fast-install or --disable-fast-install was given.
3119 if test "${enable_fast_install+set}" = set; then
3120 enableval
="$enable_fast_install"
3121 p
=${PACKAGE-default}
3123 yes) enable_fast_install
=yes ;;
3124 no
) enable_fast_install
=no
;;
3126 enable_fast_install
=no
3127 # Look at the argument we got. We use all the common list separators.
3128 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3129 for pkg
in $enableval; do
3130 if test "X$pkg" = "X$p"; then
3131 enable_fast_install
=yes
3138 enable_fast_install
=yes
3141 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3142 if test "${with_gnu_ld+set}" = set; then
3143 withval
="$with_gnu_ld"
3144 test "$withval" = no || with_gnu_ld
=yes
3149 if test "$GCC" = yes; then
3150 # Check if gcc -print-prog-name=ld gives a path.
3151 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3152 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3155 # gcc leaves a trailing carriage return which upsets mingw
3156 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3158 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3161 # Accept absolute paths.
3162 [\\/]* |
[A-Za-z
]:[\\/]*)
3163 re_direlt
='/[^/][^/]*/\.\./'
3164 # Canonicalize the path of ld
3165 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3166 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3167 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3169 test -z "$LD" && LD
="$ac_prog"
3172 # If it fails, then pretend we aren't using GCC.
3176 # If it is relative, then search for the first ld in PATH.
3180 elif test "$with_gnu_ld" = yes; then
3181 echo "$as_me:$LINENO: checking for GNU ld" >&5
3182 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3184 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3185 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3187 if test "${lt_cv_path_LD+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 if test -z "$LD"; then
3191 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3192 for ac_dir
in $PATH; do
3193 test -z "$ac_dir" && ac_dir
=.
3194 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3195 lt_cv_path_LD
="$ac_dir/$ac_prog"
3196 # Check to see if the program is GNU ld. I'd rather use --version,
3197 # but apparently some GNU ld's only accept -v.
3198 # Break only if it was the GNU/non-GNU ld that we prefer.
3199 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3200 test "$with_gnu_ld" != no
&& break
3202 test "$with_gnu_ld" != yes && break
3208 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3213 if test -n "$LD"; then
3214 echo "$as_me:$LINENO: result: $LD" >&5
3215 echo "${ECHO_T}$LD" >&6
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3220 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3221 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3222 { (exit 1); exit 1; }; }
3223 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3224 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3225 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3228 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3229 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3230 lt_cv_prog_gnu_ld
=yes
3232 lt_cv_prog_gnu_ld
=no
3235 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3236 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3237 with_gnu_ld
=$lt_cv_prog_gnu_ld
3240 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3241 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3242 if test "${lt_cv_ld_reload_flag+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 lt_cv_ld_reload_flag
='-r'
3247 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3248 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3249 reload_flag
=$lt_cv_ld_reload_flag
3250 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3252 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3253 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3254 if test "${lt_cv_path_NM+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 if test -n "$NM"; then
3258 # Let the user override the test.
3261 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3262 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3263 test -z "$ac_dir" && ac_dir
=.
3264 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3265 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3266 # Check to see if the nm accepts a BSD-compat flag.
3267 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3268 # nm: unknown option "B" ignored
3269 # Tru64's nm complains that /dev/null is an invalid object file
3270 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3271 lt_cv_path_NM
="$tmp_nm -B"
3273 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3274 lt_cv_path_NM
="$tmp_nm -p"
3277 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3278 continue # so that we can try to find one that supports BSD flags
3283 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3288 echo "$as_me:$LINENO: result: $NM" >&5
3289 echo "${ECHO_T}$NM" >&6
3291 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3292 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3294 if test "$LN_S" = "ln -s"; then
3295 echo "$as_me:$LINENO: result: yes" >&5
3296 echo "${ECHO_T}yes" >&6
3298 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3299 echo "${ECHO_T}no, using $LN_S" >&6
3302 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3303 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3304 if test "${lt_cv_deplibs_check_method+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3308 lt_cv_file_magic_test_file
=
3309 lt_cv_deplibs_check_method
='unknown'
3310 # Need to set the preceding variable on all platforms that support
3311 # interlibrary dependencies.
3312 # 'none' -- dependencies not supported.
3313 # `unknown' -- same as none, but documents that we really don't know.
3314 # 'pass_all' -- all dependencies passed with no checks.
3315 # 'test_compile' -- check by making test program.
3316 # 'file_magic [regex]' -- check by looking for files in library path
3317 # which responds to the $file_magic_cmd with a given egrep regex.
3318 # If you have `file' or equivalent on your system and you're not sure
3319 # whether `pass_all' will *always* work, you probably want this one.
3323 lt_cv_deplibs_check_method
=pass_all
3327 lt_cv_deplibs_check_method
=pass_all
3331 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3332 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3333 lt_cv_file_magic_test_file
=/shlib
/libc.so
3336 cygwin
* | mingw
* |pw32
*)
3337 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3338 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3341 darwin
* | rhapsody
*)
3342 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3343 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3345 rhapsody
* | darwin1.012
)
3346 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3349 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3354 freebsd
* | kfreebsd
*-gnu)
3355 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3358 # Not sure whether the presence of OpenBSD here was a mistake.
3359 # Let's accept both of them until this is cleared up.
3360 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3361 lt_cv_file_magic_cmd
=/usr
/bin
/file
3362 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3366 lt_cv_deplibs_check_method
=pass_all
3371 lt_cv_deplibs_check_method
=pass_all
3377 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3378 lt_cv_file_magic_cmd
=/usr
/bin
/file
3379 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3382 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3383 lt_cv_file_magic_cmd
=/usr
/bin
/file
3384 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3392 # this will be overridden with pass_all, but let us keep it just in case
3393 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3397 *-32|
*"-32 ") libmagic
=32-bit;;
3398 *-n32|
*"-n32 ") libmagic
=N32
;;
3399 *-64|
*"-64 ") libmagic
=64-bit;;
3400 *) libmagic
=never-match
;;
3402 # this will be overridden with pass_all, but let us keep it just in case
3403 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3406 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3407 lt_cv_deplibs_check_method
=pass_all
3410 # This must be Linux ELF.
3413 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3414 lt_cv_deplibs_check_method
=pass_all
;;
3416 # glibc up to 2.1.1 does not perform some relocations on ARM
3417 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3419 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3422 netbsd
* | knetbsd
*-gnu)
3423 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3424 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3426 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3431 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3432 lt_cv_file_magic_cmd
=/usr
/bin
/file
3433 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3436 osf3
* | osf4
* | osf5
*)
3437 # this will be overridden with pass_all, but let us keep it just in case
3438 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3439 lt_cv_file_magic_test_file
=/shlib
/libc.so
3440 lt_cv_deplibs_check_method
=pass_all
3444 lt_cv_deplibs_check_method
=pass_all
3448 lt_cv_deplibs_check_method
=pass_all
3449 lt_cv_file_magic_test_file
=/lib
/libc.so
3452 sysv5uw
[78]* | sysv4
*uw2
*)
3453 lt_cv_deplibs_check_method
=pass_all
3456 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3457 case $host_vendor in
3459 lt_cv_deplibs_check_method
=pass_all
3462 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]'
3463 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3470 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3471 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3472 file_magic_cmd
=$lt_cv_file_magic_cmd
3473 deplibs_check_method
=$lt_cv_deplibs_check_method
3478 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3480 # Only perform the check for file, if the check method requires it
3481 case $deplibs_check_method in
3483 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3484 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3485 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3486 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3491 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3494 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3497 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3498 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3499 ac_dummy
="/usr/bin:$PATH"
3500 for ac_dir
in $ac_dummy; do
3501 test -z "$ac_dir" && ac_dir
=.
3502 if test -f $ac_dir/${ac_tool_prefix}file; then
3503 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3504 if test -n "$file_magic_test_file"; then
3505 case $deplibs_check_method in
3507 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3508 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3509 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3510 egrep "$file_magic_regex" > /dev
/null
; then
3515 *** Warning: the command libtool uses to detect shared libraries,
3516 *** $file_magic_cmd, produces output that libtool cannot recognize.
3517 *** The result is that libtool may fail to recognize shared libraries
3518 *** as such. This will affect the creation of libtool libraries that
3519 *** depend on shared libraries, but programs linked with such libtool
3520 *** libraries will work regardless of this problem. Nevertheless, you
3521 *** may want to report the problem to your system manager and/or to
3522 *** bug-libtool@gnu.org
3532 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3537 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3538 if test -n "$MAGIC_CMD"; then
3539 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3540 echo "${ECHO_T}$MAGIC_CMD" >&6
3542 echo "$as_me:$LINENO: result: no" >&5
3543 echo "${ECHO_T}no" >&6
3546 if test -z "$lt_cv_path_MAGIC_CMD"; then
3547 if test -n "$ac_tool_prefix"; then
3548 echo "$as_me:$LINENO: checking for file" >&5
3549 echo $ECHO_N "checking for file... $ECHO_C" >&6
3550 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3551 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3558 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3561 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3562 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3563 ac_dummy
="/usr/bin:$PATH"
3564 for ac_dir
in $ac_dummy; do
3565 test -z "$ac_dir" && ac_dir
=.
3566 if test -f $ac_dir/file; then
3567 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3568 if test -n "$file_magic_test_file"; then
3569 case $deplibs_check_method in
3571 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3572 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3573 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3574 egrep "$file_magic_regex" > /dev
/null
; then
3579 *** Warning: the command libtool uses to detect shared libraries,
3580 *** $file_magic_cmd, produces output that libtool cannot recognize.
3581 *** The result is that libtool may fail to recognize shared libraries
3582 *** as such. This will affect the creation of libtool libraries that
3583 *** depend on shared libraries, but programs linked with such libtool
3584 *** libraries will work regardless of this problem. Nevertheless, you
3585 *** may want to report the problem to your system manager and/or to
3586 *** bug-libtool@gnu.org
3596 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3601 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3602 if test -n "$MAGIC_CMD"; then
3603 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3604 echo "${ECHO_T}$MAGIC_CMD" >&6
3606 echo "$as_me:$LINENO: result: no" >&5
3607 echo "${ECHO_T}no" >&6
3619 if test -n "$ac_tool_prefix"; then
3620 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3621 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3622 echo "$as_me:$LINENO: checking for $ac_word" >&5
3623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3624 if test "${ac_cv_prog_RANLIB+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 if test -n "$RANLIB"; then
3628 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3634 test -z "$as_dir" && as_dir
=.
3635 for ac_exec_ext
in '' $ac_executable_extensions; do
3636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3637 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3646 RANLIB
=$ac_cv_prog_RANLIB
3647 if test -n "$RANLIB"; then
3648 echo "$as_me:$LINENO: result: $RANLIB" >&5
3649 echo "${ECHO_T}$RANLIB" >&6
3651 echo "$as_me:$LINENO: result: no" >&5
3652 echo "${ECHO_T}no" >&6
3656 if test -z "$ac_cv_prog_RANLIB"; then
3657 ac_ct_RANLIB
=$RANLIB
3658 # Extract the first word of "ranlib", so it can be a program name with args.
3659 set dummy ranlib
; ac_word
=$2
3660 echo "$as_me:$LINENO: checking for $ac_word" >&5
3661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3662 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3663 echo $ECHO_N "(cached) $ECHO_C" >&6
3665 if test -n "$ac_ct_RANLIB"; then
3666 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3672 test -z "$as_dir" && as_dir
=.
3673 for ac_exec_ext
in '' $ac_executable_extensions; do
3674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3685 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3686 if test -n "$ac_ct_RANLIB"; then
3687 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3688 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3690 echo "$as_me:$LINENO: result: no" >&5
3691 echo "${ECHO_T}no" >&6
3694 RANLIB
=$ac_ct_RANLIB
3696 RANLIB
="$ac_cv_prog_RANLIB"
3699 if test -n "$ac_tool_prefix"; then
3700 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3701 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3702 echo "$as_me:$LINENO: checking for $ac_word" >&5
3703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3704 if test "${ac_cv_prog_STRIP+set}" = set; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 if test -n "$STRIP"; then
3708 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3714 test -z "$as_dir" && as_dir
=.
3715 for ac_exec_ext
in '' $ac_executable_extensions; do
3716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3717 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 STRIP
=$ac_cv_prog_STRIP
3727 if test -n "$STRIP"; then
3728 echo "$as_me:$LINENO: result: $STRIP" >&5
3729 echo "${ECHO_T}$STRIP" >&6
3731 echo "$as_me:$LINENO: result: no" >&5
3732 echo "${ECHO_T}no" >&6
3736 if test -z "$ac_cv_prog_STRIP"; then
3738 # Extract the first word of "strip", so it can be a program name with args.
3739 set dummy strip
; ac_word
=$2
3740 echo "$as_me:$LINENO: checking for $ac_word" >&5
3741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3742 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3745 if test -n "$ac_ct_STRIP"; then
3746 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir
=.
3753 for ac_exec_ext
in '' $ac_executable_extensions; do
3754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3755 ac_cv_prog_ac_ct_STRIP
="strip"
3756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3765 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3766 if test -n "$ac_ct_STRIP"; then
3767 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3768 echo "${ECHO_T}$ac_ct_STRIP" >&6
3770 echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6
3776 STRIP
="$ac_cv_prog_STRIP"
3780 # Check for any special flags to pass to ltconfig.
3781 libtool_flags
="--cache-file=$cache_file"
3782 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3783 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3784 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3785 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3786 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3789 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3790 if test "${enable_libtool_lock+set}" = set; then
3791 enableval
="$enable_libtool_lock"
3794 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3795 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3798 # Check whether --with-pic or --without-pic was given.
3799 if test "${with_pic+set}" = set; then
3805 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3806 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3808 # Some flags need to be propagated to the compiler or linker for good
3812 # Find out which ABI we are using.
3813 echo '#line 3813 "configure"' > conftest.
$ac_ext
3814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3815 (eval $ac_compile) 2>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); }; then
3819 if test "$lt_cv_prog_gnu_ld" = yes; then
3820 case `/usr/bin/file conftest.$ac_objext` in
3822 LD
="${LD-ld} -melf32bsmip"
3825 LD
="${LD-ld} -melf32bmipn32"
3828 LD
="${LD-ld} -melf64bmip"
3832 case `/usr/bin/file conftest.$ac_objext` in
3849 # Find out which ABI we are using.
3850 echo 'int i;' > conftest.
$ac_ext
3851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3852 (eval $ac_compile) 2>&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); }; then
3856 case "`/usr/bin/file conftest.o`" in
3869 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3870 SAVE_CFLAGS
="$CFLAGS"
3871 CFLAGS
="$CFLAGS -belf"
3872 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3873 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3874 if test "${lt_cv_cc_needs_belf+set}" = set; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3880 ac_cpp
='$CPP $CPPFLAGS'
3881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3885 cat >conftest.
$ac_ext <<_ACEOF
3888 cat confdefs.h
>>conftest.
$ac_ext
3889 cat >>conftest.
$ac_ext <<_ACEOF
3890 /* end confdefs.h. */
3900 rm -f conftest.
$ac_objext conftest
$ac_exeext
3901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3902 (eval $ac_link) 2>conftest.er1
3904 grep -v '^ *+' conftest.er1
>conftest.err
3906 cat conftest.err
>&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } &&
3909 { ac_try
='test -z "$ac_c_werror_flag"
3910 || test ! -s conftest.err'
3911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); }; } &&
3916 { ac_try
='test -s conftest$ac_exeext'
3917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 (exit $ac_status); }; }; then
3922 lt_cv_cc_needs_belf
=yes
3924 echo "$as_me: failed program was:" >&5
3925 sed 's/^/| /' conftest.
$ac_ext >&5
3927 lt_cv_cc_needs_belf
=no
3929 rm -f conftest.err conftest.
$ac_objext \
3930 conftest
$ac_exeext conftest.
$ac_ext
3932 ac_cpp
='$CPP $CPPFLAGS'
3933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3938 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3939 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3940 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3941 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3942 CFLAGS
="$SAVE_CFLAGS"
3950 # Save cache, so that ltconfig can load it
3951 cat >confcache
<<\_ACEOF
3952 # This file is a shell script that caches the results of configure
3953 # tests run on this system so they can be shared between configure
3954 # scripts and configure runs, see configure's option --config-cache.
3955 # It is not useful on other systems. If it contains results you don't
3956 # want to keep, you may remove or edit it.
3958 # config.status only pays attention to the cache file if you give it
3959 # the --recheck option to rerun configure.
3961 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3962 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3967 # The following way of writing the cache mishandles newlines in values,
3968 # but we know of no workaround that is simple, portable, and efficient.
3969 # So, don't put newlines in cache variables' values.
3970 # Ultrix sh set writes to stderr and can't be redirected directly,
3971 # and sets the high bit in the cache file unless we assign to the vars.
3974 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3976 # `set' does not quote correctly, so add quotes (double-quote
3977 # substitution turns \\\\ into \\, and sed turns \\ into \).
3980 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3983 # `set' quotes correctly as required by POSIX, so do not add quotes.
3985 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3992 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3994 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3996 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3997 if test -w $cache_file; then
3998 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3999 cat confcache
>$cache_file
4001 echo "not updating unwritable cache $cache_file"
4006 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4007 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4008 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4009 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4010 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4011 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4012 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4013 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4014 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4015 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4016 echo "$as_me: error: libtool configure failed" >&2;}
4017 { (exit 1); exit 1; }; }
4019 # Reload cache, that may have been modified by ltconfig
4020 if test -r "$cache_file"; then
4021 # Some versions of bash will fail to source /dev/null (special
4022 # files actually), so we avoid doing that.
4023 if test -f "$cache_file"; then
4024 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4025 echo "$as_me: loading cache $cache_file" >&6;}
4027 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4028 *) . .
/$cache_file;;
4032 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4033 echo "$as_me: creating cache $cache_file" >&6;}
4038 # This can be used to rebuild libtool when needed
4039 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4041 # Always use our own libtool.
4042 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4044 # Redirect the config.log output again, so that the ltconfig log is not
4045 # clobbered by the next message.
4046 exec 5>>.
/config.log
4054 ac_config_headers
="$ac_config_headers gconfig.h:gconfig.in"
4058 ac_cpp
='$CPP $CPPFLAGS'
4059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4062 if test -n "$ac_tool_prefix"; then
4063 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4064 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4065 echo "$as_me:$LINENO: checking for $ac_word" >&5
4066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4067 if test "${ac_cv_prog_CC+set}" = set; then
4068 echo $ECHO_N "(cached) $ECHO_C" >&6
4070 if test -n "$CC"; then
4071 ac_cv_prog_CC
="$CC" # Let the user override the test.
4073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4077 test -z "$as_dir" && as_dir
=.
4078 for ac_exec_ext
in '' $ac_executable_extensions; do
4079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4080 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4090 if test -n "$CC"; then
4091 echo "$as_me:$LINENO: result: $CC" >&5
4092 echo "${ECHO_T}$CC" >&6
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4099 if test -z "$ac_cv_prog_CC"; then
4101 # Extract the first word of "gcc", so it can be a program name with args.
4102 set dummy gcc
; ac_word
=$2
4103 echo "$as_me:$LINENO: checking for $ac_word" >&5
4104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4105 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4106 echo $ECHO_N "(cached) $ECHO_C" >&6
4108 if test -n "$ac_ct_CC"; then
4109 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4115 test -z "$as_dir" && as_dir
=.
4116 for ac_exec_ext
in '' $ac_executable_extensions; do
4117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4118 ac_cv_prog_ac_ct_CC
="gcc"
4119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4127 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4128 if test -n "$ac_ct_CC"; then
4129 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4130 echo "${ECHO_T}$ac_ct_CC" >&6
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4141 if test -z "$CC"; then
4142 if test -n "$ac_tool_prefix"; then
4143 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4144 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4145 echo "$as_me:$LINENO: checking for $ac_word" >&5
4146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4147 if test "${ac_cv_prog_CC+set}" = set; then
4148 echo $ECHO_N "(cached) $ECHO_C" >&6
4150 if test -n "$CC"; then
4151 ac_cv_prog_CC
="$CC" # Let the user override the test.
4153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4157 test -z "$as_dir" && as_dir
=.
4158 for ac_exec_ext
in '' $ac_executable_extensions; do
4159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4160 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 if test -n "$CC"; then
4171 echo "$as_me:$LINENO: result: $CC" >&5
4172 echo "${ECHO_T}$CC" >&6
4174 echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6
4179 if test -z "$ac_cv_prog_CC"; then
4181 # Extract the first word of "cc", so it can be a program name with args.
4182 set dummy cc
; ac_word
=$2
4183 echo "$as_me:$LINENO: checking for $ac_word" >&5
4184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4185 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 if test -n "$ac_ct_CC"; then
4189 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4195 test -z "$as_dir" && as_dir
=.
4196 for ac_exec_ext
in '' $ac_executable_extensions; do
4197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4198 ac_cv_prog_ac_ct_CC
="cc"
4199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4208 if test -n "$ac_ct_CC"; then
4209 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4210 echo "${ECHO_T}$ac_ct_CC" >&6
4212 echo "$as_me:$LINENO: result: no" >&5
4213 echo "${ECHO_T}no" >&6
4222 if test -z "$CC"; then
4223 # Extract the first word of "cc", so it can be a program name with args.
4224 set dummy cc
; ac_word
=$2
4225 echo "$as_me:$LINENO: checking for $ac_word" >&5
4226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4227 if test "${ac_cv_prog_CC+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4230 if test -n "$CC"; then
4231 ac_cv_prog_CC
="$CC" # Let the user override the test.
4234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir
=.
4239 for ac_exec_ext
in '' $ac_executable_extensions; do
4240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4241 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4242 ac_prog_rejected
=yes
4246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 if test $ac_prog_rejected = yes; then
4253 # We found a bogon in the path, so make sure we never use it.
4254 set dummy
$ac_cv_prog_CC
4256 if test $# != 0; then
4257 # We chose a different compiler from the bogus one.
4258 # However, it has the same basename, so the bogon will be chosen
4259 # first if we set CC to just the basename; use the full file name.
4261 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4267 if test -n "$CC"; then
4268 echo "$as_me:$LINENO: result: $CC" >&5
4269 echo "${ECHO_T}$CC" >&6
4271 echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6
4276 if test -z "$CC"; then
4277 if test -n "$ac_tool_prefix"; then
4280 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4281 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4282 echo "$as_me:$LINENO: checking for $ac_word" >&5
4283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4284 if test "${ac_cv_prog_CC+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 if test -n "$CC"; then
4288 ac_cv_prog_CC
="$CC" # Let the user override the test.
4290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4294 test -z "$as_dir" && as_dir
=.
4295 for ac_exec_ext
in '' $ac_executable_extensions; do
4296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4297 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4307 if test -n "$CC"; then
4308 echo "$as_me:$LINENO: result: $CC" >&5
4309 echo "${ECHO_T}$CC" >&6
4311 echo "$as_me:$LINENO: result: no" >&5
4312 echo "${ECHO_T}no" >&6
4315 test -n "$CC" && break
4318 if test -z "$CC"; then
4322 # Extract the first word of "$ac_prog", so it can be a program name with args.
4323 set dummy
$ac_prog; ac_word
=$2
4324 echo "$as_me:$LINENO: checking for $ac_word" >&5
4325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4326 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 if test -n "$ac_ct_CC"; then
4330 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir
=.
4337 for ac_exec_ext
in '' $ac_executable_extensions; do
4338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4339 ac_cv_prog_ac_ct_CC
="$ac_prog"
4340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4348 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4349 if test -n "$ac_ct_CC"; then
4350 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4351 echo "${ECHO_T}$ac_ct_CC" >&6
4353 echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6
4357 test -n "$ac_ct_CC" && break
4366 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4367 See \`config.log' for more details." >&5
4368 echo "$as_me: error: no acceptable C compiler found in \$PATH
4369 See \`config.log' for more details." >&2;}
4370 { (exit 1); exit 1; }; }
4372 # Provide some information about the compiler.
4373 echo "$as_me:$LINENO:" \
4374 "checking for C compiler version" >&5
4375 ac_compiler
=`set X $ac_compile; echo $2`
4376 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4377 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }
4381 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4382 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); }
4386 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4387 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }
4392 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4393 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4394 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 cat >conftest.
$ac_ext <<_ACEOF
4400 cat confdefs.h
>>conftest.
$ac_ext
4401 cat >>conftest.
$ac_ext <<_ACEOF
4402 /* end confdefs.h. */
4415 rm -f conftest.
$ac_objext
4416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4417 (eval $ac_compile) 2>conftest.er1
4419 grep -v '^ *+' conftest.er1
>conftest.err
4421 cat conftest.err
>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } &&
4424 { ac_try
='test -z "$ac_c_werror_flag"
4425 || test ! -s conftest.err'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; } &&
4431 { ac_try
='test -s conftest.$ac_objext'
4432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; }; then
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.
$ac_ext >&5
4444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4445 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4448 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4449 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4450 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4451 ac_test_CFLAGS
=${CFLAGS+set}
4452 ac_save_CFLAGS
=$CFLAGS
4454 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4455 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4456 if test "${ac_cv_prog_cc_g+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 cat >conftest.
$ac_ext <<_ACEOF
4462 cat confdefs.h
>>conftest.
$ac_ext
4463 cat >>conftest.
$ac_ext <<_ACEOF
4464 /* end confdefs.h. */
4474 rm -f conftest.
$ac_objext
4475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4476 (eval $ac_compile) 2>conftest.er1
4478 grep -v '^ *+' conftest.er1
>conftest.err
4480 cat conftest.err
>&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); } &&
4483 { ac_try
='test -z "$ac_c_werror_flag"
4484 || test ! -s conftest.err'
4485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; } &&
4490 { ac_try
='test -s conftest.$ac_objext'
4491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }; }; then
4498 echo "$as_me: failed program was:" >&5
4499 sed 's/^/| /' conftest.
$ac_ext >&5
4503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4505 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4506 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4507 if test "$ac_test_CFLAGS" = set; then
4508 CFLAGS
=$ac_save_CFLAGS
4509 elif test $ac_cv_prog_cc_g = yes; then
4510 if test "$GCC" = yes; then
4516 if test "$GCC" = yes; then
4522 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4523 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4524 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 ac_cv_prog_cc_stdc
=no
4529 cat >conftest.
$ac_ext <<_ACEOF
4532 cat confdefs.h
>>conftest.
$ac_ext
4533 cat >>conftest.
$ac_ext <<_ACEOF
4534 /* end confdefs.h. */
4537 #include <sys/types.h>
4538 #include <sys/stat.h>
4539 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4540 struct buf { int x; };
4541 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4542 static char *e (p, i)
4548 static char *f (char * (*g) (char **, int), char **p, ...)
4553 s = g (p, va_arg (v,int));
4558 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4559 function prototypes and stuff, but not '\xHH' hex character constants.
4560 These don't provoke an error unfortunately, instead are silently treated
4561 as 'x'. The following induces an error, until -std1 is added to get
4562 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4563 array size at least. It's necessary to write '\x00'==0 to get something
4564 that's true only with -std1. */
4565 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4567 int test (int i, double x);
4568 struct s1 {int (*f) (int a);};
4569 struct s2 {int (*f) (double a);};
4570 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4576 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4581 # Don't try gcc -ansi; that turns off useful extensions and
4582 # breaks some systems' header files.
4583 # AIX -qlanglvl=ansi
4584 # Ultrix and OSF/1 -std1
4585 # HP-UX 10.20 and later -Ae
4586 # HP-UX older versions -Aa -D_HPUX_SOURCE
4587 # SVR4 -Xc -D__EXTENSIONS__
4588 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4590 CC
="$ac_save_CC $ac_arg"
4591 rm -f conftest.
$ac_objext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4593 (eval $ac_compile) 2>conftest.er1
4595 grep -v '^ *+' conftest.er1
>conftest.err
4597 cat conftest.err
>&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); } &&
4600 { ac_try
='test -z "$ac_c_werror_flag"
4601 || test ! -s conftest.err'
4602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }; } &&
4607 { ac_try
='test -s conftest.$ac_objext'
4608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); }; }; then
4613 ac_cv_prog_cc_stdc
=$ac_arg
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.
$ac_ext >&5
4620 rm -f conftest.err conftest.
$ac_objext
4622 rm -f conftest.
$ac_ext conftest.
$ac_objext
4627 case "x$ac_cv_prog_cc_stdc" in
4629 echo "$as_me:$LINENO: result: none needed" >&5
4630 echo "${ECHO_T}none needed" >&6 ;;
4632 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4633 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4634 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4637 # Some people use a C++ compiler to compile C. Since we use `exit',
4638 # in C++ we need to declare it. In case someone uses the same compiler
4639 # for both compiling C and C++ we need to have the C++ compiler decide
4640 # the declaration of exit, since it's the most demanding environment.
4641 cat >conftest.
$ac_ext <<_ACEOF
4646 rm -f conftest.
$ac_objext
4647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4648 (eval $ac_compile) 2>conftest.er1
4650 grep -v '^ *+' conftest.er1
>conftest.err
4652 cat conftest.err
>&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } &&
4655 { ac_try
='test -z "$ac_c_werror_flag"
4656 || test ! -s conftest.err'
4657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; } &&
4662 { ac_try
='test -s conftest.$ac_objext'
4663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; }; then
4668 for ac_declaration
in \
4670 'extern "C" void std::exit (int) throw (); using std::exit;' \
4671 'extern "C" void std::exit (int); using std::exit;' \
4672 'extern "C" void exit (int) throw ();' \
4673 'extern "C" void exit (int);' \
4676 cat >conftest.
$ac_ext <<_ACEOF
4679 cat confdefs.h
>>conftest.
$ac_ext
4680 cat >>conftest.
$ac_ext <<_ACEOF
4681 /* end confdefs.h. */
4692 rm -f conftest.
$ac_objext
4693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4694 (eval $ac_compile) 2>conftest.er1
4696 grep -v '^ *+' conftest.er1
>conftest.err
4698 cat conftest.err
>&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } &&
4701 { ac_try
='test -z "$ac_c_werror_flag"
4702 || test ! -s conftest.err'
4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }; } &&
4708 { ac_try
='test -s conftest.$ac_objext'
4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); }; }; then
4716 echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.
$ac_ext >&5
4721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4722 cat >conftest.
$ac_ext <<_ACEOF
4725 cat confdefs.h
>>conftest.
$ac_ext
4726 cat >>conftest.
$ac_ext <<_ACEOF
4727 /* end confdefs.h. */
4737 rm -f conftest.
$ac_objext
4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4739 (eval $ac_compile) 2>conftest.er1
4741 grep -v '^ *+' conftest.er1
>conftest.err
4743 cat conftest.err
>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } &&
4746 { ac_try
='test -z "$ac_c_werror_flag"
4747 || test ! -s conftest.err'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; } &&
4753 { ac_try
='test -s conftest.$ac_objext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.
$ac_ext >&5
4765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4768 if test -n "$ac_declaration"; then
4769 echo '#ifdef __cplusplus' >>confdefs.h
4770 echo $ac_declaration >>confdefs.h
4771 echo '#endif' >>confdefs.h
4775 echo "$as_me: failed program was:" >&5
4776 sed 's/^/| /' conftest.
$ac_ext >&5
4779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4781 ac_cpp
='$CPP $CPPFLAGS'
4782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4786 # Find a good install program. We prefer a C program (faster),
4787 # so one script is as good as another. But avoid the broken or
4788 # incompatible versions:
4789 # SysV /etc/install, /usr/sbin/install
4790 # SunOS /usr/etc/install
4791 # IRIX /sbin/install
4793 # AmigaOS /C/install, which installs bootblocks on floppy discs
4794 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4795 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4796 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4797 # OS/2's system install, which has a completely different semantic
4798 # ./install, which can be erroneously created by make from ./install.sh.
4799 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4800 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4801 if test -z "$INSTALL"; then
4802 if test "${ac_cv_path_install+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6
4805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4809 test -z "$as_dir" && as_dir
=.
4810 # Account for people who put trailing slashes in PATH elements.
4812 .
/ | .
// |
/cC
/* | \
4813 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4814 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4817 # OSF1 and SCO ODT 3.0 have their own names for install.
4818 # Don't use installbsd from OSF since it installs stuff as root
4820 for ac_prog
in ginstall scoinst
install; do
4821 for ac_exec_ext
in '' $ac_executable_extensions; do
4822 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4823 if test $ac_prog = install &&
4824 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4825 # AIX install. It has an incompatible calling convention.
4827 elif test $ac_prog = install &&
4828 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4829 # program-specific install script used by HP pwplus--don't use.
4832 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4844 if test "${ac_cv_path_install+set}" = set; then
4845 INSTALL
=$ac_cv_path_install
4847 # As a last resort, use the slow shell script. We don't cache a
4848 # path for INSTALL within a source directory, because that will
4849 # break other packages using the cache if that directory is
4850 # removed, or if the path is relative.
4851 INSTALL
=$ac_install_sh
4854 echo "$as_me:$LINENO: result: $INSTALL" >&5
4855 echo "${ECHO_T}$INSTALL" >&6
4857 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4858 # It thinks the first close brace ends the variable substitution.
4859 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4861 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4863 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4867 for ac_func
in setmode
4869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4870 echo "$as_me:$LINENO: checking for $ac_func" >&5
4871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4872 if eval "test \"\${$as_ac_var+set}\" = set"; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 cat >conftest.
$ac_ext <<_ACEOF
4878 cat confdefs.h
>>conftest.
$ac_ext
4879 cat >>conftest.
$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4883 #define $ac_func innocuous_$ac_func
4885 /* System header to define __stub macros and hopefully few prototypes,
4886 which can conflict with char $ac_func (); below.
4887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4888 <limits.h> exists even on freestanding compilers. */
4891 # include <limits.h>
4893 # include <assert.h>
4898 /* Override any gcc2 internal prototype to avoid an error. */
4903 /* We use char because int might match the return type of a gcc2
4904 builtin and then its argument prototype would still apply. */
4906 /* The GNU C library defines this for functions which it implements
4907 to always fail with ENOSYS. Some functions are actually named
4908 something starting with __ and the normal name is an alias. */
4909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4912 char (*f) () = $ac_func;
4921 return f != $ac_func;
4926 rm -f conftest.
$ac_objext conftest
$ac_exeext
4927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4928 (eval $ac_link) 2>conftest.er1
4930 grep -v '^ *+' conftest.er1
>conftest.err
4932 cat conftest.err
>&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); } &&
4935 { ac_try
='test -z "$ac_c_werror_flag"
4936 || test ! -s conftest.err'
4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; } &&
4942 { ac_try
='test -s conftest$ac_exeext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; }; then
4948 eval "$as_ac_var=yes"
4950 echo "$as_me: failed program was:" >&5
4951 sed 's/^/| /' conftest.
$ac_ext >&5
4953 eval "$as_ac_var=no"
4955 rm -f conftest.err conftest.
$ac_objext \
4956 conftest
$ac_exeext conftest.
$ac_ext
4958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4960 if test `eval echo '${'$as_ac_var'}'` = yes; then
4961 cat >>confdefs.h
<<_ACEOF
4962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4969 ALL_LINGUAS
="fr tr sv es id da pt_BR de vi rw ga"
4970 if test -n "$ac_tool_prefix"; then
4971 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4972 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4973 echo "$as_me:$LINENO: checking for $ac_word" >&5
4974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4975 if test "${ac_cv_prog_RANLIB+set}" = set; then
4976 echo $ECHO_N "(cached) $ECHO_C" >&6
4978 if test -n "$RANLIB"; then
4979 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 RANLIB
=$ac_cv_prog_RANLIB
4998 if test -n "$RANLIB"; then
4999 echo "$as_me:$LINENO: result: $RANLIB" >&5
5000 echo "${ECHO_T}$RANLIB" >&6
5002 echo "$as_me:$LINENO: result: no" >&5
5003 echo "${ECHO_T}no" >&6
5007 if test -z "$ac_cv_prog_RANLIB"; then
5008 ac_ct_RANLIB
=$RANLIB
5009 # Extract the first word of "ranlib", so it can be a program name with args.
5010 set dummy ranlib
; ac_word
=$2
5011 echo "$as_me:$LINENO: checking for $ac_word" >&5
5012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5013 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5014 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 if test -n "$ac_ct_RANLIB"; then
5017 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir
=.
5024 for ac_exec_ext
in '' $ac_executable_extensions; do
5025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5026 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5036 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5037 if test -n "$ac_ct_RANLIB"; then
5038 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5039 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5045 RANLIB
=$ac_ct_RANLIB
5047 RANLIB
="$ac_cv_prog_RANLIB"
5051 ac_cpp
='$CPP $CPPFLAGS'
5052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5055 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5056 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5057 # On Suns, sometimes $CPP names a directory.
5058 if test -n "$CPP" && test -d "$CPP"; then
5061 if test -z "$CPP"; then
5062 if test "${ac_cv_prog_CPP+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 # Double quotes because CPP needs to be expanded
5066 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5069 for ac_c_preproc_warn_flag
in '' yes
5071 # Use a header file that comes with gcc, so configuring glibc
5072 # with a fresh cross-compiler works.
5073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5074 # <limits.h> exists even on freestanding compilers.
5075 # On the NeXT, cc -E runs the code through the compiler's parser,
5076 # not just through cpp. "Syntax error" is here to catch this case.
5077 cat >conftest.
$ac_ext <<_ACEOF
5080 cat confdefs.h
>>conftest.
$ac_ext
5081 cat >>conftest.
$ac_ext <<_ACEOF
5082 /* end confdefs.h. */
5084 # include <limits.h>
5086 # include <assert.h>
5090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5091 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5093 grep -v '^ *+' conftest.er1
>conftest.err
5095 cat conftest.err
>&5
5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); } >/dev
/null
; then
5098 if test -s conftest.err
; then
5099 ac_cpp_err
=$ac_c_preproc_warn_flag
5100 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5107 if test -z "$ac_cpp_err"; then
5110 echo "$as_me: failed program was:" >&5
5111 sed 's/^/| /' conftest.
$ac_ext >&5
5113 # Broken: fails on valid input.
5116 rm -f conftest.err conftest.
$ac_ext
5118 # OK, works on sane cases. Now check whether non-existent headers
5119 # can be detected and how.
5120 cat >conftest.
$ac_ext <<_ACEOF
5123 cat confdefs.h
>>conftest.
$ac_ext
5124 cat >>conftest.
$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5126 #include <ac_nonexistent.h>
5128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5129 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5131 grep -v '^ *+' conftest.er1
>conftest.err
5133 cat conftest.err
>&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } >/dev
/null
; then
5136 if test -s conftest.err
; then
5137 ac_cpp_err
=$ac_c_preproc_warn_flag
5138 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5145 if test -z "$ac_cpp_err"; then
5146 # Broken: success on invalid input.
5149 echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.
$ac_ext >&5
5152 # Passes both tests.
5156 rm -f conftest.err conftest.
$ac_ext
5159 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5160 rm -f conftest.err conftest.
$ac_ext
5161 if $ac_preproc_ok; then
5173 echo "$as_me:$LINENO: result: $CPP" >&5
5174 echo "${ECHO_T}$CPP" >&6
5176 for ac_c_preproc_warn_flag
in '' yes
5178 # Use a header file that comes with gcc, so configuring glibc
5179 # with a fresh cross-compiler works.
5180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5181 # <limits.h> exists even on freestanding compilers.
5182 # On the NeXT, cc -E runs the code through the compiler's parser,
5183 # not just through cpp. "Syntax error" is here to catch this case.
5184 cat >conftest.
$ac_ext <<_ACEOF
5187 cat confdefs.h
>>conftest.
$ac_ext
5188 cat >>conftest.
$ac_ext <<_ACEOF
5189 /* end confdefs.h. */
5191 # include <limits.h>
5193 # include <assert.h>
5197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5198 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5200 grep -v '^ *+' conftest.er1
>conftest.err
5202 cat conftest.err
>&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); } >/dev
/null
; then
5205 if test -s conftest.err
; then
5206 ac_cpp_err
=$ac_c_preproc_warn_flag
5207 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5214 if test -z "$ac_cpp_err"; then
5217 echo "$as_me: failed program was:" >&5
5218 sed 's/^/| /' conftest.
$ac_ext >&5
5220 # Broken: fails on valid input.
5223 rm -f conftest.err conftest.
$ac_ext
5225 # OK, works on sane cases. Now check whether non-existent headers
5226 # can be detected and how.
5227 cat >conftest.
$ac_ext <<_ACEOF
5230 cat confdefs.h
>>conftest.
$ac_ext
5231 cat >>conftest.
$ac_ext <<_ACEOF
5232 /* end confdefs.h. */
5233 #include <ac_nonexistent.h>
5235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5236 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5238 grep -v '^ *+' conftest.er1
>conftest.err
5240 cat conftest.err
>&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } >/dev
/null
; then
5243 if test -s conftest.err
; then
5244 ac_cpp_err
=$ac_c_preproc_warn_flag
5245 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5252 if test -z "$ac_cpp_err"; then
5253 # Broken: success on invalid input.
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.
$ac_ext >&5
5259 # Passes both tests.
5263 rm -f conftest.err conftest.
$ac_ext
5266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5267 rm -f conftest.err conftest.
$ac_ext
5268 if $ac_preproc_ok; then
5271 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5272 See \`config.log' for more details." >&5
5273 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5274 See \`config.log' for more details." >&2;}
5275 { (exit 1); exit 1; }; }
5279 ac_cpp
='$CPP $CPPFLAGS'
5280 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5281 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5282 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5285 echo "$as_me:$LINENO: checking for egrep" >&5
5286 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5287 if test "${ac_cv_prog_egrep+set}" = set; then
5288 echo $ECHO_N "(cached) $ECHO_C" >&6
5290 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5291 then ac_cv_prog_egrep
='grep -E'
5292 else ac_cv_prog_egrep
='egrep'
5295 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5296 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5297 EGREP
=$ac_cv_prog_egrep
5300 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5301 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5302 if test "${ac_cv_header_stdc+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 cat >conftest.
$ac_ext <<_ACEOF
5308 cat confdefs.h
>>conftest.
$ac_ext
5309 cat >>conftest.
$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5324 rm -f conftest.
$ac_objext
5325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5326 (eval $ac_compile) 2>conftest.er1
5328 grep -v '^ *+' conftest.er1
>conftest.err
5330 cat conftest.err
>&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } &&
5333 { ac_try
='test -z "$ac_c_werror_flag"
5334 || test ! -s conftest.err'
5335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); }; } &&
5340 { ac_try
='test -s conftest.$ac_objext'
5341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 (exit $ac_status); }; }; then
5346 ac_cv_header_stdc
=yes
5348 echo "$as_me: failed program was:" >&5
5349 sed 's/^/| /' conftest.
$ac_ext >&5
5351 ac_cv_header_stdc
=no
5353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5355 if test $ac_cv_header_stdc = yes; then
5356 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5357 cat >conftest.
$ac_ext <<_ACEOF
5360 cat confdefs.h
>>conftest.
$ac_ext
5361 cat >>conftest.
$ac_ext <<_ACEOF
5362 /* end confdefs.h. */
5366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5367 $EGREP "memchr" >/dev
/null
2>&1; then
5370 ac_cv_header_stdc
=no
5376 if test $ac_cv_header_stdc = yes; then
5377 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5378 cat >conftest.
$ac_ext <<_ACEOF
5381 cat confdefs.h
>>conftest.
$ac_ext
5382 cat >>conftest.
$ac_ext <<_ACEOF
5383 /* end confdefs.h. */
5387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5388 $EGREP "free" >/dev
/null
2>&1; then
5391 ac_cv_header_stdc
=no
5397 if test $ac_cv_header_stdc = yes; then
5398 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5399 if test "$cross_compiling" = yes; then
5402 cat >conftest.
$ac_ext <<_ACEOF
5405 cat confdefs.h
>>conftest.
$ac_ext
5406 cat >>conftest.
$ac_ext <<_ACEOF
5407 /* end confdefs.h. */
5409 #if ((' ' & 0x0FF) == 0x020)
5410 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5411 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5413 # define ISLOWER(c) \
5414 (('a' <= (c) && (c) <= 'i') \
5415 || ('j' <= (c) && (c) <= 'r') \
5416 || ('s' <= (c) && (c) <= 'z'))
5417 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5420 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5425 for (i = 0; i < 256; i++)
5426 if (XOR (islower (i), ISLOWER (i))
5427 || toupper (i) != TOUPPER (i))
5432 rm -f conftest
$ac_exeext
5433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5434 (eval $ac_link) 2>&5
5436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5437 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); }; }; then
5445 echo "$as_me: program exited with status $ac_status" >&5
5446 echo "$as_me: failed program was:" >&5
5447 sed 's/^/| /' conftest.
$ac_ext >&5
5450 ac_cv_header_stdc
=no
5452 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5456 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5457 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5458 if test $ac_cv_header_stdc = yes; then
5460 cat >>confdefs.h
<<\_ACEOF
5461 #define STDC_HEADERS 1
5466 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5467 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5468 if test "${ac_cv_c_const+set}" = set; then
5469 echo $ECHO_N "(cached) $ECHO_C" >&6
5471 cat >conftest.
$ac_ext <<_ACEOF
5474 cat confdefs.h
>>conftest.
$ac_ext
5475 cat >>conftest.
$ac_ext <<_ACEOF
5476 /* end confdefs.h. */
5481 /* FIXME: Include the comments suggested by Paul. */
5483 /* Ultrix mips cc rejects this. */
5484 typedef int charset[2];
5486 /* SunOS 4.1.1 cc rejects this. */
5487 char const *const *ccp;
5489 /* NEC SVR4.0.2 mips cc rejects this. */
5490 struct point {int x, y;};
5491 static struct point const zero = {0,0};
5492 /* AIX XL C 1.02.0.0 rejects this.
5493 It does not let you subtract one const X* pointer from another in
5494 an arm of an if-expression whose if-part is not a constant
5496 const char *g = "string";
5497 ccp = &g + (g ? g-g : 0);
5498 /* HPUX 7.0 cc rejects these. */
5501 ccp = (char const *const *) p;
5502 { /* SCO 3.2v4 cc rejects this. */
5504 char const *s = 0 ? (char *) 0 : (char const *) 0;
5508 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5510 const int *foo = &x[0];
5513 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5514 typedef const int *iptr;
5518 { /* AIX XL C 1.02.0.0 rejects this saying
5519 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5520 struct s { int j; const int *ap[3]; };
5521 struct s *b; b->j = 5;
5523 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5532 rm -f conftest.
$ac_objext
5533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5534 (eval $ac_compile) 2>conftest.er1
5536 grep -v '^ *+' conftest.er1
>conftest.err
5538 cat conftest.err
>&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); } &&
5541 { ac_try
='test -z "$ac_c_werror_flag"
5542 || test ! -s conftest.err'
5543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5547 (exit $ac_status); }; } &&
5548 { ac_try
='test -s conftest.$ac_objext'
5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); }; }; then
5556 echo "$as_me: failed program was:" >&5
5557 sed 's/^/| /' conftest.
$ac_ext >&5
5561 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5563 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5564 echo "${ECHO_T}$ac_cv_c_const" >&6
5565 if test $ac_cv_c_const = no
; then
5567 cat >>confdefs.h
<<\_ACEOF
5573 echo "$as_me:$LINENO: checking for inline" >&5
5574 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5575 if test "${ac_cv_c_inline+set}" = set; then
5576 echo $ECHO_N "(cached) $ECHO_C" >&6
5579 for ac_kw
in inline __inline__ __inline
; do
5580 cat >conftest.
$ac_ext <<_ACEOF
5583 cat confdefs.h
>>conftest.
$ac_ext
5584 cat >>conftest.
$ac_ext <<_ACEOF
5585 /* end confdefs.h. */
5588 static $ac_kw foo_t static_foo () {return 0; }
5589 $ac_kw foo_t foo () {return 0; }
5593 rm -f conftest.
$ac_objext
5594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5595 (eval $ac_compile) 2>conftest.er1
5597 grep -v '^ *+' conftest.er1
>conftest.err
5599 cat conftest.err
>&5
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); } &&
5602 { ac_try
='test -z "$ac_c_werror_flag"
5603 || test ! -s conftest.err'
5604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; } &&
5609 { ac_try
='test -s conftest.$ac_objext'
5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; }; then
5615 ac_cv_c_inline
=$ac_kw; break
5617 echo "$as_me: failed program was:" >&5
5618 sed 's/^/| /' conftest.
$ac_ext >&5
5621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5625 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5626 echo "${ECHO_T}$ac_cv_c_inline" >&6
5629 case $ac_cv_c_inline in
5632 case $ac_cv_c_inline in
5634 *) ac_val
=$ac_cv_c_inline;;
5636 cat >>confdefs.h
<<_ACEOF
5638 #define inline $ac_val
5644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5654 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5655 inttypes.h stdint.h unistd.h
5657 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5658 echo "$as_me:$LINENO: checking for $ac_header" >&5
5659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5661 echo $ECHO_N "(cached) $ECHO_C" >&6
5663 cat >conftest.
$ac_ext <<_ACEOF
5666 cat confdefs.h
>>conftest.
$ac_ext
5667 cat >>conftest.
$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5669 $ac_includes_default
5671 #include <$ac_header>
5673 rm -f conftest.
$ac_objext
5674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5675 (eval $ac_compile) 2>conftest.er1
5677 grep -v '^ *+' conftest.er1
>conftest.err
5679 cat conftest.err
>&5
5680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); } &&
5682 { ac_try
='test -z "$ac_c_werror_flag"
5683 || test ! -s conftest.err'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; } &&
5689 { ac_try
='test -s conftest.$ac_objext'
5690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); }; }; then
5695 eval "$as_ac_Header=yes"
5697 echo "$as_me: failed program was:" >&5
5698 sed 's/^/| /' conftest.
$ac_ext >&5
5700 eval "$as_ac_Header=no"
5702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5707 cat >>confdefs.h
<<_ACEOF
5708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5716 echo "$as_me:$LINENO: checking for off_t" >&5
5717 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5718 if test "${ac_cv_type_off_t+set}" = set; then
5719 echo $ECHO_N "(cached) $ECHO_C" >&6
5721 cat >conftest.
$ac_ext <<_ACEOF
5724 cat confdefs.h
>>conftest.
$ac_ext
5725 cat >>conftest.
$ac_ext <<_ACEOF
5726 /* end confdefs.h. */
5727 $ac_includes_default
5739 rm -f conftest.
$ac_objext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741 (eval $ac_compile) 2>conftest.er1
5743 grep -v '^ *+' conftest.er1
>conftest.err
5745 cat conftest.err
>&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } &&
5748 { ac_try
='test -z "$ac_c_werror_flag"
5749 || test ! -s conftest.err'
5750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); }; } &&
5755 { ac_try
='test -s conftest.$ac_objext'
5756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); }; }; then
5761 ac_cv_type_off_t
=yes
5763 echo "$as_me: failed program was:" >&5
5764 sed 's/^/| /' conftest.
$ac_ext >&5
5768 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5770 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5771 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5772 if test $ac_cv_type_off_t = yes; then
5776 cat >>confdefs.h
<<_ACEOF
5782 echo "$as_me:$LINENO: checking for size_t" >&5
5783 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5784 if test "${ac_cv_type_size_t+set}" = set; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 cat >conftest.
$ac_ext <<_ACEOF
5790 cat confdefs.h
>>conftest.
$ac_ext
5791 cat >>conftest.
$ac_ext <<_ACEOF
5792 /* end confdefs.h. */
5793 $ac_includes_default
5799 if (sizeof (size_t))
5805 rm -f conftest.
$ac_objext
5806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5807 (eval $ac_compile) 2>conftest.er1
5809 grep -v '^ *+' conftest.er1
>conftest.err
5811 cat conftest.err
>&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); } &&
5814 { ac_try
='test -z "$ac_c_werror_flag"
5815 || test ! -s conftest.err'
5816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); }; } &&
5821 { ac_try
='test -s conftest.$ac_objext'
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); }; }; then
5827 ac_cv_type_size_t
=yes
5829 echo "$as_me: failed program was:" >&5
5830 sed 's/^/| /' conftest.
$ac_ext >&5
5832 ac_cv_type_size_t
=no
5834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5836 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5837 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5838 if test $ac_cv_type_size_t = yes; then
5842 cat >>confdefs.h
<<_ACEOF
5843 #define size_t unsigned
5848 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5849 # for constant arguments. Useless!
5850 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5851 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5852 if test "${ac_cv_working_alloca_h+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 cat >conftest.
$ac_ext <<_ACEOF
5858 cat confdefs.h
>>conftest.
$ac_ext
5859 cat >>conftest.
$ac_ext <<_ACEOF
5860 /* end confdefs.h. */
5865 char *p = (char *) alloca (2 * sizeof (int));
5870 rm -f conftest.
$ac_objext conftest
$ac_exeext
5871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5872 (eval $ac_link) 2>conftest.er1
5874 grep -v '^ *+' conftest.er1
>conftest.err
5876 cat conftest.err
>&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); } &&
5879 { ac_try
='test -z "$ac_c_werror_flag"
5880 || test ! -s conftest.err'
5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; } &&
5886 { ac_try
='test -s conftest$ac_exeext'
5887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); }; }; then
5892 ac_cv_working_alloca_h
=yes
5894 echo "$as_me: failed program was:" >&5
5895 sed 's/^/| /' conftest.
$ac_ext >&5
5897 ac_cv_working_alloca_h
=no
5899 rm -f conftest.err conftest.
$ac_objext \
5900 conftest
$ac_exeext conftest.
$ac_ext
5902 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5903 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5904 if test $ac_cv_working_alloca_h = yes; then
5906 cat >>confdefs.h
<<\_ACEOF
5907 #define HAVE_ALLOCA_H 1
5912 echo "$as_me:$LINENO: checking for alloca" >&5
5913 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5914 if test "${ac_cv_func_alloca_works+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5917 cat >conftest.
$ac_ext <<_ACEOF
5920 cat confdefs.h
>>conftest.
$ac_ext
5921 cat >>conftest.
$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5924 # define alloca __builtin_alloca
5927 # include <malloc.h>
5928 # define alloca _alloca
5931 # include <alloca.h>
5936 # ifndef alloca /* predefined by HP cc +Olibcalls */
5947 char *p = (char *) alloca (1);
5952 rm -f conftest.
$ac_objext conftest
$ac_exeext
5953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5954 (eval $ac_link) 2>conftest.er1
5956 grep -v '^ *+' conftest.er1
>conftest.err
5958 cat conftest.err
>&5
5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5960 (exit $ac_status); } &&
5961 { ac_try
='test -z "$ac_c_werror_flag"
5962 || test ! -s conftest.err'
5963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); }; } &&
5968 { ac_try
='test -s conftest$ac_exeext'
5969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973 (exit $ac_status); }; }; then
5974 ac_cv_func_alloca_works
=yes
5976 echo "$as_me: failed program was:" >&5
5977 sed 's/^/| /' conftest.
$ac_ext >&5
5979 ac_cv_func_alloca_works
=no
5981 rm -f conftest.err conftest.
$ac_objext \
5982 conftest
$ac_exeext conftest.
$ac_ext
5984 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5985 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5987 if test $ac_cv_func_alloca_works = yes; then
5989 cat >>confdefs.h
<<\_ACEOF
5990 #define HAVE_ALLOCA 1
5994 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5995 # that cause trouble. Some versions do not even contain alloca or
5996 # contain a buggy version. If you still want to use their alloca,
5997 # use ar to extract alloca.o from them instead of compiling alloca.c.
5999 ALLOCA
=alloca.
$ac_objext
6001 cat >>confdefs.h
<<\_ACEOF
6006 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6007 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6008 if test "${ac_cv_os_cray+set}" = set; then
6009 echo $ECHO_N "(cached) $ECHO_C" >&6
6011 cat >conftest.
$ac_ext <<_ACEOF
6014 cat confdefs.h
>>conftest.
$ac_ext
6015 cat >>conftest.
$ac_ext <<_ACEOF
6016 /* end confdefs.h. */
6017 #if defined(CRAY) && ! defined(CRAY2)
6024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6025 $EGREP "webecray" >/dev
/null
2>&1; then
6033 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6034 echo "${ECHO_T}$ac_cv_os_cray" >&6
6035 if test $ac_cv_os_cray = yes; then
6036 for ac_func
in _getb67 GETB67 getb67
; do
6037 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6038 echo "$as_me:$LINENO: checking for $ac_func" >&5
6039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6040 if eval "test \"\${$as_ac_var+set}\" = set"; then
6041 echo $ECHO_N "(cached) $ECHO_C" >&6
6043 cat >conftest.
$ac_ext <<_ACEOF
6046 cat confdefs.h
>>conftest.
$ac_ext
6047 cat >>conftest.
$ac_ext <<_ACEOF
6048 /* end confdefs.h. */
6049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6051 #define $ac_func innocuous_$ac_func
6053 /* System header to define __stub macros and hopefully few prototypes,
6054 which can conflict with char $ac_func (); below.
6055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6056 <limits.h> exists even on freestanding compilers. */
6059 # include <limits.h>
6061 # include <assert.h>
6066 /* Override any gcc2 internal prototype to avoid an error. */
6071 /* We use char because int might match the return type of a gcc2
6072 builtin and then its argument prototype would still apply. */
6074 /* The GNU C library defines this for functions which it implements
6075 to always fail with ENOSYS. Some functions are actually named
6076 something starting with __ and the normal name is an alias. */
6077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6080 char (*f) () = $ac_func;
6089 return f != $ac_func;
6094 rm -f conftest.
$ac_objext conftest
$ac_exeext
6095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6096 (eval $ac_link) 2>conftest.er1
6098 grep -v '^ *+' conftest.er1
>conftest.err
6100 cat conftest.err
>&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); } &&
6103 { ac_try
='test -z "$ac_c_werror_flag"
6104 || test ! -s conftest.err'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; } &&
6110 { ac_try
='test -s conftest$ac_exeext'
6111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); }; }; then
6116 eval "$as_ac_var=yes"
6118 echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.
$ac_ext >&5
6121 eval "$as_ac_var=no"
6123 rm -f conftest.err conftest.
$ac_objext \
6124 conftest
$ac_exeext conftest.
$ac_ext
6126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6128 if test `eval echo '${'$as_ac_var'}'` = yes; then
6130 cat >>confdefs.h
<<_ACEOF
6131 #define CRAY_STACKSEG_END $ac_func
6140 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6141 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6142 if test "${ac_cv_c_stack_direction+set}" = set; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6145 if test "$cross_compiling" = yes; then
6146 ac_cv_c_stack_direction
=0
6148 cat >conftest.
$ac_ext <<_ACEOF
6151 cat confdefs.h
>>conftest.
$ac_ext
6152 cat >>conftest.
$ac_ext <<_ACEOF
6153 /* end confdefs.h. */
6155 find_stack_direction ()
6157 static char *addr = 0;
6162 return find_stack_direction ();
6165 return (&dummy > addr) ? 1 : -1;
6171 exit (find_stack_direction () < 0);
6174 rm -f conftest
$ac_exeext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6176 (eval $ac_link) 2>&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; }; then
6185 ac_cv_c_stack_direction
=1
6187 echo "$as_me: program exited with status $ac_status" >&5
6188 echo "$as_me: failed program was:" >&5
6189 sed 's/^/| /' conftest.
$ac_ext >&5
6192 ac_cv_c_stack_direction
=-1
6194 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6197 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6198 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6200 cat >>confdefs.h
<<_ACEOF
6201 #define STACK_DIRECTION $ac_cv_c_stack_direction
6209 for ac_header
in stdlib.h unistd.h
6211 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6213 echo "$as_me:$LINENO: checking for $ac_header" >&5
6214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6221 # Is the header compilable?
6222 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6223 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6224 cat >conftest.
$ac_ext <<_ACEOF
6227 cat confdefs.h
>>conftest.
$ac_ext
6228 cat >>conftest.
$ac_ext <<_ACEOF
6229 /* end confdefs.h. */
6230 $ac_includes_default
6231 #include <$ac_header>
6233 rm -f conftest.
$ac_objext
6234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6235 (eval $ac_compile) 2>conftest.er1
6237 grep -v '^ *+' conftest.er1
>conftest.err
6239 cat conftest.err
>&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); } &&
6242 { ac_try
='test -z "$ac_c_werror_flag"
6243 || test ! -s conftest.err'
6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; } &&
6249 { ac_try
='test -s conftest.$ac_objext'
6250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); }; }; then
6255 ac_header_compiler
=yes
6257 echo "$as_me: failed program was:" >&5
6258 sed 's/^/| /' conftest.
$ac_ext >&5
6260 ac_header_compiler
=no
6262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6263 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6264 echo "${ECHO_T}$ac_header_compiler" >&6
6266 # Is the header present?
6267 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6268 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6269 cat >conftest.
$ac_ext <<_ACEOF
6272 cat confdefs.h
>>conftest.
$ac_ext
6273 cat >>conftest.
$ac_ext <<_ACEOF
6274 /* end confdefs.h. */
6275 #include <$ac_header>
6277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6280 grep -v '^ *+' conftest.er1
>conftest.err
6282 cat conftest.err
>&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } >/dev
/null
; then
6285 if test -s conftest.err
; then
6286 ac_cpp_err
=$ac_c_preproc_warn_flag
6287 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6294 if test -z "$ac_cpp_err"; then
6295 ac_header_preproc
=yes
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.
$ac_ext >&5
6300 ac_header_preproc
=no
6302 rm -f conftest.err conftest.
$ac_ext
6303 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6304 echo "${ECHO_T}$ac_header_preproc" >&6
6306 # So? What about this header?
6307 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6309 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6310 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6312 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6313 ac_header_preproc
=yes
6316 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6317 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6318 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6319 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6320 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6321 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6322 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6323 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6326 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6327 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6330 ## ------------------------------------------ ##
6331 ## Report this to the AC_PACKAGE_NAME lists. ##
6332 ## ------------------------------------------ ##
6335 sed "s/^/$as_me: WARNING: /" >&2
6338 echo "$as_me:$LINENO: checking for $ac_header" >&5
6339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6341 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 eval "$as_ac_Header=\$ac_header_preproc"
6345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6350 cat >>confdefs.h
<<_ACEOF
6351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6359 for ac_func
in getpagesize
6361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6362 echo "$as_me:$LINENO: checking for $ac_func" >&5
6363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6364 if eval "test \"\${$as_ac_var+set}\" = set"; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 cat >conftest.
$ac_ext <<_ACEOF
6370 cat confdefs.h
>>conftest.
$ac_ext
6371 cat >>conftest.
$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6375 #define $ac_func innocuous_$ac_func
6377 /* System header to define __stub macros and hopefully few prototypes,
6378 which can conflict with char $ac_func (); below.
6379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6380 <limits.h> exists even on freestanding compilers. */
6383 # include <limits.h>
6385 # include <assert.h>
6390 /* Override any gcc2 internal prototype to avoid an error. */
6395 /* We use char because int might match the return type of a gcc2
6396 builtin and then its argument prototype would still apply. */
6398 /* The GNU C library defines this for functions which it implements
6399 to always fail with ENOSYS. Some functions are actually named
6400 something starting with __ and the normal name is an alias. */
6401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6404 char (*f) () = $ac_func;
6413 return f != $ac_func;
6418 rm -f conftest.
$ac_objext conftest
$ac_exeext
6419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6420 (eval $ac_link) 2>conftest.er1
6422 grep -v '^ *+' conftest.er1
>conftest.err
6424 cat conftest.err
>&5
6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 (exit $ac_status); } &&
6427 { ac_try
='test -z "$ac_c_werror_flag"
6428 || test ! -s conftest.err'
6429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); }; } &&
6434 { ac_try
='test -s conftest$ac_exeext'
6435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6439 (exit $ac_status); }; }; then
6440 eval "$as_ac_var=yes"
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.
$ac_ext >&5
6445 eval "$as_ac_var=no"
6447 rm -f conftest.err conftest.
$ac_objext \
6448 conftest
$ac_exeext conftest.
$ac_ext
6450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6452 if test `eval echo '${'$as_ac_var'}'` = yes; then
6453 cat >>confdefs.h
<<_ACEOF
6454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6460 echo "$as_me:$LINENO: checking for working mmap" >&5
6461 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6462 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 if test "$cross_compiling" = yes; then
6466 ac_cv_func_mmap_fixed_mapped
=no
6468 cat >conftest.
$ac_ext <<_ACEOF
6471 cat confdefs.h
>>conftest.
$ac_ext
6472 cat >>conftest.
$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6474 $ac_includes_default
6475 /* malloc might have been renamed as rpl_malloc. */
6478 /* Thanks to Mike Haertel and Jim Avera for this test.
6479 Here is a matrix of mmap possibilities:
6480 mmap private not fixed
6481 mmap private fixed at somewhere currently unmapped
6482 mmap private fixed at somewhere already mapped
6483 mmap shared not fixed
6484 mmap shared fixed at somewhere currently unmapped
6485 mmap shared fixed at somewhere already mapped
6486 For private mappings, we should verify that changes cannot be read()
6487 back from the file, nor mmap's back from the file at a different
6488 address. (There have been systems where private was not correctly
6489 implemented like the infamous i386 svr4.0, and systems where the
6490 VM page cache was not coherent with the file system buffer cache
6491 like early versions of FreeBSD and possibly contemporary NetBSD.)
6492 For shared mappings, we should conversely verify that changes get
6493 propagated back to all the places they're supposed to be.
6495 Grep wants private fixed already mapped.
6496 The main things grep needs to know about mmap are:
6497 * does it exist and is it safe to write into the mmap'd area
6498 * how to use it (BSD variants) */
6501 #include <sys/mman.h>
6503 #if !STDC_HEADERS && !HAVE_STDLIB_H
6507 /* This mess was copied from the GNU getpagesize.h. */
6508 #if !HAVE_GETPAGESIZE
6509 /* Assume that all systems that can run configure have sys/param.h. */
6510 # if !HAVE_SYS_PARAM_H
6511 # define HAVE_SYS_PARAM_H 1
6514 # ifdef _SC_PAGESIZE
6515 # define getpagesize() sysconf(_SC_PAGESIZE)
6516 # else /* no _SC_PAGESIZE */
6517 # if HAVE_SYS_PARAM_H
6518 # include <sys/param.h>
6519 # ifdef EXEC_PAGESIZE
6520 # define getpagesize() EXEC_PAGESIZE
6521 # else /* no EXEC_PAGESIZE */
6523 # define getpagesize() NBPG * CLSIZE
6526 # endif /* no CLSIZE */
6527 # else /* no NBPG */
6529 # define getpagesize() NBPC
6530 # else /* no NBPC */
6532 # define getpagesize() PAGESIZE
6533 # endif /* PAGESIZE */
6534 # endif /* no NBPC */
6535 # endif /* no NBPG */
6536 # endif /* no EXEC_PAGESIZE */
6537 # else /* no HAVE_SYS_PARAM_H */
6538 # define getpagesize() 8192 /* punt totally */
6539 # endif /* no HAVE_SYS_PARAM_H */
6540 # endif /* no _SC_PAGESIZE */
6542 #endif /* no HAVE_GETPAGESIZE */
6547 char *data, *data2, *data3;
6551 pagesize = getpagesize ();
6553 /* First, make a file with some known garbage in it. */
6554 data = (char *) malloc (pagesize);
6557 for (i = 0; i < pagesize; ++i)
6558 *(data + i) = rand ();
6560 fd = creat ("conftest.mmap", 0600);
6563 if (write (fd, data, pagesize) != pagesize)
6567 /* Next, try to mmap the file at a fixed address which already has
6568 something else allocated at it. If we can, also make sure that
6569 we see the same garbage. */
6570 fd = open ("conftest.mmap", O_RDWR);
6573 data2 = (char *) malloc (2 * pagesize);
6576 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6577 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6578 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6580 for (i = 0; i < pagesize; ++i)
6581 if (*(data + i) != *(data2 + i))
6584 /* Finally, make sure that changes to the mapped area do not
6585 percolate back to the file as seen by read(). (This is a bug on
6586 some variants of i386 svr4.0.) */
6587 for (i = 0; i < pagesize; ++i)
6588 *(data2 + i) = *(data2 + i) + 1;
6589 data3 = (char *) malloc (pagesize);
6592 if (read (fd, data3, pagesize) != pagesize)
6594 for (i = 0; i < pagesize; ++i)
6595 if (*(data + i) != *(data3 + i))
6601 rm -f conftest
$ac_exeext
6602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6603 (eval $ac_link) 2>&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; }; then
6612 ac_cv_func_mmap_fixed_mapped
=yes
6614 echo "$as_me: program exited with status $ac_status" >&5
6615 echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.
$ac_ext >&5
6619 ac_cv_func_mmap_fixed_mapped
=no
6621 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6624 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6625 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6626 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6628 cat >>confdefs.h
<<\_ACEOF
6645 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6646 unistd.h values.h sys
/param.h
6648 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6650 echo "$as_me:$LINENO: checking for $ac_header" >&5
6651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6653 echo $ECHO_N "(cached) $ECHO_C" >&6
6655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6658 # Is the header compilable?
6659 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6660 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6661 cat >conftest.
$ac_ext <<_ACEOF
6664 cat confdefs.h
>>conftest.
$ac_ext
6665 cat >>conftest.
$ac_ext <<_ACEOF
6666 /* end confdefs.h. */
6667 $ac_includes_default
6668 #include <$ac_header>
6670 rm -f conftest.
$ac_objext
6671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6672 (eval $ac_compile) 2>conftest.er1
6674 grep -v '^ *+' conftest.er1
>conftest.err
6676 cat conftest.err
>&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } &&
6679 { ac_try
='test -z "$ac_c_werror_flag"
6680 || test ! -s conftest.err'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; } &&
6686 { ac_try
='test -s conftest.$ac_objext'
6687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); }; }; then
6692 ac_header_compiler
=yes
6694 echo "$as_me: failed program was:" >&5
6695 sed 's/^/| /' conftest.
$ac_ext >&5
6697 ac_header_compiler
=no
6699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6701 echo "${ECHO_T}$ac_header_compiler" >&6
6703 # Is the header present?
6704 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6705 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6706 cat >conftest.
$ac_ext <<_ACEOF
6709 cat confdefs.h
>>conftest.
$ac_ext
6710 cat >>conftest.
$ac_ext <<_ACEOF
6711 /* end confdefs.h. */
6712 #include <$ac_header>
6714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6715 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6717 grep -v '^ *+' conftest.er1
>conftest.err
6719 cat conftest.err
>&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); } >/dev
/null
; then
6722 if test -s conftest.err
; then
6723 ac_cpp_err
=$ac_c_preproc_warn_flag
6724 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6731 if test -z "$ac_cpp_err"; then
6732 ac_header_preproc
=yes
6734 echo "$as_me: failed program was:" >&5
6735 sed 's/^/| /' conftest.
$ac_ext >&5
6737 ac_header_preproc
=no
6739 rm -f conftest.err conftest.
$ac_ext
6740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6741 echo "${ECHO_T}$ac_header_preproc" >&6
6743 # So? What about this header?
6744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6746 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6747 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6749 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6750 ac_header_preproc
=yes
6753 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6754 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6755 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6756 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6757 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6758 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6759 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6760 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6762 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6763 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6764 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6767 ## ------------------------------------------ ##
6768 ## Report this to the AC_PACKAGE_NAME lists. ##
6769 ## ------------------------------------------ ##
6772 sed "s/^/$as_me: WARNING: /" >&2
6775 echo "$as_me:$LINENO: checking for $ac_header" >&5
6776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6778 echo $ECHO_N "(cached) $ECHO_C" >&6
6780 eval "$as_ac_Header=\$ac_header_preproc"
6782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6787 cat >>confdefs.h
<<_ACEOF
6788 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6805 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6806 __argz_count __argz_stringify __argz_next
6808 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6809 echo "$as_me:$LINENO: checking for $ac_func" >&5
6810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6811 if eval "test \"\${$as_ac_var+set}\" = set"; then
6812 echo $ECHO_N "(cached) $ECHO_C" >&6
6814 cat >conftest.
$ac_ext <<_ACEOF
6817 cat confdefs.h
>>conftest.
$ac_ext
6818 cat >>conftest.
$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6822 #define $ac_func innocuous_$ac_func
6824 /* System header to define __stub macros and hopefully few prototypes,
6825 which can conflict with char $ac_func (); below.
6826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6827 <limits.h> exists even on freestanding compilers. */
6830 # include <limits.h>
6832 # include <assert.h>
6837 /* Override any gcc2 internal prototype to avoid an error. */
6842 /* We use char because int might match the return type of a gcc2
6843 builtin and then its argument prototype would still apply. */
6845 /* The GNU C library defines this for functions which it implements
6846 to always fail with ENOSYS. Some functions are actually named
6847 something starting with __ and the normal name is an alias. */
6848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6851 char (*f) () = $ac_func;
6860 return f != $ac_func;
6865 rm -f conftest.
$ac_objext conftest
$ac_exeext
6866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6867 (eval $ac_link) 2>conftest.er1
6869 grep -v '^ *+' conftest.er1
>conftest.err
6871 cat conftest.err
>&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } &&
6874 { ac_try
='test -z "$ac_c_werror_flag"
6875 || test ! -s conftest.err'
6876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); }; } &&
6881 { ac_try
='test -s conftest$ac_exeext'
6882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); }; }; then
6887 eval "$as_ac_var=yes"
6889 echo "$as_me: failed program was:" >&5
6890 sed 's/^/| /' conftest.
$ac_ext >&5
6892 eval "$as_ac_var=no"
6894 rm -f conftest.err conftest.
$ac_objext \
6895 conftest
$ac_exeext conftest.
$ac_ext
6897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6899 if test `eval echo '${'$as_ac_var'}'` = yes; then
6900 cat >>confdefs.h
<<_ACEOF
6901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6908 if test "${ac_cv_func_stpcpy+set}" != "set"; then
6910 for ac_func
in stpcpy
6912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6913 echo "$as_me:$LINENO: checking for $ac_func" >&5
6914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6915 if eval "test \"\${$as_ac_var+set}\" = set"; then
6916 echo $ECHO_N "(cached) $ECHO_C" >&6
6918 cat >conftest.
$ac_ext <<_ACEOF
6921 cat confdefs.h
>>conftest.
$ac_ext
6922 cat >>conftest.
$ac_ext <<_ACEOF
6923 /* end confdefs.h. */
6924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6926 #define $ac_func innocuous_$ac_func
6928 /* System header to define __stub macros and hopefully few prototypes,
6929 which can conflict with char $ac_func (); below.
6930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6931 <limits.h> exists even on freestanding compilers. */
6934 # include <limits.h>
6936 # include <assert.h>
6941 /* Override any gcc2 internal prototype to avoid an error. */
6946 /* We use char because int might match the return type of a gcc2
6947 builtin and then its argument prototype would still apply. */
6949 /* The GNU C library defines this for functions which it implements
6950 to always fail with ENOSYS. Some functions are actually named
6951 something starting with __ and the normal name is an alias. */
6952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6955 char (*f) () = $ac_func;
6964 return f != $ac_func;
6969 rm -f conftest.
$ac_objext conftest
$ac_exeext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6971 (eval $ac_link) 2>conftest.er1
6973 grep -v '^ *+' conftest.er1
>conftest.err
6975 cat conftest.err
>&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } &&
6978 { ac_try
='test -z "$ac_c_werror_flag"
6979 || test ! -s conftest.err'
6980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); }; } &&
6985 { ac_try
='test -s conftest$ac_exeext'
6986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 eval "$as_ac_var=yes"
6993 echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.
$ac_ext >&5
6996 eval "$as_ac_var=no"
6998 rm -f conftest.err conftest.
$ac_objext \
6999 conftest
$ac_exeext conftest.
$ac_ext
7001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7003 if test `eval echo '${'$as_ac_var'}'` = yes; then
7004 cat >>confdefs.h
<<_ACEOF
7005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7012 if test "${ac_cv_func_stpcpy}" = "yes"; then
7014 cat >>confdefs.h
<<\_ACEOF
7015 #define HAVE_STPCPY 1
7020 if test $ac_cv_header_locale_h = yes; then
7021 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7022 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7023 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7024 echo $ECHO_N "(cached) $ECHO_C" >&6
7026 cat >conftest.
$ac_ext <<_ACEOF
7029 cat confdefs.h
>>conftest.
$ac_ext
7030 cat >>conftest.
$ac_ext <<_ACEOF
7031 /* end confdefs.h. */
7041 rm -f conftest.
$ac_objext conftest
$ac_exeext
7042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7043 (eval $ac_link) 2>conftest.er1
7045 grep -v '^ *+' conftest.er1
>conftest.err
7047 cat conftest.err
>&5
7048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7049 (exit $ac_status); } &&
7050 { ac_try
='test -z "$ac_c_werror_flag"
7051 || test ! -s conftest.err'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; } &&
7057 { ac_try
='test -s conftest$ac_exeext'
7058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); }; }; then
7063 am_cv_val_LC_MESSAGES
=yes
7065 echo "$as_me: failed program was:" >&5
7066 sed 's/^/| /' conftest.
$ac_ext >&5
7068 am_cv_val_LC_MESSAGES
=no
7070 rm -f conftest.err conftest.
$ac_objext \
7071 conftest
$ac_exeext conftest.
$ac_ext
7073 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7074 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7075 if test $am_cv_val_LC_MESSAGES = yes; then
7077 cat >>confdefs.h
<<\_ACEOF
7078 #define HAVE_LC_MESSAGES 1
7083 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7084 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7085 # Check whether --enable-nls or --disable-nls was given.
7086 if test "${enable_nls+set}" = set; then
7087 enableval
="$enable_nls"
7092 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7093 echo "${ECHO_T}$USE_NLS" >&6
7096 USE_INCLUDED_LIBINTL
=no
7098 if test "$USE_NLS" = "yes"; then
7099 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7100 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7102 # Check whether --with-included-gettext or --without-included-gettext was given.
7103 if test "${with_included_gettext+set}" = set; then
7104 withval
="$with_included_gettext"
7105 nls_cv_force_use_gnu_gettext
=$withval
7107 nls_cv_force_use_gnu_gettext
=no
7109 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7110 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7112 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7113 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7115 nls_cv_header_libgt
=
7118 if test "${ac_cv_header_libintl_h+set}" = set; then
7119 echo "$as_me:$LINENO: checking for libintl.h" >&5
7120 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7121 if test "${ac_cv_header_libintl_h+set}" = set; then
7122 echo $ECHO_N "(cached) $ECHO_C" >&6
7124 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7125 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7127 # Is the header compilable?
7128 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7129 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7130 cat >conftest.
$ac_ext <<_ACEOF
7133 cat confdefs.h
>>conftest.
$ac_ext
7134 cat >>conftest.
$ac_ext <<_ACEOF
7135 /* end confdefs.h. */
7136 $ac_includes_default
7137 #include <libintl.h>
7139 rm -f conftest.
$ac_objext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7141 (eval $ac_compile) 2>conftest.er1
7143 grep -v '^ *+' conftest.er1
>conftest.err
7145 cat conftest.err
>&5
7146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7147 (exit $ac_status); } &&
7148 { ac_try
='test -z "$ac_c_werror_flag"
7149 || test ! -s conftest.err'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try
='test -s conftest.$ac_objext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7161 ac_header_compiler
=yes
7163 echo "$as_me: failed program was:" >&5
7164 sed 's/^/| /' conftest.
$ac_ext >&5
7166 ac_header_compiler
=no
7168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7170 echo "${ECHO_T}$ac_header_compiler" >&6
7172 # Is the header present?
7173 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7174 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7175 cat >conftest.
$ac_ext <<_ACEOF
7178 cat confdefs.h
>>conftest.
$ac_ext
7179 cat >>conftest.
$ac_ext <<_ACEOF
7180 /* end confdefs.h. */
7181 #include <libintl.h>
7183 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7184 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7186 grep -v '^ *+' conftest.er1
>conftest.err
7188 cat conftest.err
>&5
7189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); } >/dev
/null
; then
7191 if test -s conftest.err
; then
7192 ac_cpp_err
=$ac_c_preproc_warn_flag
7193 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7200 if test -z "$ac_cpp_err"; then
7201 ac_header_preproc
=yes
7203 echo "$as_me: failed program was:" >&5
7204 sed 's/^/| /' conftest.
$ac_ext >&5
7206 ac_header_preproc
=no
7208 rm -f conftest.err conftest.
$ac_ext
7209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7210 echo "${ECHO_T}$ac_header_preproc" >&6
7212 # So? What about this header?
7213 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7215 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7216 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7217 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7218 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7219 ac_header_preproc
=yes
7222 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7223 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7224 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7225 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7227 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7228 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7229 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7230 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7231 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7232 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7233 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7236 ## ------------------------------------------ ##
7237 ## Report this to the AC_PACKAGE_NAME lists. ##
7238 ## ------------------------------------------ ##
7241 sed "s/^/$as_me: WARNING: /" >&2
7244 echo "$as_me:$LINENO: checking for libintl.h" >&5
7245 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7246 if test "${ac_cv_header_libintl_h+set}" = set; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7249 ac_cv_header_libintl_h
=$ac_header_preproc
7251 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7252 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7255 if test $ac_cv_header_libintl_h = yes; then
7256 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7257 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7258 if test "${gt_cv_func_gettext_libc+set}" = set; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7261 cat >conftest.
$ac_ext <<_ACEOF
7264 cat confdefs.h
>>conftest.
$ac_ext
7265 cat >>conftest.
$ac_ext <<_ACEOF
7266 /* end confdefs.h. */
7267 #include <libintl.h>
7271 return (int) gettext ("")
7276 rm -f conftest.
$ac_objext conftest
$ac_exeext
7277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7278 (eval $ac_link) 2>conftest.er1
7280 grep -v '^ *+' conftest.er1
>conftest.err
7282 cat conftest.err
>&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } &&
7285 { ac_try
='test -z "$ac_c_werror_flag"
7286 || test ! -s conftest.err'
7287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); }; } &&
7292 { ac_try
='test -s conftest$ac_exeext'
7293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); }; }; then
7298 gt_cv_func_gettext_libc
=yes
7300 echo "$as_me: failed program was:" >&5
7301 sed 's/^/| /' conftest.
$ac_ext >&5
7303 gt_cv_func_gettext_libc
=no
7305 rm -f conftest.err conftest.
$ac_objext \
7306 conftest
$ac_exeext conftest.
$ac_ext
7308 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7309 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7311 if test "$gt_cv_func_gettext_libc" != "yes"; then
7312 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7313 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7314 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7315 echo $ECHO_N "(cached) $ECHO_C" >&6
7317 ac_check_lib_save_LIBS
=$LIBS
7319 cat >conftest.
$ac_ext <<_ACEOF
7322 cat confdefs.h
>>conftest.
$ac_ext
7323 cat >>conftest.
$ac_ext <<_ACEOF
7324 /* end confdefs.h. */
7326 /* Override any gcc2 internal prototype to avoid an error. */
7330 /* We use char because int might match the return type of a gcc2
7331 builtin and then its argument prototype would still apply. */
7332 char bindtextdomain ();
7341 rm -f conftest.
$ac_objext conftest
$ac_exeext
7342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7343 (eval $ac_link) 2>conftest.er1
7345 grep -v '^ *+' conftest.er1
>conftest.err
7347 cat conftest.err
>&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); } &&
7350 { ac_try
='test -z "$ac_c_werror_flag"
7351 || test ! -s conftest.err'
7352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); }; } &&
7357 { ac_try
='test -s conftest$ac_exeext'
7358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); }; }; then
7363 ac_cv_lib_intl_bindtextdomain
=yes
7365 echo "$as_me: failed program was:" >&5
7366 sed 's/^/| /' conftest.
$ac_ext >&5
7368 ac_cv_lib_intl_bindtextdomain
=no
7370 rm -f conftest.err conftest.
$ac_objext \
7371 conftest
$ac_exeext conftest.
$ac_ext
7372 LIBS
=$ac_check_lib_save_LIBS
7374 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7375 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7376 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7377 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7378 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7379 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7380 echo $ECHO_N "(cached) $ECHO_C" >&6
7382 cat >conftest.
$ac_ext <<_ACEOF
7385 cat confdefs.h
>>conftest.
$ac_ext
7386 cat >>conftest.
$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7392 return (int) gettext ("")
7397 rm -f conftest.
$ac_objext conftest
$ac_exeext
7398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7399 (eval $ac_link) 2>conftest.er1
7401 grep -v '^ *+' conftest.er1
>conftest.err
7403 cat conftest.err
>&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); } &&
7406 { ac_try
='test -z "$ac_c_werror_flag"
7407 || test ! -s conftest.err'
7408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); }; } &&
7413 { ac_try
='test -s conftest$ac_exeext'
7414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); }; }; then
7419 gt_cv_func_gettext_libintl
=yes
7421 echo "$as_me: failed program was:" >&5
7422 sed 's/^/| /' conftest.
$ac_ext >&5
7424 gt_cv_func_gettext_libintl
=no
7426 rm -f conftest.err conftest.
$ac_objext \
7427 conftest
$ac_exeext conftest.
$ac_ext
7429 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7430 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7435 if test "$gt_cv_func_gettext_libc" = "yes" \
7436 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7438 cat >>confdefs.h
<<\_ACEOF
7439 #define HAVE_GETTEXT 1
7442 # Extract the first word of "msgfmt", so it can be a program name with args.
7443 set dummy msgfmt
; ac_word
=$2
7444 echo "$as_me:$LINENO: checking for $ac_word" >&5
7445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7446 if test "${ac_cv_path_MSGFMT+set}" = set; then
7447 echo $ECHO_N "(cached) $ECHO_C" >&6
7451 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7454 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7455 for ac_dir
in $PATH; do
7456 test -z "$ac_dir" && ac_dir
=.
7457 if test -f $ac_dir/$ac_word; then
7458 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7459 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7465 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7469 MSGFMT
="$ac_cv_path_MSGFMT"
7470 if test -n "$MSGFMT"; then
7471 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7472 echo "${ECHO_T}$MSGFMT" >&6
7474 echo "$as_me:$LINENO: result: no" >&5
7475 echo "${ECHO_T}no" >&6
7477 if test "$MSGFMT" != "no"; then
7479 for ac_func
in dcgettext
7481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7482 echo "$as_me:$LINENO: checking for $ac_func" >&5
7483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7484 if eval "test \"\${$as_ac_var+set}\" = set"; then
7485 echo $ECHO_N "(cached) $ECHO_C" >&6
7487 cat >conftest.
$ac_ext <<_ACEOF
7490 cat confdefs.h
>>conftest.
$ac_ext
7491 cat >>conftest.
$ac_ext <<_ACEOF
7492 /* end confdefs.h. */
7493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7495 #define $ac_func innocuous_$ac_func
7497 /* System header to define __stub macros and hopefully few prototypes,
7498 which can conflict with char $ac_func (); below.
7499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7500 <limits.h> exists even on freestanding compilers. */
7503 # include <limits.h>
7505 # include <assert.h>
7510 /* Override any gcc2 internal prototype to avoid an error. */
7515 /* We use char because int might match the return type of a gcc2
7516 builtin and then its argument prototype would still apply. */
7518 /* The GNU C library defines this for functions which it implements
7519 to always fail with ENOSYS. Some functions are actually named
7520 something starting with __ and the normal name is an alias. */
7521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7524 char (*f) () = $ac_func;
7533 return f != $ac_func;
7538 rm -f conftest.
$ac_objext conftest
$ac_exeext
7539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7540 (eval $ac_link) 2>conftest.er1
7542 grep -v '^ *+' conftest.er1
>conftest.err
7544 cat conftest.err
>&5
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); } &&
7547 { ac_try
='test -z "$ac_c_werror_flag"
7548 || test ! -s conftest.err'
7549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); }; } &&
7554 { ac_try
='test -s conftest$ac_exeext'
7555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559 (exit $ac_status); }; }; then
7560 eval "$as_ac_var=yes"
7562 echo "$as_me: failed program was:" >&5
7563 sed 's/^/| /' conftest.
$ac_ext >&5
7565 eval "$as_ac_var=no"
7567 rm -f conftest.err conftest.
$ac_objext \
7568 conftest
$ac_exeext conftest.
$ac_ext
7570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7572 if test `eval echo '${'$as_ac_var'}'` = yes; then
7573 cat >>confdefs.h
<<_ACEOF
7574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7580 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7581 set dummy gmsgfmt
; ac_word
=$2
7582 echo "$as_me:$LINENO: checking for $ac_word" >&5
7583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7584 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7585 echo $ECHO_N "(cached) $ECHO_C" >&6
7589 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7596 test -z "$as_dir" && as_dir
=.
7597 for ac_exec_ext
in '' $ac_executable_extensions; do
7598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7599 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7606 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7610 GMSGFMT
=$ac_cv_path_GMSGFMT
7612 if test -n "$GMSGFMT"; then
7613 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7614 echo "${ECHO_T}$GMSGFMT" >&6
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7620 # Extract the first word of "xgettext", so it can be a program name with args.
7621 set dummy xgettext
; ac_word
=$2
7622 echo "$as_me:$LINENO: checking for $ac_word" >&5
7623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7624 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7625 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7632 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7633 for ac_dir
in $PATH; do
7634 test -z "$ac_dir" && ac_dir
=.
7635 if test -f $ac_dir/$ac_word; then
7636 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7637 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7643 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7647 XGETTEXT
="$ac_cv_path_XGETTEXT"
7648 if test -n "$XGETTEXT"; then
7649 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7650 echo "${ECHO_T}$XGETTEXT" >&6
7652 echo "$as_me:$LINENO: result: no" >&5
7653 echo "${ECHO_T}no" >&6
7656 cat >conftest.
$ac_ext <<_ACEOF
7659 cat confdefs.h
>>conftest.
$ac_ext
7660 cat >>conftest.
$ac_ext <<_ACEOF
7661 /* end confdefs.h. */
7666 extern int _nl_msg_cat_cntr;
7667 return _nl_msg_cat_cntr
7672 rm -f conftest.
$ac_objext conftest
$ac_exeext
7673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7674 (eval $ac_link) 2>conftest.er1
7676 grep -v '^ *+' conftest.er1
>conftest.err
7678 cat conftest.err
>&5
7679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 (exit $ac_status); } &&
7681 { ac_try
='test -z "$ac_c_werror_flag"
7682 || test ! -s conftest.err'
7683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); }; } &&
7688 { ac_try
='test -s conftest$ac_exeext'
7689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); }; }; then
7697 echo "$as_me: failed program was:" >&5
7698 sed 's/^/| /' conftest.
$ac_ext >&5
7703 rm -f conftest.err conftest.
$ac_objext \
7704 conftest
$ac_exeext conftest.
$ac_ext
7714 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
7715 # Neither gettext nor catgets in included in the C library.
7716 # Fall back on GNU gettext library (assuming it is present).
7717 nls_cv_use_gnu_gettext
=yes
7721 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7722 INTLOBJS
="\$(GETTOBJS)"
7723 # Extract the first word of "msgfmt", so it can be a program name with args.
7724 set dummy msgfmt
; ac_word
=$2
7725 echo "$as_me:$LINENO: checking for $ac_word" >&5
7726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7727 if test "${ac_cv_path_MSGFMT+set}" = set; then
7728 echo $ECHO_N "(cached) $ECHO_C" >&6
7732 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7735 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7736 for ac_dir
in $PATH; do
7737 test -z "$ac_dir" && ac_dir
=.
7738 if test -f $ac_dir/$ac_word; then
7739 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7740 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7746 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7750 MSGFMT
="$ac_cv_path_MSGFMT"
7751 if test -n "$MSGFMT"; then
7752 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7753 echo "${ECHO_T}$MSGFMT" >&6
7755 echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6
7759 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7760 set dummy gmsgfmt
; ac_word
=$2
7761 echo "$as_me:$LINENO: checking for $ac_word" >&5
7762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7763 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7768 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7775 test -z "$as_dir" && as_dir
=.
7776 for ac_exec_ext
in '' $ac_executable_extensions; do
7777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7778 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7785 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7789 GMSGFMT
=$ac_cv_path_GMSGFMT
7791 if test -n "$GMSGFMT"; then
7792 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7793 echo "${ECHO_T}$GMSGFMT" >&6
7795 echo "$as_me:$LINENO: result: no" >&5
7796 echo "${ECHO_T}no" >&6
7799 # Extract the first word of "xgettext", so it can be a program name with args.
7800 set dummy xgettext
; ac_word
=$2
7801 echo "$as_me:$LINENO: checking for $ac_word" >&5
7802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7803 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7804 echo $ECHO_N "(cached) $ECHO_C" >&6
7808 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7811 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7812 for ac_dir
in $PATH; do
7813 test -z "$ac_dir" && ac_dir
=.
7814 if test -f $ac_dir/$ac_word; then
7815 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7816 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7822 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7826 XGETTEXT
="$ac_cv_path_XGETTEXT"
7827 if test -n "$XGETTEXT"; then
7828 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7829 echo "${ECHO_T}$XGETTEXT" >&6
7831 echo "$as_me:$LINENO: result: no" >&5
7832 echo "${ECHO_T}no" >&6
7836 USE_INCLUDED_LIBINTL
=yes
7840 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7842 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7843 nls_cv_header_intl
=libintl.h
7844 nls_cv_header_libgt
=libgettext.h
7847 if test "$XGETTEXT" != ":"; then
7848 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7851 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7852 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7857 # We need to process the po/ directory.
7861 nls_cv_header_intl
=libintl.h
7862 nls_cv_header_libgt
=libgettext.h
7865 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7866 # because some of the sources are only built for this goal.
7867 if test "$PACKAGE" = gettext; then
7869 USE_INCLUDED_LIBINTL
=yes
7872 for lang
in $ALL_LINGUAS; do
7873 GMOFILES
="$GMOFILES $lang.gmo"
7874 POFILES
="$POFILES $lang.po"
7888 if test "x$CATOBJEXT" != "x"; then
7890 cat >>confdefs.h
<<\_ACEOF
7891 #define ENABLE_NLS 1
7897 if test "x$CATOBJEXT" != "x"; then
7898 if test "x$ALL_LINGUAS" = "x"; then
7901 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7902 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7904 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
7905 case "$ALL_LINGUAS" in
7906 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
7909 LINGUAS
=$NEW_LINGUAS
7910 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7911 echo "${ECHO_T}$LINGUAS" >&6
7914 if test -n "$LINGUAS"; then
7915 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7919 if test $ac_cv_header_locale_h = yes; then
7920 INCLUDE_LOCALE_H
="#include <locale.h>"
7923 /* The system does not provide the header <locale.h>. Take care yourself. */"
7927 if test -f $srcdir/po2tbl.
sed.
in; then
7928 if test "$CATOBJEXT" = ".cat"; then
7929 if test "${ac_cv_header_linux_version_h+set}" = set; then
7930 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7931 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7932 if test "${ac_cv_header_linux_version_h+set}" = set; then
7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7936 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7938 # Is the header compilable?
7939 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
7940 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
7941 cat >conftest.
$ac_ext <<_ACEOF
7944 cat confdefs.h
>>conftest.
$ac_ext
7945 cat >>conftest.
$ac_ext <<_ACEOF
7946 /* end confdefs.h. */
7947 $ac_includes_default
7948 #include <linux/version.h>
7950 rm -f conftest.
$ac_objext
7951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7952 (eval $ac_compile) 2>conftest.er1
7954 grep -v '^ *+' conftest.er1
>conftest.err
7956 cat conftest.err
>&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 (exit $ac_status); } &&
7959 { ac_try
='test -z "$ac_c_werror_flag"
7960 || test ! -s conftest.err'
7961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); }; } &&
7966 { ac_try
='test -s conftest.$ac_objext'
7967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); }; }; then
7972 ac_header_compiler
=yes
7974 echo "$as_me: failed program was:" >&5
7975 sed 's/^/| /' conftest.
$ac_ext >&5
7977 ac_header_compiler
=no
7979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7981 echo "${ECHO_T}$ac_header_compiler" >&6
7983 # Is the header present?
7984 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
7985 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
7986 cat >conftest.
$ac_ext <<_ACEOF
7989 cat confdefs.h
>>conftest.
$ac_ext
7990 cat >>conftest.
$ac_ext <<_ACEOF
7991 /* end confdefs.h. */
7992 #include <linux/version.h>
7994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7995 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7997 grep -v '^ *+' conftest.er1
>conftest.err
7999 cat conftest.err
>&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); } >/dev
/null
; then
8002 if test -s conftest.err
; then
8003 ac_cpp_err
=$ac_c_preproc_warn_flag
8004 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8011 if test -z "$ac_cpp_err"; then
8012 ac_header_preproc
=yes
8014 echo "$as_me: failed program was:" >&5
8015 sed 's/^/| /' conftest.
$ac_ext >&5
8017 ac_header_preproc
=no
8019 rm -f conftest.err conftest.
$ac_ext
8020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8021 echo "${ECHO_T}$ac_header_preproc" >&6
8023 # So? What about this header?
8024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8026 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8027 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8028 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8029 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8030 ac_header_preproc
=yes
8033 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8034 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8035 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8036 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8037 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8038 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8039 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8040 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8041 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8042 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8043 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8044 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8047 ## ------------------------------------------ ##
8048 ## Report this to the AC_PACKAGE_NAME lists. ##
8049 ## ------------------------------------------ ##
8052 sed "s/^/$as_me: WARNING: /" >&2
8055 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8056 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8057 if test "${ac_cv_header_linux_version_h+set}" = set; then
8058 echo $ECHO_N "(cached) $ECHO_C" >&6
8060 ac_cv_header_linux_version_h
=$ac_header_preproc
8062 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8063 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8066 if test $ac_cv_header_linux_version_h = yes; then
8074 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8076 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8077 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8080 if test "$PACKAGE" = "gettext"; then
8090 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8096 if test -f $srcdir/po
/POTFILES.
in; then
8097 test -d po || mkdir po
8098 if test "x$srcdir" != "x."; then
8099 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8100 posrcprefix
="$srcdir/"
8102 posrcprefix
="../$srcdir/"
8108 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8109 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8113 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8114 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8115 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8116 if test "${enable_maintainer_mode+set}" = set; then
8117 enableval
="$enable_maintainer_mode"
8118 USE_MAINTAINER_MODE
=$enableval
8120 USE_MAINTAINER_MODE
=no
8122 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8123 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8126 if test $USE_MAINTAINER_MODE = yes; then
8127 MAINTAINER_MODE_TRUE
=
8128 MAINTAINER_MODE_FALSE
='#'
8130 MAINTAINER_MODE_TRUE
='#'
8131 MAINTAINER_MODE_FALSE
=
8134 MAINT
=$MAINTAINER_MODE_TRUE
8140 for ac_header
in sys
/gmon_out.h
8142 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8144 echo "$as_me:$LINENO: checking for $ac_header" >&5
8145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8147 echo $ECHO_N "(cached) $ECHO_C" >&6
8149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8152 # Is the header compilable?
8153 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8155 cat >conftest.
$ac_ext <<_ACEOF
8158 cat confdefs.h
>>conftest.
$ac_ext
8159 cat >>conftest.
$ac_ext <<_ACEOF
8160 /* end confdefs.h. */
8161 $ac_includes_default
8162 #include <$ac_header>
8164 rm -f conftest.
$ac_objext
8165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8166 (eval $ac_compile) 2>conftest.er1
8168 grep -v '^ *+' conftest.er1
>conftest.err
8170 cat conftest.err
>&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); } &&
8173 { ac_try
='test -z "$ac_c_werror_flag"
8174 || test ! -s conftest.err'
8175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179 (exit $ac_status); }; } &&
8180 { ac_try
='test -s conftest.$ac_objext'
8181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); }; }; then
8186 ac_header_compiler
=yes
8188 echo "$as_me: failed program was:" >&5
8189 sed 's/^/| /' conftest.
$ac_ext >&5
8191 ac_header_compiler
=no
8193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8195 echo "${ECHO_T}$ac_header_compiler" >&6
8197 # Is the header present?
8198 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8200 cat >conftest.
$ac_ext <<_ACEOF
8203 cat confdefs.h
>>conftest.
$ac_ext
8204 cat >>conftest.
$ac_ext <<_ACEOF
8205 /* end confdefs.h. */
8206 #include <$ac_header>
8208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8209 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8211 grep -v '^ *+' conftest.er1
>conftest.err
8213 cat conftest.err
>&5
8214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215 (exit $ac_status); } >/dev
/null
; then
8216 if test -s conftest.err
; then
8217 ac_cpp_err
=$ac_c_preproc_warn_flag
8218 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8225 if test -z "$ac_cpp_err"; then
8226 ac_header_preproc
=yes
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.
$ac_ext >&5
8231 ac_header_preproc
=no
8233 rm -f conftest.err conftest.
$ac_ext
8234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8235 echo "${ECHO_T}$ac_header_preproc" >&6
8237 # So? What about this header?
8238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8244 ac_header_preproc
=yes
8247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8251 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8252 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8253 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8254 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8257 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8258 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8261 ## ------------------------------------------ ##
8262 ## Report this to the AC_PACKAGE_NAME lists. ##
8263 ## ------------------------------------------ ##
8266 sed "s/^/$as_me: WARNING: /" >&2
8269 echo "$as_me:$LINENO: checking for $ac_header" >&5
8270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8272 echo $ECHO_N "(cached) $ECHO_C" >&6
8274 eval "$as_ac_Header=\$ac_header_preproc"
8276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8281 cat >>confdefs.h
<<_ACEOF
8282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8290 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
8291 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
8292 if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then
8293 echo $ECHO_N "(cached) $ECHO_C" >&6
8295 cat >conftest.
$ac_ext <<_ACEOF
8298 cat confdefs.h
>>conftest.
$ac_ext
8299 cat >>conftest.
$ac_ext <<_ACEOF
8300 /* end confdefs.h. */
8305 extern int getopt (int, char *const*, const char *);
8310 rm -f conftest.
$ac_objext
8311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8312 (eval $ac_compile) 2>conftest.er1
8314 grep -v '^ *+' conftest.er1
>conftest.err
8316 cat conftest.err
>&5
8317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8318 (exit $ac_status); } &&
8319 { ac_try
='test -z "$ac_c_werror_flag"
8320 || test ! -s conftest.err'
8321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; } &&
8326 { ac_try
='test -s conftest.$ac_objext'
8327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); }; }; then
8332 gprof_cv_decl_getopt_unistd_h
=yes
8334 echo "$as_me: failed program was:" >&5
8335 sed 's/^/| /' conftest.
$ac_ext >&5
8337 gprof_cv_decl_getopt_unistd_h
=no
8339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8342 echo "$as_me:$LINENO: result: $gprof_cv_decl_getopt_unistd_h" >&5
8343 echo "${ECHO_T}$gprof_cv_decl_getopt_unistd_h" >&6
8344 if test $gprof_cv_decl_getopt_unistd_h = yes; then
8346 cat >>confdefs.h
<<\_ACEOF
8347 #define HAVE_DECL_GETOPT 1
8353 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
8355 # Check whether --enable-werror or --disable-werror was given.
8356 if test "${enable_werror+set}" = set; then
8357 enableval
="$enable_werror"
8358 case "${enableval}" in
8359 yes | y
) ERROR_ON_WARNING
="yes" ;;
8360 no | n
) ERROR_ON_WARNING
="no" ;;
8361 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
8362 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
8363 { (exit 1); exit 1; }; } ;;
8367 # Enable -Werror by default when using gcc
8368 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
8369 ERROR_ON_WARNING
=yes
8373 if test "${ERROR_ON_WARNING}" = yes ; then
8374 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
8375 NO_WERROR
="-Wno-error"
8378 if test "${GCC}" = yes ; then
8379 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
8382 # Check whether --enable-build-warnings or --disable-build-warnings was given.
8383 if test "${enable_build_warnings+set}" = set; then
8384 enableval
="$enable_build_warnings"
8385 case "${enableval}" in
8386 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
8387 no
) if test "${GCC}" = yes ; then
8390 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
8391 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
8392 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
8393 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
8394 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
8398 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
8399 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
8406 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
8408 ac_config_commands
="$ac_config_commands default"
8410 cat >confcache
<<\_ACEOF
8411 # This file is a shell script that caches the results of configure
8412 # tests run on this system so they can be shared between configure
8413 # scripts and configure runs, see configure's option --config-cache.
8414 # It is not useful on other systems. If it contains results you don't
8415 # want to keep, you may remove or edit it.
8417 # config.status only pays attention to the cache file if you give it
8418 # the --recheck option to rerun configure.
8420 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8421 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8426 # The following way of writing the cache mishandles newlines in values,
8427 # but we know of no workaround that is simple, portable, and efficient.
8428 # So, don't put newlines in cache variables' values.
8429 # Ultrix sh set writes to stderr and can't be redirected directly,
8430 # and sets the high bit in the cache file unless we assign to the vars.
8433 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8435 # `set' does not quote correctly, so add quotes (double-quote
8436 # substitution turns \\\\ into \\, and sed turns \\ into \).
8439 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8442 # `set' quotes correctly as required by POSIX, so do not add quotes.
8444 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8451 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8453 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8455 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8456 if test -w $cache_file; then
8457 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8458 cat confcache
>$cache_file
8460 echo "not updating unwritable cache $cache_file"
8465 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8466 # Let make expand exec_prefix.
8467 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8469 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8470 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8471 # trailing colons and then remove the whole line if VPATH becomes empty
8472 # (actually we leave an empty line to preserve line numbers).
8473 if test "x$srcdir" = x.
; then
8474 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8475 s/:*\$(srcdir):*/:/;
8476 s/:*\${srcdir}:*/:/;
8478 s/^\([^=]*=[ ]*\):*/\1/;
8484 DEFS
=-DHAVE_CONFIG_H
8488 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8489 # 1. Remove the extension, and $U if already installed.
8490 ac_i
=`echo "$ac_i" |
8491 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8493 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8494 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8498 LTLIBOBJS
=$ac_ltlibobjs
8501 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8502 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8503 Usually this means the macro was only invoked conditionally." >&5
8504 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8505 Usually this means the macro was only invoked conditionally." >&2;}
8506 { (exit 1); exit 1; }; }
8508 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8509 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8510 Usually this means the macro was only invoked conditionally." >&5
8511 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8512 Usually this means the macro was only invoked conditionally." >&2;}
8513 { (exit 1); exit 1; }; }
8515 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8516 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8517 Usually this means the macro was only invoked conditionally." >&5
8518 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8519 Usually this means the macro was only invoked conditionally." >&2;}
8520 { (exit 1); exit 1; }; }
8523 : ${CONFIG_STATUS=./config.status}
8524 ac_clean_files_save
=$ac_clean_files
8525 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8526 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8527 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8528 cat >$CONFIG_STATUS <<_ACEOF
8530 # Generated by $as_me.
8531 # Run this file to recreate the current configuration.
8532 # Compiler output produced by configure, useful for debugging
8533 # configure, is in config.log if it exists.
8538 SHELL=\${CONFIG_SHELL-$SHELL}
8541 cat >>$CONFIG_STATUS <<\_ACEOF
8542 ## --------------------- ##
8543 ## M4sh Initialization. ##
8544 ## --------------------- ##
8546 # Be Bourne compatible
8547 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8550 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8551 # is contrary to our usage. Disable this feature.
8552 alias -g '${1+"$@"}'='"$@"'
8553 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8556 DUALCASE
=1; export DUALCASE
# for MKS sh
8558 # Support unset when possible.
8559 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8566 # Work around bugs in pre-3.0 UWIN ksh.
8567 $as_unset ENV MAIL MAILPATH
8574 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8575 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8576 LC_TELEPHONE LC_TIME
8578 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8579 eval $as_var=C
; export $as_var
8585 # Required to use basename.
8586 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8592 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8593 as_basename
=basename
8599 # Name of the executable.
8600 as_me
=`$as_basename "$0" ||
8601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8602 X"$0" : 'X\(//\)$' \| \
8603 X"$0" : 'X\(/\)$' \| \
8604 . : '\(.\)' 2>/dev/null ||
8606 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8607 /^X\/\(\/\/\)$/{ s//\1/; q; }
8608 /^X\/\(\/\).*/{ s//\1/; q; }
8612 # PATH needs CR, and LINENO needs CR and PATH.
8613 # Avoid depending upon Character Ranges.
8614 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8615 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8616 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8617 as_cr_digits
='0123456789'
8618 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8620 # The user is always right.
8621 if test "${PATH_SEPARATOR+set}" != set; then
8622 echo "#! /bin/sh" >conf$$.sh
8623 echo "exit 0" >>conf$$.sh
8625 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8636 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8637 test "x$as_lineno_1" != "x$as_lineno_2" &&
8638 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8639 # Find who we are. Look in the path if we contain no path at all
8642 *[\\/]* ) as_myself
=$0 ;;
8643 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8647 test -z "$as_dir" && as_dir
=.
8648 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8653 # We did not find ourselves, most probably we were run as `sh COMMAND'
8654 # in which case we are not to be found in the path.
8655 if test "x$as_myself" = x
; then
8658 if test ! -f "$as_myself"; then
8659 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8660 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8661 { (exit 1); exit 1; }; }
8663 case $CONFIG_SHELL in
8665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8666 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8669 test -z "$as_dir" && as_dir
=.
8670 for as_base
in sh bash ksh sh5
; do
8673 if ("$as_dir/$as_base" -c '
8676 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8677 test "x$as_lineno_1" != "x$as_lineno_2" &&
8678 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8679 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8680 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8681 CONFIG_SHELL
=$as_dir/$as_base
8683 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8691 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8692 # uniformly replaced by the line number. The first 'sed' inserts a
8693 # line-number line before each line; the second 'sed' does the real
8694 # work. The second script uses 'N' to pair each line-number line
8695 # with the numbered line, and appends trailing '-' during
8696 # substitution so that $LINENO is not a special case at line end.
8697 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8698 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8699 sed '=' <$as_myself |
8704 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8707 s,^['$as_cr_digits']*\n,,
8709 chmod +x
$as_me.lineno ||
8710 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8711 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8712 { (exit 1); exit 1; }; }
8714 # Don't try to exec as it changes $[0], causing all sort of problems
8715 # (the dirname of $[0] is not the place where we might find the
8716 # original and so on. Autoconf is especially sensible to this).
8718 # Exit status is that of the last command.
8723 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8724 *c
*,-n*) ECHO_N
= ECHO_C
='
8726 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8727 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8730 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8736 rm -f conf$$ conf$$.exe conf$$.
file
8738 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8739 # We could just check for DJGPP; but this test a) works b) is more generic
8740 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8741 if test -f conf$$.exe
; then
8742 # Don't use ln at all; we don't have any links
8747 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8752 rm -f conf$$ conf$$.exe conf$$.
file
8754 if mkdir
-p .
2>/dev
/null
; then
8757 test -d .
/-p && rmdir .
/-p
8761 as_executable_p
="test -f"
8763 # Sed expression to map a string onto a valid CPP name.
8764 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8766 # Sed expression to map a string onto a valid variable name.
8767 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8771 # We need space, tab and new line, in precisely that order.
8781 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8782 # report actual input values of CONFIG_FILES etc. instead of their
8783 # values after options handling. Logging --version etc. is OK.
8787 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8788 ## Running $as_me. ##
8793 This file was extended by $as_me, which was
8794 generated by GNU Autoconf 2.59. Invocation command line was
8796 CONFIG_FILES = $CONFIG_FILES
8797 CONFIG_HEADERS = $CONFIG_HEADERS
8798 CONFIG_LINKS = $CONFIG_LINKS
8799 CONFIG_COMMANDS = $CONFIG_COMMANDS
8803 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8807 # Files that config.status was made for.
8808 if test -n "$ac_config_files"; then
8809 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8812 if test -n "$ac_config_headers"; then
8813 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8816 if test -n "$ac_config_links"; then
8817 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8820 if test -n "$ac_config_commands"; then
8821 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8824 cat >>$CONFIG_STATUS <<\_ACEOF
8827 \`$as_me' instantiates files from templates according to the
8828 current configuration.
8830 Usage: $0 [OPTIONS] [FILE]...
8832 -h, --help print this help, then exit
8833 -V, --version print version number, then exit
8834 -q, --quiet do not print progress messages
8835 -d, --debug don't remove temporary files
8836 --recheck update $as_me by reconfiguring in the same conditions
8837 --file=FILE[:TEMPLATE]
8838 instantiate the configuration file FILE
8839 --header=FILE[:TEMPLATE]
8840 instantiate the configuration header FILE
8842 Configuration files:
8845 Configuration headers:
8848 Configuration commands:
8851 Report bugs to <bug-autoconf@gnu.org>."
8854 cat >>$CONFIG_STATUS <<_ACEOF
8857 configured by $0, generated by GNU Autoconf 2.59,
8858 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8860 Copyright (C) 2003 Free Software Foundation, Inc.
8861 This config.status script is free software; the Free Software Foundation
8862 gives unlimited permission to copy, distribute and modify it."
8867 cat >>$CONFIG_STATUS <<\_ACEOF
8868 # If no file are specified by the user, then we need to provide default
8869 # value. By we need to know if files were specified by the user.
8875 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8876 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8884 *) # This is not an option, so the user has probably given explicit
8887 ac_need_defaults
=false
;;
8891 # Handling of the options.
8893 cat >>$CONFIG_STATUS <<\_ACEOF
8894 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8896 --version |
--vers* |
-V )
8897 echo "$ac_cs_version"; exit 0 ;;
8899 # Conflict between --help and --header
8900 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8901 Try \`$0 --help' for more information." >&5
8902 echo "$as_me: error: ambiguous option: $1
8903 Try \`$0 --help' for more information." >&2;}
8904 { (exit 1); exit 1; }; };;
8905 --help |
--hel |
-h )
8906 echo "$ac_cs_usage"; exit 0 ;;
8907 --debug |
--d* |
-d )
8909 --file |
--fil |
--fi |
--f )
8911 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8912 ac_need_defaults
=false
;;
8913 --header |
--heade |
--head |
--hea )
8915 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8916 ac_need_defaults
=false
;;
8917 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8918 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8922 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8923 Try \`$0 --help' for more information." >&5
8924 echo "$as_me: error: unrecognized option: $1
8925 Try \`$0 --help' for more information." >&2;}
8926 { (exit 1); exit 1; }; } ;;
8928 *) ac_config_targets
="$ac_config_targets $1" ;;
8934 ac_configure_extra_args
=
8936 if $ac_cs_silent; then
8938 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8942 cat >>$CONFIG_STATUS <<_ACEOF
8943 if \$ac_cs_recheck; then
8944 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8945 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8950 cat >>$CONFIG_STATUS <<_ACEOF
8952 # INIT-COMMANDS section.
8955 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8962 cat >>$CONFIG_STATUS <<\_ACEOF
8963 for ac_config_target
in $ac_config_targets
8965 case "$ac_config_target" in
8966 # Handling of arguments.
8967 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8968 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8969 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8970 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8971 "gconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
8972 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8973 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8974 { (exit 1); exit 1; }; };;
8978 # If the user did not use the arguments to specify the items to instantiate,
8979 # then the envvar interface is used. Set only those that are not.
8980 # We use the long form for the default assignment because of an extremely
8981 # bizarre bug on SunOS 4.1.3.
8982 if $ac_need_defaults; then
8983 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8984 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8985 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8988 # Have a temporary directory for convenience. Make it in the build tree
8989 # simply because there is no reason to put it here, and in addition,
8990 # creating and moving files from /tmp can sometimes cause problems.
8991 # Create a temporary directory, and hook for its removal unless debugging.
8994 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8995 trap '{ (exit 1); exit 1; }' 1 2 13 15
8998 # Create a (secure) tmp directory for tmp files.
9001 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9002 test -n "$tmp" && test -d "$tmp"
9005 tmp
=.
/confstat$$
-$RANDOM
9006 (umask 077 && mkdir
$tmp)
9009 echo "$me: cannot create a temporary directory in ." >&2
9010 { (exit 1); exit 1; }
9015 cat >>$CONFIG_STATUS <<_ACEOF
9018 # CONFIG_FILES section.
9021 # No need to generate the scripts if there are no CONFIG_FILES.
9022 # This happens for instance when ./config.status config.h
9023 if test -n "\$CONFIG_FILES"; then
9024 # Protect against being on the right side of a sed subst in config.status.
9025 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9026 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9027 s,@SHELL@,$SHELL,;t t
9028 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9029 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9030 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9031 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9032 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9033 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9034 s,@exec_prefix@,$exec_prefix,;t t
9035 s,@prefix@,$prefix,;t t
9036 s,@program_transform_name@,$program_transform_name,;t t
9037 s,@bindir@,$bindir,;t t
9038 s,@sbindir@,$sbindir,;t t
9039 s,@libexecdir@,$libexecdir,;t t
9040 s,@datadir@,$datadir,;t t
9041 s,@sysconfdir@,$sysconfdir,;t t
9042 s,@sharedstatedir@,$sharedstatedir,;t t
9043 s,@localstatedir@,$localstatedir,;t t
9044 s,@libdir@,$libdir,;t t
9045 s,@includedir@,$includedir,;t t
9046 s,@oldincludedir@,$oldincludedir,;t t
9047 s,@infodir@,$infodir,;t t
9048 s,@mandir@,$mandir,;t t
9049 s,@build_alias@,$build_alias,;t t
9050 s,@host_alias@,$host_alias,;t t
9051 s,@target_alias@,$target_alias,;t t
9053 s,@ECHO_C@,$ECHO_C,;t t
9054 s,@ECHO_N@,$ECHO_N,;t t
9055 s,@ECHO_T@,$ECHO_T,;t t
9057 s,@build@,$build,;t t
9058 s,@build_cpu@,$build_cpu,;t t
9059 s,@build_vendor@,$build_vendor,;t t
9060 s,@build_os@,$build_os,;t t
9062 s,@host_cpu@,$host_cpu,;t t
9063 s,@host_vendor@,$host_vendor,;t t
9064 s,@host_os@,$host_os,;t t
9065 s,@target@,$target,;t t
9066 s,@target_cpu@,$target_cpu,;t t
9067 s,@target_vendor@,$target_vendor,;t t
9068 s,@target_os@,$target_os,;t t
9070 s,@CFLAGS@,$CFLAGS,;t t
9071 s,@LDFLAGS@,$LDFLAGS,;t t
9072 s,@CPPFLAGS@,$CPPFLAGS,;t t
9073 s,@ac_ct_CC@,$ac_ct_CC,;t t
9074 s,@EXEEXT@,$EXEEXT,;t t
9075 s,@OBJEXT@,$OBJEXT,;t t
9076 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9077 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9078 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9079 s,@CYGPATH_W@,$CYGPATH_W,;t t
9080 s,@PACKAGE@,$PACKAGE,;t t
9081 s,@VERSION@,$VERSION,;t t
9082 s,@ACLOCAL@,$ACLOCAL,;t t
9083 s,@AUTOCONF@,$AUTOCONF,;t t
9084 s,@AUTOMAKE@,$AUTOMAKE,;t t
9085 s,@AUTOHEADER@,$AUTOHEADER,;t t
9086 s,@MAKEINFO@,$MAKEINFO,;t t
9087 s,@install_sh@,$install_sh,;t t
9088 s,@STRIP@,$STRIP,;t t
9089 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9090 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9091 s,@mkdir_p@,$mkdir_p,;t t
9093 s,@SET_MAKE@,$SET_MAKE,;t t
9094 s,@am__leading_dot@,$am__leading_dot,;t t
9095 s,@AMTAR@,$AMTAR,;t t
9096 s,@am__tar@,$am__tar,;t t
9097 s,@am__untar@,$am__untar,;t t
9098 s,@DEPDIR@,$DEPDIR,;t t
9099 s,@am__include@,$am__include,;t t
9100 s,@am__quote@,$am__quote,;t t
9101 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9102 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9103 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9104 s,@CCDEPMODE@,$CCDEPMODE,;t t
9105 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9106 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9108 s,@RANLIB@,$RANLIB,;t t
9109 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9110 s,@LIBTOOL@,$LIBTOOL,;t t
9112 s,@EGREP@,$EGREP,;t t
9113 s,@ALLOCA@,$ALLOCA,;t t
9114 s,@USE_NLS@,$USE_NLS,;t t
9115 s,@MSGFMT@,$MSGFMT,;t t
9116 s,@GMSGFMT@,$GMSGFMT,;t t
9117 s,@XGETTEXT@,$XGETTEXT,;t t
9118 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9119 s,@CATALOGS@,$CATALOGS,;t t
9120 s,@CATOBJEXT@,$CATOBJEXT,;t t
9121 s,@DATADIRNAME@,$DATADIRNAME,;t t
9122 s,@GMOFILES@,$GMOFILES,;t t
9123 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9124 s,@INTLDEPS@,$INTLDEPS,;t t
9125 s,@INTLLIBS@,$INTLLIBS,;t t
9126 s,@INTLOBJS@,$INTLOBJS,;t t
9127 s,@POFILES@,$POFILES,;t t
9128 s,@POSUB@,$POSUB,;t t
9129 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
9130 s,@GT_NO@,$GT_NO,;t t
9131 s,@GT_YES@,$GT_YES,;t t
9132 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9134 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9135 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9136 s,@MAINT@,$MAINT,;t t
9137 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9138 s,@NO_WERROR@,$NO_WERROR,;t t
9139 s,@LIBOBJS@,$LIBOBJS,;t t
9140 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9145 cat >>$CONFIG_STATUS <<\_ACEOF
9146 # Split the substitutions into bite-sized pieces for seds with
9147 # small command number limits, like on Digital OSF/1 and HP-UX.
9149 ac_sed_frag
=1 # Number of current file.
9150 ac_beg
=1 # First line for current file.
9151 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9154 while $ac_more_lines; do
9155 if test $ac_beg -gt 1; then
9156 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9158 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9160 if test ! -s $tmp/subs.frag
; then
9163 # The purpose of the label and of the branching condition is to
9164 # speed up the sed processing (if there are no `@' at all, there
9165 # is no need to browse any of the substitutions).
9166 # These are the two extra sed commands mentioned above.
9168 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9169 if test -z "$ac_sed_cmds"; then
9170 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9172 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9174 ac_sed_frag
=`expr $ac_sed_frag + 1`
9176 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9179 if test -z "$ac_sed_cmds"; then
9182 fi # test -n "$CONFIG_FILES"
9185 cat >>$CONFIG_STATUS <<\_ACEOF
9186 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9187 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9189 - |
*:- |
*:-:* ) # input from stdin
9191 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9192 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9193 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9194 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9195 * ) ac_file_in
=$ac_file.
in ;;
9198 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9199 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9200 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9201 X"$ac_file" : 'X\(//\)[^/]' \| \
9202 X"$ac_file" : 'X\(//\)$' \| \
9203 X"$ac_file" : 'X\(/\)' \| \
9204 . : '\(.\)' 2>/dev/null ||
9206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9207 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9208 /^X\(\/\/\)$/{ s//\1/; q; }
9209 /^X\(\/\).*/{ s//\1/; q; }
9211 { if $as_mkdir_p; then
9216 while test ! -d "$as_dir"; do
9217 as_dirs
="$as_dir $as_dirs"
9218 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9219 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9220 X"$as_dir" : 'X\(//\)[^/]' \| \
9221 X"$as_dir" : 'X\(//\)$' \| \
9222 X"$as_dir" : 'X\(/\)' \| \
9223 . : '\(.\)' 2>/dev/null ||
9225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9226 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9227 /^X\(\/\/\)$/{ s//\1/; q; }
9228 /^X\(\/\).*/{ s//\1/; q; }
9231 test ! -n "$as_dirs" || mkdir
$as_dirs
9232 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9233 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9234 { (exit 1); exit 1; }; }; }
9238 if test "$ac_dir" != .
; then
9239 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9240 # A "../" for each directory in $ac_dir_suffix.
9241 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9243 ac_dir_suffix
= ac_top_builddir
=
9247 .
) # No --srcdir option. We are building in place.
9249 if test -z "$ac_top_builddir"; then
9252 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9254 [\\/]* | ?
:[\\/]* ) # Absolute path.
9255 ac_srcdir
=$srcdir$ac_dir_suffix;
9256 ac_top_srcdir
=$srcdir ;;
9258 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9259 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9262 # Do not use `cd foo && pwd` to compute absolute paths, because
9263 # the directories may not exist.
9265 .
) ac_abs_builddir
="$ac_dir";;
9268 .
) ac_abs_builddir
=`pwd`;;
9269 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9270 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9273 case $ac_abs_builddir in
9274 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9276 case ${ac_top_builddir}.
in
9277 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9278 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9279 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9282 case $ac_abs_builddir in
9283 .
) ac_abs_srcdir
=$ac_srcdir;;
9286 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9287 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9288 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9291 case $ac_abs_builddir in
9292 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9294 case $ac_top_srcdir in
9295 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9296 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9297 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9303 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9304 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9307 if test x
"$ac_file" != x-
; then
9308 { echo "$as_me:$LINENO: creating $ac_file" >&5
9309 echo "$as_me: creating $ac_file" >&6;}
9312 # Let's still pretend it is `configure' which instantiates (i.e., don't
9313 # use $as_me), people would be surprised to read:
9314 # /* config.h. Generated by config.status. */
9315 if test x
"$ac_file" = x-
; then
9318 configure_input
="$ac_file. "
9320 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9321 sed 's,.*/,,'` by configure."
9323 # First look for the input files in the build tree, otherwise in the
9325 ac_file_inputs
=`IFS=:
9326 for f in $ac_file_in; do
9328 -) echo $tmp/stdin ;;
9330 # Absolute (can't be DOS-style, as IFS=:)
9331 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9332 echo "$as_me: error: cannot find input file: $f" >&2;}
9333 { (exit 1); exit 1; }; }
9336 if test -f "$f"; then
9339 elif test -f "$srcdir/$f"; then
9344 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9345 echo "$as_me: error: cannot find input file: $f" >&2;}
9346 { (exit 1); exit 1; }; }
9349 done` ||
{ (exit 1); exit 1; }
9351 cat >>$CONFIG_STATUS <<_ACEOF
9355 cat >>$CONFIG_STATUS <<\_ACEOF
9357 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9358 s
,@configure_input@
,$configure_input,;t t
9359 s
,@srcdir@
,$ac_srcdir,;t t
9360 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9361 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9362 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9363 s
,@builddir@
,$ac_builddir,;t t
9364 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9365 s
,@top_builddir@
,$ac_top_builddir,;t t
9366 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9367 s
,@INSTALL@
,$ac_INSTALL,;t t
9368 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9370 if test x"$ac_file" != x-; then
9371 mv $tmp/out $ac_file
9379 cat >>$CONFIG_STATUS <<\_ACEOF
9382 # CONFIG_HEADER section.
9385 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9386 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9388 # ac_d sets the value in "#define NAME VALUE" lines.
9389 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9390 ac_dB
='[ ].*$,\1#\2'
9393 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9394 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9395 ac_uB
='$,\1#\2define\3'
9399 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9400 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9402 - |
*:- |
*:-:* ) # input from stdin
9404 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9405 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9406 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9407 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9408 * ) ac_file_in
=$ac_file.
in ;;
9411 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9412 echo "$as_me: creating $ac_file" >&6;}
9414 # First look for the input files in the build tree, otherwise in the
9416 ac_file_inputs
=`IFS=:
9417 for f in $ac_file_in; do
9419 -) echo $tmp/stdin ;;
9421 # Absolute (can't be DOS-style, as IFS=:)
9422 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9423 echo "$as_me: error: cannot find input file: $f" >&2;}
9424 { (exit 1); exit 1; }; }
9425 # Do quote $f, to prevent DOS paths from being IFS'd.
9428 if test -f "$f"; then
9431 elif test -f "$srcdir/$f"; then
9436 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9437 echo "$as_me: error: cannot find input file: $f" >&2;}
9438 { (exit 1); exit 1; }; }
9441 done` ||
{ (exit 1); exit 1; }
9442 # Remove the trailing spaces.
9443 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9447 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9448 # `conftest.undefs', that substitutes the proper values into
9449 # config.h.in to produce config.h. The first handles `#define'
9450 # templates, and the second `#undef' templates.
9451 # And first: Protect against being on the right side of a sed subst in
9452 # config.status. Protect against being in an unquoted here document
9454 rm -f conftest.defines conftest.undefs
9455 # Using a here document instead of a string reduces the quoting nightmare.
9456 # Putting comments in sed scripts is not portable.
9458 # `end' is used to avoid that the second main sed command (meant for
9459 # 0-ary CPP macros) applies to n-ary macro definitions.
9460 # See the Autoconf documentation for `clear'.
9461 cat >confdef2sed.
sed <<\_ACEOF
9466 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9468 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9471 # If some macros were called several times there might be several times
9472 # the same #defines, which is useless. Nevertheless, we may not want to
9473 # sort them, since we want the *last* AC-DEFINE to be honored.
9474 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9475 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9476 rm -f confdef2sed.sed
9478 # This sed command replaces #undef with comments. This is necessary, for
9479 # example, in the case of _POSIX_SOURCE, which is predefined and required
9480 # on some systems where configure will not decide to define it.
9481 cat >>conftest.undefs <<\_ACEOF
9482 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9485 # Break up conftest.defines because some shells have a limit on the size
9486 # of here documents, and old seds have small limits too (100 cmds).
9487 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9488 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9489 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9490 echo ' :' >>$CONFIG_STATUS
9492 while grep . conftest.defines >/dev/null
9494 # Write a limited-size here document to $tmp/defines.sed.
9495 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9496 # Speed up: don't consider the non `#define' lines.
9497 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9498 # Work around the forget-to-reset-the-flag bug.
9499 echo 't clr' >>$CONFIG_STATUS
9500 echo ': clr' >>$CONFIG_STATUS
9501 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9503 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9507 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9508 rm -f conftest.defines
9509 mv conftest.
tail conftest.defines
9511 rm -f conftest.defines
9512 echo ' fi # grep' >>$CONFIG_STATUS
9513 echo >>$CONFIG_STATUS
9515 # Break up conftest.undefs because some shells have a limit on the size
9516 # of here documents, and old seds have small limits too (100 cmds).
9517 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9519 while grep . conftest.undefs
>/dev
/null
9521 # Write a limited-size here document to $tmp/undefs.sed.
9522 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9523 # Speed up: don't consider the non
`#undef'
9524 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9525 # Work around the forget-to-reset-the-flag bug.
9526 echo 't clr' >>$CONFIG_STATUS
9527 echo ': clr' >>$CONFIG_STATUS
9528 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9530 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9534 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9535 rm -f conftest.undefs
9536 mv conftest.tail conftest.undefs
9538 rm -f conftest.undefs
9540 cat >>$CONFIG_STATUS <<\_ACEOF
9541 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9542 # use $as_me), people would be surprised to read:
9543 # /* config.h. Generated by config.status. */
9544 if test x
"$ac_file" = x-
; then
9545 echo "/* Generated by configure. */" >$tmp/config.h
9547 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9549 cat $tmp/in >>$tmp/config.h
9551 if test x
"$ac_file" != x-
; then
9552 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9553 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9554 echo "$as_me: $ac_file is unchanged" >&6;}
9556 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9557 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9558 X"$ac_file" : 'X\(//\)[^/]' \| \
9559 X"$ac_file" : 'X\(//\)$' \| \
9560 X"$ac_file" : 'X\(/\)' \| \
9561 . : '\(.\)' 2>/dev/null ||
9563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9564 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9565 /^X\(\/\/\)$/{ s//\1/; q; }
9566 /^X\(\/\).*/{ s//\1/; q; }
9568 { if $as_mkdir_p; then
9573 while test ! -d "$as_dir"; do
9574 as_dirs
="$as_dir $as_dirs"
9575 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9577 X"$as_dir" : 'X\(//\)[^/]' \| \
9578 X"$as_dir" : 'X\(//\)$' \| \
9579 X"$as_dir" : 'X\(/\)' \| \
9580 . : '\(.\)' 2>/dev/null ||
9582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9584 /^X\(\/\/\)$/{ s//\1/; q; }
9585 /^X\(\/\).*/{ s//\1/; q; }
9588 test ! -n "$as_dirs" || mkdir
$as_dirs
9589 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9590 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9591 { (exit 1); exit 1; }; }; }
9594 mv $tmp/config.h
$ac_file
9600 # Compute $ac_file's index in $config_headers.
9602 for _am_header
in $config_headers :; do
9604 $ac_file |
$ac_file:* )
9607 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9610 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9611 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9612 X$ac_file : 'X\(//\)[^/]' \| \
9613 X$ac_file : 'X\(//\)$' \| \
9614 X$ac_file : 'X\(/\)' \| \
9615 . : '\(.\)' 2>/dev/null ||
9617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9618 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9619 /^X\(\/\/\)$/{ s//\1/; q; }
9620 /^X\(\/\).*/{ s//\1/; q; }
9621 s/.*/./; q'`/stamp-h
$_am_stamp_count
9624 cat >>$CONFIG_STATUS <<\_ACEOF
9627 # CONFIG_COMMANDS section.
9629 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9630 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9631 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9632 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9633 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9634 X"$ac_dest" : 'X\(//\)[^/]' \| \
9635 X"$ac_dest" : 'X\(//\)$' \| \
9636 X"$ac_dest" : 'X\(/\)' \| \
9637 . : '\(.\)' 2>/dev/null ||
9639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9640 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9641 /^X\(\/\/\)$/{ s//\1/; q; }
9642 /^X\(\/\).*/{ s//\1/; q; }
9644 { if $as_mkdir_p; then
9649 while test ! -d "$as_dir"; do
9650 as_dirs
="$as_dir $as_dirs"
9651 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9652 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9653 X"$as_dir" : 'X\(//\)[^/]' \| \
9654 X"$as_dir" : 'X\(//\)$' \| \
9655 X"$as_dir" : 'X\(/\)' \| \
9656 . : '\(.\)' 2>/dev/null ||
9658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9659 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9660 /^X\(\/\/\)$/{ s//\1/; q; }
9661 /^X\(\/\).*/{ s//\1/; q; }
9664 test ! -n "$as_dirs" || mkdir
$as_dirs
9665 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9666 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9667 { (exit 1); exit 1; }; }; }
9671 if test "$ac_dir" != .
; then
9672 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9673 # A "../" for each directory in $ac_dir_suffix.
9674 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9676 ac_dir_suffix
= ac_top_builddir
=
9680 .
) # No --srcdir option. We are building in place.
9682 if test -z "$ac_top_builddir"; then
9685 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9687 [\\/]* | ?
:[\\/]* ) # Absolute path.
9688 ac_srcdir
=$srcdir$ac_dir_suffix;
9689 ac_top_srcdir
=$srcdir ;;
9691 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9692 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9695 # Do not use `cd foo && pwd` to compute absolute paths, because
9696 # the directories may not exist.
9698 .
) ac_abs_builddir
="$ac_dir";;
9701 .
) ac_abs_builddir
=`pwd`;;
9702 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9703 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9706 case $ac_abs_builddir in
9707 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9709 case ${ac_top_builddir}.
in
9710 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9711 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9712 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9715 case $ac_abs_builddir in
9716 .
) ac_abs_srcdir
=$ac_srcdir;;
9719 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9720 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9721 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9724 case $ac_abs_builddir in
9725 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9727 case $ac_top_srcdir in
9728 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9729 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9730 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9735 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9736 echo "$as_me: executing $ac_dest commands" >&6;}
9738 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
9739 # Strip MF so we end up with the name of the file.
9740 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9741 # Check whether this is an Automake generated Makefile or not.
9742 # We used to match only the files named `Makefile.in', but
9743 # some people rename them; so instead we look at the file content.
9744 # Grep'ing the first line is not enough: some people post-process
9745 # each Makefile.in and add a new line on top of each file to say so.
9746 # So let's grep whole file.
9747 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9748 dirpart
=`(dirname "$mf") 2>/dev/null ||
9749 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9750 X"$mf" : 'X\(//\)[^/]' \| \
9751 X"$mf" : 'X\(//\)$' \| \
9752 X"$mf" : 'X\(/\)' \| \
9753 . : '\(.\)' 2>/dev/null ||
9755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9756 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9757 /^X\(\/\/\)$/{ s//\1/; q; }
9758 /^X\(\/\).*/{ s//\1/; q; }
9763 # Extract the definition of DEPDIR, am__include, and am__quote
9764 # from the Makefile without running `make'.
9765 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9766 test -z "$DEPDIR" && continue
9767 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9768 test -z "am__include" && continue
9769 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9770 # When using ansi2knr, U may be empty or an underscore; expand it
9771 U
=`sed -n 's/^U = //p' < "$mf"`
9772 # Find all dependency output files, they are included files with
9773 # $(DEPDIR) in their names. We invoke sed twice because it is the
9774 # simplest approach to changing $(DEPDIR) to its actual value in the
9776 for file in `sed -n "
9777 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9778 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9779 # Make sure the directory exists.
9780 test -f "$dirpart/$file" && continue
9781 fdir
=`(dirname "$file") 2>/dev/null ||
9782 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9783 X"$file" : 'X\(//\)[^/]' \| \
9784 X"$file" : 'X\(//\)$' \| \
9785 X"$file" : 'X\(/\)' \| \
9786 . : '\(.\)' 2>/dev/null ||
9788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9790 /^X\(\/\/\)$/{ s//\1/; q; }
9791 /^X\(\/\).*/{ s//\1/; q; }
9793 { if $as_mkdir_p; then
9794 mkdir
-p $dirpart/$fdir
9796 as_dir
=$dirpart/$fdir
9798 while test ! -d "$as_dir"; do
9799 as_dirs
="$as_dir $as_dirs"
9800 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9801 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9802 X"$as_dir" : 'X\(//\)[^/]' \| \
9803 X"$as_dir" : 'X\(//\)$' \| \
9804 X"$as_dir" : 'X\(/\)' \| \
9805 . : '\(.\)' 2>/dev/null ||
9807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9808 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9809 /^X\(\/\/\)$/{ s//\1/; q; }
9810 /^X\(\/\).*/{ s//\1/; q; }
9813 test ! -n "$as_dirs" || mkdir
$as_dirs
9814 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9815 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9816 { (exit 1); exit 1; }; }; }
9818 # echo "creating $dirpart/$file"
9819 echo '# dummy' > "$dirpart/$file"
9823 default
) sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
9828 cat >>$CONFIG_STATUS <<\_ACEOF
9830 { (exit 0); exit 0; }
9832 chmod +x
$CONFIG_STATUS
9833 ac_clean_files
=$ac_clean_files_save
9836 # configure is writing to config.log, and then calls config.status.
9837 # config.status does its own redirection, appending to config.log.
9838 # Unfortunately, on DOS this fails, as config.log is still kept open
9839 # by configure, so config.status won't be able to write to it; its
9840 # output is simply discarded. So we exec the FD to /dev/null,
9841 # effectively closing config.log, so it can be properly (re)opened and
9842 # appended to by config.status. When coming back to configure, we
9843 # need to make the FD available again.
9844 if test "$no_create" != yes; then
9846 ac_config_status_args
=
9847 test "$silent" = yes &&
9848 ac_config_status_args
="$ac_config_status_args --quiet"
9850 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9852 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9853 # would make configure fail if this is the last instruction.
9854 $ac_cs_success ||
{ (exit 1); exit 1; }