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 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-build-warnings Enable build-time compiler warnings
if gcc is used
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --with-gnu-ld assume the C compiler uses GNU ld default
=no
868 --with-pic try to use only PIC
/non-PIC objects default
=use both
869 --with-included-gettext use the GNU
gettext library included here
871 Some influential environment variables
:
872 CC C compiler
command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
875 nonstandard directory
<lib dir
>
876 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
877 headers
in a nonstandard directory
<include dir
>
880 Use these variables to override the choices made by
`configure' or to help
881 it to find libraries and programs with nonstandard names/locations.
886 if test "$ac_init_help" = "recursive"; then
887 # If there are subdirs, report their specific --help.
889 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
890 test -d $ac_dir || continue
893 if test "$ac_dir" != .; then
894 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
895 # A "../" for each directory in $ac_dir_suffix.
896 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
898 ac_dir_suffix= ac_top_builddir=
902 .) # No --srcdir option. We are building in place.
904 if test -z "$ac_top_builddir"; then
907 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
909 [\\/]* | ?:[\\/]* ) # Absolute path.
910 ac_srcdir=$srcdir$ac_dir_suffix;
911 ac_top_srcdir=$srcdir ;;
913 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
914 ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 # Do not use `cd foo
&& pwd` to compute absolute paths, because
918 # the directories may not exist.
920 .) ac_abs_builddir="$ac_dir";;
923 .) ac_abs_builddir=`pwd`;;
924 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
925 *) ac_abs_builddir=`pwd`/"$ac_dir";;
928 case $ac_abs_builddir in
929 .) ac_abs_top_builddir=${ac_top_builddir}.;;
931 case ${ac_top_builddir}. in
932 .) ac_abs_top_builddir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
934 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937 case $ac_abs_builddir in
938 .) ac_abs_srcdir=$ac_srcdir;;
941 .) ac_abs_srcdir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
943 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946 case $ac_abs_builddir in
947 .) ac_abs_top_srcdir=$ac_top_srcdir;;
949 case $ac_top_srcdir in
950 .) ac_abs_top_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
952 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
957 # Check for guested configure; otherwise get Cygnus style configure.
958 if test -f $ac_srcdir/configure.gnu; then
960 $SHELL $ac_srcdir/configure.gnu --help=recursive
961 elif test -f $ac_srcdir/configure; then
963 $SHELL $ac_srcdir/configure --help=recursive
964 elif test -f $ac_srcdir/configure.ac ||
965 test -f $ac_srcdir/configure.in; then
969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
975 test -n "$ac_init_help" && exit 0
976 if $ac_init_version; then
979 Copyright (C) 2003 Free Software Foundation, Inc.
980 This configure script is free software; the Free Software Foundation
981 gives unlimited permission to copy, distribute and modify it.
987 This file contains any messages produced by compilers while
988 running configure, to aid debugging if configure makes a mistake.
990 It was created by $as_me, which was
991 generated by GNU Autoconf 2.59. Invocation command line was
1002 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1003 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1004 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1005 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1006 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1009 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1011 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1013 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1014 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1015 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1017 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 test -z "$as_dir" && as_dir=.
1026 echo "PATH: $as_dir"
1041 # Keep a trace of the command line.
1042 # Strip out --no-create and --no-recursion so they do not pile up.
1043 # Strip out --silent because we don't want to record it for future runs.
1044 # Also quote any args containing shell meta-characters.
1045 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_must_keep_next=false
1056 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058 | -silent | --silent | --silen | --sile | --sil)
1060 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1061 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1064 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1066 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1067 if test $ac_must_keep_next = true; then
1068 ac_must_keep_next=false # Got value, back to normal.
1071 *=* | --config-cache | -C | -disable-* | --disable-* \
1072 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1073 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1074 | -with-* | --with-* | -without-* | --without-* | --x)
1075 case "$ac_configure_args0 " in
1076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1079 -* ) ac_must_keep_next=true ;;
1082 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1083 # Get rid of the leading space.
1089 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1090 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1092 # When interrupted or exit'd, cleanup temporary files, and complete
1093 # config.log. We remove comments because anyway the quotes in there
1094 # would cause problems or look ugly.
1095 # WARNING: Be sure not to use single quotes in there, as some shells,
1096 # such as our DU 5.0 friend, will then `close
' the trap.
1097 trap 'exit_status
=$?
1098 # Save into config.log some information that might help in debugging.
1103 ## ---------------- ##
1104 ## Cache variables. ##
1105 ## ---------------- ##
1108 # The following way of writing the cache mishandles newlines in values,
1111 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1114 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126 ## ----------------- ##
1127 ## Output variables. ##
1128 ## ----------------- ##
1131 for ac_var
in $ac_subst_vars
1133 eval ac_val
=$
`echo $ac_var`
1134 echo "$ac_var='"'"'$ac_val'"'"'"
1138 if test -n "$ac_subst_files"; then
1145 for ac_var
in $ac_subst_files
1147 eval ac_val
=$
`echo $ac_var`
1148 echo "$ac_var='"'"'$ac_val'"'"'"
1153 if test -s confdefs.h
; then
1160 sed "/^$/d" confdefs.h |
sort
1163 test "$ac_signal" != 0 &&
1164 echo "$as_me: caught signal $ac_signal"
1165 echo "$as_me: exit $exit_status"
1167 rm -f core
*.core
&&
1168 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1171 for ac_signal in 1 2 13 15; do
1172 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1177 rm -rf conftest* confdefs.h
1178 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1181 # Predefined preprocessor variables.
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 # Let the site file select an alternate cache file if it wants to.
1209 # Prefer explicitly selected file to automatically selected ones.
1210 if test -z "$CONFIG_SITE"; then
1211 if test "x$prefix" != xNONE; then
1212 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1214 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1217 for ac_site_file in $CONFIG_SITE; do
1218 if test -r "$ac_site_file"; then
1219 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1220 echo "$as_me: loading site script $ac_site_file" >&6;}
1221 sed 's
/^
/|
/' "$ac_site_file" >&5
1226 if test -r "$cache_file"; then
1227 # Some versions of bash will fail to source /dev/null (special
1228 # files actually), so we avoid doing that.
1229 if test -f "$cache_file"; then
1230 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1231 echo "$as_me: loading cache $cache_file" >&6;}
1233 [\\/]* | ?:[\\/]* ) . $cache_file;;
1234 *) . ./$cache_file;;
1238 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1239 echo "$as_me: creating cache $cache_file" >&6;}
1243 # Check that the precious variables saved in the cache have kept the same
1245 ac_cache_corrupted=false
1246 for ac_var in `(set) 2>&1 |
1247 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1248 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1249 eval ac_new_set=\$ac_env_${ac_var}_set
1250 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1251 eval ac_new_val="\$ac_env_${ac_var}_value"
1252 case $ac_old_set,$ac_new_set in
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1256 ac_cache_corrupted=: ;;
1258 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1263 if test "x$ac_old_val" != "x$ac_new_val"; then
1264 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1265 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1266 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1267 echo "$as_me: former value: $ac_old_val" >&2;}
1268 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1269 echo "$as_me: current value: $ac_new_val" >&2;}
1270 ac_cache_corrupted=:
1273 # Pass precious variables to config.status.
1274 if test "$ac_new_set" = set; then
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1278 *) ac_arg=$ac_var=$ac_new_val ;;
1280 case " $ac_configure_args " in
1281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1282 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286 if $ac_cache_corrupted; then
1287 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1288 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1289 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1290 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1291 { (exit 1); exit 1; }; }
1295 ac_cpp='$CPP $CPPFLAGS'
1296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1297 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1322 if test -f $ac_dir/install-sh; then
1324 ac_install_sh="$ac_aux_dir/install-sh -c"
1326 elif test -f $ac_dir/install.sh; then
1328 ac_install_sh="$ac_aux_dir/install.sh -c"
1330 elif test -f $ac_dir/shtool; then
1332 ac_install_sh="$ac_aux_dir/shtool install -c"
1336 if test -z "$ac_aux_dir"; then
1337 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1338 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1339 { (exit 1); exit 1; }; }
1341 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1342 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1343 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1345 # Make sure we can run config.sub.
1346 $ac_config_sub sun4 >/dev/null 2>&1 ||
1347 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1348 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1349 { (exit 1); exit 1; }; }
1351 echo "$as_me:$LINENO: checking build system type" >&5
1352 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1353 if test "${ac_cv_build+set}" = set; then
1354 echo $ECHO_N "(cached) $ECHO_C" >&6
1356 ac_cv_build_alias=$build_alias
1357 test -z "$ac_cv_build_alias" &&
1358 ac_cv_build_alias=`$ac_config_guess`
1359 test -z "$ac_cv_build_alias" &&
1360 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1361 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1362 { (exit 1); exit 1; }; }
1363 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1364 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1365 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1366 { (exit 1); exit 1; }; }
1369 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1370 echo "${ECHO_T}$ac_cv_build" >&6
1372 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1373 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1374 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1377 echo "$as_me:$LINENO: checking host system type" >&5
1378 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1379 if test "${ac_cv_host+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 ac_cv_host_alias=$host_alias
1383 test -z "$ac_cv_host_alias" &&
1384 ac_cv_host_alias=$ac_cv_build_alias
1385 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1386 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1387 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1388 { (exit 1); exit 1; }; }
1391 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1392 echo "${ECHO_T}$ac_cv_host" >&6
1394 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1395 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1396 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1399 echo "$as_me:$LINENO: checking target system type" >&5
1400 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1401 if test "${ac_cv_target+set}" = set; then
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
1404 ac_cv_target_alias=$target_alias
1405 test "x$ac_cv_target_alias" = "x" &&
1406 ac_cv_target_alias=$ac_cv_host_alias
1407 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1408 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1409 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1410 { (exit 1); exit 1; }; }
1413 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1414 echo "${ECHO_T}$ac_cv_target" >&6
1415 target=$ac_cv_target
1416 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1417 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1418 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1421 # The aliases save the names the user supplied, while $host etc.
1422 # will get canonicalized.
1423 test -n "$target_alias" &&
1424 test "$program_prefix$program_suffix$program_transform_name" = \
1426 program_prefix=${target_alias}-
1428 ac_cpp='$CPP $CPPFLAGS'
1429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1430 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1432 if test -n "$ac_tool_prefix"; then
1433 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1434 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1435 echo "$as_me:$LINENO: checking for $ac_word" >&5
1436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1437 if test "${ac_cv_prog_CC+set}" = set; then
1438 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 if test -n "$CC"; then
1441 ac_cv_prog_CC="$CC" # Let the user override the test.
1443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1447 test -z "$as_dir" && as_dir=.
1448 for ac_exec_ext in '' $ac_executable_extensions; do
1449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1450 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1460 if test -n "$CC"; then
1461 echo "$as_me:$LINENO: result: $CC" >&5
1462 echo "${ECHO_T}$CC" >&6
1464 echo "$as_me:$LINENO: result: no" >&5
1465 echo "${ECHO_T}no" >&6
1469 if test -z "$ac_cv_prog_CC"; then
1471 # Extract the first word of "gcc", so it can be a program name with args.
1472 set dummy gcc; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1478 if test -n "$ac_ct_CC"; then
1479 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1485 test -z "$as_dir" && as_dir=.
1486 for ac_exec_ext in '' $ac_executable_extensions; do
1487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1488 ac_cv_prog_ac_ct_CC="gcc"
1489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1498 if test -n "$ac_ct_CC"; then
1499 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1500 echo "${ECHO_T}$ac_ct_CC" >&6
1502 echo "$as_me:$LINENO: result: no" >&5
1503 echo "${ECHO_T}no" >&6
1511 if test -z "$CC"; then
1512 if test -n "$ac_tool_prefix"; then
1513 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1514 set dummy ${ac_tool_prefix}cc; ac_word=$2
1515 echo "$as_me:$LINENO: checking for $ac_word" >&5
1516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1517 if test "${ac_cv_prog_CC+set}" = set; then
1518 echo $ECHO_N "(cached) $ECHO_C" >&6
1520 if test -n "$CC"; then
1521 ac_cv_prog_CC="$CC" # Let the user override the test.
1523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1527 test -z "$as_dir" && as_dir=.
1528 for ac_exec_ext in '' $ac_executable_extensions; do
1529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1530 ac_cv_prog_CC="${ac_tool_prefix}cc"
1531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1540 if test -n "$CC"; then
1541 echo "$as_me:$LINENO: result: $CC" >&5
1542 echo "${ECHO_T}$CC" >&6
1544 echo "$as_me:$LINENO: result: no" >&5
1545 echo "${ECHO_T}no" >&6
1549 if test -z "$ac_cv_prog_CC"; then
1551 # Extract the first word of "cc", so it can be a program name with args.
1552 set dummy cc; ac_word=$2
1553 echo "$as_me:$LINENO: checking for $ac_word" >&5
1554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1555 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 if test -n "$ac_ct_CC"; then
1559 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1565 test -z "$as_dir" && as_dir=.
1566 for ac_exec_ext in '' $ac_executable_extensions; do
1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1568 ac_cv_prog_ac_ct_CC="cc"
1569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1578 if test -n "$ac_ct_CC"; then
1579 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1580 echo "${ECHO_T}$ac_ct_CC" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1592 if test -z "$CC"; then
1593 # Extract the first word of "cc", so it can be a program name with args.
1594 set dummy cc; ac_word=$2
1595 echo "$as_me:$LINENO: checking for $ac_word" >&5
1596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1597 if test "${ac_cv_prog_CC+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 if test -n "$CC"; then
1601 ac_cv_prog_CC="$CC" # Let the user override the test.
1604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608 test -z "$as_dir" && as_dir=.
1609 for ac_exec_ext in '' $ac_executable_extensions; do
1610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1611 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1612 ac_prog_rejected=yes
1616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1622 if test $ac_prog_rejected = yes; then
1623 # We found a bogon in the path, so make sure we never use it.
1624 set dummy $ac_cv_prog_CC
1626 if test $# != 0; then
1627 # We chose a different compiler from the bogus one.
1628 # However, it has the same basename, so the bogon will be chosen
1629 # first if we set CC to just the basename; use the full file name.
1631 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1637 if test -n "$CC"; then
1638 echo "$as_me:$LINENO: result: $CC" >&5
1639 echo "${ECHO_T}$CC" >&6
1641 echo "$as_me:$LINENO: result: no" >&5
1642 echo "${ECHO_T}no" >&6
1646 if test -z "$CC"; then
1647 if test -n "$ac_tool_prefix"; then
1650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1652 echo "$as_me:$LINENO: checking for $ac_word" >&5
1653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1654 if test "${ac_cv_prog_CC+set}" = set; then
1655 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 if test -n "$CC"; then
1658 ac_cv_prog_CC="$CC" # Let the user override the test.
1660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1664 test -z "$as_dir" && as_dir=.
1665 for ac_exec_ext in '' $ac_executable_extensions; do
1666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1667 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1677 if test -n "$CC"; then
1678 echo "$as_me:$LINENO: result: $CC" >&5
1679 echo "${ECHO_T}$CC" >&6
1681 echo "$as_me:$LINENO: result: no" >&5
1682 echo "${ECHO_T}no" >&6
1685 test -n "$CC" && break
1688 if test -z "$CC"; then
1692 # Extract the first word of "$ac_prog", so it can be a program name with args.
1693 set dummy $ac_prog; ac_word=$2
1694 echo "$as_me:$LINENO: checking for $ac_word" >&5
1695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1697 echo $ECHO_N "(cached) $ECHO_C" >&6
1699 if test -n "$ac_ct_CC"; then
1700 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1706 test -z "$as_dir" && as_dir=.
1707 for ac_exec_ext in '' $ac_executable_extensions; do
1708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1709 ac_cv_prog_ac_ct_CC="$ac_prog"
1710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1719 if test -n "$ac_ct_CC"; then
1720 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1721 echo "${ECHO_T}$ac_ct_CC" >&6
1723 echo "$as_me:$LINENO: result: no" >&5
1724 echo "${ECHO_T}no" >&6
1727 test -n "$ac_ct_CC" && break
1736 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1737 See \`config.log' for more details.
" >&5
1738 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1739 See \
`config.log' for more details." >&2;}
1740 { (exit 1); exit 1; }; }
1742 # Provide some information about the compiler.
1743 echo "$as_me:$LINENO:" \
1744 "checking for C compiler version" >&5
1745 ac_compiler=`set X
$ac_compile; echo $2`
1746 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1747 (eval $ac_compiler --version </dev/null >&5) 2>&5
1749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1750 (exit $ac_status); }
1751 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1752 (eval $ac_compiler -v </dev/null >&5) 2>&5
1754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1755 (exit $ac_status); }
1756 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1757 (eval $ac_compiler -V </dev/null >&5) 2>&5
1759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1760 (exit $ac_status); }
1762 cat >conftest.$ac_ext <<_ACEOF
1765 cat confdefs.h >>conftest.$ac_ext
1766 cat >>conftest.$ac_ext <<_ACEOF
1767 /* end confdefs.h. */
1777 ac_clean_files_save=$ac_clean_files
1778 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1779 # Try to create an executable without -o first, disregard a.out.
1780 # It will help us diagnose broken compilers, and finding out an intuition
1782 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1783 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1784 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1785 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1786 (eval $ac_link_default) 2>&5
1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1789 (exit $ac_status); }; then
1790 # Find the output, starting from the most likely. This scheme is
1791 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1794 # Be careful to initialize this variable, since it used to be cached.
1795 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1797 # b.out is created by i960 compilers.
1798 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1800 test -f "$ac_file" || continue
1802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1805 # This is the source file.
1808 # We found the default executable, but exeext='' is most
1812 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1813 # FIXME: I believe we export ac_cv_exeext for Libtool,
1814 # but it would be cool to find out if it's true. Does anybody
1815 # maintain Libtool? --akim.
1823 echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1826 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1827 See \`config.log
' for more details." >&5
1828 echo "$as_me: error: C compiler cannot create executables
1829 See \`config.log' for more details.
" >&2;}
1830 { (exit 77); exit 77; }; }
1833 ac_exeext=$ac_cv_exeext
1834 echo "$as_me:$LINENO: result
: $ac_file" >&5
1835 echo "${ECHO_T}$ac_file" >&6
1837 # Check the compiler produces executables we can run. If not, either
1838 # the compiler is broken, or we cross compile.
1839 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1840 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1841 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1842 # If not cross compiling, check that we can run a simple program.
1843 if test "$cross_compiling" != yes; then
1844 if { ac_try='./$ac_file'
1845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1849 (exit $ac_status); }; }; then
1852 if test "$cross_compiling" = maybe; then
1855 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1856 If you meant to cross compile
, use \
`--host'.
1857 See \`config.log
' for more details." >&5
1858 echo "$as_me: error: cannot run C compiled programs.
1859 If you meant to cross compile, use \`--host'.
1860 See \
`config.log' for more details." >&2;}
1861 { (exit 1); exit 1; }; }
1865 echo "$as_me:$LINENO: result: yes" >&5
1866 echo "${ECHO_T}yes" >&6
1868 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1869 ac_clean_files=$ac_clean_files_save
1870 # Check the compiler produces executables we can run. If not, either
1871 # the compiler is broken, or we cross compile.
1872 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1873 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1874 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1875 echo "${ECHO_T}$cross_compiling" >&6
1877 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1878 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1880 (eval $ac_link) 2>&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); }; then
1884 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1885 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1886 # work properly (i.e., refer to `conftest.exe'), while it won't with
1888 for ac_file
in conftest.exe conftest conftest.
*; do
1889 test -f "$ac_file" ||
continue
1891 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1892 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1899 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1900 See \`config.log' for more details." >&5
1901 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1902 See \`config.log' for more details." >&2;}
1903 { (exit 1); exit 1; }; }
1906 rm -f conftest
$ac_cv_exeext
1907 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1908 echo "${ECHO_T}$ac_cv_exeext" >&6
1910 rm -f conftest.
$ac_ext
1911 EXEEXT
=$ac_cv_exeext
1913 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1914 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1915 if test "${ac_cv_objext+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 cat >conftest.
$ac_ext <<_ACEOF
1921 cat confdefs.h
>>conftest.
$ac_ext
1922 cat >>conftest.
$ac_ext <<_ACEOF
1923 /* end confdefs.h. */
1933 rm -f conftest.o conftest.obj
1934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1935 (eval $ac_compile) 2>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }; then
1939 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1941 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1942 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1947 echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.
$ac_ext >&5
1950 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1951 See \`config.log' for more details." >&5
1952 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1953 See \`config.log' for more details." >&2;}
1954 { (exit 1); exit 1; }; }
1957 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1959 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1960 echo "${ECHO_T}$ac_cv_objext" >&6
1961 OBJEXT
=$ac_cv_objext
1963 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1964 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1965 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 cat >conftest.
$ac_ext <<_ACEOF
1971 cat confdefs.h
>>conftest.
$ac_ext
1972 cat >>conftest.
$ac_ext <<_ACEOF
1973 /* end confdefs.h. */
1986 rm -f conftest.
$ac_objext
1987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1988 (eval $ac_compile) 2>conftest.er1
1990 grep -v '^ *+' conftest.er1
>conftest.err
1992 cat conftest.err
>&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); } &&
1995 { ac_try
='test -z "$ac_c_werror_flag"
1996 || test ! -s conftest.err'
1997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2001 (exit $ac_status); }; } &&
2002 { ac_try
='test -s conftest.$ac_objext'
2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007 (exit $ac_status); }; }; then
2010 echo "$as_me: failed program was:" >&5
2011 sed 's/^/| /' conftest.
$ac_ext >&5
2015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2016 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2019 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2020 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2021 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2022 ac_test_CFLAGS
=${CFLAGS+set}
2023 ac_save_CFLAGS
=$CFLAGS
2025 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2026 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2027 if test "${ac_cv_prog_cc_g+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2030 cat >conftest.
$ac_ext <<_ACEOF
2033 cat confdefs.h
>>conftest.
$ac_ext
2034 cat >>conftest.
$ac_ext <<_ACEOF
2035 /* end confdefs.h. */
2045 rm -f conftest.
$ac_objext
2046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2047 (eval $ac_compile) 2>conftest.er1
2049 grep -v '^ *+' conftest.er1
>conftest.err
2051 cat conftest.err
>&5
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053 (exit $ac_status); } &&
2054 { ac_try
='test -z "$ac_c_werror_flag"
2055 || test ! -s conftest.err'
2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }; } &&
2061 { ac_try
='test -s conftest.$ac_objext'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; }; then
2069 echo "$as_me: failed program was:" >&5
2070 sed 's/^/| /' conftest.
$ac_ext >&5
2074 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2076 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2077 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2078 if test "$ac_test_CFLAGS" = set; then
2079 CFLAGS
=$ac_save_CFLAGS
2080 elif test $ac_cv_prog_cc_g = yes; then
2081 if test "$GCC" = yes; then
2087 if test "$GCC" = yes; then
2093 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2094 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2095 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 ac_cv_prog_cc_stdc
=no
2100 cat >conftest.
$ac_ext <<_ACEOF
2103 cat confdefs.h
>>conftest.
$ac_ext
2104 cat >>conftest.
$ac_ext <<_ACEOF
2105 /* end confdefs.h. */
2108 #include <sys/types.h>
2109 #include <sys/stat.h>
2110 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2111 struct buf { int x; };
2112 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2113 static char *e (p, i)
2119 static char *f (char * (*g) (char **, int), char **p, ...)
2124 s = g (p, va_arg (v,int));
2129 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2130 function prototypes and stuff, but not '\xHH' hex character constants.
2131 These don't provoke an error unfortunately, instead are silently treated
2132 as 'x'. The following induces an error, until -std1 is added to get
2133 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2134 array size at least. It's necessary to write '\x00'==0 to get something
2135 that's true only with -std1. */
2136 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2138 int test (int i, double x);
2139 struct s1 {int (*f) (int a);};
2140 struct s2 {int (*f) (double a);};
2141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2147 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2152 # Don't try gcc -ansi; that turns off useful extensions and
2153 # breaks some systems' header files.
2154 # AIX -qlanglvl=ansi
2155 # Ultrix and OSF/1 -std1
2156 # HP-UX 10.20 and later -Ae
2157 # HP-UX older versions -Aa -D_HPUX_SOURCE
2158 # SVR4 -Xc -D__EXTENSIONS__
2159 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2161 CC
="$ac_save_CC $ac_arg"
2162 rm -f conftest.
$ac_objext
2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2164 (eval $ac_compile) 2>conftest.er1
2166 grep -v '^ *+' conftest.er1
>conftest.err
2168 cat conftest.err
>&5
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); } &&
2171 { ac_try
='test -z "$ac_c_werror_flag"
2172 || test ! -s conftest.err'
2173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }; } &&
2178 { ac_try
='test -s conftest.$ac_objext'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; }; then
2184 ac_cv_prog_cc_stdc
=$ac_arg
2187 echo "$as_me: failed program was:" >&5
2188 sed 's/^/| /' conftest.
$ac_ext >&5
2191 rm -f conftest.err conftest.
$ac_objext
2193 rm -f conftest.
$ac_ext conftest.
$ac_objext
2198 case "x$ac_cv_prog_cc_stdc" in
2200 echo "$as_me:$LINENO: result: none needed" >&5
2201 echo "${ECHO_T}none needed" >&6 ;;
2203 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2204 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2205 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2208 # Some people use a C++ compiler to compile C. Since we use `exit',
2209 # in C++ we need to declare it. In case someone uses the same compiler
2210 # for both compiling C and C++ we need to have the C++ compiler decide
2211 # the declaration of exit, since it's the most demanding environment.
2212 cat >conftest.
$ac_ext <<_ACEOF
2217 rm -f conftest.
$ac_objext
2218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2219 (eval $ac_compile) 2>conftest.er1
2221 grep -v '^ *+' conftest.er1
>conftest.err
2223 cat conftest.err
>&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); } &&
2226 { ac_try
='test -z "$ac_c_werror_flag"
2227 || test ! -s conftest.err'
2228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2232 (exit $ac_status); }; } &&
2233 { ac_try
='test -s conftest.$ac_objext'
2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }; }; then
2239 for ac_declaration
in \
2241 'extern "C" void std::exit (int) throw (); using std::exit;' \
2242 'extern "C" void std::exit (int); using std::exit;' \
2243 'extern "C" void exit (int) throw ();' \
2244 'extern "C" void exit (int);' \
2247 cat >conftest.
$ac_ext <<_ACEOF
2250 cat confdefs.h
>>conftest.
$ac_ext
2251 cat >>conftest.
$ac_ext <<_ACEOF
2252 /* end confdefs.h. */
2263 rm -f conftest.
$ac_objext
2264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2265 (eval $ac_compile) 2>conftest.er1
2267 grep -v '^ *+' conftest.er1
>conftest.err
2269 cat conftest.err
>&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); } &&
2272 { ac_try
='test -z "$ac_c_werror_flag"
2273 || test ! -s conftest.err'
2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; } &&
2279 { ac_try
='test -s conftest.$ac_objext'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; }; then
2287 echo "$as_me: failed program was:" >&5
2288 sed 's/^/| /' conftest.
$ac_ext >&5
2292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2293 cat >conftest.
$ac_ext <<_ACEOF
2296 cat confdefs.h
>>conftest.
$ac_ext
2297 cat >>conftest.
$ac_ext <<_ACEOF
2298 /* end confdefs.h. */
2308 rm -f conftest.
$ac_objext
2309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2310 (eval $ac_compile) 2>conftest.er1
2312 grep -v '^ *+' conftest.er1
>conftest.err
2314 cat conftest.err
>&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); } &&
2317 { ac_try
='test -z "$ac_c_werror_flag"
2318 || test ! -s conftest.err'
2319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }; } &&
2324 { ac_try
='test -s conftest.$ac_objext'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; }; then
2332 echo "$as_me: failed program was:" >&5
2333 sed 's/^/| /' conftest.
$ac_ext >&5
2336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2339 if test -n "$ac_declaration"; then
2340 echo '#ifdef __cplusplus' >>confdefs.h
2341 echo $ac_declaration >>confdefs.h
2342 echo '#endif' >>confdefs.h
2346 echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.
$ac_ext >&5
2350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2352 ac_cpp
='$CPP $CPPFLAGS'
2353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2358 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2359 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2360 if test "${ac_cv_search_strerror+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 ac_func_search_save_LIBS
=$LIBS
2364 ac_cv_search_strerror
=no
2365 cat >conftest.
$ac_ext <<_ACEOF
2368 cat confdefs.h
>>conftest.
$ac_ext
2369 cat >>conftest.
$ac_ext <<_ACEOF
2370 /* end confdefs.h. */
2372 /* Override any gcc2 internal prototype to avoid an error. */
2376 /* We use char because int might match the return type of a gcc2
2377 builtin and then its argument prototype would still apply. */
2387 rm -f conftest.
$ac_objext conftest
$ac_exeext
2388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2389 (eval $ac_link) 2>conftest.er1
2391 grep -v '^ *+' conftest.er1
>conftest.err
2393 cat conftest.err
>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); } &&
2396 { ac_try
='test -z "$ac_c_werror_flag"
2397 || test ! -s conftest.err'
2398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }; } &&
2403 { ac_try
='test -s conftest$ac_exeext'
2404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; }; then
2409 ac_cv_search_strerror
="none required"
2411 echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.
$ac_ext >&5
2415 rm -f conftest.err conftest.
$ac_objext \
2416 conftest
$ac_exeext conftest.
$ac_ext
2417 if test "$ac_cv_search_strerror" = no
; then
2418 for ac_lib
in cposix
; do
2419 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2420 cat >conftest.
$ac_ext <<_ACEOF
2423 cat confdefs.h
>>conftest.
$ac_ext
2424 cat >>conftest.
$ac_ext <<_ACEOF
2425 /* end confdefs.h. */
2427 /* Override any gcc2 internal prototype to avoid an error. */
2431 /* We use char because int might match the return type of a gcc2
2432 builtin and then its argument prototype would still apply. */
2442 rm -f conftest.
$ac_objext conftest
$ac_exeext
2443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2444 (eval $ac_link) 2>conftest.er1
2446 grep -v '^ *+' conftest.er1
>conftest.err
2448 cat conftest.err
>&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); } &&
2451 { ac_try
='test -z "$ac_c_werror_flag"
2452 || test ! -s conftest.err'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; } &&
2458 { ac_try
='test -s conftest$ac_exeext'
2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; }; then
2464 ac_cv_search_strerror
="-l$ac_lib"
2467 echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.
$ac_ext >&5
2471 rm -f conftest.err conftest.
$ac_objext \
2472 conftest
$ac_exeext conftest.
$ac_ext
2475 LIBS
=$ac_func_search_save_LIBS
2477 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2478 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2479 if test "$ac_cv_search_strerror" != no
; then
2480 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2485 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2486 am__api_version
="1.9"
2487 # Find a good install program. We prefer a C program (faster),
2488 # so one script is as good as another. But avoid the broken or
2489 # incompatible versions:
2490 # SysV /etc/install, /usr/sbin/install
2491 # SunOS /usr/etc/install
2492 # IRIX /sbin/install
2494 # AmigaOS /C/install, which installs bootblocks on floppy discs
2495 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2496 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2497 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2498 # OS/2's system install, which has a completely different semantic
2499 # ./install, which can be erroneously created by make from ./install.sh.
2500 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2501 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2502 if test -z "$INSTALL"; then
2503 if test "${ac_cv_path_install+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2510 test -z "$as_dir" && as_dir
=.
2511 # Account for people who put trailing slashes in PATH elements.
2513 .
/ | .
// |
/cC
/* | \
2514 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2515 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2518 # OSF1 and SCO ODT 3.0 have their own names for install.
2519 # Don't use installbsd from OSF since it installs stuff as root
2521 for ac_prog
in ginstall scoinst
install; do
2522 for ac_exec_ext
in '' $ac_executable_extensions; do
2523 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2524 if test $ac_prog = install &&
2525 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2526 # AIX install. It has an incompatible calling convention.
2528 elif test $ac_prog = install &&
2529 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2530 # program-specific install script used by HP pwplus--don't use.
2533 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2545 if test "${ac_cv_path_install+set}" = set; then
2546 INSTALL
=$ac_cv_path_install
2548 # As a last resort, use the slow shell script. We don't cache a
2549 # path for INSTALL within a source directory, because that will
2550 # break other packages using the cache if that directory is
2551 # removed, or if the path is relative.
2552 INSTALL
=$ac_install_sh
2555 echo "$as_me:$LINENO: result: $INSTALL" >&5
2556 echo "${ECHO_T}$INSTALL" >&6
2558 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2559 # It thinks the first close brace ends the variable substitution.
2560 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2562 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2564 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2566 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2567 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2570 echo timestamp
> conftest.
file
2571 # Do `set' in a subshell so we don't clobber the current shell's
2572 # arguments. Must try -L first in case configure is actually a
2573 # symlink; some systems play weird games with the mod time of symlinks
2574 # (eg FreeBSD returns the mod time of the symlink's containing
2577 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2578 if test "$*" = "X"; then
2580 set X
`ls -t $srcdir/configure conftest.file`
2583 if test "$*" != "X $srcdir/configure conftest.file" \
2584 && test "$*" != "X conftest.file $srcdir/configure"; then
2586 # If neither matched, then we have a broken ls. This can happen
2587 # if, for instance, CONFIG_SHELL is bash and it inherits a
2588 # broken ls alias from the environment. This has actually
2589 # happened. Such a system could not be considered "sane".
2590 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2591 alias in your environment" >&5
2592 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2593 alias in your environment" >&2;}
2594 { (exit 1); exit 1; }; }
2597 test "$2" = conftest.
file
2603 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2604 Check your system clock" >&5
2605 echo "$as_me: error: newly created file is older than distributed files!
2606 Check your system clock" >&2;}
2607 { (exit 1); exit 1; }; }
2609 echo "$as_me:$LINENO: result: yes" >&5
2610 echo "${ECHO_T}yes" >&6
2611 test "$program_prefix" != NONE
&&
2612 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2613 # Use a double $ so make ignores it.
2614 test "$program_suffix" != NONE
&&
2615 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2616 # Double any \ or $. echo might interpret backslashes.
2617 # By default was `s,x,x', remove it if useless.
2618 cat <<\_ACEOF
>conftest.
sed
2619 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2621 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2624 # expand $ac_aux_dir to an absolute path
2625 am_aux_dir
=`cd $ac_aux_dir && pwd`
2627 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2628 # Use eval to expand $SHELL
2629 if eval "$MISSING --run true"; then
2630 am_missing_run
="$MISSING --run "
2633 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2634 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2637 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2638 # We used to keeping the `.' as first argument, in order to
2639 # allow $(mkdir_p) to be used without argument. As in
2640 # $(mkdir_p) $(somedir)
2641 # where $(somedir) is conditionally defined. However this is wrong
2643 # 1. if the package is installed by a user who cannot write `.'
2644 # make install will fail,
2645 # 2. the above comment should most certainly read
2646 # $(mkdir_p) $(DESTDIR)$(somedir)
2647 # so it does not work when $(somedir) is undefined and
2648 # $(DESTDIR) is not.
2649 # To support the latter case, we have to write
2650 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2651 # so the `.' trick is pointless.
2652 mkdir_p
='mkdir -p --'
2654 # On NextStep and OpenStep, the `mkdir' command does not
2655 # recognize any option. It will interpret all options as
2656 # directories to create, and then abort because `.' already
2658 for d
in .
/-p .
/--version;
2660 test -d $d && rmdir $d
2662 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2663 if test -f "$ac_aux_dir/mkinstalldirs"; then
2664 mkdir_p
='$(mkinstalldirs)'
2666 mkdir_p
='$(install_sh) -d'
2670 for ac_prog
in gawk mawk nawk
awk
2672 # Extract the first word of "$ac_prog", so it can be a program name with args.
2673 set dummy
$ac_prog; ac_word
=$2
2674 echo "$as_me:$LINENO: checking for $ac_word" >&5
2675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2676 if test "${ac_cv_prog_AWK+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 if test -n "$AWK"; then
2680 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir
=.
2687 for ac_exec_ext
in '' $ac_executable_extensions; do
2688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689 ac_cv_prog_AWK
="$ac_prog"
2690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699 if test -n "$AWK"; then
2700 echo "$as_me:$LINENO: result: $AWK" >&5
2701 echo "${ECHO_T}$AWK" >&6
2703 echo "$as_me:$LINENO: result: no" >&5
2704 echo "${ECHO_T}no" >&6
2707 test -n "$AWK" && break
2710 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2711 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2712 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2713 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2714 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 cat >conftest.
make <<\_ACEOF
2718 @
echo 'ac_maketemp="$(MAKE)"'
2720 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2721 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2722 if test -n "$ac_maketemp"; then
2723 eval ac_cv_prog_make_
${ac_make}_set
=yes
2725 eval ac_cv_prog_make_
${ac_make}_set
=no
2729 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2730 echo "$as_me:$LINENO: result: yes" >&5
2731 echo "${ECHO_T}yes" >&6
2734 echo "$as_me:$LINENO: result: no" >&5
2735 echo "${ECHO_T}no" >&6
2736 SET_MAKE
="MAKE=${MAKE-make}"
2739 rm -rf .tst
2>/dev
/null
2740 mkdir .tst
2>/dev
/null
2741 if test -d .tst
; then
2746 rmdir .tst
2>/dev
/null
2748 DEPDIR
="${am__leading_dot}deps"
2750 ac_config_commands
="$ac_config_commands depfiles"
2753 am_make
=${MAKE-make}
2754 cat > confinc
<< 'END'
2759 # If we don't find an include directive, just comment out the code.
2760 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2761 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2765 # First try GNU make style include.
2766 echo "include confinc" > confmf
2767 # We grep out `Entering directory' and `Leaving directory'
2768 # messages which can occur if `w' ends up in MAKEFLAGS.
2769 # In particular we don't look at `^make:' because GNU make might
2770 # be invoked under some other name (usually "gmake"), in which
2771 # case it prints its new name instead of `make'.
2772 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2777 # Now try BSD make style include.
2778 if test "$am__include" = "#"; then
2779 echo '.include "confinc"' > confmf
2780 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2781 am__include
=.include
2788 echo "$as_me:$LINENO: result: $_am_result" >&5
2789 echo "${ECHO_T}$_am_result" >&6
2790 rm -f confinc confmf
2792 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2793 if test "${enable_dependency_tracking+set}" = set; then
2794 enableval
="$enable_dependency_tracking"
2797 if test "x$enable_dependency_tracking" != xno
; then
2798 am_depcomp
="$ac_aux_dir/depcomp"
2803 if test "x$enable_dependency_tracking" != xno; then
2813 # test to see if srcdir already configured
2814 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2815 test -f $srcdir/config.status
; then
2816 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2817 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2818 { (exit 1); exit 1; }; }
2821 # test whether we have cygpath
2822 if test -z "$CYGPATH_W"; then
2823 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2824 CYGPATH_W
='cygpath -w'
2831 # Define the identity of the package.
2833 VERSION
=${BFD_VERSION}
2836 cat >>confdefs.h
<<_ACEOF
2837 #define PACKAGE "$PACKAGE"
2841 cat >>confdefs.h
<<_ACEOF
2842 #define VERSION "$VERSION"
2845 # Some tools Automake needs.
2847 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2850 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2853 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2856 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2859 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2861 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2863 # Installed binaries are usually stripped using `strip' when the user
2864 # run `make install-strip'. However `strip' might not be the right
2865 # tool to use in cross-compilation environments, therefore Automake
2866 # will honor the `STRIP' environment variable to overrule this program.
2867 if test "$cross_compiling" != no
; then
2868 if test -n "$ac_tool_prefix"; then
2869 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2870 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2871 echo "$as_me:$LINENO: checking for $ac_word" >&5
2872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2873 if test "${ac_cv_prog_STRIP+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 if test -n "$STRIP"; then
2877 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2883 test -z "$as_dir" && as_dir
=.
2884 for ac_exec_ext
in '' $ac_executable_extensions; do
2885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2886 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2895 STRIP
=$ac_cv_prog_STRIP
2896 if test -n "$STRIP"; then
2897 echo "$as_me:$LINENO: result: $STRIP" >&5
2898 echo "${ECHO_T}$STRIP" >&6
2900 echo "$as_me:$LINENO: result: no" >&5
2901 echo "${ECHO_T}no" >&6
2905 if test -z "$ac_cv_prog_STRIP"; then
2907 # Extract the first word of "strip", so it can be a program name with args.
2908 set dummy strip
; ac_word
=$2
2909 echo "$as_me:$LINENO: checking for $ac_word" >&5
2910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2911 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 if test -n "$ac_ct_STRIP"; then
2915 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir
=.
2922 for ac_exec_ext
in '' $ac_executable_extensions; do
2923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2924 ac_cv_prog_ac_ct_STRIP
="strip"
2925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2934 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2935 if test -n "$ac_ct_STRIP"; then
2936 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2937 echo "${ECHO_T}$ac_ct_STRIP" >&6
2939 echo "$as_me:$LINENO: result: no" >&5
2940 echo "${ECHO_T}no" >&6
2945 STRIP
="$ac_cv_prog_STRIP"
2949 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2951 # We need awk for the "check" target. The system "awk" is bad on
2953 # Always define AMTAR for backward compatibility.
2955 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2957 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2962 depcc
="$CC" am_compiler_list
=
2964 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2965 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2966 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2967 echo $ECHO_N "(cached) $ECHO_C" >&6
2969 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2970 # We make a subdir and do the tests there. Otherwise we can end up
2971 # making bogus files that we don't know about and never remove. For
2972 # instance it was reported that on HP-UX the gcc test will end up
2973 # making a dummy file named `D' -- because `-MD' means `put the output
2976 # Copy depcomp to subdir because otherwise we won't find it if we're
2977 # using a relative directory.
2978 cp "$am_depcomp" conftest.dir
2980 # We will build objects and dependencies in a subdirectory because
2981 # it helps to detect inapplicable dependency modes. For instance
2982 # both Tru64's cc and ICC support -MD to output dependencies as a
2983 # side effect of compilation, but ICC will put the dependencies in
2984 # the current directory while Tru64 will put them in the object
2988 am_cv_CC_dependencies_compiler_type
=none
2989 if test "$am_compiler_list" = ""; then
2990 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2992 for depmode
in $am_compiler_list; do
2993 # Setup a source with many dependencies, because some compilers
2994 # like to wrap large dependency lists on column 80 (with \), and
2995 # we should not choose a depcomp mode which is confused by this.
2997 # We need to recreate these files for each test, as the compiler may
2998 # overwrite some of them when testing with obscure command lines.
2999 # This happens at least with the AIX C compiler.
3001 for i
in 1 2 3 4 5 6; do
3002 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3003 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3004 # Solaris 8's {/usr,}/bin/sh.
3005 touch sub
/conftst
$i.h
3007 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3011 # after this tag, mechanisms are not by side-effect, so they'll
3012 # only be used when explicitly requested
3013 if test "x$enable_dependency_tracking" = xyes
; then
3021 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3022 # mode. It turns out that the SunPro C++ compiler does not properly
3023 # handle `-M -o', and we need to detect this.
3024 if depmode
=$depmode \
3025 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3026 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3027 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3028 >/dev
/null
2>conftest.err
&&
3029 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3030 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3031 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3032 # icc doesn't choke on unknown options, it will just issue warnings
3033 # or remarks (even with -Werror). So we grep stderr for any message
3034 # that says an option was ignored or not supported.
3035 # When given -MP, icc 7.0 and 7.1 complain thusly:
3036 # icc: Command line warning: ignoring option '-M'; no argument required
3037 # The diagnosis changed in icc 8.0:
3038 # icc: Command line remark: option '-MP' not supported
3039 if (grep 'ignoring option' conftest.err ||
3040 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3041 am_cv_CC_dependencies_compiler_type
=$depmode
3050 am_cv_CC_dependencies_compiler_type
=none
3054 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3055 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3056 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3061 test "x$enable_dependency_tracking" != xno \
3062 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3064 am__fastdepCC_FALSE
='#'
3066 am__fastdepCC_TRUE
='#'
3067 am__fastdepCC_FALSE
=
3073 # Check whether --enable-shared or --disable-shared was given.
3074 if test "${enable_shared+set}" = set; then
3075 enableval
="$enable_shared"
3076 p
=${PACKAGE-default}
3078 yes) enable_shared
=yes ;;
3079 no
) enable_shared
=no
;;
3082 # Look at the argument we got. We use all the common list separators.
3083 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3084 for pkg
in $enableval; do
3085 if test "X$pkg" = "X$p"; then
3095 # Check whether --enable-static or --disable-static was given.
3096 if test "${enable_static+set}" = set; then
3097 enableval
="$enable_static"
3098 p
=${PACKAGE-default}
3100 yes) enable_static
=yes ;;
3101 no
) enable_static
=no
;;
3104 # Look at the argument we got. We use all the common list separators.
3105 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3106 for pkg
in $enableval; do
3107 if test "X$pkg" = "X$p"; then
3117 # Check whether --enable-fast-install or --disable-fast-install was given.
3118 if test "${enable_fast_install+set}" = set; then
3119 enableval
="$enable_fast_install"
3120 p
=${PACKAGE-default}
3122 yes) enable_fast_install
=yes ;;
3123 no
) enable_fast_install
=no
;;
3125 enable_fast_install
=no
3126 # Look at the argument we got. We use all the common list separators.
3127 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3128 for pkg
in $enableval; do
3129 if test "X$pkg" = "X$p"; then
3130 enable_fast_install
=yes
3137 enable_fast_install
=yes
3140 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3141 if test "${with_gnu_ld+set}" = set; then
3142 withval
="$with_gnu_ld"
3143 test "$withval" = no || with_gnu_ld
=yes
3148 if test "$GCC" = yes; then
3149 # Check if gcc -print-prog-name=ld gives a path.
3150 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3151 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3154 # gcc leaves a trailing carriage return which upsets mingw
3155 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3157 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3160 # Accept absolute paths.
3161 [\\/]* |
[A-Za-z
]:[\\/]*)
3162 re_direlt
='/[^/][^/]*/\.\./'
3163 # Canonicalize the path of ld
3164 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3165 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3166 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3168 test -z "$LD" && LD
="$ac_prog"
3171 # If it fails, then pretend we aren't using GCC.
3175 # If it is relative, then search for the first ld in PATH.
3179 elif test "$with_gnu_ld" = yes; then
3180 echo "$as_me:$LINENO: checking for GNU ld" >&5
3181 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3183 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3184 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3186 if test "${lt_cv_path_LD+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 if test -z "$LD"; then
3190 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3191 for ac_dir
in $PATH; do
3192 test -z "$ac_dir" && ac_dir
=.
3193 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3194 lt_cv_path_LD
="$ac_dir/$ac_prog"
3195 # Check to see if the program is GNU ld. I'd rather use --version,
3196 # but apparently some GNU ld's only accept -v.
3197 # Break only if it was the GNU/non-GNU ld that we prefer.
3198 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3199 test "$with_gnu_ld" != no
&& break
3201 test "$with_gnu_ld" != yes && break
3207 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3212 if test -n "$LD"; then
3213 echo "$as_me:$LINENO: result: $LD" >&5
3214 echo "${ECHO_T}$LD" >&6
3216 echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3219 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3220 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3221 { (exit 1); exit 1; }; }
3222 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3223 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3224 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3225 echo $ECHO_N "(cached) $ECHO_C" >&6
3227 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3228 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3229 lt_cv_prog_gnu_ld
=yes
3231 lt_cv_prog_gnu_ld
=no
3234 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3235 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3236 with_gnu_ld
=$lt_cv_prog_gnu_ld
3239 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3240 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3241 if test "${lt_cv_ld_reload_flag+set}" = set; then
3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3244 lt_cv_ld_reload_flag
='-r'
3246 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3247 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3248 reload_flag
=$lt_cv_ld_reload_flag
3249 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3251 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3252 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3253 if test "${lt_cv_path_NM+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 if test -n "$NM"; then
3257 # Let the user override the test.
3260 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3261 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3262 test -z "$ac_dir" && ac_dir
=.
3263 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3264 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3265 # Check to see if the nm accepts a BSD-compat flag.
3266 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3267 # nm: unknown option "B" ignored
3268 # Tru64's nm complains that /dev/null is an invalid object file
3269 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3270 lt_cv_path_NM
="$tmp_nm -B"
3272 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3273 lt_cv_path_NM
="$tmp_nm -p"
3276 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3277 continue # so that we can try to find one that supports BSD flags
3282 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3287 echo "$as_me:$LINENO: result: $NM" >&5
3288 echo "${ECHO_T}$NM" >&6
3290 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3291 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3293 if test "$LN_S" = "ln -s"; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3297 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3298 echo "${ECHO_T}no, using $LN_S" >&6
3301 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3302 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3303 if test "${lt_cv_deplibs_check_method+set}" = set; then
3304 echo $ECHO_N "(cached) $ECHO_C" >&6
3306 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3307 lt_cv_file_magic_test_file
=
3308 lt_cv_deplibs_check_method
='unknown'
3309 # Need to set the preceding variable on all platforms that support
3310 # interlibrary dependencies.
3311 # 'none' -- dependencies not supported.
3312 # `unknown' -- same as none, but documents that we really don't know.
3313 # 'pass_all' -- all dependencies passed with no checks.
3314 # 'test_compile' -- check by making test program.
3315 # 'file_magic [regex]' -- check by looking for files in library path
3316 # which responds to the $file_magic_cmd with a given egrep regex.
3317 # If you have `file' or equivalent on your system and you're not sure
3318 # whether `pass_all' will *always* work, you probably want this one.
3322 lt_cv_deplibs_check_method
=pass_all
3326 lt_cv_deplibs_check_method
=pass_all
3330 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3331 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3332 lt_cv_file_magic_test_file
=/shlib
/libc.so
3335 cygwin
* | mingw
* |pw32
*)
3336 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3337 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3340 darwin
* | rhapsody
*)
3341 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3342 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3344 rhapsody
* | darwin1.012
)
3345 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3348 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3353 freebsd
* | kfreebsd
*-gnu)
3354 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3357 # Not sure whether the presence of OpenBSD here was a mistake.
3358 # Let's accept both of them until this is cleared up.
3359 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3360 lt_cv_file_magic_cmd
=/usr
/bin
/file
3361 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3365 lt_cv_deplibs_check_method
=pass_all
3370 lt_cv_deplibs_check_method
=pass_all
3376 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3377 lt_cv_file_magic_cmd
=/usr
/bin
/file
3378 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3381 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3382 lt_cv_file_magic_cmd
=/usr
/bin
/file
3383 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3391 # this will be overridden with pass_all, but let us keep it just in case
3392 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3396 *-32|
*"-32 ") libmagic
=32-bit;;
3397 *-n32|
*"-n32 ") libmagic
=N32
;;
3398 *-64|
*"-64 ") libmagic
=64-bit;;
3399 *) libmagic
=never-match
;;
3401 # this will be overridden with pass_all, but let us keep it just in case
3402 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3405 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3406 lt_cv_deplibs_check_method
=pass_all
3409 # This must be Linux ELF.
3412 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3413 lt_cv_deplibs_check_method
=pass_all
;;
3415 # glibc up to 2.1.1 does not perform some relocations on ARM
3416 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3418 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3421 netbsd
* | knetbsd
*-gnu)
3422 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3423 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3425 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3430 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3431 lt_cv_file_magic_cmd
=/usr
/bin
/file
3432 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3435 osf3
* | osf4
* | osf5
*)
3436 # this will be overridden with pass_all, but let us keep it just in case
3437 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3438 lt_cv_file_magic_test_file
=/shlib
/libc.so
3439 lt_cv_deplibs_check_method
=pass_all
3443 lt_cv_deplibs_check_method
=pass_all
3447 lt_cv_deplibs_check_method
=pass_all
3448 lt_cv_file_magic_test_file
=/lib
/libc.so
3451 sysv5uw
[78]* | sysv4
*uw2
*)
3452 lt_cv_deplibs_check_method
=pass_all
3455 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3456 case $host_vendor in
3458 lt_cv_deplibs_check_method
=pass_all
3461 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]'
3462 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3469 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3470 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3471 file_magic_cmd
=$lt_cv_file_magic_cmd
3472 deplibs_check_method
=$lt_cv_deplibs_check_method
3477 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3479 # Only perform the check for file, if the check method requires it
3480 case $deplibs_check_method in
3482 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3483 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3484 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3485 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3486 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3493 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3496 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3497 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3498 ac_dummy
="/usr/bin:$PATH"
3499 for ac_dir
in $ac_dummy; do
3500 test -z "$ac_dir" && ac_dir
=.
3501 if test -f $ac_dir/${ac_tool_prefix}file; then
3502 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3503 if test -n "$file_magic_test_file"; then
3504 case $deplibs_check_method in
3506 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3507 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3508 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3509 egrep "$file_magic_regex" > /dev
/null
; then
3514 *** Warning: the command libtool uses to detect shared libraries,
3515 *** $file_magic_cmd, produces output that libtool cannot recognize.
3516 *** The result is that libtool may fail to recognize shared libraries
3517 *** as such. This will affect the creation of libtool libraries that
3518 *** depend on shared libraries, but programs linked with such libtool
3519 *** libraries will work regardless of this problem. Nevertheless, you
3520 *** may want to report the problem to your system manager and/or to
3521 *** bug-libtool@gnu.org
3531 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3536 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3537 if test -n "$MAGIC_CMD"; then
3538 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3539 echo "${ECHO_T}$MAGIC_CMD" >&6
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3545 if test -z "$lt_cv_path_MAGIC_CMD"; then
3546 if test -n "$ac_tool_prefix"; then
3547 echo "$as_me:$LINENO: checking for file" >&5
3548 echo $ECHO_N "checking for file... $ECHO_C" >&6
3549 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3550 echo $ECHO_N "(cached) $ECHO_C" >&6
3554 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3557 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3560 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3561 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3562 ac_dummy
="/usr/bin:$PATH"
3563 for ac_dir
in $ac_dummy; do
3564 test -z "$ac_dir" && ac_dir
=.
3565 if test -f $ac_dir/file; then
3566 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3567 if test -n "$file_magic_test_file"; then
3568 case $deplibs_check_method in
3570 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3571 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3572 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3573 egrep "$file_magic_regex" > /dev
/null
; then
3578 *** Warning: the command libtool uses to detect shared libraries,
3579 *** $file_magic_cmd, produces output that libtool cannot recognize.
3580 *** The result is that libtool may fail to recognize shared libraries
3581 *** as such. This will affect the creation of libtool libraries that
3582 *** depend on shared libraries, but programs linked with such libtool
3583 *** libraries will work regardless of this problem. Nevertheless, you
3584 *** may want to report the problem to your system manager and/or to
3585 *** bug-libtool@gnu.org
3595 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3600 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3601 if test -n "$MAGIC_CMD"; then
3602 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3603 echo "${ECHO_T}$MAGIC_CMD" >&6
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3618 if test -n "$ac_tool_prefix"; then
3619 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3620 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3621 echo "$as_me:$LINENO: checking for $ac_word" >&5
3622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3623 if test "${ac_cv_prog_RANLIB+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 if test -n "$RANLIB"; then
3627 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3633 test -z "$as_dir" && as_dir
=.
3634 for ac_exec_ext
in '' $ac_executable_extensions; do
3635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3636 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3645 RANLIB
=$ac_cv_prog_RANLIB
3646 if test -n "$RANLIB"; then
3647 echo "$as_me:$LINENO: result: $RANLIB" >&5
3648 echo "${ECHO_T}$RANLIB" >&6
3650 echo "$as_me:$LINENO: result: no" >&5
3651 echo "${ECHO_T}no" >&6
3655 if test -z "$ac_cv_prog_RANLIB"; then
3656 ac_ct_RANLIB
=$RANLIB
3657 # Extract the first word of "ranlib", so it can be a program name with args.
3658 set dummy ranlib
; ac_word
=$2
3659 echo "$as_me:$LINENO: checking for $ac_word" >&5
3660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3661 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 if test -n "$ac_ct_RANLIB"; then
3665 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir
=.
3672 for ac_exec_ext
in '' $ac_executable_extensions; do
3673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3674 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3684 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3685 if test -n "$ac_ct_RANLIB"; then
3686 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3687 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3689 echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6
3693 RANLIB
=$ac_ct_RANLIB
3695 RANLIB
="$ac_cv_prog_RANLIB"
3698 if test -n "$ac_tool_prefix"; then
3699 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3700 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3701 echo "$as_me:$LINENO: checking for $ac_word" >&5
3702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3703 if test "${ac_cv_prog_STRIP+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 if test -n "$STRIP"; then
3707 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir
=.
3714 for ac_exec_ext
in '' $ac_executable_extensions; do
3715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3716 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 STRIP
=$ac_cv_prog_STRIP
3726 if test -n "$STRIP"; then
3727 echo "$as_me:$LINENO: result: $STRIP" >&5
3728 echo "${ECHO_T}$STRIP" >&6
3730 echo "$as_me:$LINENO: result: no" >&5
3731 echo "${ECHO_T}no" >&6
3735 if test -z "$ac_cv_prog_STRIP"; then
3737 # Extract the first word of "strip", so it can be a program name with args.
3738 set dummy strip
; ac_word
=$2
3739 echo "$as_me:$LINENO: checking for $ac_word" >&5
3740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3741 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3744 if test -n "$ac_ct_STRIP"; then
3745 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir
=.
3752 for ac_exec_ext
in '' $ac_executable_extensions; do
3753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3754 ac_cv_prog_ac_ct_STRIP
="strip"
3755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3764 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3765 if test -n "$ac_ct_STRIP"; then
3766 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3767 echo "${ECHO_T}$ac_ct_STRIP" >&6
3769 echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6
3775 STRIP
="$ac_cv_prog_STRIP"
3779 # Check for any special flags to pass to ltconfig.
3780 libtool_flags
="--cache-file=$cache_file"
3781 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3782 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3783 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3784 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3785 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3788 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3789 if test "${enable_libtool_lock+set}" = set; then
3790 enableval
="$enable_libtool_lock"
3793 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3794 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3797 # Check whether --with-pic or --without-pic was given.
3798 if test "${with_pic+set}" = set; then
3804 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3805 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3807 # Some flags need to be propagated to the compiler or linker for good
3811 # Find out which ABI we are using.
3812 echo '#line 3812 "configure"' > conftest.
$ac_ext
3813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3814 (eval $ac_compile) 2>&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; then
3818 if test "$lt_cv_prog_gnu_ld" = yes; then
3819 case `/usr/bin/file conftest.$ac_objext` in
3821 LD
="${LD-ld} -melf32bsmip"
3824 LD
="${LD-ld} -melf32bmipn32"
3827 LD
="${LD-ld} -melf64bmip"
3831 case `/usr/bin/file conftest.$ac_objext` in
3848 # Find out which ABI we are using.
3849 echo 'int i;' > conftest.
$ac_ext
3850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3851 (eval $ac_compile) 2>&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); }; then
3855 case "`/usr/bin/file conftest.o`" in
3868 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3869 SAVE_CFLAGS
="$CFLAGS"
3870 CFLAGS
="$CFLAGS -belf"
3871 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3872 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3873 if test "${lt_cv_cc_needs_belf+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3879 ac_cpp
='$CPP $CPPFLAGS'
3880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3884 cat >conftest.
$ac_ext <<_ACEOF
3887 cat confdefs.h
>>conftest.
$ac_ext
3888 cat >>conftest.
$ac_ext <<_ACEOF
3889 /* end confdefs.h. */
3899 rm -f conftest.
$ac_objext conftest
$ac_exeext
3900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3901 (eval $ac_link) 2>conftest.er1
3903 grep -v '^ *+' conftest.er1
>conftest.err
3905 cat conftest.err
>&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); } &&
3908 { ac_try
='test -z "$ac_c_werror_flag"
3909 || test ! -s conftest.err'
3910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }; } &&
3915 { ac_try
='test -s conftest$ac_exeext'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3921 lt_cv_cc_needs_belf
=yes
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.
$ac_ext >&5
3926 lt_cv_cc_needs_belf
=no
3928 rm -f conftest.err conftest.
$ac_objext \
3929 conftest
$ac_exeext conftest.
$ac_ext
3931 ac_cpp
='$CPP $CPPFLAGS'
3932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3937 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3938 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3939 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
3940 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3941 CFLAGS
="$SAVE_CFLAGS"
3949 # Save cache, so that ltconfig can load it
3950 cat >confcache
<<\_ACEOF
3951 # This file is a shell script that caches the results of configure
3952 # tests run on this system so they can be shared between configure
3953 # scripts and configure runs, see configure's option --config-cache.
3954 # It is not useful on other systems. If it contains results you don't
3955 # want to keep, you may remove or edit it.
3957 # config.status only pays attention to the cache file if you give it
3958 # the --recheck option to rerun configure.
3960 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3966 # The following way of writing the cache mishandles newlines in values,
3967 # but we know of no workaround that is simple, portable, and efficient.
3968 # So, don't put newlines in cache variables' values.
3969 # Ultrix sh set writes to stderr and can't be redirected directly,
3970 # and sets the high bit in the cache file unless we assign to the vars.
3973 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3975 # `set' does not quote correctly, so add quotes (double-quote
3976 # substitution turns \\\\ into \\, and sed turns \\ into \).
3979 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3982 # `set' quotes correctly as required by POSIX, so do not add quotes.
3984 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3991 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3993 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3995 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3996 if test -w $cache_file; then
3997 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3998 cat confcache
>$cache_file
4000 echo "not updating unwritable cache $cache_file"
4005 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4006 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4007 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4008 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4009 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4010 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4011 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4012 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4013 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4014 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4015 echo "$as_me: error: libtool configure failed" >&2;}
4016 { (exit 1); exit 1; }; }
4018 # Reload cache, that may have been modified by ltconfig
4019 if test -r "$cache_file"; then
4020 # Some versions of bash will fail to source /dev/null (special
4021 # files actually), so we avoid doing that.
4022 if test -f "$cache_file"; then
4023 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4024 echo "$as_me: loading cache $cache_file" >&6;}
4026 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4027 *) . .
/$cache_file;;
4031 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4032 echo "$as_me: creating cache $cache_file" >&6;}
4037 # This can be used to rebuild libtool when needed
4038 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4040 # Always use our own libtool.
4041 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4043 # Redirect the config.log output again, so that the ltconfig log is not
4044 # clobbered by the next message.
4045 exec 5>>.
/config.log
4053 ac_config_headers
="$ac_config_headers gconfig.h:gconfig.in"
4057 ac_cpp
='$CPP $CPPFLAGS'
4058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4061 if test -n "$ac_tool_prefix"; then
4062 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4063 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4064 echo "$as_me:$LINENO: checking for $ac_word" >&5
4065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4066 if test "${ac_cv_prog_CC+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 if test -n "$CC"; then
4070 ac_cv_prog_CC
="$CC" # Let the user override the test.
4072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir
=.
4077 for ac_exec_ext
in '' $ac_executable_extensions; do
4078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 if test -n "$CC"; then
4090 echo "$as_me:$LINENO: result: $CC" >&5
4091 echo "${ECHO_T}$CC" >&6
4093 echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4098 if test -z "$ac_cv_prog_CC"; then
4100 # Extract the first word of "gcc", so it can be a program name with args.
4101 set dummy gcc
; ac_word
=$2
4102 echo "$as_me:$LINENO: checking for $ac_word" >&5
4103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4104 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 if test -n "$ac_ct_CC"; then
4108 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4114 test -z "$as_dir" && as_dir
=.
4115 for ac_exec_ext
in '' $ac_executable_extensions; do
4116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4117 ac_cv_prog_ac_ct_CC
="gcc"
4118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4126 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4127 if test -n "$ac_ct_CC"; then
4128 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4129 echo "${ECHO_T}$ac_ct_CC" >&6
4131 echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6
4140 if test -z "$CC"; then
4141 if test -n "$ac_tool_prefix"; then
4142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4143 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4144 echo "$as_me:$LINENO: checking for $ac_word" >&5
4145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4146 if test "${ac_cv_prog_CC+set}" = set; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 if test -n "$CC"; then
4150 ac_cv_prog_CC
="$CC" # Let the user override the test.
4152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4156 test -z "$as_dir" && as_dir
=.
4157 for ac_exec_ext
in '' $ac_executable_extensions; do
4158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4159 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 if test -n "$CC"; then
4170 echo "$as_me:$LINENO: result: $CC" >&5
4171 echo "${ECHO_T}$CC" >&6
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4178 if test -z "$ac_cv_prog_CC"; then
4180 # Extract the first word of "cc", so it can be a program name with args.
4181 set dummy cc
; ac_word
=$2
4182 echo "$as_me:$LINENO: checking for $ac_word" >&5
4183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4184 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 if test -n "$ac_ct_CC"; then
4188 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4194 test -z "$as_dir" && as_dir
=.
4195 for ac_exec_ext
in '' $ac_executable_extensions; do
4196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4197 ac_cv_prog_ac_ct_CC
="cc"
4198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4206 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4207 if test -n "$ac_ct_CC"; then
4208 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4209 echo "${ECHO_T}$ac_ct_CC" >&6
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4221 if test -z "$CC"; then
4222 # Extract the first word of "cc", so it can be a program name with args.
4223 set dummy cc
; ac_word
=$2
4224 echo "$as_me:$LINENO: checking for $ac_word" >&5
4225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4226 if test "${ac_cv_prog_CC+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 if test -n "$CC"; then
4230 ac_cv_prog_CC
="$CC" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4240 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4241 ac_prog_rejected
=yes
4245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 if test $ac_prog_rejected = yes; then
4252 # We found a bogon in the path, so make sure we never use it.
4253 set dummy
$ac_cv_prog_CC
4255 if test $# != 0; then
4256 # We chose a different compiler from the bogus one.
4257 # However, it has the same basename, so the bogon will be chosen
4258 # first if we set CC to just the basename; use the full file name.
4260 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4266 if test -n "$CC"; then
4267 echo "$as_me:$LINENO: result: $CC" >&5
4268 echo "${ECHO_T}$CC" >&6
4270 echo "$as_me:$LINENO: result: no" >&5
4271 echo "${ECHO_T}no" >&6
4275 if test -z "$CC"; then
4276 if test -n "$ac_tool_prefix"; then
4279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4280 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4281 echo "$as_me:$LINENO: checking for $ac_word" >&5
4282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4283 if test "${ac_cv_prog_CC+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 if test -n "$CC"; then
4287 ac_cv_prog_CC
="$CC" # Let the user override the test.
4289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4293 test -z "$as_dir" && as_dir
=.
4294 for ac_exec_ext
in '' $ac_executable_extensions; do
4295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4296 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 if test -n "$CC"; then
4307 echo "$as_me:$LINENO: result: $CC" >&5
4308 echo "${ECHO_T}$CC" >&6
4310 echo "$as_me:$LINENO: result: no" >&5
4311 echo "${ECHO_T}no" >&6
4314 test -n "$CC" && break
4317 if test -z "$CC"; then
4321 # Extract the first word of "$ac_prog", so it can be a program name with args.
4322 set dummy
$ac_prog; ac_word
=$2
4323 echo "$as_me:$LINENO: checking for $ac_word" >&5
4324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4325 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 if test -n "$ac_ct_CC"; then
4329 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4335 test -z "$as_dir" && as_dir
=.
4336 for ac_exec_ext
in '' $ac_executable_extensions; do
4337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4338 ac_cv_prog_ac_ct_CC
="$ac_prog"
4339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4348 if test -n "$ac_ct_CC"; then
4349 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4350 echo "${ECHO_T}$ac_ct_CC" >&6
4352 echo "$as_me:$LINENO: result: no" >&5
4353 echo "${ECHO_T}no" >&6
4356 test -n "$ac_ct_CC" && break
4365 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4366 See \`config.log' for more details." >&5
4367 echo "$as_me: error: no acceptable C compiler found in \$PATH
4368 See \`config.log' for more details." >&2;}
4369 { (exit 1); exit 1; }; }
4371 # Provide some information about the compiler.
4372 echo "$as_me:$LINENO:" \
4373 "checking for C compiler version" >&5
4374 ac_compiler
=`set X $ac_compile; echo $2`
4375 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4376 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); }
4380 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4381 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); }
4385 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4386 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }
4391 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4392 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4393 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4396 cat >conftest.
$ac_ext <<_ACEOF
4399 cat confdefs.h
>>conftest.
$ac_ext
4400 cat >>conftest.
$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4414 rm -f conftest.
$ac_objext
4415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4416 (eval $ac_compile) 2>conftest.er1
4418 grep -v '^ *+' conftest.er1
>conftest.err
4420 cat conftest.err
>&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); } &&
4423 { ac_try
='test -z "$ac_c_werror_flag"
4424 || test ! -s conftest.err'
4425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); }; } &&
4430 { ac_try
='test -s conftest.$ac_objext'
4431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }; }; then
4438 echo "$as_me: failed program was:" >&5
4439 sed 's/^/| /' conftest.
$ac_ext >&5
4443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4444 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4447 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4448 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4449 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4450 ac_test_CFLAGS
=${CFLAGS+set}
4451 ac_save_CFLAGS
=$CFLAGS
4453 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4454 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4455 if test "${ac_cv_prog_cc_g+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 cat >conftest.
$ac_ext <<_ACEOF
4461 cat confdefs.h
>>conftest.
$ac_ext
4462 cat >>conftest.
$ac_ext <<_ACEOF
4463 /* end confdefs.h. */
4473 rm -f conftest.
$ac_objext
4474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4475 (eval $ac_compile) 2>conftest.er1
4477 grep -v '^ *+' conftest.er1
>conftest.err
4479 cat conftest.err
>&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); } &&
4482 { ac_try
='test -z "$ac_c_werror_flag"
4483 || test ! -s conftest.err'
4484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); }; } &&
4489 { ac_try
='test -s conftest.$ac_objext'
4490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); }; }; then
4497 echo "$as_me: failed program was:" >&5
4498 sed 's/^/| /' conftest.
$ac_ext >&5
4502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4504 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4505 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4506 if test "$ac_test_CFLAGS" = set; then
4507 CFLAGS
=$ac_save_CFLAGS
4508 elif test $ac_cv_prog_cc_g = yes; then
4509 if test "$GCC" = yes; then
4515 if test "$GCC" = yes; then
4521 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4522 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4523 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 ac_cv_prog_cc_stdc
=no
4528 cat >conftest.
$ac_ext <<_ACEOF
4531 cat confdefs.h
>>conftest.
$ac_ext
4532 cat >>conftest.
$ac_ext <<_ACEOF
4533 /* end confdefs.h. */
4536 #include <sys/types.h>
4537 #include <sys/stat.h>
4538 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4539 struct buf { int x; };
4540 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4541 static char *e (p, i)
4547 static char *f (char * (*g) (char **, int), char **p, ...)
4552 s = g (p, va_arg (v,int));
4557 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4558 function prototypes and stuff, but not '\xHH' hex character constants.
4559 These don't provoke an error unfortunately, instead are silently treated
4560 as 'x'. The following induces an error, until -std1 is added to get
4561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4562 array size at least. It's necessary to write '\x00'==0 to get something
4563 that's true only with -std1. */
4564 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4566 int test (int i, double x);
4567 struct s1 {int (*f) (int a);};
4568 struct s2 {int (*f) (double a);};
4569 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4575 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4580 # Don't try gcc -ansi; that turns off useful extensions and
4581 # breaks some systems' header files.
4582 # AIX -qlanglvl=ansi
4583 # Ultrix and OSF/1 -std1
4584 # HP-UX 10.20 and later -Ae
4585 # HP-UX older versions -Aa -D_HPUX_SOURCE
4586 # SVR4 -Xc -D__EXTENSIONS__
4587 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4589 CC
="$ac_save_CC $ac_arg"
4590 rm -f conftest.
$ac_objext
4591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4592 (eval $ac_compile) 2>conftest.er1
4594 grep -v '^ *+' conftest.er1
>conftest.err
4596 cat conftest.err
>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } &&
4599 { ac_try
='test -z "$ac_c_werror_flag"
4600 || test ! -s conftest.err'
4601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); }; } &&
4606 { ac_try
='test -s conftest.$ac_objext'
4607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); }; }; then
4612 ac_cv_prog_cc_stdc
=$ac_arg
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.
$ac_ext >&5
4619 rm -f conftest.err conftest.
$ac_objext
4621 rm -f conftest.
$ac_ext conftest.
$ac_objext
4626 case "x$ac_cv_prog_cc_stdc" in
4628 echo "$as_me:$LINENO: result: none needed" >&5
4629 echo "${ECHO_T}none needed" >&6 ;;
4631 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4632 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4633 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4636 # Some people use a C++ compiler to compile C. Since we use `exit',
4637 # in C++ we need to declare it. In case someone uses the same compiler
4638 # for both compiling C and C++ we need to have the C++ compiler decide
4639 # the declaration of exit, since it's the most demanding environment.
4640 cat >conftest.
$ac_ext <<_ACEOF
4645 rm -f conftest.
$ac_objext
4646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4647 (eval $ac_compile) 2>conftest.er1
4649 grep -v '^ *+' conftest.er1
>conftest.err
4651 cat conftest.err
>&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); } &&
4654 { ac_try
='test -z "$ac_c_werror_flag"
4655 || test ! -s conftest.err'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; } &&
4661 { ac_try
='test -s conftest.$ac_objext'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; }; then
4667 for ac_declaration
in \
4669 'extern "C" void std::exit (int) throw (); using std::exit;' \
4670 'extern "C" void std::exit (int); using std::exit;' \
4671 'extern "C" void exit (int) throw ();' \
4672 'extern "C" void exit (int);' \
4675 cat >conftest.
$ac_ext <<_ACEOF
4678 cat confdefs.h
>>conftest.
$ac_ext
4679 cat >>conftest.
$ac_ext <<_ACEOF
4680 /* end confdefs.h. */
4691 rm -f conftest.
$ac_objext
4692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4693 (eval $ac_compile) 2>conftest.er1
4695 grep -v '^ *+' conftest.er1
>conftest.err
4697 cat conftest.err
>&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); } &&
4700 { ac_try
='test -z "$ac_c_werror_flag"
4701 || test ! -s conftest.err'
4702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); }; } &&
4707 { ac_try
='test -s conftest.$ac_objext'
4708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }; }; then
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.
$ac_ext >&5
4720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4721 cat >conftest.
$ac_ext <<_ACEOF
4724 cat confdefs.h
>>conftest.
$ac_ext
4725 cat >>conftest.
$ac_ext <<_ACEOF
4726 /* end confdefs.h. */
4736 rm -f conftest.
$ac_objext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738 (eval $ac_compile) 2>conftest.er1
4740 grep -v '^ *+' conftest.er1
>conftest.err
4742 cat conftest.err
>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } &&
4745 { ac_try
='test -z "$ac_c_werror_flag"
4746 || test ! -s conftest.err'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; } &&
4752 { ac_try
='test -s conftest.$ac_objext'
4753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757 (exit $ac_status); }; }; then
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.
$ac_ext >&5
4764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4767 if test -n "$ac_declaration"; then
4768 echo '#ifdef __cplusplus' >>confdefs.h
4769 echo $ac_declaration >>confdefs.h
4770 echo '#endif' >>confdefs.h
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.
$ac_ext >&5
4778 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4780 ac_cpp
='$CPP $CPPFLAGS'
4781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4785 # Find a good install program. We prefer a C program (faster),
4786 # so one script is as good as another. But avoid the broken or
4787 # incompatible versions:
4788 # SysV /etc/install, /usr/sbin/install
4789 # SunOS /usr/etc/install
4790 # IRIX /sbin/install
4792 # AmigaOS /C/install, which installs bootblocks on floppy discs
4793 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4794 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4795 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4796 # OS/2's system install, which has a completely different semantic
4797 # ./install, which can be erroneously created by make from ./install.sh.
4798 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4799 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4800 if test -z "$INSTALL"; then
4801 if test "${ac_cv_path_install+set}" = set; then
4802 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 # Account for people who put trailing slashes in PATH elements.
4811 .
/ | .
// |
/cC
/* | \
4812 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4813 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4816 # OSF1 and SCO ODT 3.0 have their own names for install.
4817 # Don't use installbsd from OSF since it installs stuff as root
4819 for ac_prog
in ginstall scoinst
install; do
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4822 if test $ac_prog = install &&
4823 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4824 # AIX install. It has an incompatible calling convention.
4826 elif test $ac_prog = install &&
4827 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4828 # program-specific install script used by HP pwplus--don't use.
4831 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4843 if test "${ac_cv_path_install+set}" = set; then
4844 INSTALL
=$ac_cv_path_install
4846 # As a last resort, use the slow shell script. We don't cache a
4847 # path for INSTALL within a source directory, because that will
4848 # break other packages using the cache if that directory is
4849 # removed, or if the path is relative.
4850 INSTALL
=$ac_install_sh
4853 echo "$as_me:$LINENO: result: $INSTALL" >&5
4854 echo "${ECHO_T}$INSTALL" >&6
4856 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4857 # It thinks the first close brace ends the variable substitution.
4858 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4860 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4862 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4866 for ac_func
in setmode
4868 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4869 echo "$as_me:$LINENO: checking for $ac_func" >&5
4870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4871 if eval "test \"\${$as_ac_var+set}\" = set"; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 cat >conftest.
$ac_ext <<_ACEOF
4877 cat confdefs.h
>>conftest.
$ac_ext
4878 cat >>conftest.
$ac_ext <<_ACEOF
4879 /* end confdefs.h. */
4880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4882 #define $ac_func innocuous_$ac_func
4884 /* System header to define __stub macros and hopefully few prototypes,
4885 which can conflict with char $ac_func (); below.
4886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4887 <limits.h> exists even on freestanding compilers. */
4890 # include <limits.h>
4892 # include <assert.h>
4897 /* Override any gcc2 internal prototype to avoid an error. */
4902 /* We use char because int might match the return type of a gcc2
4903 builtin and then its argument prototype would still apply. */
4905 /* The GNU C library defines this for functions which it implements
4906 to always fail with ENOSYS. Some functions are actually named
4907 something starting with __ and the normal name is an alias. */
4908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4911 char (*f) () = $ac_func;
4920 return f != $ac_func;
4925 rm -f conftest.
$ac_objext conftest
$ac_exeext
4926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4927 (eval $ac_link) 2>conftest.er1
4929 grep -v '^ *+' conftest.er1
>conftest.err
4931 cat conftest.err
>&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } &&
4934 { ac_try
='test -z "$ac_c_werror_flag"
4935 || test ! -s conftest.err'
4936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; } &&
4941 { ac_try
='test -s conftest$ac_exeext'
4942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }; }; then
4947 eval "$as_ac_var=yes"
4949 echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.
$ac_ext >&5
4952 eval "$as_ac_var=no"
4954 rm -f conftest.err conftest.
$ac_objext \
4955 conftest
$ac_exeext conftest.
$ac_ext
4957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4959 if test `eval echo '${'$as_ac_var'}'` = yes; then
4960 cat >>confdefs.h
<<_ACEOF
4961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4968 ALL_LINGUAS
="fr tr sv es id da pt_BR de"
4969 if test -n "$ac_tool_prefix"; then
4970 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4971 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4972 echo "$as_me:$LINENO: checking for $ac_word" >&5
4973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4974 if test "${ac_cv_prog_RANLIB+set}" = set; then
4975 echo $ECHO_N "(cached) $ECHO_C" >&6
4977 if test -n "$RANLIB"; then
4978 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4984 test -z "$as_dir" && as_dir
=.
4985 for ac_exec_ext
in '' $ac_executable_extensions; do
4986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 RANLIB
=$ac_cv_prog_RANLIB
4997 if test -n "$RANLIB"; then
4998 echo "$as_me:$LINENO: result: $RANLIB" >&5
4999 echo "${ECHO_T}$RANLIB" >&6
5001 echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6
5006 if test -z "$ac_cv_prog_RANLIB"; then
5007 ac_ct_RANLIB
=$RANLIB
5008 # Extract the first word of "ranlib", so it can be a program name with args.
5009 set dummy ranlib
; ac_word
=$2
5010 echo "$as_me:$LINENO: checking for $ac_word" >&5
5011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5012 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 if test -n "$ac_ct_RANLIB"; then
5016 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir
=.
5023 for ac_exec_ext
in '' $ac_executable_extensions; do
5024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5025 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5035 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5036 if test -n "$ac_ct_RANLIB"; then
5037 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5038 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5040 echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6
5044 RANLIB
=$ac_ct_RANLIB
5046 RANLIB
="$ac_cv_prog_RANLIB"
5050 ac_cpp
='$CPP $CPPFLAGS'
5051 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5052 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5053 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5054 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5055 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5056 # On Suns, sometimes $CPP names a directory.
5057 if test -n "$CPP" && test -d "$CPP"; then
5060 if test -z "$CPP"; then
5061 if test "${ac_cv_prog_CPP+set}" = set; then
5062 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 # Double quotes because CPP needs to be expanded
5065 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5068 for ac_c_preproc_warn_flag
in '' yes
5070 # Use a header file that comes with gcc, so configuring glibc
5071 # with a fresh cross-compiler works.
5072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5073 # <limits.h> exists even on freestanding compilers.
5074 # On the NeXT, cc -E runs the code through the compiler's parser,
5075 # not just through cpp. "Syntax error" is here to catch this case.
5076 cat >conftest.
$ac_ext <<_ACEOF
5079 cat confdefs.h
>>conftest.
$ac_ext
5080 cat >>conftest.
$ac_ext <<_ACEOF
5081 /* end confdefs.h. */
5083 # include <limits.h>
5085 # include <assert.h>
5089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5090 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5092 grep -v '^ *+' conftest.er1
>conftest.err
5094 cat conftest.err
>&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } >/dev
/null
; then
5097 if test -s conftest.err
; then
5098 ac_cpp_err
=$ac_c_preproc_warn_flag
5099 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5106 if test -z "$ac_cpp_err"; then
5109 echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.
$ac_ext >&5
5112 # Broken: fails on valid input.
5115 rm -f conftest.err conftest.
$ac_ext
5117 # OK, works on sane cases. Now check whether non-existent headers
5118 # can be detected and how.
5119 cat >conftest.
$ac_ext <<_ACEOF
5122 cat confdefs.h
>>conftest.
$ac_ext
5123 cat >>conftest.
$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5125 #include <ac_nonexistent.h>
5127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5130 grep -v '^ *+' conftest.er1
>conftest.err
5132 cat conftest.err
>&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); } >/dev
/null
; then
5135 if test -s conftest.err
; then
5136 ac_cpp_err
=$ac_c_preproc_warn_flag
5137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5144 if test -z "$ac_cpp_err"; then
5145 # Broken: success on invalid input.
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.
$ac_ext >&5
5151 # Passes both tests.
5155 rm -f conftest.err conftest.
$ac_ext
5158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5159 rm -f conftest.err conftest.
$ac_ext
5160 if $ac_preproc_ok; then
5172 echo "$as_me:$LINENO: result: $CPP" >&5
5173 echo "${ECHO_T}$CPP" >&6
5175 for ac_c_preproc_warn_flag
in '' yes
5177 # Use a header file that comes with gcc, so configuring glibc
5178 # with a fresh cross-compiler works.
5179 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5180 # <limits.h> exists even on freestanding compilers.
5181 # On the NeXT, cc -E runs the code through the compiler's parser,
5182 # not just through cpp. "Syntax error" is here to catch this case.
5183 cat >conftest.
$ac_ext <<_ACEOF
5186 cat confdefs.h
>>conftest.
$ac_ext
5187 cat >>conftest.
$ac_ext <<_ACEOF
5188 /* end confdefs.h. */
5190 # include <limits.h>
5192 # include <assert.h>
5196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5197 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5199 grep -v '^ *+' conftest.er1
>conftest.err
5201 cat conftest.err
>&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); } >/dev
/null
; then
5204 if test -s conftest.err
; then
5205 ac_cpp_err
=$ac_c_preproc_warn_flag
5206 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5213 if test -z "$ac_cpp_err"; then
5216 echo "$as_me: failed program was:" >&5
5217 sed 's/^/| /' conftest.
$ac_ext >&5
5219 # Broken: fails on valid input.
5222 rm -f conftest.err conftest.
$ac_ext
5224 # OK, works on sane cases. Now check whether non-existent headers
5225 # can be detected and how.
5226 cat >conftest.
$ac_ext <<_ACEOF
5229 cat confdefs.h
>>conftest.
$ac_ext
5230 cat >>conftest.
$ac_ext <<_ACEOF
5231 /* end confdefs.h. */
5232 #include <ac_nonexistent.h>
5234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5235 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5237 grep -v '^ *+' conftest.er1
>conftest.err
5239 cat conftest.err
>&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); } >/dev
/null
; then
5242 if test -s conftest.err
; then
5243 ac_cpp_err
=$ac_c_preproc_warn_flag
5244 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5251 if test -z "$ac_cpp_err"; then
5252 # Broken: success on invalid input.
5255 echo "$as_me: failed program was:" >&5
5256 sed 's/^/| /' conftest.
$ac_ext >&5
5258 # Passes both tests.
5262 rm -f conftest.err conftest.
$ac_ext
5265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5266 rm -f conftest.err conftest.
$ac_ext
5267 if $ac_preproc_ok; then
5270 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5271 See \`config.log' for more details." >&5
5272 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5273 See \`config.log' for more details." >&2;}
5274 { (exit 1); exit 1; }; }
5278 ac_cpp
='$CPP $CPPFLAGS'
5279 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5280 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5281 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5284 echo "$as_me:$LINENO: checking for egrep" >&5
5285 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5286 if test "${ac_cv_prog_egrep+set}" = set; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5290 then ac_cv_prog_egrep
='grep -E'
5291 else ac_cv_prog_egrep
='egrep'
5294 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5295 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5296 EGREP
=$ac_cv_prog_egrep
5299 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5300 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5301 if test "${ac_cv_header_stdc+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 cat >conftest.
$ac_ext <<_ACEOF
5307 cat confdefs.h
>>conftest.
$ac_ext
5308 cat >>conftest.
$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5323 rm -f conftest.
$ac_objext
5324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5325 (eval $ac_compile) 2>conftest.er1
5327 grep -v '^ *+' conftest.er1
>conftest.err
5329 cat conftest.err
>&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); } &&
5332 { ac_try
='test -z "$ac_c_werror_flag"
5333 || test ! -s conftest.err'
5334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; } &&
5339 { ac_try
='test -s conftest.$ac_objext'
5340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); }; }; then
5345 ac_cv_header_stdc
=yes
5347 echo "$as_me: failed program was:" >&5
5348 sed 's/^/| /' conftest.
$ac_ext >&5
5350 ac_cv_header_stdc
=no
5352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5354 if test $ac_cv_header_stdc = yes; then
5355 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5356 cat >conftest.
$ac_ext <<_ACEOF
5359 cat confdefs.h
>>conftest.
$ac_ext
5360 cat >>conftest.
$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5366 $EGREP "memchr" >/dev
/null
2>&1; then
5369 ac_cv_header_stdc
=no
5375 if test $ac_cv_header_stdc = yes; then
5376 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5377 cat >conftest.
$ac_ext <<_ACEOF
5380 cat confdefs.h
>>conftest.
$ac_ext
5381 cat >>conftest.
$ac_ext <<_ACEOF
5382 /* end confdefs.h. */
5386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5387 $EGREP "free" >/dev
/null
2>&1; then
5390 ac_cv_header_stdc
=no
5396 if test $ac_cv_header_stdc = yes; then
5397 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5398 if test "$cross_compiling" = yes; then
5401 cat >conftest.
$ac_ext <<_ACEOF
5404 cat confdefs.h
>>conftest.
$ac_ext
5405 cat >>conftest.
$ac_ext <<_ACEOF
5406 /* end confdefs.h. */
5408 #if ((' ' & 0x0FF) == 0x020)
5409 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5410 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5412 # define ISLOWER(c) \
5413 (('a' <= (c) && (c) <= 'i') \
5414 || ('j' <= (c) && (c) <= 'r') \
5415 || ('s' <= (c) && (c) <= 'z'))
5416 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5419 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5424 for (i = 0; i < 256; i++)
5425 if (XOR (islower (i), ISLOWER (i))
5426 || toupper (i) != TOUPPER (i))
5431 rm -f conftest
$ac_exeext
5432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5433 (eval $ac_link) 2>&5
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); }; }; then
5444 echo "$as_me: program exited with status $ac_status" >&5
5445 echo "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.
$ac_ext >&5
5449 ac_cv_header_stdc
=no
5451 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5455 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5456 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5457 if test $ac_cv_header_stdc = yes; then
5459 cat >>confdefs.h
<<\_ACEOF
5460 #define STDC_HEADERS 1
5465 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5466 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5467 if test "${ac_cv_c_const+set}" = set; then
5468 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 cat >conftest.
$ac_ext <<_ACEOF
5473 cat confdefs.h
>>conftest.
$ac_ext
5474 cat >>conftest.
$ac_ext <<_ACEOF
5475 /* end confdefs.h. */
5480 /* FIXME: Include the comments suggested by Paul. */
5482 /* Ultrix mips cc rejects this. */
5483 typedef int charset[2];
5485 /* SunOS 4.1.1 cc rejects this. */
5486 char const *const *ccp;
5488 /* NEC SVR4.0.2 mips cc rejects this. */
5489 struct point {int x, y;};
5490 static struct point const zero = {0,0};
5491 /* AIX XL C 1.02.0.0 rejects this.
5492 It does not let you subtract one const X* pointer from another in
5493 an arm of an if-expression whose if-part is not a constant
5495 const char *g = "string";
5496 ccp = &g + (g ? g-g : 0);
5497 /* HPUX 7.0 cc rejects these. */
5500 ccp = (char const *const *) p;
5501 { /* SCO 3.2v4 cc rejects this. */
5503 char const *s = 0 ? (char *) 0 : (char const *) 0;
5507 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5509 const int *foo = &x[0];
5512 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5513 typedef const int *iptr;
5517 { /* AIX XL C 1.02.0.0 rejects this saying
5518 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5519 struct s { int j; const int *ap[3]; };
5520 struct s *b; b->j = 5;
5522 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5531 rm -f conftest.
$ac_objext
5532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5533 (eval $ac_compile) 2>conftest.er1
5535 grep -v '^ *+' conftest.er1
>conftest.err
5537 cat conftest.err
>&5
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); } &&
5540 { ac_try
='test -z "$ac_c_werror_flag"
5541 || test ! -s conftest.err'
5542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); }; } &&
5547 { ac_try
='test -s conftest.$ac_objext'
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; }; then
5555 echo "$as_me: failed program was:" >&5
5556 sed 's/^/| /' conftest.
$ac_ext >&5
5560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5562 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5563 echo "${ECHO_T}$ac_cv_c_const" >&6
5564 if test $ac_cv_c_const = no
; then
5566 cat >>confdefs.h
<<\_ACEOF
5572 echo "$as_me:$LINENO: checking for inline" >&5
5573 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5574 if test "${ac_cv_c_inline+set}" = set; then
5575 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 for ac_kw
in inline __inline__ __inline
; do
5579 cat >conftest.
$ac_ext <<_ACEOF
5582 cat confdefs.h
>>conftest.
$ac_ext
5583 cat >>conftest.
$ac_ext <<_ACEOF
5584 /* end confdefs.h. */
5587 static $ac_kw foo_t static_foo () {return 0; }
5588 $ac_kw foo_t foo () {return 0; }
5592 rm -f conftest.
$ac_objext
5593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5594 (eval $ac_compile) 2>conftest.er1
5596 grep -v '^ *+' conftest.er1
>conftest.err
5598 cat conftest.err
>&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } &&
5601 { ac_try
='test -z "$ac_c_werror_flag"
5602 || test ! -s conftest.err'
5603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); }; } &&
5608 { ac_try
='test -s conftest.$ac_objext'
5609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); }; }; then
5614 ac_cv_c_inline
=$ac_kw; break
5616 echo "$as_me: failed program was:" >&5
5617 sed 's/^/| /' conftest.
$ac_ext >&5
5620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5624 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5625 echo "${ECHO_T}$ac_cv_c_inline" >&6
5628 case $ac_cv_c_inline in
5631 case $ac_cv_c_inline in
5633 *) ac_val
=$ac_cv_c_inline;;
5635 cat >>confdefs.h
<<_ACEOF
5637 #define inline $ac_val
5643 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5653 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5654 inttypes.h stdint.h unistd.h
5656 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5657 echo "$as_me:$LINENO: checking for $ac_header" >&5
5658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 cat >conftest.
$ac_ext <<_ACEOF
5665 cat confdefs.h
>>conftest.
$ac_ext
5666 cat >>conftest.
$ac_ext <<_ACEOF
5667 /* end confdefs.h. */
5668 $ac_includes_default
5670 #include <$ac_header>
5672 rm -f conftest.
$ac_objext
5673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5674 (eval $ac_compile) 2>conftest.er1
5676 grep -v '^ *+' conftest.er1
>conftest.err
5678 cat conftest.err
>&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); } &&
5681 { ac_try
='test -z "$ac_c_werror_flag"
5682 || test ! -s conftest.err'
5683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); }; } &&
5688 { ac_try
='test -s conftest.$ac_objext'
5689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); }; }; then
5694 eval "$as_ac_Header=yes"
5696 echo "$as_me: failed program was:" >&5
5697 sed 's/^/| /' conftest.
$ac_ext >&5
5699 eval "$as_ac_Header=no"
5701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5706 cat >>confdefs.h
<<_ACEOF
5707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5715 echo "$as_me:$LINENO: checking for off_t" >&5
5716 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5717 if test "${ac_cv_type_off_t+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 cat >conftest.
$ac_ext <<_ACEOF
5723 cat confdefs.h
>>conftest.
$ac_ext
5724 cat >>conftest.
$ac_ext <<_ACEOF
5725 /* end confdefs.h. */
5726 $ac_includes_default
5738 rm -f conftest.
$ac_objext
5739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5740 (eval $ac_compile) 2>conftest.er1
5742 grep -v '^ *+' conftest.er1
>conftest.err
5744 cat conftest.err
>&5
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); } &&
5747 { ac_try
='test -z "$ac_c_werror_flag"
5748 || test ! -s conftest.err'
5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; } &&
5754 { ac_try
='test -s conftest.$ac_objext'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; }; then
5760 ac_cv_type_off_t
=yes
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.
$ac_ext >&5
5767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5769 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5770 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5771 if test $ac_cv_type_off_t = yes; then
5775 cat >>confdefs.h
<<_ACEOF
5781 echo "$as_me:$LINENO: checking for size_t" >&5
5782 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5783 if test "${ac_cv_type_size_t+set}" = set; then
5784 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 cat >conftest.
$ac_ext <<_ACEOF
5789 cat confdefs.h
>>conftest.
$ac_ext
5790 cat >>conftest.
$ac_ext <<_ACEOF
5791 /* end confdefs.h. */
5792 $ac_includes_default
5798 if (sizeof (size_t))
5804 rm -f conftest.
$ac_objext
5805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5806 (eval $ac_compile) 2>conftest.er1
5808 grep -v '^ *+' conftest.er1
>conftest.err
5810 cat conftest.err
>&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } &&
5813 { ac_try
='test -z "$ac_c_werror_flag"
5814 || test ! -s conftest.err'
5815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); }; } &&
5820 { ac_try
='test -s conftest.$ac_objext'
5821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); }; }; then
5826 ac_cv_type_size_t
=yes
5828 echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.
$ac_ext >&5
5831 ac_cv_type_size_t
=no
5833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5835 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5836 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5837 if test $ac_cv_type_size_t = yes; then
5841 cat >>confdefs.h
<<_ACEOF
5842 #define size_t unsigned
5847 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5848 # for constant arguments. Useless!
5849 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5850 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5851 if test "${ac_cv_working_alloca_h+set}" = set; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 cat >conftest.
$ac_ext <<_ACEOF
5857 cat confdefs.h
>>conftest.
$ac_ext
5858 cat >>conftest.
$ac_ext <<_ACEOF
5859 /* end confdefs.h. */
5864 char *p = (char *) alloca (2 * sizeof (int));
5869 rm -f conftest.
$ac_objext conftest
$ac_exeext
5870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5871 (eval $ac_link) 2>conftest.er1
5873 grep -v '^ *+' conftest.er1
>conftest.err
5875 cat conftest.err
>&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } &&
5878 { ac_try
='test -z "$ac_c_werror_flag"
5879 || test ! -s conftest.err'
5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; } &&
5885 { ac_try
='test -s conftest$ac_exeext'
5886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; }; then
5891 ac_cv_working_alloca_h
=yes
5893 echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.
$ac_ext >&5
5896 ac_cv_working_alloca_h
=no
5898 rm -f conftest.err conftest.
$ac_objext \
5899 conftest
$ac_exeext conftest.
$ac_ext
5901 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5902 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5903 if test $ac_cv_working_alloca_h = yes; then
5905 cat >>confdefs.h
<<\_ACEOF
5906 #define HAVE_ALLOCA_H 1
5911 echo "$as_me:$LINENO: checking for alloca" >&5
5912 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5913 if test "${ac_cv_func_alloca_works+set}" = set; then
5914 echo $ECHO_N "(cached) $ECHO_C" >&6
5916 cat >conftest.
$ac_ext <<_ACEOF
5919 cat confdefs.h
>>conftest.
$ac_ext
5920 cat >>conftest.
$ac_ext <<_ACEOF
5921 /* end confdefs.h. */
5923 # define alloca __builtin_alloca
5926 # include <malloc.h>
5927 # define alloca _alloca
5930 # include <alloca.h>
5935 # ifndef alloca /* predefined by HP cc +Olibcalls */
5946 char *p = (char *) alloca (1);
5951 rm -f conftest.
$ac_objext conftest
$ac_exeext
5952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5953 (eval $ac_link) 2>conftest.er1
5955 grep -v '^ *+' conftest.er1
>conftest.err
5957 cat conftest.err
>&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); } &&
5960 { ac_try
='test -z "$ac_c_werror_flag"
5961 || test ! -s conftest.err'
5962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); }; } &&
5967 { ac_try
='test -s conftest$ac_exeext'
5968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); }; }; then
5973 ac_cv_func_alloca_works
=yes
5975 echo "$as_me: failed program was:" >&5
5976 sed 's/^/| /' conftest.
$ac_ext >&5
5978 ac_cv_func_alloca_works
=no
5980 rm -f conftest.err conftest.
$ac_objext \
5981 conftest
$ac_exeext conftest.
$ac_ext
5983 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5984 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5986 if test $ac_cv_func_alloca_works = yes; then
5988 cat >>confdefs.h
<<\_ACEOF
5989 #define HAVE_ALLOCA 1
5993 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5994 # that cause trouble. Some versions do not even contain alloca or
5995 # contain a buggy version. If you still want to use their alloca,
5996 # use ar to extract alloca.o from them instead of compiling alloca.c.
5998 ALLOCA
=alloca.
$ac_objext
6000 cat >>confdefs.h
<<\_ACEOF
6005 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6006 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6007 if test "${ac_cv_os_cray+set}" = set; then
6008 echo $ECHO_N "(cached) $ECHO_C" >&6
6010 cat >conftest.
$ac_ext <<_ACEOF
6013 cat confdefs.h
>>conftest.
$ac_ext
6014 cat >>conftest.
$ac_ext <<_ACEOF
6015 /* end confdefs.h. */
6016 #if defined(CRAY) && ! defined(CRAY2)
6023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6024 $EGREP "webecray" >/dev
/null
2>&1; then
6032 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6033 echo "${ECHO_T}$ac_cv_os_cray" >&6
6034 if test $ac_cv_os_cray = yes; then
6035 for ac_func
in _getb67 GETB67 getb67
; do
6036 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6037 echo "$as_me:$LINENO: checking for $ac_func" >&5
6038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6039 if eval "test \"\${$as_ac_var+set}\" = set"; then
6040 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 cat >conftest.
$ac_ext <<_ACEOF
6045 cat confdefs.h
>>conftest.
$ac_ext
6046 cat >>conftest.
$ac_ext <<_ACEOF
6047 /* end confdefs.h. */
6048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6050 #define $ac_func innocuous_$ac_func
6052 /* System header to define __stub macros and hopefully few prototypes,
6053 which can conflict with char $ac_func (); below.
6054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6055 <limits.h> exists even on freestanding compilers. */
6058 # include <limits.h>
6060 # include <assert.h>
6065 /* Override any gcc2 internal prototype to avoid an error. */
6070 /* We use char because int might match the return type of a gcc2
6071 builtin and then its argument prototype would still apply. */
6073 /* The GNU C library defines this for functions which it implements
6074 to always fail with ENOSYS. Some functions are actually named
6075 something starting with __ and the normal name is an alias. */
6076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6079 char (*f) () = $ac_func;
6088 return f != $ac_func;
6093 rm -f conftest.
$ac_objext conftest
$ac_exeext
6094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6095 (eval $ac_link) 2>conftest.er1
6097 grep -v '^ *+' conftest.er1
>conftest.err
6099 cat conftest.err
>&5
6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); } &&
6102 { ac_try
='test -z "$ac_c_werror_flag"
6103 || test ! -s conftest.err'
6104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); }; } &&
6109 { ac_try
='test -s conftest$ac_exeext'
6110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); }; }; then
6115 eval "$as_ac_var=yes"
6117 echo "$as_me: failed program was:" >&5
6118 sed 's/^/| /' conftest.
$ac_ext >&5
6120 eval "$as_ac_var=no"
6122 rm -f conftest.err conftest.
$ac_objext \
6123 conftest
$ac_exeext conftest.
$ac_ext
6125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6127 if test `eval echo '${'$as_ac_var'}'` = yes; then
6129 cat >>confdefs.h
<<_ACEOF
6130 #define CRAY_STACKSEG_END $ac_func
6139 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6140 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6141 if test "${ac_cv_c_stack_direction+set}" = set; then
6142 echo $ECHO_N "(cached) $ECHO_C" >&6
6144 if test "$cross_compiling" = yes; then
6145 ac_cv_c_stack_direction
=0
6147 cat >conftest.
$ac_ext <<_ACEOF
6150 cat confdefs.h
>>conftest.
$ac_ext
6151 cat >>conftest.
$ac_ext <<_ACEOF
6152 /* end confdefs.h. */
6154 find_stack_direction ()
6156 static char *addr = 0;
6161 return find_stack_direction ();
6164 return (&dummy > addr) ? 1 : -1;
6170 exit (find_stack_direction () < 0);
6173 rm -f conftest
$ac_exeext
6174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6175 (eval $ac_link) 2>&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); }; }; then
6184 ac_cv_c_stack_direction
=1
6186 echo "$as_me: program exited with status $ac_status" >&5
6187 echo "$as_me: failed program was:" >&5
6188 sed 's/^/| /' conftest.
$ac_ext >&5
6191 ac_cv_c_stack_direction
=-1
6193 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6196 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6197 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6199 cat >>confdefs.h
<<_ACEOF
6200 #define STACK_DIRECTION $ac_cv_c_stack_direction
6208 for ac_header
in stdlib.h unistd.h
6210 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6212 echo "$as_me:$LINENO: checking for $ac_header" >&5
6213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6220 # Is the header compilable?
6221 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6223 cat >conftest.
$ac_ext <<_ACEOF
6226 cat confdefs.h
>>conftest.
$ac_ext
6227 cat >>conftest.
$ac_ext <<_ACEOF
6228 /* end confdefs.h. */
6229 $ac_includes_default
6230 #include <$ac_header>
6232 rm -f conftest.
$ac_objext
6233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6234 (eval $ac_compile) 2>conftest.er1
6236 grep -v '^ *+' conftest.er1
>conftest.err
6238 cat conftest.err
>&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } &&
6241 { ac_try
='test -z "$ac_c_werror_flag"
6242 || test ! -s conftest.err'
6243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); }; } &&
6248 { ac_try
='test -s conftest.$ac_objext'
6249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); }; }; then
6254 ac_header_compiler
=yes
6256 echo "$as_me: failed program was:" >&5
6257 sed 's/^/| /' conftest.
$ac_ext >&5
6259 ac_header_compiler
=no
6261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6263 echo "${ECHO_T}$ac_header_compiler" >&6
6265 # Is the header present?
6266 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6267 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6268 cat >conftest.
$ac_ext <<_ACEOF
6271 cat confdefs.h
>>conftest.
$ac_ext
6272 cat >>conftest.
$ac_ext <<_ACEOF
6273 /* end confdefs.h. */
6274 #include <$ac_header>
6276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6277 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6279 grep -v '^ *+' conftest.er1
>conftest.err
6281 cat conftest.err
>&5
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); } >/dev
/null
; then
6284 if test -s conftest.err
; then
6285 ac_cpp_err
=$ac_c_preproc_warn_flag
6286 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6293 if test -z "$ac_cpp_err"; then
6294 ac_header_preproc
=yes
6296 echo "$as_me: failed program was:" >&5
6297 sed 's/^/| /' conftest.
$ac_ext >&5
6299 ac_header_preproc
=no
6301 rm -f conftest.err conftest.
$ac_ext
6302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6303 echo "${ECHO_T}$ac_header_preproc" >&6
6305 # So? What about this header?
6306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6312 ac_header_preproc
=yes
6315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6319 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6321 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6322 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6325 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6329 ## ------------------------------------------ ##
6330 ## Report this to the AC_PACKAGE_NAME lists. ##
6331 ## ------------------------------------------ ##
6334 sed "s/^/$as_me: WARNING: /" >&2
6337 echo "$as_me:$LINENO: checking for $ac_header" >&5
6338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6340 echo $ECHO_N "(cached) $ECHO_C" >&6
6342 eval "$as_ac_Header=\$ac_header_preproc"
6344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6349 cat >>confdefs.h
<<_ACEOF
6350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6358 for ac_func
in getpagesize
6360 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6361 echo "$as_me:$LINENO: checking for $ac_func" >&5
6362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6363 if eval "test \"\${$as_ac_var+set}\" = set"; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 cat >conftest.
$ac_ext <<_ACEOF
6369 cat confdefs.h
>>conftest.
$ac_ext
6370 cat >>conftest.
$ac_ext <<_ACEOF
6371 /* end confdefs.h. */
6372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6374 #define $ac_func innocuous_$ac_func
6376 /* System header to define __stub macros and hopefully few prototypes,
6377 which can conflict with char $ac_func (); below.
6378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6379 <limits.h> exists even on freestanding compilers. */
6382 # include <limits.h>
6384 # include <assert.h>
6389 /* Override any gcc2 internal prototype to avoid an error. */
6394 /* We use char because int might match the return type of a gcc2
6395 builtin and then its argument prototype would still apply. */
6397 /* The GNU C library defines this for functions which it implements
6398 to always fail with ENOSYS. Some functions are actually named
6399 something starting with __ and the normal name is an alias. */
6400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6403 char (*f) () = $ac_func;
6412 return f != $ac_func;
6417 rm -f conftest.
$ac_objext conftest
$ac_exeext
6418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6419 (eval $ac_link) 2>conftest.er1
6421 grep -v '^ *+' conftest.er1
>conftest.err
6423 cat conftest.err
>&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); } &&
6426 { ac_try
='test -z "$ac_c_werror_flag"
6427 || test ! -s conftest.err'
6428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); }; } &&
6433 { ac_try
='test -s conftest$ac_exeext'
6434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); }; }; then
6439 eval "$as_ac_var=yes"
6441 echo "$as_me: failed program was:" >&5
6442 sed 's/^/| /' conftest.
$ac_ext >&5
6444 eval "$as_ac_var=no"
6446 rm -f conftest.err conftest.
$ac_objext \
6447 conftest
$ac_exeext conftest.
$ac_ext
6449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6451 if test `eval echo '${'$as_ac_var'}'` = yes; then
6452 cat >>confdefs.h
<<_ACEOF
6453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6459 echo "$as_me:$LINENO: checking for working mmap" >&5
6460 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6461 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 if test "$cross_compiling" = yes; then
6465 ac_cv_func_mmap_fixed_mapped
=no
6467 cat >conftest.
$ac_ext <<_ACEOF
6470 cat confdefs.h
>>conftest.
$ac_ext
6471 cat >>conftest.
$ac_ext <<_ACEOF
6472 /* end confdefs.h. */
6473 $ac_includes_default
6474 /* malloc might have been renamed as rpl_malloc. */
6477 /* Thanks to Mike Haertel and Jim Avera for this test.
6478 Here is a matrix of mmap possibilities:
6479 mmap private not fixed
6480 mmap private fixed at somewhere currently unmapped
6481 mmap private fixed at somewhere already mapped
6482 mmap shared not fixed
6483 mmap shared fixed at somewhere currently unmapped
6484 mmap shared fixed at somewhere already mapped
6485 For private mappings, we should verify that changes cannot be read()
6486 back from the file, nor mmap's back from the file at a different
6487 address. (There have been systems where private was not correctly
6488 implemented like the infamous i386 svr4.0, and systems where the
6489 VM page cache was not coherent with the file system buffer cache
6490 like early versions of FreeBSD and possibly contemporary NetBSD.)
6491 For shared mappings, we should conversely verify that changes get
6492 propagated back to all the places they're supposed to be.
6494 Grep wants private fixed already mapped.
6495 The main things grep needs to know about mmap are:
6496 * does it exist and is it safe to write into the mmap'd area
6497 * how to use it (BSD variants) */
6500 #include <sys/mman.h>
6502 #if !STDC_HEADERS && !HAVE_STDLIB_H
6506 /* This mess was copied from the GNU getpagesize.h. */
6507 #if !HAVE_GETPAGESIZE
6508 /* Assume that all systems that can run configure have sys/param.h. */
6509 # if !HAVE_SYS_PARAM_H
6510 # define HAVE_SYS_PARAM_H 1
6513 # ifdef _SC_PAGESIZE
6514 # define getpagesize() sysconf(_SC_PAGESIZE)
6515 # else /* no _SC_PAGESIZE */
6516 # if HAVE_SYS_PARAM_H
6517 # include <sys/param.h>
6518 # ifdef EXEC_PAGESIZE
6519 # define getpagesize() EXEC_PAGESIZE
6520 # else /* no EXEC_PAGESIZE */
6522 # define getpagesize() NBPG * CLSIZE
6525 # endif /* no CLSIZE */
6526 # else /* no NBPG */
6528 # define getpagesize() NBPC
6529 # else /* no NBPC */
6531 # define getpagesize() PAGESIZE
6532 # endif /* PAGESIZE */
6533 # endif /* no NBPC */
6534 # endif /* no NBPG */
6535 # endif /* no EXEC_PAGESIZE */
6536 # else /* no HAVE_SYS_PARAM_H */
6537 # define getpagesize() 8192 /* punt totally */
6538 # endif /* no HAVE_SYS_PARAM_H */
6539 # endif /* no _SC_PAGESIZE */
6541 #endif /* no HAVE_GETPAGESIZE */
6546 char *data, *data2, *data3;
6550 pagesize = getpagesize ();
6552 /* First, make a file with some known garbage in it. */
6553 data = (char *) malloc (pagesize);
6556 for (i = 0; i < pagesize; ++i)
6557 *(data + i) = rand ();
6559 fd = creat ("conftest.mmap", 0600);
6562 if (write (fd, data, pagesize) != pagesize)
6566 /* Next, try to mmap the file at a fixed address which already has
6567 something else allocated at it. If we can, also make sure that
6568 we see the same garbage. */
6569 fd = open ("conftest.mmap", O_RDWR);
6572 data2 = (char *) malloc (2 * pagesize);
6575 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6576 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6577 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6579 for (i = 0; i < pagesize; ++i)
6580 if (*(data + i) != *(data2 + i))
6583 /* Finally, make sure that changes to the mapped area do not
6584 percolate back to the file as seen by read(). (This is a bug on
6585 some variants of i386 svr4.0.) */
6586 for (i = 0; i < pagesize; ++i)
6587 *(data2 + i) = *(data2 + i) + 1;
6588 data3 = (char *) malloc (pagesize);
6591 if (read (fd, data3, pagesize) != pagesize)
6593 for (i = 0; i < pagesize; ++i)
6594 if (*(data + i) != *(data3 + i))
6600 rm -f conftest
$ac_exeext
6601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6602 (eval $ac_link) 2>&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); }; }; then
6611 ac_cv_func_mmap_fixed_mapped
=yes
6613 echo "$as_me: program exited with status $ac_status" >&5
6614 echo "$as_me: failed program was:" >&5
6615 sed 's/^/| /' conftest.
$ac_ext >&5
6618 ac_cv_func_mmap_fixed_mapped
=no
6620 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6623 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6624 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6625 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6627 cat >>confdefs.h
<<\_ACEOF
6644 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6645 unistd.h values.h sys
/param.h
6647 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6649 echo "$as_me:$LINENO: checking for $ac_header" >&5
6650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6652 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6657 # Is the header compilable?
6658 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6660 cat >conftest.
$ac_ext <<_ACEOF
6663 cat confdefs.h
>>conftest.
$ac_ext
6664 cat >>conftest.
$ac_ext <<_ACEOF
6665 /* end confdefs.h. */
6666 $ac_includes_default
6667 #include <$ac_header>
6669 rm -f conftest.
$ac_objext
6670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6671 (eval $ac_compile) 2>conftest.er1
6673 grep -v '^ *+' conftest.er1
>conftest.err
6675 cat conftest.err
>&5
6676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6677 (exit $ac_status); } &&
6678 { ac_try
='test -z "$ac_c_werror_flag"
6679 || test ! -s conftest.err'
6680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); }; } &&
6685 { ac_try
='test -s conftest.$ac_objext'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; }; then
6691 ac_header_compiler
=yes
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.
$ac_ext >&5
6696 ac_header_compiler
=no
6698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6700 echo "${ECHO_T}$ac_header_compiler" >&6
6702 # Is the header present?
6703 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6704 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6705 cat >conftest.
$ac_ext <<_ACEOF
6708 cat confdefs.h
>>conftest.
$ac_ext
6709 cat >>conftest.
$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6711 #include <$ac_header>
6713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6714 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6716 grep -v '^ *+' conftest.er1
>conftest.err
6718 cat conftest.err
>&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); } >/dev
/null
; then
6721 if test -s conftest.err
; then
6722 ac_cpp_err
=$ac_c_preproc_warn_flag
6723 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6730 if test -z "$ac_cpp_err"; then
6731 ac_header_preproc
=yes
6733 echo "$as_me: failed program was:" >&5
6734 sed 's/^/| /' conftest.
$ac_ext >&5
6736 ac_header_preproc
=no
6738 rm -f conftest.err conftest.
$ac_ext
6739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6740 echo "${ECHO_T}$ac_header_preproc" >&6
6742 # So? What about this header?
6743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6745 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6746 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6748 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6749 ac_header_preproc
=yes
6752 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6753 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6754 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6755 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6756 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6757 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6758 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6759 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6760 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6761 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6762 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6763 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6766 ## ------------------------------------------ ##
6767 ## Report this to the AC_PACKAGE_NAME lists. ##
6768 ## ------------------------------------------ ##
6771 sed "s/^/$as_me: WARNING: /" >&2
6774 echo "$as_me:$LINENO: checking for $ac_header" >&5
6775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6777 echo $ECHO_N "(cached) $ECHO_C" >&6
6779 eval "$as_ac_Header=\$ac_header_preproc"
6781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6786 cat >>confdefs.h
<<_ACEOF
6787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6804 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6805 __argz_count __argz_stringify __argz_next
6807 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6808 echo "$as_me:$LINENO: checking for $ac_func" >&5
6809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6810 if eval "test \"\${$as_ac_var+set}\" = set"; then
6811 echo $ECHO_N "(cached) $ECHO_C" >&6
6813 cat >conftest.
$ac_ext <<_ACEOF
6816 cat confdefs.h
>>conftest.
$ac_ext
6817 cat >>conftest.
$ac_ext <<_ACEOF
6818 /* end confdefs.h. */
6819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6821 #define $ac_func innocuous_$ac_func
6823 /* System header to define __stub macros and hopefully few prototypes,
6824 which can conflict with char $ac_func (); below.
6825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6826 <limits.h> exists even on freestanding compilers. */
6829 # include <limits.h>
6831 # include <assert.h>
6836 /* Override any gcc2 internal prototype to avoid an error. */
6841 /* We use char because int might match the return type of a gcc2
6842 builtin and then its argument prototype would still apply. */
6844 /* The GNU C library defines this for functions which it implements
6845 to always fail with ENOSYS. Some functions are actually named
6846 something starting with __ and the normal name is an alias. */
6847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6850 char (*f) () = $ac_func;
6859 return f != $ac_func;
6864 rm -f conftest.
$ac_objext conftest
$ac_exeext
6865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6866 (eval $ac_link) 2>conftest.er1
6868 grep -v '^ *+' conftest.er1
>conftest.err
6870 cat conftest.err
>&5
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); } &&
6873 { ac_try
='test -z "$ac_c_werror_flag"
6874 || test ! -s conftest.err'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; } &&
6880 { ac_try
='test -s conftest$ac_exeext'
6881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); }; }; then
6886 eval "$as_ac_var=yes"
6888 echo "$as_me: failed program was:" >&5
6889 sed 's/^/| /' conftest.
$ac_ext >&5
6891 eval "$as_ac_var=no"
6893 rm -f conftest.err conftest.
$ac_objext \
6894 conftest
$ac_exeext conftest.
$ac_ext
6896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6898 if test `eval echo '${'$as_ac_var'}'` = yes; then
6899 cat >>confdefs.h
<<_ACEOF
6900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6907 if test "${ac_cv_func_stpcpy+set}" != "set"; then
6909 for ac_func
in stpcpy
6911 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6912 echo "$as_me:$LINENO: checking for $ac_func" >&5
6913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6914 if eval "test \"\${$as_ac_var+set}\" = set"; then
6915 echo $ECHO_N "(cached) $ECHO_C" >&6
6917 cat >conftest.
$ac_ext <<_ACEOF
6920 cat confdefs.h
>>conftest.
$ac_ext
6921 cat >>conftest.
$ac_ext <<_ACEOF
6922 /* end confdefs.h. */
6923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6925 #define $ac_func innocuous_$ac_func
6927 /* System header to define __stub macros and hopefully few prototypes,
6928 which can conflict with char $ac_func (); below.
6929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6930 <limits.h> exists even on freestanding compilers. */
6933 # include <limits.h>
6935 # include <assert.h>
6940 /* Override any gcc2 internal prototype to avoid an error. */
6945 /* We use char because int might match the return type of a gcc2
6946 builtin and then its argument prototype would still apply. */
6948 /* The GNU C library defines this for functions which it implements
6949 to always fail with ENOSYS. Some functions are actually named
6950 something starting with __ and the normal name is an alias. */
6951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6954 char (*f) () = $ac_func;
6963 return f != $ac_func;
6968 rm -f conftest.
$ac_objext conftest
$ac_exeext
6969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6970 (eval $ac_link) 2>conftest.er1
6972 grep -v '^ *+' conftest.er1
>conftest.err
6974 cat conftest.err
>&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); } &&
6977 { ac_try
='test -z "$ac_c_werror_flag"
6978 || test ! -s conftest.err'
6979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; } &&
6984 { ac_try
='test -s conftest$ac_exeext'
6985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; }; then
6990 eval "$as_ac_var=yes"
6992 echo "$as_me: failed program was:" >&5
6993 sed 's/^/| /' conftest.
$ac_ext >&5
6995 eval "$as_ac_var=no"
6997 rm -f conftest.err conftest.
$ac_objext \
6998 conftest
$ac_exeext conftest.
$ac_ext
7000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7002 if test `eval echo '${'$as_ac_var'}'` = yes; then
7003 cat >>confdefs.h
<<_ACEOF
7004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7011 if test "${ac_cv_func_stpcpy}" = "yes"; then
7013 cat >>confdefs.h
<<\_ACEOF
7014 #define HAVE_STPCPY 1
7019 if test $ac_cv_header_locale_h = yes; then
7020 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7021 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7022 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7023 echo $ECHO_N "(cached) $ECHO_C" >&6
7025 cat >conftest.
$ac_ext <<_ACEOF
7028 cat confdefs.h
>>conftest.
$ac_ext
7029 cat >>conftest.
$ac_ext <<_ACEOF
7030 /* end confdefs.h. */
7040 rm -f conftest.
$ac_objext conftest
$ac_exeext
7041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7042 (eval $ac_link) 2>conftest.er1
7044 grep -v '^ *+' conftest.er1
>conftest.err
7046 cat conftest.err
>&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } &&
7049 { ac_try
='test -z "$ac_c_werror_flag"
7050 || test ! -s conftest.err'
7051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); }; } &&
7056 { ac_try
='test -s conftest$ac_exeext'
7057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; }; then
7062 am_cv_val_LC_MESSAGES
=yes
7064 echo "$as_me: failed program was:" >&5
7065 sed 's/^/| /' conftest.
$ac_ext >&5
7067 am_cv_val_LC_MESSAGES
=no
7069 rm -f conftest.err conftest.
$ac_objext \
7070 conftest
$ac_exeext conftest.
$ac_ext
7072 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7073 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7074 if test $am_cv_val_LC_MESSAGES = yes; then
7076 cat >>confdefs.h
<<\_ACEOF
7077 #define HAVE_LC_MESSAGES 1
7082 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7083 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7084 # Check whether --enable-nls or --disable-nls was given.
7085 if test "${enable_nls+set}" = set; then
7086 enableval
="$enable_nls"
7091 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7092 echo "${ECHO_T}$USE_NLS" >&6
7095 USE_INCLUDED_LIBINTL
=no
7097 if test "$USE_NLS" = "yes"; then
7099 cat >>confdefs.h
<<\_ACEOF
7100 #define ENABLE_NLS 1
7103 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7104 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7106 # Check whether --with-included-gettext or --without-included-gettext was given.
7107 if test "${with_included_gettext+set}" = set; then
7108 withval
="$with_included_gettext"
7109 nls_cv_force_use_gnu_gettext
=$withval
7111 nls_cv_force_use_gnu_gettext
=no
7113 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7114 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7116 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7117 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7119 nls_cv_header_libgt
=
7122 if test "${ac_cv_header_libintl_h+set}" = set; then
7123 echo "$as_me:$LINENO: checking for libintl.h" >&5
7124 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7125 if test "${ac_cv_header_libintl_h+set}" = set; then
7126 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7129 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7131 # Is the header compilable?
7132 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7133 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7134 cat >conftest.
$ac_ext <<_ACEOF
7137 cat confdefs.h
>>conftest.
$ac_ext
7138 cat >>conftest.
$ac_ext <<_ACEOF
7139 /* end confdefs.h. */
7140 $ac_includes_default
7141 #include <libintl.h>
7143 rm -f conftest.
$ac_objext
7144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7145 (eval $ac_compile) 2>conftest.er1
7147 grep -v '^ *+' conftest.er1
>conftest.err
7149 cat conftest.err
>&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); } &&
7152 { ac_try
='test -z "$ac_c_werror_flag"
7153 || test ! -s conftest.err'
7154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); }; } &&
7159 { ac_try
='test -s conftest.$ac_objext'
7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 ac_header_compiler
=yes
7167 echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.
$ac_ext >&5
7170 ac_header_compiler
=no
7172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7174 echo "${ECHO_T}$ac_header_compiler" >&6
7176 # Is the header present?
7177 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7178 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7179 cat >conftest.
$ac_ext <<_ACEOF
7182 cat confdefs.h
>>conftest.
$ac_ext
7183 cat >>conftest.
$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 #include <libintl.h>
7187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7190 grep -v '^ *+' conftest.er1
>conftest.err
7192 cat conftest.err
>&5
7193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7194 (exit $ac_status); } >/dev
/null
; then
7195 if test -s conftest.err
; then
7196 ac_cpp_err
=$ac_c_preproc_warn_flag
7197 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7204 if test -z "$ac_cpp_err"; then
7205 ac_header_preproc
=yes
7207 echo "$as_me: failed program was:" >&5
7208 sed 's/^/| /' conftest.
$ac_ext >&5
7210 ac_header_preproc
=no
7212 rm -f conftest.err conftest.
$ac_ext
7213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7214 echo "${ECHO_T}$ac_header_preproc" >&6
7216 # So? What about this header?
7217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7219 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7220 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7221 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7222 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7223 ac_header_preproc
=yes
7226 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7227 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7228 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7229 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7230 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7231 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7232 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7233 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7234 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7235 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7236 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7237 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7240 ## ------------------------------------------ ##
7241 ## Report this to the AC_PACKAGE_NAME lists. ##
7242 ## ------------------------------------------ ##
7245 sed "s/^/$as_me: WARNING: /" >&2
7248 echo "$as_me:$LINENO: checking for libintl.h" >&5
7249 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7250 if test "${ac_cv_header_libintl_h+set}" = set; then
7251 echo $ECHO_N "(cached) $ECHO_C" >&6
7253 ac_cv_header_libintl_h
=$ac_header_preproc
7255 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7256 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7259 if test $ac_cv_header_libintl_h = yes; then
7260 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7261 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7262 if test "${gt_cv_func_gettext_libc+set}" = set; then
7263 echo $ECHO_N "(cached) $ECHO_C" >&6
7265 cat >conftest.
$ac_ext <<_ACEOF
7268 cat confdefs.h
>>conftest.
$ac_ext
7269 cat >>conftest.
$ac_ext <<_ACEOF
7270 /* end confdefs.h. */
7271 #include <libintl.h>
7275 return (int) gettext ("")
7280 rm -f conftest.
$ac_objext conftest
$ac_exeext
7281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7282 (eval $ac_link) 2>conftest.er1
7284 grep -v '^ *+' conftest.er1
>conftest.err
7286 cat conftest.err
>&5
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); } &&
7289 { ac_try
='test -z "$ac_c_werror_flag"
7290 || test ! -s conftest.err'
7291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); }; } &&
7296 { ac_try
='test -s conftest$ac_exeext'
7297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); }; }; then
7302 gt_cv_func_gettext_libc
=yes
7304 echo "$as_me: failed program was:" >&5
7305 sed 's/^/| /' conftest.
$ac_ext >&5
7307 gt_cv_func_gettext_libc
=no
7309 rm -f conftest.err conftest.
$ac_objext \
7310 conftest
$ac_exeext conftest.
$ac_ext
7312 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7313 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7315 if test "$gt_cv_func_gettext_libc" != "yes"; then
7316 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7317 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7318 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7319 echo $ECHO_N "(cached) $ECHO_C" >&6
7321 ac_check_lib_save_LIBS
=$LIBS
7323 cat >conftest.
$ac_ext <<_ACEOF
7326 cat confdefs.h
>>conftest.
$ac_ext
7327 cat >>conftest.
$ac_ext <<_ACEOF
7328 /* end confdefs.h. */
7330 /* Override any gcc2 internal prototype to avoid an error. */
7334 /* We use char because int might match the return type of a gcc2
7335 builtin and then its argument prototype would still apply. */
7336 char bindtextdomain ();
7345 rm -f conftest.
$ac_objext conftest
$ac_exeext
7346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7347 (eval $ac_link) 2>conftest.er1
7349 grep -v '^ *+' conftest.er1
>conftest.err
7351 cat conftest.err
>&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); } &&
7354 { ac_try
='test -z "$ac_c_werror_flag"
7355 || test ! -s conftest.err'
7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); }; } &&
7361 { ac_try
='test -s conftest$ac_exeext'
7362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); }; }; then
7367 ac_cv_lib_intl_bindtextdomain
=yes
7369 echo "$as_me: failed program was:" >&5
7370 sed 's/^/| /' conftest.
$ac_ext >&5
7372 ac_cv_lib_intl_bindtextdomain
=no
7374 rm -f conftest.err conftest.
$ac_objext \
7375 conftest
$ac_exeext conftest.
$ac_ext
7376 LIBS
=$ac_check_lib_save_LIBS
7378 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7379 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7380 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7381 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7382 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7383 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7384 echo $ECHO_N "(cached) $ECHO_C" >&6
7386 cat >conftest.
$ac_ext <<_ACEOF
7389 cat confdefs.h
>>conftest.
$ac_ext
7390 cat >>conftest.
$ac_ext <<_ACEOF
7391 /* end confdefs.h. */
7396 return (int) gettext ("")
7401 rm -f conftest.
$ac_objext conftest
$ac_exeext
7402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7403 (eval $ac_link) 2>conftest.er1
7405 grep -v '^ *+' conftest.er1
>conftest.err
7407 cat conftest.err
>&5
7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409 (exit $ac_status); } &&
7410 { ac_try
='test -z "$ac_c_werror_flag"
7411 || test ! -s conftest.err'
7412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); }; } &&
7417 { ac_try
='test -s conftest$ac_exeext'
7418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); }; }; then
7423 gt_cv_func_gettext_libintl
=yes
7425 echo "$as_me: failed program was:" >&5
7426 sed 's/^/| /' conftest.
$ac_ext >&5
7428 gt_cv_func_gettext_libintl
=no
7430 rm -f conftest.err conftest.
$ac_objext \
7431 conftest
$ac_exeext conftest.
$ac_ext
7433 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7434 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7439 if test "$gt_cv_func_gettext_libc" = "yes" \
7440 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7442 cat >>confdefs.h
<<\_ACEOF
7443 #define HAVE_GETTEXT 1
7446 # Extract the first word of "msgfmt", so it can be a program name with args.
7447 set dummy msgfmt
; ac_word
=$2
7448 echo "$as_me:$LINENO: checking for $ac_word" >&5
7449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7450 if test "${ac_cv_path_MSGFMT+set}" = set; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7455 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7458 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7459 for ac_dir
in $PATH; do
7460 test -z "$ac_dir" && ac_dir
=.
7461 if test -f $ac_dir/$ac_word; then
7462 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7463 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7469 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7473 MSGFMT
="$ac_cv_path_MSGFMT"
7474 if test -n "$MSGFMT"; then
7475 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7476 echo "${ECHO_T}$MSGFMT" >&6
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7481 if test "$MSGFMT" != "no"; then
7483 for ac_func
in dcgettext
7485 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7486 echo "$as_me:$LINENO: checking for $ac_func" >&5
7487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7488 if eval "test \"\${$as_ac_var+set}\" = set"; then
7489 echo $ECHO_N "(cached) $ECHO_C" >&6
7491 cat >conftest.
$ac_ext <<_ACEOF
7494 cat confdefs.h
>>conftest.
$ac_ext
7495 cat >>conftest.
$ac_ext <<_ACEOF
7496 /* end confdefs.h. */
7497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7499 #define $ac_func innocuous_$ac_func
7501 /* System header to define __stub macros and hopefully few prototypes,
7502 which can conflict with char $ac_func (); below.
7503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7504 <limits.h> exists even on freestanding compilers. */
7507 # include <limits.h>
7509 # include <assert.h>
7514 /* Override any gcc2 internal prototype to avoid an error. */
7519 /* We use char because int might match the return type of a gcc2
7520 builtin and then its argument prototype would still apply. */
7522 /* The GNU C library defines this for functions which it implements
7523 to always fail with ENOSYS. Some functions are actually named
7524 something starting with __ and the normal name is an alias. */
7525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7528 char (*f) () = $ac_func;
7537 return f != $ac_func;
7542 rm -f conftest.
$ac_objext conftest
$ac_exeext
7543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7544 (eval $ac_link) 2>conftest.er1
7546 grep -v '^ *+' conftest.er1
>conftest.err
7548 cat conftest.err
>&5
7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550 (exit $ac_status); } &&
7551 { ac_try
='test -z "$ac_c_werror_flag"
7552 || test ! -s conftest.err'
7553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); }; } &&
7558 { ac_try
='test -s conftest$ac_exeext'
7559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); }; }; then
7564 eval "$as_ac_var=yes"
7566 echo "$as_me: failed program was:" >&5
7567 sed 's/^/| /' conftest.
$ac_ext >&5
7569 eval "$as_ac_var=no"
7571 rm -f conftest.err conftest.
$ac_objext \
7572 conftest
$ac_exeext conftest.
$ac_ext
7574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7576 if test `eval echo '${'$as_ac_var'}'` = yes; then
7577 cat >>confdefs.h
<<_ACEOF
7578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7584 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7585 set dummy gmsgfmt
; ac_word
=$2
7586 echo "$as_me:$LINENO: checking for $ac_word" >&5
7587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7588 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7589 echo $ECHO_N "(cached) $ECHO_C" >&6
7593 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir
=.
7601 for ac_exec_ext
in '' $ac_executable_extensions; do
7602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7610 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7614 GMSGFMT
=$ac_cv_path_GMSGFMT
7616 if test -n "$GMSGFMT"; then
7617 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7618 echo "${ECHO_T}$GMSGFMT" >&6
7620 echo "$as_me:$LINENO: result: no" >&5
7621 echo "${ECHO_T}no" >&6
7624 # Extract the first word of "xgettext", so it can be a program name with args.
7625 set dummy xgettext
; ac_word
=$2
7626 echo "$as_me:$LINENO: checking for $ac_word" >&5
7627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7628 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7629 echo $ECHO_N "(cached) $ECHO_C" >&6
7633 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7636 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7637 for ac_dir
in $PATH; do
7638 test -z "$ac_dir" && ac_dir
=.
7639 if test -f $ac_dir/$ac_word; then
7640 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7641 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7647 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7651 XGETTEXT
="$ac_cv_path_XGETTEXT"
7652 if test -n "$XGETTEXT"; then
7653 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7654 echo "${ECHO_T}$XGETTEXT" >&6
7656 echo "$as_me:$LINENO: result: no" >&5
7657 echo "${ECHO_T}no" >&6
7660 cat >conftest.
$ac_ext <<_ACEOF
7663 cat confdefs.h
>>conftest.
$ac_ext
7664 cat >>conftest.
$ac_ext <<_ACEOF
7665 /* end confdefs.h. */
7670 extern int _nl_msg_cat_cntr;
7671 return _nl_msg_cat_cntr
7676 rm -f conftest.
$ac_objext conftest
$ac_exeext
7677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7678 (eval $ac_link) 2>conftest.er1
7680 grep -v '^ *+' conftest.er1
>conftest.err
7682 cat conftest.err
>&5
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); } &&
7685 { ac_try
='test -z "$ac_c_werror_flag"
7686 || test ! -s conftest.err'
7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; } &&
7692 { ac_try
='test -s conftest$ac_exeext'
7693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); }; }; then
7701 echo "$as_me: failed program was:" >&5
7702 sed 's/^/| /' conftest.
$ac_ext >&5
7707 rm -f conftest.err conftest.
$ac_objext \
7708 conftest
$ac_exeext conftest.
$ac_ext
7718 if test "$CATOBJEXT" = "NONE"; then
7719 nls_cv_use_gnu_gettext
=yes
7723 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7724 INTLOBJS
="\$(GETTOBJS)"
7725 # Extract the first word of "msgfmt", so it can be a program name with args.
7726 set dummy msgfmt
; ac_word
=$2
7727 echo "$as_me:$LINENO: checking for $ac_word" >&5
7728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7729 if test "${ac_cv_path_MSGFMT+set}" = set; then
7730 echo $ECHO_N "(cached) $ECHO_C" >&6
7734 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7737 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7738 for ac_dir
in $PATH; do
7739 test -z "$ac_dir" && ac_dir
=.
7740 if test -f $ac_dir/$ac_word; then
7741 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7742 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7748 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7752 MSGFMT
="$ac_cv_path_MSGFMT"
7753 if test -n "$MSGFMT"; then
7754 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7755 echo "${ECHO_T}$MSGFMT" >&6
7757 echo "$as_me:$LINENO: result: no" >&5
7758 echo "${ECHO_T}no" >&6
7761 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7762 set dummy gmsgfmt
; ac_word
=$2
7763 echo "$as_me:$LINENO: checking for $ac_word" >&5
7764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7765 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7770 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir
=.
7778 for ac_exec_ext
in '' $ac_executable_extensions; do
7779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7780 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7787 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7791 GMSGFMT
=$ac_cv_path_GMSGFMT
7793 if test -n "$GMSGFMT"; then
7794 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7795 echo "${ECHO_T}$GMSGFMT" >&6
7797 echo "$as_me:$LINENO: result: no" >&5
7798 echo "${ECHO_T}no" >&6
7801 # Extract the first word of "xgettext", so it can be a program name with args.
7802 set dummy xgettext
; ac_word
=$2
7803 echo "$as_me:$LINENO: checking for $ac_word" >&5
7804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7805 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7806 echo $ECHO_N "(cached) $ECHO_C" >&6
7810 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7813 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7814 for ac_dir
in $PATH; do
7815 test -z "$ac_dir" && ac_dir
=.
7816 if test -f $ac_dir/$ac_word; then
7817 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7818 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7824 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7828 XGETTEXT
="$ac_cv_path_XGETTEXT"
7829 if test -n "$XGETTEXT"; then
7830 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7831 echo "${ECHO_T}$XGETTEXT" >&6
7833 echo "$as_me:$LINENO: result: no" >&5
7834 echo "${ECHO_T}no" >&6
7838 USE_INCLUDED_LIBINTL
=yes
7842 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7844 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7845 nls_cv_header_intl
=libintl.h
7846 nls_cv_header_libgt
=libgettext.h
7849 if test "$XGETTEXT" != ":"; then
7850 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7853 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7854 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7859 # We need to process the po/ directory.
7863 nls_cv_header_intl
=libintl.h
7864 nls_cv_header_libgt
=libgettext.h
7867 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7868 # because some of the sources are only built for this goal.
7869 if test "$PACKAGE" = gettext; then
7871 USE_INCLUDED_LIBINTL
=yes
7874 for lang
in $ALL_LINGUAS; do
7875 GMOFILES
="$GMOFILES $lang.gmo"
7876 POFILES
="$POFILES $lang.po"
7892 if test "x$CATOBJEXT" != "x"; then
7893 if test "x$ALL_LINGUAS" = "x"; then
7896 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7897 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7899 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
7900 case "$ALL_LINGUAS" in
7901 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
7904 LINGUAS
=$NEW_LINGUAS
7905 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7906 echo "${ECHO_T}$LINGUAS" >&6
7909 if test -n "$LINGUAS"; then
7910 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
7914 if test $ac_cv_header_locale_h = yes; then
7915 INCLUDE_LOCALE_H
="#include <locale.h>"
7918 /* The system does not provide the header <locale.h>. Take care yourself. */"
7922 if test -f $srcdir/po2tbl.
sed.
in; then
7923 if test "$CATOBJEXT" = ".cat"; then
7924 if test "${ac_cv_header_linux_version_h+set}" = set; then
7925 echo "$as_me:$LINENO: checking for linux/version.h" >&5
7926 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
7927 if test "${ac_cv_header_linux_version_h+set}" = set; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7930 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
7931 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
7933 # Is the header compilable?
7934 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
7935 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
7936 cat >conftest.
$ac_ext <<_ACEOF
7939 cat confdefs.h
>>conftest.
$ac_ext
7940 cat >>conftest.
$ac_ext <<_ACEOF
7941 /* end confdefs.h. */
7942 $ac_includes_default
7943 #include <linux/version.h>
7945 rm -f conftest.
$ac_objext
7946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7947 (eval $ac_compile) 2>conftest.er1
7949 grep -v '^ *+' conftest.er1
>conftest.err
7951 cat conftest.err
>&5
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); } &&
7954 { ac_try
='test -z "$ac_c_werror_flag"
7955 || test ! -s conftest.err'
7956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); }; } &&
7961 { ac_try
='test -s conftest.$ac_objext'
7962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966 (exit $ac_status); }; }; then
7967 ac_header_compiler
=yes
7969 echo "$as_me: failed program was:" >&5
7970 sed 's/^/| /' conftest.
$ac_ext >&5
7972 ac_header_compiler
=no
7974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7975 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7976 echo "${ECHO_T}$ac_header_compiler" >&6
7978 # Is the header present?
7979 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
7980 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
7981 cat >conftest.
$ac_ext <<_ACEOF
7984 cat confdefs.h
>>conftest.
$ac_ext
7985 cat >>conftest.
$ac_ext <<_ACEOF
7986 /* end confdefs.h. */
7987 #include <linux/version.h>
7989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7990 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7992 grep -v '^ *+' conftest.er1
>conftest.err
7994 cat conftest.err
>&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); } >/dev
/null
; then
7997 if test -s conftest.err
; then
7998 ac_cpp_err
=$ac_c_preproc_warn_flag
7999 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8006 if test -z "$ac_cpp_err"; then
8007 ac_header_preproc
=yes
8009 echo "$as_me: failed program was:" >&5
8010 sed 's/^/| /' conftest.
$ac_ext >&5
8012 ac_header_preproc
=no
8014 rm -f conftest.err conftest.
$ac_ext
8015 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8016 echo "${ECHO_T}$ac_header_preproc" >&6
8018 # So? What about this header?
8019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8021 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8022 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8023 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8024 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8025 ac_header_preproc
=yes
8028 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8029 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8030 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8031 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8032 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8033 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8034 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8035 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8036 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8037 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8038 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8039 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8042 ## ------------------------------------------ ##
8043 ## Report this to the AC_PACKAGE_NAME lists. ##
8044 ## ------------------------------------------ ##
8047 sed "s/^/$as_me: WARNING: /" >&2
8050 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8051 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8052 if test "${ac_cv_header_linux_version_h+set}" = set; then
8053 echo $ECHO_N "(cached) $ECHO_C" >&6
8055 ac_cv_header_linux_version_h
=$ac_header_preproc
8057 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8058 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8061 if test $ac_cv_header_linux_version_h = yes; then
8069 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8071 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8072 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8075 if test "$PACKAGE" = "gettext"; then
8085 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8091 if test -f $srcdir/po
/POTFILES.
in; then
8092 test -d po || mkdir po
8093 if test "x$srcdir" != "x."; then
8094 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8095 posrcprefix
="$srcdir/"
8097 posrcprefix
="../$srcdir/"
8103 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8104 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8108 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8109 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8110 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8111 if test "${enable_maintainer_mode+set}" = set; then
8112 enableval
="$enable_maintainer_mode"
8113 USE_MAINTAINER_MODE
=$enableval
8115 USE_MAINTAINER_MODE
=no
8117 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8118 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8121 if test $USE_MAINTAINER_MODE = yes; then
8122 MAINTAINER_MODE_TRUE
=
8123 MAINTAINER_MODE_FALSE
='#'
8125 MAINTAINER_MODE_TRUE
='#'
8126 MAINTAINER_MODE_FALSE
=
8129 MAINT
=$MAINTAINER_MODE_TRUE
8135 for ac_header
in sys
/gmon_out.h
8137 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8139 echo "$as_me:$LINENO: checking for $ac_header" >&5
8140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8142 echo $ECHO_N "(cached) $ECHO_C" >&6
8144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8147 # Is the header compilable?
8148 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8149 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8150 cat >conftest.
$ac_ext <<_ACEOF
8153 cat confdefs.h
>>conftest.
$ac_ext
8154 cat >>conftest.
$ac_ext <<_ACEOF
8155 /* end confdefs.h. */
8156 $ac_includes_default
8157 #include <$ac_header>
8159 rm -f conftest.
$ac_objext
8160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8161 (eval $ac_compile) 2>conftest.er1
8163 grep -v '^ *+' conftest.er1
>conftest.err
8165 cat conftest.err
>&5
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 (exit $ac_status); } &&
8168 { ac_try
='test -z "$ac_c_werror_flag"
8169 || test ! -s conftest.err'
8170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); }; } &&
8175 { ac_try
='test -s conftest.$ac_objext'
8176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); }; }; then
8181 ac_header_compiler
=yes
8183 echo "$as_me: failed program was:" >&5
8184 sed 's/^/| /' conftest.
$ac_ext >&5
8186 ac_header_compiler
=no
8188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8189 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8190 echo "${ECHO_T}$ac_header_compiler" >&6
8192 # Is the header present?
8193 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8195 cat >conftest.
$ac_ext <<_ACEOF
8198 cat confdefs.h
>>conftest.
$ac_ext
8199 cat >>conftest.
$ac_ext <<_ACEOF
8200 /* end confdefs.h. */
8201 #include <$ac_header>
8203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8204 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8206 grep -v '^ *+' conftest.er1
>conftest.err
8208 cat conftest.err
>&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); } >/dev
/null
; then
8211 if test -s conftest.err
; then
8212 ac_cpp_err
=$ac_c_preproc_warn_flag
8213 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8220 if test -z "$ac_cpp_err"; then
8221 ac_header_preproc
=yes
8223 echo "$as_me: failed program was:" >&5
8224 sed 's/^/| /' conftest.
$ac_ext >&5
8226 ac_header_preproc
=no
8228 rm -f conftest.err conftest.
$ac_ext
8229 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8230 echo "${ECHO_T}$ac_header_preproc" >&6
8232 # So? What about this header?
8233 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8239 ac_header_preproc
=yes
8242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8256 ## ------------------------------------------ ##
8257 ## Report this to the AC_PACKAGE_NAME lists. ##
8258 ## ------------------------------------------ ##
8261 sed "s/^/$as_me: WARNING: /" >&2
8264 echo "$as_me:$LINENO: checking for $ac_header" >&5
8265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8269 eval "$as_ac_Header=\$ac_header_preproc"
8271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8276 cat >>confdefs.h
<<_ACEOF
8277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8285 build_warnings
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
8286 # Check whether --enable-build-warnings or --disable-build-warnings was given.
8287 if test "${enable_build_warnings+set}" = set; then
8288 enableval
="$enable_build_warnings"
8289 case "${enableval}" in
8291 no
) build_warnings
="-w";;
8292 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
8293 build_warnings
="${build_warnings} ${t}";;
8294 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
8295 build_warnings
="${t} ${build_warnings}";;
8296 *) build_warnings
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
8298 if test x
"$silent" != x
"yes" && test x
"$build_warnings" != x
""; then
8299 echo "Setting warning flags = $build_warnings" 6>&1
8302 if test "x${build_warnings}" != x
-a "x$GCC" = xyes
; then
8303 WARN_CFLAGS
="${build_warnings}"
8307 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
8309 ac_config_commands
="$ac_config_commands default"
8311 cat >confcache
<<\_ACEOF
8312 # This file is a shell script that caches the results of configure
8313 # tests run on this system so they can be shared between configure
8314 # scripts and configure runs, see configure's option --config-cache.
8315 # It is not useful on other systems. If it contains results you don't
8316 # want to keep, you may remove or edit it.
8318 # config.status only pays attention to the cache file if you give it
8319 # the --recheck option to rerun configure.
8321 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8327 # The following way of writing the cache mishandles newlines in values,
8328 # but we know of no workaround that is simple, portable, and efficient.
8329 # So, don't put newlines in cache variables' values.
8330 # Ultrix sh set writes to stderr and can't be redirected directly,
8331 # and sets the high bit in the cache file unless we assign to the vars.
8334 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8336 # `set' does not quote correctly, so add quotes (double-quote
8337 # substitution turns \\\\ into \\, and sed turns \\ into \).
8340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8343 # `set' quotes correctly as required by POSIX, so do not add quotes.
8345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8354 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8356 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8357 if test -w $cache_file; then
8358 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8359 cat confcache
>$cache_file
8361 echo "not updating unwritable cache $cache_file"
8366 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8367 # Let make expand exec_prefix.
8368 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8370 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8371 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8372 # trailing colons and then remove the whole line if VPATH becomes empty
8373 # (actually we leave an empty line to preserve line numbers).
8374 if test "x$srcdir" = x.
; then
8375 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8376 s/:*\$(srcdir):*/:/;
8377 s/:*\${srcdir}:*/:/;
8379 s/^\([^=]*=[ ]*\):*/\1/;
8385 DEFS
=-DHAVE_CONFIG_H
8389 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8390 # 1. Remove the extension, and $U if already installed.
8391 ac_i
=`echo "$ac_i" |
8392 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8394 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8395 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8399 LTLIBOBJS
=$ac_ltlibobjs
8402 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8403 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8404 Usually this means the macro was only invoked conditionally." >&5
8405 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8406 Usually this means the macro was only invoked conditionally." >&2;}
8407 { (exit 1); exit 1; }; }
8409 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8410 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8411 Usually this means the macro was only invoked conditionally." >&5
8412 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8413 Usually this means the macro was only invoked conditionally." >&2;}
8414 { (exit 1); exit 1; }; }
8416 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8417 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8418 Usually this means the macro was only invoked conditionally." >&5
8419 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8420 Usually this means the macro was only invoked conditionally." >&2;}
8421 { (exit 1); exit 1; }; }
8424 : ${CONFIG_STATUS=./config.status}
8425 ac_clean_files_save
=$ac_clean_files
8426 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8427 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8428 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8429 cat >$CONFIG_STATUS <<_ACEOF
8431 # Generated by $as_me.
8432 # Run this file to recreate the current configuration.
8433 # Compiler output produced by configure, useful for debugging
8434 # configure, is in config.log if it exists.
8439 SHELL=\${CONFIG_SHELL-$SHELL}
8442 cat >>$CONFIG_STATUS <<\_ACEOF
8443 ## --------------------- ##
8444 ## M4sh Initialization. ##
8445 ## --------------------- ##
8447 # Be Bourne compatible
8448 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8451 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8452 # is contrary to our usage. Disable this feature.
8453 alias -g '${1+"$@"}'='"$@"'
8454 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8457 DUALCASE
=1; export DUALCASE
# for MKS sh
8459 # Support unset when possible.
8460 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8467 # Work around bugs in pre-3.0 UWIN ksh.
8468 $as_unset ENV MAIL MAILPATH
8475 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8476 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8477 LC_TELEPHONE LC_TIME
8479 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8480 eval $as_var=C
; export $as_var
8486 # Required to use basename.
8487 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8493 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8494 as_basename
=basename
8500 # Name of the executable.
8501 as_me
=`$as_basename "$0" ||
8502 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8503 X"$0" : 'X\(//\)$' \| \
8504 X"$0" : 'X\(/\)$' \| \
8505 . : '\(.\)' 2>/dev/null ||
8507 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8508 /^X\/\(\/\/\)$/{ s//\1/; q; }
8509 /^X\/\(\/\).*/{ s//\1/; q; }
8513 # PATH needs CR, and LINENO needs CR and PATH.
8514 # Avoid depending upon Character Ranges.
8515 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8516 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8517 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8518 as_cr_digits
='0123456789'
8519 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8521 # The user is always right.
8522 if test "${PATH_SEPARATOR+set}" != set; then
8523 echo "#! /bin/sh" >conf$$.sh
8524 echo "exit 0" >>conf$$.sh
8526 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8537 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8538 test "x$as_lineno_1" != "x$as_lineno_2" &&
8539 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8540 # Find who we are. Look in the path if we contain no path at all
8543 *[\\/]* ) as_myself
=$0 ;;
8544 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8548 test -z "$as_dir" && as_dir
=.
8549 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8554 # We did not find ourselves, most probably we were run as `sh COMMAND'
8555 # in which case we are not to be found in the path.
8556 if test "x$as_myself" = x
; then
8559 if test ! -f "$as_myself"; then
8560 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8561 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8562 { (exit 1); exit 1; }; }
8564 case $CONFIG_SHELL in
8566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8567 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8570 test -z "$as_dir" && as_dir
=.
8571 for as_base
in sh bash ksh sh5
; do
8574 if ("$as_dir/$as_base" -c '
8577 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8578 test "x$as_lineno_1" != "x$as_lineno_2" &&
8579 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8580 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8581 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8582 CONFIG_SHELL
=$as_dir/$as_base
8584 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8592 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8593 # uniformly replaced by the line number. The first 'sed' inserts a
8594 # line-number line before each line; the second 'sed' does the real
8595 # work. The second script uses 'N' to pair each line-number line
8596 # with the numbered line, and appends trailing '-' during
8597 # substitution so that $LINENO is not a special case at line end.
8598 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8599 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8600 sed '=' <$as_myself |
8605 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8608 s,^['$as_cr_digits']*\n,,
8610 chmod +x
$as_me.lineno ||
8611 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8612 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8613 { (exit 1); exit 1; }; }
8615 # Don't try to exec as it changes $[0], causing all sort of problems
8616 # (the dirname of $[0] is not the place where we might find the
8617 # original and so on. Autoconf is especially sensible to this).
8619 # Exit status is that of the last command.
8624 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8625 *c
*,-n*) ECHO_N
= ECHO_C
='
8627 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8628 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8631 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8637 rm -f conf$$ conf$$.exe conf$$.
file
8639 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8640 # We could just check for DJGPP; but this test a) works b) is more generic
8641 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8642 if test -f conf$$.exe
; then
8643 # Don't use ln at all; we don't have any links
8648 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8653 rm -f conf$$ conf$$.exe conf$$.
file
8655 if mkdir
-p .
2>/dev
/null
; then
8658 test -d .
/-p && rmdir .
/-p
8662 as_executable_p
="test -f"
8664 # Sed expression to map a string onto a valid CPP name.
8665 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8667 # Sed expression to map a string onto a valid variable name.
8668 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8672 # We need space, tab and new line, in precisely that order.
8682 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8683 # report actual input values of CONFIG_FILES etc. instead of their
8684 # values after options handling. Logging --version etc. is OK.
8688 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8689 ## Running $as_me. ##
8694 This file was extended by $as_me, which was
8695 generated by GNU Autoconf 2.59. Invocation command line was
8697 CONFIG_FILES = $CONFIG_FILES
8698 CONFIG_HEADERS = $CONFIG_HEADERS
8699 CONFIG_LINKS = $CONFIG_LINKS
8700 CONFIG_COMMANDS = $CONFIG_COMMANDS
8704 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8708 # Files that config.status was made for.
8709 if test -n "$ac_config_files"; then
8710 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8713 if test -n "$ac_config_headers"; then
8714 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8717 if test -n "$ac_config_links"; then
8718 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8721 if test -n "$ac_config_commands"; then
8722 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8725 cat >>$CONFIG_STATUS <<\_ACEOF
8728 \`$as_me' instantiates files from templates according to the
8729 current configuration.
8731 Usage: $0 [OPTIONS] [FILE]...
8733 -h, --help print this help, then exit
8734 -V, --version print version number, then exit
8735 -q, --quiet do not print progress messages
8736 -d, --debug don't remove temporary files
8737 --recheck update $as_me by reconfiguring in the same conditions
8738 --file=FILE[:TEMPLATE]
8739 instantiate the configuration file FILE
8740 --header=FILE[:TEMPLATE]
8741 instantiate the configuration header FILE
8743 Configuration files:
8746 Configuration headers:
8749 Configuration commands:
8752 Report bugs to <bug-autoconf@gnu.org>."
8755 cat >>$CONFIG_STATUS <<_ACEOF
8758 configured by $0, generated by GNU Autoconf 2.59,
8759 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8761 Copyright (C) 2003 Free Software Foundation, Inc.
8762 This config.status script is free software; the Free Software Foundation
8763 gives unlimited permission to copy, distribute and modify it."
8768 cat >>$CONFIG_STATUS <<\_ACEOF
8769 # If no file are specified by the user, then we need to provide default
8770 # value. By we need to know if files were specified by the user.
8776 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8777 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8785 *) # This is not an option, so the user has probably given explicit
8788 ac_need_defaults
=false
;;
8792 # Handling of the options.
8794 cat >>$CONFIG_STATUS <<\_ACEOF
8795 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8797 --version |
--vers* |
-V )
8798 echo "$ac_cs_version"; exit 0 ;;
8800 # Conflict between --help and --header
8801 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8802 Try \`$0 --help' for more information." >&5
8803 echo "$as_me: error: ambiguous option: $1
8804 Try \`$0 --help' for more information." >&2;}
8805 { (exit 1); exit 1; }; };;
8806 --help |
--hel |
-h )
8807 echo "$ac_cs_usage"; exit 0 ;;
8808 --debug |
--d* |
-d )
8810 --file |
--fil |
--fi |
--f )
8812 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8813 ac_need_defaults
=false
;;
8814 --header |
--heade |
--head |
--hea )
8816 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8817 ac_need_defaults
=false
;;
8818 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8819 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8823 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8824 Try \`$0 --help' for more information." >&5
8825 echo "$as_me: error: unrecognized option: $1
8826 Try \`$0 --help' for more information." >&2;}
8827 { (exit 1); exit 1; }; } ;;
8829 *) ac_config_targets
="$ac_config_targets $1" ;;
8835 ac_configure_extra_args
=
8837 if $ac_cs_silent; then
8839 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8843 cat >>$CONFIG_STATUS <<_ACEOF
8844 if \$ac_cs_recheck; then
8845 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8846 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8851 cat >>$CONFIG_STATUS <<_ACEOF
8853 # INIT-COMMANDS section.
8856 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8863 cat >>$CONFIG_STATUS <<\_ACEOF
8864 for ac_config_target
in $ac_config_targets
8866 case "$ac_config_target" in
8867 # Handling of arguments.
8868 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8869 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
8870 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8871 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
8872 "gconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
8873 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8874 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8875 { (exit 1); exit 1; }; };;
8879 # If the user did not use the arguments to specify the items to instantiate,
8880 # then the envvar interface is used. Set only those that are not.
8881 # We use the long form for the default assignment because of an extremely
8882 # bizarre bug on SunOS 4.1.3.
8883 if $ac_need_defaults; then
8884 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8885 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8886 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8889 # Have a temporary directory for convenience. Make it in the build tree
8890 # simply because there is no reason to put it here, and in addition,
8891 # creating and moving files from /tmp can sometimes cause problems.
8892 # Create a temporary directory, and hook for its removal unless debugging.
8895 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8896 trap '{ (exit 1); exit 1; }' 1 2 13 15
8899 # Create a (secure) tmp directory for tmp files.
8902 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8903 test -n "$tmp" && test -d "$tmp"
8906 tmp
=.
/confstat$$
-$RANDOM
8907 (umask 077 && mkdir
$tmp)
8910 echo "$me: cannot create a temporary directory in ." >&2
8911 { (exit 1); exit 1; }
8916 cat >>$CONFIG_STATUS <<_ACEOF
8919 # CONFIG_FILES section.
8922 # No need to generate the scripts if there are no CONFIG_FILES.
8923 # This happens for instance when ./config.status config.h
8924 if test -n "\$CONFIG_FILES"; then
8925 # Protect against being on the right side of a sed subst in config.status.
8926 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8927 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8928 s,@SHELL@,$SHELL,;t t
8929 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8930 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8931 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8932 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8933 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8934 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8935 s,@exec_prefix@,$exec_prefix,;t t
8936 s,@prefix@,$prefix,;t t
8937 s,@program_transform_name@,$program_transform_name,;t t
8938 s,@bindir@,$bindir,;t t
8939 s,@sbindir@,$sbindir,;t t
8940 s,@libexecdir@,$libexecdir,;t t
8941 s,@datadir@,$datadir,;t t
8942 s,@sysconfdir@,$sysconfdir,;t t
8943 s,@sharedstatedir@,$sharedstatedir,;t t
8944 s,@localstatedir@,$localstatedir,;t t
8945 s,@libdir@,$libdir,;t t
8946 s,@includedir@,$includedir,;t t
8947 s,@oldincludedir@,$oldincludedir,;t t
8948 s,@infodir@,$infodir,;t t
8949 s,@mandir@,$mandir,;t t
8950 s,@build_alias@,$build_alias,;t t
8951 s,@host_alias@,$host_alias,;t t
8952 s,@target_alias@,$target_alias,;t t
8954 s,@ECHO_C@,$ECHO_C,;t t
8955 s,@ECHO_N@,$ECHO_N,;t t
8956 s,@ECHO_T@,$ECHO_T,;t t
8958 s,@build@,$build,;t t
8959 s,@build_cpu@,$build_cpu,;t t
8960 s,@build_vendor@,$build_vendor,;t t
8961 s,@build_os@,$build_os,;t t
8963 s,@host_cpu@,$host_cpu,;t t
8964 s,@host_vendor@,$host_vendor,;t t
8965 s,@host_os@,$host_os,;t t
8966 s,@target@,$target,;t t
8967 s,@target_cpu@,$target_cpu,;t t
8968 s,@target_vendor@,$target_vendor,;t t
8969 s,@target_os@,$target_os,;t t
8971 s,@CFLAGS@,$CFLAGS,;t t
8972 s,@LDFLAGS@,$LDFLAGS,;t t
8973 s,@CPPFLAGS@,$CPPFLAGS,;t t
8974 s,@ac_ct_CC@,$ac_ct_CC,;t t
8975 s,@EXEEXT@,$EXEEXT,;t t
8976 s,@OBJEXT@,$OBJEXT,;t t
8977 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8978 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8979 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8980 s,@CYGPATH_W@,$CYGPATH_W,;t t
8981 s,@PACKAGE@,$PACKAGE,;t t
8982 s,@VERSION@,$VERSION,;t t
8983 s,@ACLOCAL@,$ACLOCAL,;t t
8984 s,@AUTOCONF@,$AUTOCONF,;t t
8985 s,@AUTOMAKE@,$AUTOMAKE,;t t
8986 s,@AUTOHEADER@,$AUTOHEADER,;t t
8987 s,@MAKEINFO@,$MAKEINFO,;t t
8988 s,@install_sh@,$install_sh,;t t
8989 s,@STRIP@,$STRIP,;t t
8990 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8991 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8992 s,@mkdir_p@,$mkdir_p,;t t
8994 s,@SET_MAKE@,$SET_MAKE,;t t
8995 s,@am__leading_dot@,$am__leading_dot,;t t
8996 s,@AMTAR@,$AMTAR,;t t
8997 s,@am__tar@,$am__tar,;t t
8998 s,@am__untar@,$am__untar,;t t
8999 s,@DEPDIR@,$DEPDIR,;t t
9000 s,@am__include@,$am__include,;t t
9001 s,@am__quote@,$am__quote,;t t
9002 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9003 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9004 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9005 s,@CCDEPMODE@,$CCDEPMODE,;t t
9006 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9007 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9009 s,@RANLIB@,$RANLIB,;t t
9010 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9011 s,@LIBTOOL@,$LIBTOOL,;t t
9013 s,@EGREP@,$EGREP,;t t
9014 s,@ALLOCA@,$ALLOCA,;t t
9015 s,@USE_NLS@,$USE_NLS,;t t
9016 s,@MSGFMT@,$MSGFMT,;t t
9017 s,@GMSGFMT@,$GMSGFMT,;t t
9018 s,@XGETTEXT@,$XGETTEXT,;t t
9019 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9020 s,@CATALOGS@,$CATALOGS,;t t
9021 s,@CATOBJEXT@,$CATOBJEXT,;t t
9022 s,@DATADIRNAME@,$DATADIRNAME,;t t
9023 s,@GMOFILES@,$GMOFILES,;t t
9024 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9025 s,@INTLDEPS@,$INTLDEPS,;t t
9026 s,@INTLLIBS@,$INTLLIBS,;t t
9027 s,@INTLOBJS@,$INTLOBJS,;t t
9028 s,@POFILES@,$POFILES,;t t
9029 s,@POSUB@,$POSUB,;t t
9030 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
9031 s,@GT_NO@,$GT_NO,;t t
9032 s,@GT_YES@,$GT_YES,;t t
9033 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9035 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9036 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9037 s,@MAINT@,$MAINT,;t t
9038 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9039 s,@LIBOBJS@,$LIBOBJS,;t t
9040 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9045 cat >>$CONFIG_STATUS <<\_ACEOF
9046 # Split the substitutions into bite-sized pieces for seds with
9047 # small command number limits, like on Digital OSF/1 and HP-UX.
9049 ac_sed_frag
=1 # Number of current file.
9050 ac_beg
=1 # First line for current file.
9051 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9054 while $ac_more_lines; do
9055 if test $ac_beg -gt 1; then
9056 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9058 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9060 if test ! -s $tmp/subs.frag
; then
9063 # The purpose of the label and of the branching condition is to
9064 # speed up the sed processing (if there are no `@' at all, there
9065 # is no need to browse any of the substitutions).
9066 # These are the two extra sed commands mentioned above.
9068 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9069 if test -z "$ac_sed_cmds"; then
9070 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9072 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9074 ac_sed_frag
=`expr $ac_sed_frag + 1`
9076 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9079 if test -z "$ac_sed_cmds"; then
9082 fi # test -n "$CONFIG_FILES"
9085 cat >>$CONFIG_STATUS <<\_ACEOF
9086 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9087 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9089 - |
*:- |
*:-:* ) # input from stdin
9091 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9092 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9093 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9094 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9095 * ) ac_file_in
=$ac_file.
in ;;
9098 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9099 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9100 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9101 X"$ac_file" : 'X\(//\)[^/]' \| \
9102 X"$ac_file" : 'X\(//\)$' \| \
9103 X"$ac_file" : 'X\(/\)' \| \
9104 . : '\(.\)' 2>/dev/null ||
9106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9107 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9108 /^X\(\/\/\)$/{ s//\1/; q; }
9109 /^X\(\/\).*/{ s//\1/; q; }
9111 { if $as_mkdir_p; then
9116 while test ! -d "$as_dir"; do
9117 as_dirs
="$as_dir $as_dirs"
9118 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9120 X"$as_dir" : 'X\(//\)[^/]' \| \
9121 X"$as_dir" : 'X\(//\)$' \| \
9122 X"$as_dir" : 'X\(/\)' \| \
9123 . : '\(.\)' 2>/dev/null ||
9125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9126 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9127 /^X\(\/\/\)$/{ s//\1/; q; }
9128 /^X\(\/\).*/{ s//\1/; q; }
9131 test ! -n "$as_dirs" || mkdir
$as_dirs
9132 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9133 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9134 { (exit 1); exit 1; }; }; }
9138 if test "$ac_dir" != .
; then
9139 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9140 # A "../" for each directory in $ac_dir_suffix.
9141 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9143 ac_dir_suffix
= ac_top_builddir
=
9147 .
) # No --srcdir option. We are building in place.
9149 if test -z "$ac_top_builddir"; then
9152 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9154 [\\/]* | ?
:[\\/]* ) # Absolute path.
9155 ac_srcdir
=$srcdir$ac_dir_suffix;
9156 ac_top_srcdir
=$srcdir ;;
9158 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9159 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9162 # Do not use `cd foo && pwd` to compute absolute paths, because
9163 # the directories may not exist.
9165 .
) ac_abs_builddir
="$ac_dir";;
9168 .
) ac_abs_builddir
=`pwd`;;
9169 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9170 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9173 case $ac_abs_builddir in
9174 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9176 case ${ac_top_builddir}.
in
9177 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9178 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9179 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9182 case $ac_abs_builddir in
9183 .
) ac_abs_srcdir
=$ac_srcdir;;
9186 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9187 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9188 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9191 case $ac_abs_builddir in
9192 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9194 case $ac_top_srcdir in
9195 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9196 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9197 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9203 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9204 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9207 if test x
"$ac_file" != x-
; then
9208 { echo "$as_me:$LINENO: creating $ac_file" >&5
9209 echo "$as_me: creating $ac_file" >&6;}
9212 # Let's still pretend it is `configure' which instantiates (i.e., don't
9213 # use $as_me), people would be surprised to read:
9214 # /* config.h. Generated by config.status. */
9215 if test x
"$ac_file" = x-
; then
9218 configure_input
="$ac_file. "
9220 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9221 sed 's,.*/,,'` by configure."
9223 # First look for the input files in the build tree, otherwise in the
9225 ac_file_inputs
=`IFS=:
9226 for f in $ac_file_in; do
9228 -) echo $tmp/stdin ;;
9230 # Absolute (can't be DOS-style, as IFS=:)
9231 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9232 echo "$as_me: error: cannot find input file: $f" >&2;}
9233 { (exit 1); exit 1; }; }
9236 if test -f "$f"; then
9239 elif test -f "$srcdir/$f"; then
9244 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9245 echo "$as_me: error: cannot find input file: $f" >&2;}
9246 { (exit 1); exit 1; }; }
9249 done` ||
{ (exit 1); exit 1; }
9251 cat >>$CONFIG_STATUS <<_ACEOF
9255 cat >>$CONFIG_STATUS <<\_ACEOF
9257 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9258 s
,@configure_input@
,$configure_input,;t t
9259 s
,@srcdir@
,$ac_srcdir,;t t
9260 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9261 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9262 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9263 s
,@builddir@
,$ac_builddir,;t t
9264 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9265 s
,@top_builddir@
,$ac_top_builddir,;t t
9266 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9267 s
,@INSTALL@
,$ac_INSTALL,;t t
9268 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9270 if test x"$ac_file" != x-; then
9271 mv $tmp/out $ac_file
9279 cat >>$CONFIG_STATUS <<\_ACEOF
9282 # CONFIG_HEADER section.
9285 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9286 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9288 # ac_d sets the value in "#define NAME VALUE" lines.
9289 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9290 ac_dB
='[ ].*$,\1#\2'
9293 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9294 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9295 ac_uB
='$,\1#\2define\3'
9299 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9300 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9302 - |
*:- |
*:-:* ) # input from stdin
9304 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9305 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9306 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9307 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9308 * ) ac_file_in
=$ac_file.
in ;;
9311 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9312 echo "$as_me: creating $ac_file" >&6;}
9314 # First look for the input files in the build tree, otherwise in the
9316 ac_file_inputs
=`IFS=:
9317 for f in $ac_file_in; do
9319 -) echo $tmp/stdin ;;
9321 # Absolute (can't be DOS-style, as IFS=:)
9322 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9323 echo "$as_me: error: cannot find input file: $f" >&2;}
9324 { (exit 1); exit 1; }; }
9325 # Do quote $f, to prevent DOS paths from being IFS'd.
9328 if test -f "$f"; then
9331 elif test -f "$srcdir/$f"; then
9336 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9337 echo "$as_me: error: cannot find input file: $f" >&2;}
9338 { (exit 1); exit 1; }; }
9341 done` ||
{ (exit 1); exit 1; }
9342 # Remove the trailing spaces.
9343 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9347 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9348 # `conftest.undefs', that substitutes the proper values into
9349 # config.h.in to produce config.h. The first handles `#define'
9350 # templates, and the second `#undef' templates.
9351 # And first: Protect against being on the right side of a sed subst in
9352 # config.status. Protect against being in an unquoted here document
9354 rm -f conftest.defines conftest.undefs
9355 # Using a here document instead of a string reduces the quoting nightmare.
9356 # Putting comments in sed scripts is not portable.
9358 # `end' is used to avoid that the second main sed command (meant for
9359 # 0-ary CPP macros) applies to n-ary macro definitions.
9360 # See the Autoconf documentation for `clear'.
9361 cat >confdef2sed.
sed <<\_ACEOF
9366 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9368 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9371 # If some macros were called several times there might be several times
9372 # the same #defines, which is useless. Nevertheless, we may not want to
9373 # sort them, since we want the *last* AC-DEFINE to be honored.
9374 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9375 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9376 rm -f confdef2sed.sed
9378 # This sed command replaces #undef with comments. This is necessary, for
9379 # example, in the case of _POSIX_SOURCE, which is predefined and required
9380 # on some systems where configure will not decide to define it.
9381 cat >>conftest.undefs <<\_ACEOF
9382 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9385 # Break up conftest.defines because some shells have a limit on the size
9386 # of here documents, and old seds have small limits too (100 cmds).
9387 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9388 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9389 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9390 echo ' :' >>$CONFIG_STATUS
9392 while grep . conftest.defines >/dev/null
9394 # Write a limited-size here document to $tmp/defines.sed.
9395 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9396 # Speed up: don't consider the non `#define' lines.
9397 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9398 # Work around the forget-to-reset-the-flag bug.
9399 echo 't clr' >>$CONFIG_STATUS
9400 echo ': clr' >>$CONFIG_STATUS
9401 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9403 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9407 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9408 rm -f conftest.defines
9409 mv conftest.
tail conftest.defines
9411 rm -f conftest.defines
9412 echo ' fi # grep' >>$CONFIG_STATUS
9413 echo >>$CONFIG_STATUS
9415 # Break up conftest.undefs because some shells have a limit on the size
9416 # of here documents, and old seds have small limits too (100 cmds).
9417 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9419 while grep . conftest.undefs
>/dev
/null
9421 # Write a limited-size here document to $tmp/undefs.sed.
9422 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9423 # Speed up: don't consider the non
`#undef'
9424 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9425 # Work around the forget-to-reset-the-flag bug.
9426 echo 't clr' >>$CONFIG_STATUS
9427 echo ': clr' >>$CONFIG_STATUS
9428 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9430 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9434 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9435 rm -f conftest.undefs
9436 mv conftest.tail conftest.undefs
9438 rm -f conftest.undefs
9440 cat >>$CONFIG_STATUS <<\_ACEOF
9441 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9442 # use $as_me), people would be surprised to read:
9443 # /* config.h. Generated by config.status. */
9444 if test x
"$ac_file" = x-
; then
9445 echo "/* Generated by configure. */" >$tmp/config.h
9447 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9449 cat $tmp/in >>$tmp/config.h
9451 if test x
"$ac_file" != x-
; then
9452 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9453 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9454 echo "$as_me: $ac_file is unchanged" >&6;}
9456 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9457 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9458 X"$ac_file" : 'X\(//\)[^/]' \| \
9459 X"$ac_file" : 'X\(//\)$' \| \
9460 X"$ac_file" : 'X\(/\)' \| \
9461 . : '\(.\)' 2>/dev/null ||
9463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9465 /^X\(\/\/\)$/{ s//\1/; q; }
9466 /^X\(\/\).*/{ s//\1/; q; }
9468 { if $as_mkdir_p; then
9473 while test ! -d "$as_dir"; do
9474 as_dirs
="$as_dir $as_dirs"
9475 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9476 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9477 X"$as_dir" : 'X\(//\)[^/]' \| \
9478 X"$as_dir" : 'X\(//\)$' \| \
9479 X"$as_dir" : 'X\(/\)' \| \
9480 . : '\(.\)' 2>/dev/null ||
9482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9483 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9484 /^X\(\/\/\)$/{ s//\1/; q; }
9485 /^X\(\/\).*/{ s//\1/; q; }
9488 test ! -n "$as_dirs" || mkdir
$as_dirs
9489 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9490 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9491 { (exit 1); exit 1; }; }; }
9494 mv $tmp/config.h
$ac_file
9500 # Compute $ac_file's index in $config_headers.
9502 for _am_header
in $config_headers :; do
9504 $ac_file |
$ac_file:* )
9507 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9510 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9511 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9512 X$ac_file : 'X\(//\)[^/]' \| \
9513 X$ac_file : 'X\(//\)$' \| \
9514 X$ac_file : 'X\(/\)' \| \
9515 . : '\(.\)' 2>/dev/null ||
9517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9518 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9519 /^X\(\/\/\)$/{ s//\1/; q; }
9520 /^X\(\/\).*/{ s//\1/; q; }
9521 s/.*/./; q'`/stamp-h
$_am_stamp_count
9524 cat >>$CONFIG_STATUS <<\_ACEOF
9527 # CONFIG_COMMANDS section.
9529 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9530 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9531 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9532 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9533 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9534 X"$ac_dest" : 'X\(//\)[^/]' \| \
9535 X"$ac_dest" : 'X\(//\)$' \| \
9536 X"$ac_dest" : 'X\(/\)' \| \
9537 . : '\(.\)' 2>/dev/null ||
9539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9540 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9541 /^X\(\/\/\)$/{ s//\1/; q; }
9542 /^X\(\/\).*/{ s//\1/; q; }
9544 { if $as_mkdir_p; then
9549 while test ! -d "$as_dir"; do
9550 as_dirs
="$as_dir $as_dirs"
9551 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9553 X"$as_dir" : 'X\(//\)[^/]' \| \
9554 X"$as_dir" : 'X\(//\)$' \| \
9555 X"$as_dir" : 'X\(/\)' \| \
9556 . : '\(.\)' 2>/dev/null ||
9558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9559 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9560 /^X\(\/\/\)$/{ s//\1/; q; }
9561 /^X\(\/\).*/{ s//\1/; q; }
9564 test ! -n "$as_dirs" || mkdir
$as_dirs
9565 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9566 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9567 { (exit 1); exit 1; }; }; }
9571 if test "$ac_dir" != .
; then
9572 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9573 # A "../" for each directory in $ac_dir_suffix.
9574 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9576 ac_dir_suffix
= ac_top_builddir
=
9580 .
) # No --srcdir option. We are building in place.
9582 if test -z "$ac_top_builddir"; then
9585 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9587 [\\/]* | ?
:[\\/]* ) # Absolute path.
9588 ac_srcdir
=$srcdir$ac_dir_suffix;
9589 ac_top_srcdir
=$srcdir ;;
9591 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9592 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9595 # Do not use `cd foo && pwd` to compute absolute paths, because
9596 # the directories may not exist.
9598 .
) ac_abs_builddir
="$ac_dir";;
9601 .
) ac_abs_builddir
=`pwd`;;
9602 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9603 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9606 case $ac_abs_builddir in
9607 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9609 case ${ac_top_builddir}.
in
9610 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9611 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9612 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9615 case $ac_abs_builddir in
9616 .
) ac_abs_srcdir
=$ac_srcdir;;
9619 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9620 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9621 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9624 case $ac_abs_builddir in
9625 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9627 case $ac_top_srcdir in
9628 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9629 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9630 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9635 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9636 echo "$as_me: executing $ac_dest commands" >&6;}
9638 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
9639 # Strip MF so we end up with the name of the file.
9640 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9641 # Check whether this is an Automake generated Makefile or not.
9642 # We used to match only the files named `Makefile.in', but
9643 # some people rename them; so instead we look at the file content.
9644 # Grep'ing the first line is not enough: some people post-process
9645 # each Makefile.in and add a new line on top of each file to say so.
9646 # So let's grep whole file.
9647 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9648 dirpart
=`(dirname "$mf") 2>/dev/null ||
9649 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9650 X"$mf" : 'X\(//\)[^/]' \| \
9651 X"$mf" : 'X\(//\)$' \| \
9652 X"$mf" : 'X\(/\)' \| \
9653 . : '\(.\)' 2>/dev/null ||
9655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9657 /^X\(\/\/\)$/{ s//\1/; q; }
9658 /^X\(\/\).*/{ s//\1/; q; }
9663 # Extract the definition of DEPDIR, am__include, and am__quote
9664 # from the Makefile without running `make'.
9665 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9666 test -z "$DEPDIR" && continue
9667 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9668 test -z "am__include" && continue
9669 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9670 # When using ansi2knr, U may be empty or an underscore; expand it
9671 U
=`sed -n 's/^U = //p' < "$mf"`
9672 # Find all dependency output files, they are included files with
9673 # $(DEPDIR) in their names. We invoke sed twice because it is the
9674 # simplest approach to changing $(DEPDIR) to its actual value in the
9676 for file in `sed -n "
9677 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9678 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9679 # Make sure the directory exists.
9680 test -f "$dirpart/$file" && continue
9681 fdir
=`(dirname "$file") 2>/dev/null ||
9682 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9683 X"$file" : 'X\(//\)[^/]' \| \
9684 X"$file" : 'X\(//\)$' \| \
9685 X"$file" : 'X\(/\)' \| \
9686 . : '\(.\)' 2>/dev/null ||
9688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9689 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9690 /^X\(\/\/\)$/{ s//\1/; q; }
9691 /^X\(\/\).*/{ s//\1/; q; }
9693 { if $as_mkdir_p; then
9694 mkdir
-p $dirpart/$fdir
9696 as_dir
=$dirpart/$fdir
9698 while test ! -d "$as_dir"; do
9699 as_dirs
="$as_dir $as_dirs"
9700 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9701 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9702 X"$as_dir" : 'X\(//\)[^/]' \| \
9703 X"$as_dir" : 'X\(//\)$' \| \
9704 X"$as_dir" : 'X\(/\)' \| \
9705 . : '\(.\)' 2>/dev/null ||
9707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9708 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9709 /^X\(\/\/\)$/{ s//\1/; q; }
9710 /^X\(\/\).*/{ s//\1/; q; }
9713 test ! -n "$as_dirs" || mkdir
$as_dirs
9714 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9715 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9716 { (exit 1); exit 1; }; }; }
9718 # echo "creating $dirpart/$file"
9719 echo '# dummy' > "$dirpart/$file"
9723 default
) sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
9728 cat >>$CONFIG_STATUS <<\_ACEOF
9730 { (exit 0); exit 0; }
9732 chmod +x
$CONFIG_STATUS
9733 ac_clean_files
=$ac_clean_files_save
9736 # configure is writing to config.log, and then calls config.status.
9737 # config.status does its own redirection, appending to config.log.
9738 # Unfortunately, on DOS this fails, as config.log is still kept open
9739 # by configure, so config.status won't be able to write to it; its
9740 # output is simply discarded. So we exec the FD to /dev/null,
9741 # effectively closing config.log, so it can be properly (re)opened and
9742 # appended to by config.status. When coming back to configure, we
9743 # need to make the FD available again.
9744 if test "$no_create" != yes; then
9746 ac_config_status_args
=
9747 test "$silent" = yes &&
9748 ac_config_status_args
="$ac_config_status_args --quiet"
9750 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9752 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9753 # would make configure fail if this is the last instruction.
9754 $ac_cs_success ||
{ (exit 1); exit 1; }