2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="gprof.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT WARN_CFLAGS NO_WERROR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default
=yes
856 --enable-static=PKGS build static libraries default
=yes
857 --enable-fast-install=PKGS optimize
for fast installation default
=yes
858 --disable-libtool-lock avoid locking
(might
break parallel builds
)
859 --disable-nls do not use Native Language Support
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing
) to the casual installer
862 --enable-werror treat compile warnings as errors
863 --enable-build-warnings enable build-time compiler warnings
866 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
867 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
868 --with-gnu-ld assume the C compiler uses GNU ld default
=no
869 --with-pic try to use only PIC
/non-PIC objects default
=use both
870 --with-included-gettext use the GNU
gettext library included here
872 Some influential environment variables
:
873 CC C compiler
command
874 CFLAGS C compiler flags
875 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
876 nonstandard directory
<lib dir
>
877 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
878 headers
in a nonstandard directory
<include dir
>
881 Use these variables to override the choices made by
`configure' or to help
882 it to find libraries and programs with nonstandard names/locations.
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
890 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
891 test -d $ac_dir || continue
894 if test "$ac_dir" != .; then
895 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
899 ac_dir_suffix= ac_top_builddir=
903 .) # No --srcdir option. We are building in place.
905 if test -z "$ac_top_builddir"; then
908 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
910 [\\/]* | ?:[\\/]* ) # Absolute path.
911 ac_srcdir=$srcdir$ac_dir_suffix;
912 ac_top_srcdir=$srcdir ;;
914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir=$ac_top_builddir$srcdir ;;
918 # Do not use `cd foo
&& pwd` to compute absolute paths, because
919 # the directories may not exist.
921 .) ac_abs_builddir="$ac_dir";;
924 .) ac_abs_builddir=`pwd`;;
925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
926 *) ac_abs_builddir=`pwd`/"$ac_dir";;
929 case $ac_abs_builddir in
930 .) ac_abs_top_builddir=${ac_top_builddir}.;;
932 case ${ac_top_builddir}. in
933 .) ac_abs_top_builddir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
938 case $ac_abs_builddir in
939 .) ac_abs_srcdir=$ac_srcdir;;
942 .) ac_abs_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
947 case $ac_abs_builddir in
948 .) ac_abs_top_srcdir=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .) ac_abs_top_srcdir=$ac_abs_builddir;;
952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
980 Copyright (C) 2003 Free Software Foundation, Inc.
981 This configure script is free software; the Free Software Foundation
982 gives unlimited permission to copy, distribute and modify it.
988 This file contains any messages produced by compilers while
989 running configure, to aid debugging if configure makes a mistake.
991 It was created by $as_me, which was
992 generated by GNU Autoconf 2.59. Invocation command line was
1003 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1004 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1005 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1006 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1007 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1010 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1012 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1014 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1015 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1016 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1018 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 test -z "$as_dir" && as_dir=.
1027 echo "PATH: $as_dir"
1042 # Keep a trace of the command line.
1043 # Strip out --no-create and --no-recursion so they do not pile up.
1044 # Strip out --silent because we don't want to record it for future runs.
1045 # Also quote any args containing shell meta-characters.
1046 # Make two passes to allow for proper duplicate-argument suppression.
1051 ac_must_keep_next=false
1057 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1061 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1062 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1065 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1067 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1068 if test $ac_must_keep_next = true; then
1069 ac_must_keep_next=false # Got value, back to normal.
1072 *=* | --config-cache | -C | -disable-* | --disable-* \
1073 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1074 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1075 | -with-* | --with-* | -without-* | --without-* | --x)
1076 case "$ac_configure_args0 " in
1077 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080 -* ) ac_must_keep_next=true ;;
1083 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1084 # Get rid of the leading space.
1090 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1091 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1093 # When interrupted or exit'd, cleanup temporary files, and complete
1094 # config.log. We remove comments because anyway the quotes in there
1095 # would cause problems or look ugly.
1096 # WARNING: Be sure not to use single quotes in there, as some shells,
1097 # such as our DU 5.0 friend, will then `close
' the trap.
1098 trap 'exit_status
=$?
1099 # Save into config.log some information that might help in debugging.
1104 ## ---------------- ##
1105 ## Cache variables. ##
1106 ## ---------------- ##
1109 # The following way of writing the cache mishandles newlines in values,
1112 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1127 ## ----------------- ##
1128 ## Output variables. ##
1129 ## ----------------- ##
1132 for ac_var
in $ac_subst_vars
1134 eval ac_val
=$
`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1139 if test -n "$ac_subst_files"; then
1146 for ac_var
in $ac_subst_files
1148 eval ac_val
=$
`echo $ac_var`
1149 echo "$ac_var='"'"'$ac_val'"'"'"
1154 if test -s confdefs.h
; then
1161 sed "/^$/d" confdefs.h |
sort
1164 test "$ac_signal" != 0 &&
1165 echo "$as_me: caught signal $ac_signal"
1166 echo "$as_me: exit $exit_status"
1168 rm -f core
*.core
&&
1169 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1172 for ac_signal in 1 2 13 15; do
1173 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1178 rm -rf conftest* confdefs.h
1179 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 # Predefined preprocessor variables.
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 # Let the site file select an alternate cache file if it wants to.
1210 # Prefer explicitly selected file to automatically selected ones.
1211 if test -z "$CONFIG_SITE"; then
1212 if test "x$prefix" != xNONE; then
1213 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1215 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218 for ac_site_file in $CONFIG_SITE; do
1219 if test -r "$ac_site_file"; then
1220 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1221 echo "$as_me: loading site script $ac_site_file" >&6;}
1222 sed 's
/^
/|
/' "$ac_site_file" >&5
1227 if test -r "$cache_file"; then
1228 # Some versions of bash will fail to source /dev/null (special
1229 # files actually), so we avoid doing that.
1230 if test -f "$cache_file"; then
1231 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1232 echo "$as_me: loading cache $cache_file" >&6;}
1234 [\\/]* | ?:[\\/]* ) . $cache_file;;
1235 *) . ./$cache_file;;
1239 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1240 echo "$as_me: creating cache $cache_file" >&6;}
1244 # Check that the precious variables saved in the cache have kept the same
1246 ac_cache_corrupted=false
1247 for ac_var in `(set) 2>&1 |
1248 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1249 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1250 eval ac_new_set=\$ac_env_${ac_var}_set
1251 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1252 eval ac_new_val="\$ac_env_${ac_var}_value"
1253 case $ac_old_set,$ac_new_set in
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1257 ac_cache_corrupted=: ;;
1259 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1261 ac_cache_corrupted=: ;;
1264 if test "x$ac_old_val" != "x$ac_new_val"; then
1265 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1266 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1267 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1268 echo "$as_me: former value: $ac_old_val" >&2;}
1269 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1270 echo "$as_me: current value: $ac_new_val" >&2;}
1271 ac_cache_corrupted=:
1274 # Pass precious variables to config.status.
1275 if test "$ac_new_set" = set; then
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1279 *) ac_arg=$ac_var=$ac_new_val ;;
1281 case " $ac_configure_args " in
1282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 if $ac_cache_corrupted; then
1288 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1289 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1290 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1291 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1292 { (exit 1); exit 1; }; }
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1298 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1322 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1323 if test -f $ac_dir/install-sh; then
1325 ac_install_sh="$ac_aux_dir/install-sh -c"
1327 elif test -f $ac_dir/install.sh; then
1329 ac_install_sh="$ac_aux_dir/install.sh -c"
1331 elif test -f $ac_dir/shtool; then
1333 ac_install_sh="$ac_aux_dir/shtool install -c"
1337 if test -z "$ac_aux_dir"; then
1338 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1339 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1340 { (exit 1); exit 1; }; }
1342 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1343 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1344 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1346 # Make sure we can run config.sub.
1347 $ac_config_sub sun4 >/dev/null 2>&1 ||
1348 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1349 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1350 { (exit 1); exit 1; }; }
1352 echo "$as_me:$LINENO: checking build system type" >&5
1353 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1354 if test "${ac_cv_build+set}" = set; then
1355 echo $ECHO_N "(cached) $ECHO_C" >&6
1357 ac_cv_build_alias=$build_alias
1358 test -z "$ac_cv_build_alias" &&
1359 ac_cv_build_alias=`$ac_config_guess`
1360 test -z "$ac_cv_build_alias" &&
1361 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1362 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1363 { (exit 1); exit 1; }; }
1364 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1365 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1366 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1367 { (exit 1); exit 1; }; }
1370 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1371 echo "${ECHO_T}$ac_cv_build" >&6
1373 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1374 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1375 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1378 echo "$as_me:$LINENO: checking host system type" >&5
1379 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1380 if test "${ac_cv_host+set}" = set; then
1381 echo $ECHO_N "(cached) $ECHO_C" >&6
1383 ac_cv_host_alias=$host_alias
1384 test -z "$ac_cv_host_alias" &&
1385 ac_cv_host_alias=$ac_cv_build_alias
1386 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1387 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1388 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1389 { (exit 1); exit 1; }; }
1392 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1393 echo "${ECHO_T}$ac_cv_host" >&6
1395 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1396 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1397 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1400 echo "$as_me:$LINENO: checking target system type" >&5
1401 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1402 if test "${ac_cv_target+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 ac_cv_target_alias=$target_alias
1406 test "x$ac_cv_target_alias" = "x" &&
1407 ac_cv_target_alias=$ac_cv_host_alias
1408 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1409 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1410 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1411 { (exit 1); exit 1; }; }
1414 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1415 echo "${ECHO_T}$ac_cv_target" >&6
1416 target=$ac_cv_target
1417 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1418 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1419 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1422 # The aliases save the names the user supplied, while $host etc.
1423 # will get canonicalized.
1424 test -n "$target_alias" &&
1425 test "$program_prefix$program_suffix$program_transform_name" = \
1427 program_prefix=${target_alias}-
1429 ac_cpp='$CPP $CPPFLAGS'
1430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1431 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1433 if test -n "$ac_tool_prefix"; then
1434 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1435 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1436 echo "$as_me:$LINENO: checking for $ac_word" >&5
1437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1438 if test "${ac_cv_prog_CC+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1441 if test -n "$CC"; then
1442 ac_cv_prog_CC="$CC" # Let the user override the test.
1444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1448 test -z "$as_dir" && as_dir=.
1449 for ac_exec_ext in '' $ac_executable_extensions; do
1450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1451 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1461 if test -n "$CC"; then
1462 echo "$as_me:$LINENO: result: $CC" >&5
1463 echo "${ECHO_T}$CC" >&6
1465 echo "$as_me:$LINENO: result: no" >&5
1466 echo "${ECHO_T}no" >&6
1470 if test -z "$ac_cv_prog_CC"; then
1472 # Extract the first word of "gcc", so it can be a program name with args.
1473 set dummy gcc; ac_word=$2
1474 echo "$as_me:$LINENO: checking for $ac_word" >&5
1475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1476 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1477 echo $ECHO_N "(cached) $ECHO_C" >&6
1479 if test -n "$ac_ct_CC"; then
1480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486 test -z "$as_dir" && as_dir=.
1487 for ac_exec_ext in '' $ac_executable_extensions; do
1488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1489 ac_cv_prog_ac_ct_CC="gcc"
1490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1499 if test -n "$ac_ct_CC"; then
1500 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1501 echo "${ECHO_T}$ac_ct_CC" >&6
1503 echo "$as_me:$LINENO: result: no" >&5
1504 echo "${ECHO_T}no" >&6
1512 if test -z "$CC"; then
1513 if test -n "$ac_tool_prefix"; then
1514 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1515 set dummy ${ac_tool_prefix}cc; ac_word=$2
1516 echo "$as_me:$LINENO: checking for $ac_word" >&5
1517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1518 if test "${ac_cv_prog_CC+set}" = set; then
1519 echo $ECHO_N "(cached) $ECHO_C" >&6
1521 if test -n "$CC"; then
1522 ac_cv_prog_CC="$CC" # Let the user override the test.
1524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1528 test -z "$as_dir" && as_dir=.
1529 for ac_exec_ext in '' $ac_executable_extensions; do
1530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1531 ac_cv_prog_CC="${ac_tool_prefix}cc"
1532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1541 if test -n "$CC"; then
1542 echo "$as_me:$LINENO: result: $CC" >&5
1543 echo "${ECHO_T}$CC" >&6
1545 echo "$as_me:$LINENO: result: no" >&5
1546 echo "${ECHO_T}no" >&6
1550 if test -z "$ac_cv_prog_CC"; then
1552 # Extract the first word of "cc", so it can be a program name with args.
1553 set dummy cc; ac_word=$2
1554 echo "$as_me:$LINENO: checking for $ac_word" >&5
1555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1556 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 if test -n "$ac_ct_CC"; then
1560 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1566 test -z "$as_dir" && as_dir=.
1567 for ac_exec_ext in '' $ac_executable_extensions; do
1568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1569 ac_cv_prog_ac_ct_CC="cc"
1570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1579 if test -n "$ac_ct_CC"; then
1580 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1581 echo "${ECHO_T}$ac_ct_CC" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1593 if test -z "$CC"; then
1594 # Extract the first word of "cc", so it can be a program name with args.
1595 set dummy cc; ac_word=$2
1596 echo "$as_me:$LINENO: checking for $ac_word" >&5
1597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1598 if test "${ac_cv_prog_CC+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 if test -n "$CC"; then
1602 ac_cv_prog_CC="$CC" # Let the user override the test.
1605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1609 test -z "$as_dir" && as_dir=.
1610 for ac_exec_ext in '' $ac_executable_extensions; do
1611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1612 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1613 ac_prog_rejected=yes
1617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 if test $ac_prog_rejected = yes; then
1624 # We found a bogon in the path, so make sure we never use it.
1625 set dummy $ac_cv_prog_CC
1627 if test $# != 0; then
1628 # We chose a different compiler from the bogus one.
1629 # However, it has the same basename, so the bogon will be chosen
1630 # first if we set CC to just the basename; use the full file name.
1632 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1638 if test -n "$CC"; then
1639 echo "$as_me:$LINENO: result: $CC" >&5
1640 echo "${ECHO_T}$CC" >&6
1642 echo "$as_me:$LINENO: result: no" >&5
1643 echo "${ECHO_T}no" >&6
1647 if test -z "$CC"; then
1648 if test -n "$ac_tool_prefix"; then
1651 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_prog_CC+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 if test -n "$CC"; then
1659 ac_cv_prog_CC="$CC" # Let the user override the test.
1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1665 test -z "$as_dir" && as_dir=.
1666 for ac_exec_ext in '' $ac_executable_extensions; do
1667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 if test -n "$CC"; then
1679 echo "$as_me:$LINENO: result: $CC" >&5
1680 echo "${ECHO_T}$CC" >&6
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1686 test -n "$CC" && break
1689 if test -z "$CC"; then
1693 # Extract the first word of "$ac_prog", so it can be a program name with args.
1694 set dummy $ac_prog; ac_word=$2
1695 echo "$as_me:$LINENO: checking for $ac_word" >&5
1696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1697 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1698 echo $ECHO_N "(cached) $ECHO_C" >&6
1700 if test -n "$ac_ct_CC"; then
1701 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707 test -z "$as_dir" && as_dir=.
1708 for ac_exec_ext in '' $ac_executable_extensions; do
1709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1710 ac_cv_prog_ac_ct_CC="$ac_prog"
1711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1720 if test -n "$ac_ct_CC"; then
1721 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1722 echo "${ECHO_T}$ac_ct_CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1728 test -n "$ac_ct_CC" && break
1737 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1738 See \`config.log' for more details.
" >&5
1739 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1740 See \
`config.log' for more details." >&2;}
1741 { (exit 1); exit 1; }; }
1743 # Provide some information about the compiler.
1744 echo "$as_me:$LINENO:" \
1745 "checking for C compiler version" >&5
1746 ac_compiler=`set X
$ac_compile; echo $2`
1747 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1748 (eval $ac_compiler --version </dev/null >&5) 2>&5
1750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1751 (exit $ac_status); }
1752 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1753 (eval $ac_compiler -v </dev/null >&5) 2>&5
1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 (exit $ac_status); }
1757 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1758 (eval $ac_compiler -V </dev/null >&5) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }
1763 cat >conftest.$ac_ext <<_ACEOF
1766 cat confdefs.h >>conftest.$ac_ext
1767 cat >>conftest.$ac_ext <<_ACEOF
1768 /* end confdefs.h. */
1778 ac_clean_files_save=$ac_clean_files
1779 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1780 # Try to create an executable without -o first, disregard a.out.
1781 # It will help us diagnose broken compilers, and finding out an intuition
1783 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1784 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1785 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1786 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1787 (eval $ac_link_default) 2>&5
1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1790 (exit $ac_status); }; then
1791 # Find the output, starting from the most likely. This scheme is
1792 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1795 # Be careful to initialize this variable, since it used to be cached.
1796 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1798 # b.out is created by i960 compilers.
1799 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1801 test -f "$ac_file" || continue
1803 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1806 # This is the source file.
1809 # We found the default executable, but exeext='' is most
1813 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1814 # FIXME: I believe we export ac_cv_exeext for Libtool,
1815 # but it would be cool to find out if it's true. Does anybody
1816 # maintain Libtool? --akim.
1824 echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.$ac_ext >&5
1827 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1828 See \`config.log
' for more details." >&5
1829 echo "$as_me: error: C compiler cannot create executables
1830 See \`config.log' for more details.
" >&2;}
1831 { (exit 77); exit 77; }; }
1834 ac_exeext=$ac_cv_exeext
1835 echo "$as_me:$LINENO: result
: $ac_file" >&5
1836 echo "${ECHO_T}$ac_file" >&6
1838 # Check the compiler produces executables we can run. If not, either
1839 # the compiler is broken, or we cross compile.
1840 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1841 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1842 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1843 # If not cross compiling, check that we can run a simple program.
1844 if test "$cross_compiling" != yes; then
1845 if { ac_try='./$ac_file'
1846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1849 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1850 (exit $ac_status); }; }; then
1853 if test "$cross_compiling" = maybe; then
1856 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1857 If you meant to cross compile
, use \
`--host'.
1858 See \`config.log
' for more details." >&5
1859 echo "$as_me: error: cannot run C compiled programs.
1860 If you meant to cross compile, use \`--host'.
1861 See \
`config.log' for more details." >&2;}
1862 { (exit 1); exit 1; }; }
1866 echo "$as_me:$LINENO: result: yes" >&5
1867 echo "${ECHO_T}yes" >&6
1869 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1870 ac_clean_files=$ac_clean_files_save
1871 # Check the compiler produces executables we can run. If not, either
1872 # the compiler is broken, or we cross compile.
1873 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1874 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1875 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1876 echo "${ECHO_T}$cross_compiling" >&6
1878 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1879 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1881 (eval $ac_link) 2>&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); }; then
1885 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1886 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1887 # work properly (i.e., refer to `conftest.exe'), while it won't with
1889 for ac_file
in conftest.exe conftest conftest.
*; do
1890 test -f "$ac_file" ||
continue
1892 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1893 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1900 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1901 See \`config.log' for more details." >&5
1902 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1903 See \`config.log' for more details." >&2;}
1904 { (exit 1); exit 1; }; }
1907 rm -f conftest
$ac_cv_exeext
1908 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1909 echo "${ECHO_T}$ac_cv_exeext" >&6
1911 rm -f conftest.
$ac_ext
1912 EXEEXT
=$ac_cv_exeext
1914 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1915 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1916 if test "${ac_cv_objext+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 cat >conftest.
$ac_ext <<_ACEOF
1922 cat confdefs.h
>>conftest.
$ac_ext
1923 cat >>conftest.
$ac_ext <<_ACEOF
1924 /* end confdefs.h. */
1934 rm -f conftest.o conftest.obj
1935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1936 (eval $ac_compile) 2>&5
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1939 (exit $ac_status); }; then
1940 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1942 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1943 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1948 echo "$as_me: failed program was:" >&5
1949 sed 's/^/| /' conftest.
$ac_ext >&5
1951 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1952 See \`config.log' for more details." >&5
1953 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1954 See \`config.log' for more details." >&2;}
1955 { (exit 1); exit 1; }; }
1958 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1960 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1961 echo "${ECHO_T}$ac_cv_objext" >&6
1962 OBJEXT
=$ac_cv_objext
1964 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1965 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1966 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1967 echo $ECHO_N "(cached) $ECHO_C" >&6
1969 cat >conftest.
$ac_ext <<_ACEOF
1972 cat confdefs.h
>>conftest.
$ac_ext
1973 cat >>conftest.
$ac_ext <<_ACEOF
1974 /* end confdefs.h. */
1987 rm -f conftest.
$ac_objext
1988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1989 (eval $ac_compile) 2>conftest.er1
1991 grep -v '^ *+' conftest.er1
>conftest.err
1993 cat conftest.err
>&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); } &&
1996 { ac_try
='test -z "$ac_c_werror_flag"
1997 || test ! -s conftest.err'
1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }; } &&
2003 { ac_try
='test -s conftest.$ac_objext'
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }; }; then
2011 echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.
$ac_ext >&5
2016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2017 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2020 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2021 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2022 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2023 ac_test_CFLAGS
=${CFLAGS+set}
2024 ac_save_CFLAGS
=$CFLAGS
2026 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2027 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2028 if test "${ac_cv_prog_cc_g+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 cat >conftest.
$ac_ext <<_ACEOF
2034 cat confdefs.h
>>conftest.
$ac_ext
2035 cat >>conftest.
$ac_ext <<_ACEOF
2036 /* end confdefs.h. */
2046 rm -f conftest.
$ac_objext
2047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2048 (eval $ac_compile) 2>conftest.er1
2050 grep -v '^ *+' conftest.er1
>conftest.err
2052 cat conftest.err
>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); } &&
2055 { ac_try
='test -z "$ac_c_werror_flag"
2056 || test ! -s conftest.err'
2057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; } &&
2062 { ac_try
='test -s conftest.$ac_objext'
2063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }; }; then
2070 echo "$as_me: failed program was:" >&5
2071 sed 's/^/| /' conftest.
$ac_ext >&5
2075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2077 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2078 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2079 if test "$ac_test_CFLAGS" = set; then
2080 CFLAGS
=$ac_save_CFLAGS
2081 elif test $ac_cv_prog_cc_g = yes; then
2082 if test "$GCC" = yes; then
2088 if test "$GCC" = yes; then
2094 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2095 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2096 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 ac_cv_prog_cc_stdc
=no
2101 cat >conftest.
$ac_ext <<_ACEOF
2104 cat confdefs.h
>>conftest.
$ac_ext
2105 cat >>conftest.
$ac_ext <<_ACEOF
2106 /* end confdefs.h. */
2109 #include <sys/types.h>
2110 #include <sys/stat.h>
2111 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2112 struct buf { int x; };
2113 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2114 static char *e (p, i)
2120 static char *f (char * (*g) (char **, int), char **p, ...)
2125 s = g (p, va_arg (v,int));
2130 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2131 function prototypes and stuff, but not '\xHH' hex character constants.
2132 These don't provoke an error unfortunately, instead are silently treated
2133 as 'x'. The following induces an error, until -std1 is added to get
2134 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2135 array size at least. It's necessary to write '\x00'==0 to get something
2136 that's true only with -std1. */
2137 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2139 int test (int i, double x);
2140 struct s1 {int (*f) (int a);};
2141 struct s2 {int (*f) (double a);};
2142 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2148 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2153 # Don't try gcc -ansi; that turns off useful extensions and
2154 # breaks some systems' header files.
2155 # AIX -qlanglvl=ansi
2156 # Ultrix and OSF/1 -std1
2157 # HP-UX 10.20 and later -Ae
2158 # HP-UX older versions -Aa -D_HPUX_SOURCE
2159 # SVR4 -Xc -D__EXTENSIONS__
2160 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2162 CC
="$ac_save_CC $ac_arg"
2163 rm -f conftest.
$ac_objext
2164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2165 (eval $ac_compile) 2>conftest.er1
2167 grep -v '^ *+' conftest.er1
>conftest.err
2169 cat conftest.err
>&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); } &&
2172 { ac_try
='test -z "$ac_c_werror_flag"
2173 || test ! -s conftest.err'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; } &&
2179 { ac_try
='test -s conftest.$ac_objext'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; }; then
2185 ac_cv_prog_cc_stdc
=$ac_arg
2188 echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.
$ac_ext >&5
2192 rm -f conftest.err conftest.
$ac_objext
2194 rm -f conftest.
$ac_ext conftest.
$ac_objext
2199 case "x$ac_cv_prog_cc_stdc" in
2201 echo "$as_me:$LINENO: result: none needed" >&5
2202 echo "${ECHO_T}none needed" >&6 ;;
2204 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2205 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2206 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2209 # Some people use a C++ compiler to compile C. Since we use `exit',
2210 # in C++ we need to declare it. In case someone uses the same compiler
2211 # for both compiling C and C++ we need to have the C++ compiler decide
2212 # the declaration of exit, since it's the most demanding environment.
2213 cat >conftest.
$ac_ext <<_ACEOF
2218 rm -f conftest.
$ac_objext
2219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2220 (eval $ac_compile) 2>conftest.er1
2222 grep -v '^ *+' conftest.er1
>conftest.err
2224 cat conftest.err
>&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); } &&
2227 { ac_try
='test -z "$ac_c_werror_flag"
2228 || test ! -s conftest.err'
2229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }; } &&
2234 { ac_try
='test -s conftest.$ac_objext'
2235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; }; then
2240 for ac_declaration
in \
2242 'extern "C" void std::exit (int) throw (); using std::exit;' \
2243 'extern "C" void std::exit (int); using std::exit;' \
2244 'extern "C" void exit (int) throw ();' \
2245 'extern "C" void exit (int);' \
2248 cat >conftest.
$ac_ext <<_ACEOF
2251 cat confdefs.h
>>conftest.
$ac_ext
2252 cat >>conftest.
$ac_ext <<_ACEOF
2253 /* end confdefs.h. */
2264 rm -f conftest.
$ac_objext
2265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2266 (eval $ac_compile) 2>conftest.er1
2268 grep -v '^ *+' conftest.er1
>conftest.err
2270 cat conftest.err
>&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); } &&
2273 { ac_try
='test -z "$ac_c_werror_flag"
2274 || test ! -s conftest.err'
2275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; } &&
2280 { ac_try
='test -s conftest.$ac_objext'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; }; then
2288 echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.
$ac_ext >&5
2293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2294 cat >conftest.
$ac_ext <<_ACEOF
2297 cat confdefs.h
>>conftest.
$ac_ext
2298 cat >>conftest.
$ac_ext <<_ACEOF
2299 /* end confdefs.h. */
2309 rm -f conftest.
$ac_objext
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>conftest.er1
2313 grep -v '^ *+' conftest.er1
>conftest.err
2315 cat conftest.err
>&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); } &&
2318 { ac_try
='test -z "$ac_c_werror_flag"
2319 || test ! -s conftest.err'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; } &&
2325 { ac_try
='test -s conftest.$ac_objext'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; }; then
2333 echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.
$ac_ext >&5
2337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2340 if test -n "$ac_declaration"; then
2341 echo '#ifdef __cplusplus' >>confdefs.h
2342 echo $ac_declaration >>confdefs.h
2343 echo '#endif' >>confdefs.h
2347 echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.
$ac_ext >&5
2351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2353 ac_cpp
='$CPP $CPPFLAGS'
2354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2359 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2360 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2361 if test "${ac_cv_search_strerror+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 ac_func_search_save_LIBS
=$LIBS
2365 ac_cv_search_strerror
=no
2366 cat >conftest.
$ac_ext <<_ACEOF
2369 cat confdefs.h
>>conftest.
$ac_ext
2370 cat >>conftest.
$ac_ext <<_ACEOF
2371 /* end confdefs.h. */
2373 /* Override any gcc2 internal prototype to avoid an error. */
2377 /* We use char because int might match the return type of a gcc2
2378 builtin and then its argument prototype would still apply. */
2388 rm -f conftest.
$ac_objext conftest
$ac_exeext
2389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2390 (eval $ac_link) 2>conftest.er1
2392 grep -v '^ *+' conftest.er1
>conftest.err
2394 cat conftest.err
>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } &&
2397 { ac_try
='test -z "$ac_c_werror_flag"
2398 || test ! -s conftest.err'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; } &&
2404 { ac_try
='test -s conftest$ac_exeext'
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; }; then
2410 ac_cv_search_strerror
="none required"
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.
$ac_ext >&5
2416 rm -f conftest.err conftest.
$ac_objext \
2417 conftest
$ac_exeext conftest.
$ac_ext
2418 if test "$ac_cv_search_strerror" = no
; then
2419 for ac_lib
in cposix
; do
2420 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2421 cat >conftest.
$ac_ext <<_ACEOF
2424 cat confdefs.h
>>conftest.
$ac_ext
2425 cat >>conftest.
$ac_ext <<_ACEOF
2426 /* end confdefs.h. */
2428 /* Override any gcc2 internal prototype to avoid an error. */
2432 /* We use char because int might match the return type of a gcc2
2433 builtin and then its argument prototype would still apply. */
2443 rm -f conftest.
$ac_objext conftest
$ac_exeext
2444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2445 (eval $ac_link) 2>conftest.er1
2447 grep -v '^ *+' conftest.er1
>conftest.err
2449 cat conftest.err
>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); } &&
2452 { ac_try
='test -z "$ac_c_werror_flag"
2453 || test ! -s conftest.err'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; } &&
2459 { ac_try
='test -s conftest$ac_exeext'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; }; then
2465 ac_cv_search_strerror
="-l$ac_lib"
2468 echo "$as_me: failed program was:" >&5
2469 sed 's/^/| /' conftest.
$ac_ext >&5
2472 rm -f conftest.err conftest.
$ac_objext \
2473 conftest
$ac_exeext conftest.
$ac_ext
2476 LIBS
=$ac_func_search_save_LIBS
2478 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2479 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2480 if test "$ac_cv_search_strerror" != no
; then
2481 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2486 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2487 am__api_version
="1.9"
2488 # Find a good install program. We prefer a C program (faster),
2489 # so one script is as good as another. But avoid the broken or
2490 # incompatible versions:
2491 # SysV /etc/install, /usr/sbin/install
2492 # SunOS /usr/etc/install
2493 # IRIX /sbin/install
2495 # AmigaOS /C/install, which installs bootblocks on floppy discs
2496 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2497 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2498 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2499 # OS/2's system install, which has a completely different semantic
2500 # ./install, which can be erroneously created by make from ./install.sh.
2501 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2502 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2503 if test -z "$INSTALL"; then
2504 if test "${ac_cv_path_install+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir
=.
2512 # Account for people who put trailing slashes in PATH elements.
2514 .
/ | .
// |
/cC
/* | \
2515 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2516 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2519 # OSF1 and SCO ODT 3.0 have their own names for install.
2520 # Don't use installbsd from OSF since it installs stuff as root
2522 for ac_prog
in ginstall scoinst
install; do
2523 for ac_exec_ext
in '' $ac_executable_extensions; do
2524 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2525 if test $ac_prog = install &&
2526 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2527 # AIX install. It has an incompatible calling convention.
2529 elif test $ac_prog = install &&
2530 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2531 # program-specific install script used by HP pwplus--don't use.
2534 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2546 if test "${ac_cv_path_install+set}" = set; then
2547 INSTALL
=$ac_cv_path_install
2549 # As a last resort, use the slow shell script. We don't cache a
2550 # path for INSTALL within a source directory, because that will
2551 # break other packages using the cache if that directory is
2552 # removed, or if the path is relative.
2553 INSTALL
=$ac_install_sh
2556 echo "$as_me:$LINENO: result: $INSTALL" >&5
2557 echo "${ECHO_T}$INSTALL" >&6
2559 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2560 # It thinks the first close brace ends the variable substitution.
2561 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2563 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2565 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2567 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2568 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2571 echo timestamp
> conftest.
file
2572 # Do `set' in a subshell so we don't clobber the current shell's
2573 # arguments. Must try -L first in case configure is actually a
2574 # symlink; some systems play weird games with the mod time of symlinks
2575 # (eg FreeBSD returns the mod time of the symlink's containing
2578 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2579 if test "$*" = "X"; then
2581 set X
`ls -t $srcdir/configure conftest.file`
2584 if test "$*" != "X $srcdir/configure conftest.file" \
2585 && test "$*" != "X conftest.file $srcdir/configure"; then
2587 # If neither matched, then we have a broken ls. This can happen
2588 # if, for instance, CONFIG_SHELL is bash and it inherits a
2589 # broken ls alias from the environment. This has actually
2590 # happened. Such a system could not be considered "sane".
2591 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2592 alias in your environment" >&5
2593 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2594 alias in your environment" >&2;}
2595 { (exit 1); exit 1; }; }
2598 test "$2" = conftest.
file
2604 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2605 Check your system clock" >&5
2606 echo "$as_me: error: newly created file is older than distributed files!
2607 Check your system clock" >&2;}
2608 { (exit 1); exit 1; }; }
2610 echo "$as_me:$LINENO: result: yes" >&5
2611 echo "${ECHO_T}yes" >&6
2612 test "$program_prefix" != NONE
&&
2613 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2614 # Use a double $ so make ignores it.
2615 test "$program_suffix" != NONE
&&
2616 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2617 # Double any \ or $. echo might interpret backslashes.
2618 # By default was `s,x,x', remove it if useless.
2619 cat <<\_ACEOF
>conftest.
sed
2620 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2622 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2625 # expand $ac_aux_dir to an absolute path
2626 am_aux_dir
=`cd $ac_aux_dir && pwd`
2628 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2629 # Use eval to expand $SHELL
2630 if eval "$MISSING --run true"; then
2631 am_missing_run
="$MISSING --run "
2634 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2635 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2638 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2639 # We used to keeping the `.' as first argument, in order to
2640 # allow $(mkdir_p) to be used without argument. As in
2641 # $(mkdir_p) $(somedir)
2642 # where $(somedir) is conditionally defined. However this is wrong
2644 # 1. if the package is installed by a user who cannot write `.'
2645 # make install will fail,
2646 # 2. the above comment should most certainly read
2647 # $(mkdir_p) $(DESTDIR)$(somedir)
2648 # so it does not work when $(somedir) is undefined and
2649 # $(DESTDIR) is not.
2650 # To support the latter case, we have to write
2651 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2652 # so the `.' trick is pointless.
2653 mkdir_p
='mkdir -p --'
2655 # On NextStep and OpenStep, the `mkdir' command does not
2656 # recognize any option. It will interpret all options as
2657 # directories to create, and then abort because `.' already
2659 for d
in .
/-p .
/--version;
2661 test -d $d && rmdir $d
2663 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2664 if test -f "$ac_aux_dir/mkinstalldirs"; then
2665 mkdir_p
='$(mkinstalldirs)'
2667 mkdir_p
='$(install_sh) -d'
2671 for ac_prog
in gawk mawk nawk
awk
2673 # Extract the first word of "$ac_prog", so it can be a program name with args.
2674 set dummy
$ac_prog; ac_word
=$2
2675 echo "$as_me:$LINENO: checking for $ac_word" >&5
2676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2677 if test "${ac_cv_prog_AWK+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 if test -n "$AWK"; then
2681 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2687 test -z "$as_dir" && as_dir
=.
2688 for ac_exec_ext
in '' $ac_executable_extensions; do
2689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2690 ac_cv_prog_AWK
="$ac_prog"
2691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 if test -n "$AWK"; then
2701 echo "$as_me:$LINENO: result: $AWK" >&5
2702 echo "${ECHO_T}$AWK" >&6
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2708 test -n "$AWK" && break
2711 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2712 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2713 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2714 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2715 echo $ECHO_N "(cached) $ECHO_C" >&6
2717 cat >conftest.
make <<\_ACEOF
2719 @
echo 'ac_maketemp="$(MAKE)"'
2721 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2722 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2723 if test -n "$ac_maketemp"; then
2724 eval ac_cv_prog_make_
${ac_make}_set
=yes
2726 eval ac_cv_prog_make_
${ac_make}_set
=no
2730 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2731 echo "$as_me:$LINENO: result: yes" >&5
2732 echo "${ECHO_T}yes" >&6
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2737 SET_MAKE
="MAKE=${MAKE-make}"
2740 rm -rf .tst
2>/dev
/null
2741 mkdir .tst
2>/dev
/null
2742 if test -d .tst
; then
2747 rmdir .tst
2>/dev
/null
2749 DEPDIR
="${am__leading_dot}deps"
2751 ac_config_commands
="$ac_config_commands depfiles"
2754 am_make
=${MAKE-make}
2755 cat > confinc
<< 'END'
2760 # If we don't find an include directive, just comment out the code.
2761 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2762 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2766 # First try GNU make style include.
2767 echo "include confinc" > confmf
2768 # We grep out `Entering directory' and `Leaving directory'
2769 # messages which can occur if `w' ends up in MAKEFLAGS.
2770 # In particular we don't look at `^make:' because GNU make might
2771 # be invoked under some other name (usually "gmake"), in which
2772 # case it prints its new name instead of `make'.
2773 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2778 # Now try BSD make style include.
2779 if test "$am__include" = "#"; then
2780 echo '.include "confinc"' > confmf
2781 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2782 am__include
=.include
2789 echo "$as_me:$LINENO: result: $_am_result" >&5
2790 echo "${ECHO_T}$_am_result" >&6
2791 rm -f confinc confmf
2793 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2794 if test "${enable_dependency_tracking+set}" = set; then
2795 enableval
="$enable_dependency_tracking"
2798 if test "x$enable_dependency_tracking" != xno
; then
2799 am_depcomp
="$ac_aux_dir/depcomp"
2804 if test "x$enable_dependency_tracking" != xno; then
2814 # test to see if srcdir already configured
2815 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2816 test -f $srcdir/config.status
; then
2817 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2818 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2819 { (exit 1); exit 1; }; }
2822 # test whether we have cygpath
2823 if test -z "$CYGPATH_W"; then
2824 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2825 CYGPATH_W
='cygpath -w'
2832 # Define the identity of the package.
2834 VERSION
=${BFD_VERSION}
2837 cat >>confdefs.h
<<_ACEOF
2838 #define PACKAGE "$PACKAGE"
2842 cat >>confdefs.h
<<_ACEOF
2843 #define VERSION "$VERSION"
2846 # Some tools Automake needs.
2848 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2851 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2854 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2857 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2860 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2862 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2864 # Installed binaries are usually stripped using `strip' when the user
2865 # run `make install-strip'. However `strip' might not be the right
2866 # tool to use in cross-compilation environments, therefore Automake
2867 # will honor the `STRIP' environment variable to overrule this program.
2868 if test "$cross_compiling" != no
; then
2869 if test -n "$ac_tool_prefix"; then
2870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2871 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2872 echo "$as_me:$LINENO: checking for $ac_word" >&5
2873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2874 if test "${ac_cv_prog_STRIP+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 if test -n "$STRIP"; then
2878 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir
=.
2885 for ac_exec_ext
in '' $ac_executable_extensions; do
2886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2896 STRIP
=$ac_cv_prog_STRIP
2897 if test -n "$STRIP"; then
2898 echo "$as_me:$LINENO: result: $STRIP" >&5
2899 echo "${ECHO_T}$STRIP" >&6
2901 echo "$as_me:$LINENO: result: no" >&5
2902 echo "${ECHO_T}no" >&6
2906 if test -z "$ac_cv_prog_STRIP"; then
2908 # Extract the first word of "strip", so it can be a program name with args.
2909 set dummy strip
; ac_word
=$2
2910 echo "$as_me:$LINENO: checking for $ac_word" >&5
2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 if test -n "$ac_ct_STRIP"; then
2916 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir
=.
2923 for ac_exec_ext
in '' $ac_executable_extensions; do
2924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2925 ac_cv_prog_ac_ct_STRIP
="strip"
2926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2935 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2936 if test -n "$ac_ct_STRIP"; then
2937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2938 echo "${ECHO_T}$ac_ct_STRIP" >&6
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2946 STRIP
="$ac_cv_prog_STRIP"
2950 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2952 # We need awk for the "check" target. The system "awk" is bad on
2954 # Always define AMTAR for backward compatibility.
2956 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2958 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2963 depcc
="$CC" am_compiler_list
=
2965 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2966 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2967 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2971 # We make a subdir and do the tests there. Otherwise we can end up
2972 # making bogus files that we don't know about and never remove. For
2973 # instance it was reported that on HP-UX the gcc test will end up
2974 # making a dummy file named `D' -- because `-MD' means `put the output
2977 # Copy depcomp to subdir because otherwise we won't find it if we're
2978 # using a relative directory.
2979 cp "$am_depcomp" conftest.dir
2981 # We will build objects and dependencies in a subdirectory because
2982 # it helps to detect inapplicable dependency modes. For instance
2983 # both Tru64's cc and ICC support -MD to output dependencies as a
2984 # side effect of compilation, but ICC will put the dependencies in
2985 # the current directory while Tru64 will put them in the object
2989 am_cv_CC_dependencies_compiler_type
=none
2990 if test "$am_compiler_list" = ""; then
2991 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2993 for depmode
in $am_compiler_list; do
2994 # Setup a source with many dependencies, because some compilers
2995 # like to wrap large dependency lists on column 80 (with \), and
2996 # we should not choose a depcomp mode which is confused by this.
2998 # We need to recreate these files for each test, as the compiler may
2999 # overwrite some of them when testing with obscure command lines.
3000 # This happens at least with the AIX C compiler.
3002 for i
in 1 2 3 4 5 6; do
3003 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3004 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3005 # Solaris 8's {/usr,}/bin/sh.
3006 touch sub
/conftst
$i.h
3008 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3012 # after this tag, mechanisms are not by side-effect, so they'll
3013 # only be used when explicitly requested
3014 if test "x$enable_dependency_tracking" = xyes
; then
3022 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3023 # mode. It turns out that the SunPro C++ compiler does not properly
3024 # handle `-M -o', and we need to detect this.
3025 if depmode
=$depmode \
3026 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3027 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3028 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3029 >/dev
/null
2>conftest.err
&&
3030 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3031 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3032 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3033 # icc doesn't choke on unknown options, it will just issue warnings
3034 # or remarks (even with -Werror). So we grep stderr for any message
3035 # that says an option was ignored or not supported.
3036 # When given -MP, icc 7.0 and 7.1 complain thusly:
3037 # icc: Command line warning: ignoring option '-M'; no argument required
3038 # The diagnosis changed in icc 8.0:
3039 # icc: Command line remark: option '-MP' not supported
3040 if (grep 'ignoring option' conftest.err ||
3041 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3042 am_cv_CC_dependencies_compiler_type
=$depmode
3051 am_cv_CC_dependencies_compiler_type
=none
3055 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3056 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3057 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3062 test "x$enable_dependency_tracking" != xno \
3063 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3065 am__fastdepCC_FALSE
='#'
3067 am__fastdepCC_TRUE
='#'
3068 am__fastdepCC_FALSE
=
3074 # Check whether --enable-shared or --disable-shared was given.
3075 if test "${enable_shared+set}" = set; then
3076 enableval
="$enable_shared"
3077 p
=${PACKAGE-default}
3079 yes) enable_shared
=yes ;;
3080 no
) enable_shared
=no
;;
3083 # Look at the argument we got. We use all the common list separators.
3084 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3085 for pkg
in $enableval; do
3086 if test "X$pkg" = "X$p"; then
3096 # Check whether --enable-static or --disable-static was given.
3097 if test "${enable_static+set}" = set; then
3098 enableval
="$enable_static"
3099 p
=${PACKAGE-default}
3101 yes) enable_static
=yes ;;
3102 no
) enable_static
=no
;;
3105 # Look at the argument we got. We use all the common list separators.
3106 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3107 for pkg
in $enableval; do
3108 if test "X$pkg" = "X$p"; then
3118 # Check whether --enable-fast-install or --disable-fast-install was given.
3119 if test "${enable_fast_install+set}" = set; then
3120 enableval
="$enable_fast_install"
3121 p
=${PACKAGE-default}
3123 yes) enable_fast_install
=yes ;;
3124 no
) enable_fast_install
=no
;;
3126 enable_fast_install
=no
3127 # Look at the argument we got. We use all the common list separators.
3128 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3129 for pkg
in $enableval; do
3130 if test "X$pkg" = "X$p"; then
3131 enable_fast_install
=yes
3138 enable_fast_install
=yes
3141 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3142 if test "${with_gnu_ld+set}" = set; then
3143 withval
="$with_gnu_ld"
3144 test "$withval" = no || with_gnu_ld
=yes
3149 if test "$GCC" = yes; then
3150 # Check if gcc -print-prog-name=ld gives a path.
3151 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3152 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3155 # gcc leaves a trailing carriage return which upsets mingw
3156 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3158 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3161 # Accept absolute paths.
3162 [\\/]* |
[A-Za-z
]:[\\/]*)
3163 re_direlt
='/[^/][^/]*/\.\./'
3164 # Canonicalize the path of ld
3165 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3166 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3167 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3169 test -z "$LD" && LD
="$ac_prog"
3172 # If it fails, then pretend we aren't using GCC.
3176 # If it is relative, then search for the first ld in PATH.
3180 elif test "$with_gnu_ld" = yes; then
3181 echo "$as_me:$LINENO: checking for GNU ld" >&5
3182 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3184 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3185 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3187 if test "${lt_cv_path_LD+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 if test -z "$LD"; then
3191 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3192 for ac_dir
in $PATH; do
3193 test -z "$ac_dir" && ac_dir
=.
3194 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3195 lt_cv_path_LD
="$ac_dir/$ac_prog"
3196 # Check to see if the program is GNU ld. I'd rather use --version,
3197 # but apparently some GNU ld's only accept -v.
3198 # Break only if it was the GNU/non-GNU ld that we prefer.
3199 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3200 test "$with_gnu_ld" != no
&& break
3202 test "$with_gnu_ld" != yes && break
3208 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3213 if test -n "$LD"; then
3214 echo "$as_me:$LINENO: result: $LD" >&5
3215 echo "${ECHO_T}$LD" >&6
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3220 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3221 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3222 { (exit 1); exit 1; }; }
3223 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3224 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3225 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3228 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3229 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3230 lt_cv_prog_gnu_ld
=yes
3232 lt_cv_prog_gnu_ld
=no
3235 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3236 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3237 with_gnu_ld
=$lt_cv_prog_gnu_ld
3240 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3241 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3242 if test "${lt_cv_ld_reload_flag+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 lt_cv_ld_reload_flag
='-r'
3247 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3248 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3249 reload_flag
=$lt_cv_ld_reload_flag
3250 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3252 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3253 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3254 if test "${lt_cv_path_NM+set}" = set; then
3255 echo $ECHO_N "(cached) $ECHO_C" >&6
3257 if test -n "$NM"; then
3258 # Let the user override the test.
3261 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3262 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3263 test -z "$ac_dir" && ac_dir
=.
3264 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3265 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3266 # Check to see if the nm accepts a BSD-compat flag.
3267 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3268 # nm: unknown option "B" ignored
3269 # Tru64's nm complains that /dev/null is an invalid object file
3270 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3271 lt_cv_path_NM
="$tmp_nm -B"
3273 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3274 lt_cv_path_NM
="$tmp_nm -p"
3277 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3278 continue # so that we can try to find one that supports BSD flags
3283 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3288 echo "$as_me:$LINENO: result: $NM" >&5
3289 echo "${ECHO_T}$NM" >&6
3291 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3292 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3294 if test "$LN_S" = "ln -s"; then
3295 echo "$as_me:$LINENO: result: yes" >&5
3296 echo "${ECHO_T}yes" >&6
3298 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3299 echo "${ECHO_T}no, using $LN_S" >&6
3302 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3303 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3304 if test "${lt_cv_deplibs_check_method+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3308 lt_cv_file_magic_test_file
=
3309 lt_cv_deplibs_check_method
='unknown'
3310 # Need to set the preceding variable on all platforms that support
3311 # interlibrary dependencies.
3312 # 'none' -- dependencies not supported.
3313 # `unknown' -- same as none, but documents that we really don't know.
3314 # 'pass_all' -- all dependencies passed with no checks.
3315 # 'test_compile' -- check by making test program.
3316 # 'file_magic [regex]' -- check by looking for files in library path
3317 # which responds to the $file_magic_cmd with a given egrep regex.
3318 # If you have `file' or equivalent on your system and you're not sure
3319 # whether `pass_all' will *always* work, you probably want this one.
3323 lt_cv_deplibs_check_method
=pass_all
3327 lt_cv_deplibs_check_method
=pass_all
3331 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3332 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3333 lt_cv_file_magic_test_file
=/shlib
/libc.so
3336 cygwin
* | mingw
* |pw32
*)
3337 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3338 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3341 darwin
* | rhapsody
*)
3342 # this will be overwritten by pass_all, but leave it in just in case
3343 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3344 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3346 rhapsody
* | darwin1.012
)
3347 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3350 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3353 lt_cv_deplibs_check_method
=pass_all
3356 freebsd
* | kfreebsd
*-gnu)
3357 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3360 # Not sure whether the presence of OpenBSD here was a mistake.
3361 # Let's accept both of them until this is cleared up.
3362 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3363 lt_cv_file_magic_cmd
=/usr
/bin
/file
3364 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3368 lt_cv_deplibs_check_method
=pass_all
3373 lt_cv_deplibs_check_method
=pass_all
3379 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3380 lt_cv_file_magic_cmd
=/usr
/bin
/file
3381 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3384 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3385 lt_cv_file_magic_cmd
=/usr
/bin
/file
3386 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3394 # this will be overridden with pass_all, but let us keep it just in case
3395 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3399 *-32|
*"-32 ") libmagic
=32-bit;;
3400 *-n32|
*"-n32 ") libmagic
=N32
;;
3401 *-64|
*"-64 ") libmagic
=64-bit;;
3402 *) libmagic
=never-match
;;
3404 # this will be overridden with pass_all, but let us keep it just in case
3405 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3408 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3409 lt_cv_deplibs_check_method
=pass_all
3412 # This must be Linux ELF.
3414 lt_cv_deplibs_check_method
=pass_all
3417 netbsd
* | knetbsd
*-gnu)
3418 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3419 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3421 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3426 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3427 lt_cv_file_magic_cmd
=/usr
/bin
/file
3428 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3431 osf3
* | osf4
* | osf5
*)
3432 # this will be overridden with pass_all, but let us keep it just in case
3433 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3434 lt_cv_file_magic_test_file
=/shlib
/libc.so
3435 lt_cv_deplibs_check_method
=pass_all
3439 lt_cv_deplibs_check_method
=pass_all
3443 lt_cv_deplibs_check_method
=pass_all
3444 lt_cv_file_magic_test_file
=/lib
/libc.so
3447 sysv5uw
[78]* | sysv4
*uw2
*)
3448 lt_cv_deplibs_check_method
=pass_all
3451 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3452 case $host_vendor in
3454 lt_cv_deplibs_check_method
=pass_all
3457 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]'
3458 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3465 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3466 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3467 file_magic_cmd
=$lt_cv_file_magic_cmd
3468 deplibs_check_method
=$lt_cv_deplibs_check_method
3473 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3475 # find the maximum length of command line arguments
3476 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3477 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3478 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3486 # On DJGPP, this test can blow up pretty badly due to problems in libc
3487 # (any single argument exceeding 2000 bytes causes a buffer overrun
3488 # during glob expansion). Even if it were fixed, the result of this
3489 # check would be larger than it should be.
3490 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3494 # On Win9x/ME, this test blows up -- it succeeds, but takes
3495 # about 5 minutes as the teststring grows exponentially.
3496 # Worse, since 9x/ME are not pre-emptively multitasking,
3497 # you end up with a "frozen" computer, even though with patience
3498 # the test eventually succeeds (with a max line length of 256k).
3499 # Instead, let's just punt: use the minimum linelength reported by
3500 # all of the supported platforms: 8192 (on NT/2K/XP).
3501 lt_cv_sys_max_cmd_len
=8192;
3505 # On AmigaOS with pdksh, this test takes hours, literally.
3506 # So we just punt and use a minimum line length of 8192.
3507 lt_cv_sys_max_cmd_len
=8192;
3510 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3511 # This has been around since 386BSD, at least. Likely further.
3512 if test -x /sbin
/sysctl
; then
3513 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3514 elif test -x /usr
/sbin
/sysctl
; then
3515 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3517 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3519 # And add a safety zone
3520 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3521 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3527 if test -n "$lt_cv_sys_max_cmd_len" ; then
3528 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3529 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3531 echo "$as_me:$LINENO: result: none" >&5
3532 echo "${ECHO_T}none" >&6
3536 # Only perform the check for file, if the check method requires it
3537 case $deplibs_check_method in
3539 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3540 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3541 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3542 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3543 echo $ECHO_N "(cached) $ECHO_C" >&6
3547 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3550 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3553 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3554 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3555 ac_dummy
="/usr/bin:$PATH"
3556 for ac_dir
in $ac_dummy; do
3557 test -z "$ac_dir" && ac_dir
=.
3558 if test -f $ac_dir/${ac_tool_prefix}file; then
3559 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3560 if test -n "$file_magic_test_file"; then
3561 case $deplibs_check_method in
3563 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3564 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3565 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3566 egrep "$file_magic_regex" > /dev
/null
; then
3571 *** Warning: the command libtool uses to detect shared libraries,
3572 *** $file_magic_cmd, produces output that libtool cannot recognize.
3573 *** The result is that libtool may fail to recognize shared libraries
3574 *** as such. This will affect the creation of libtool libraries that
3575 *** depend on shared libraries, but programs linked with such libtool
3576 *** libraries will work regardless of this problem. Nevertheless, you
3577 *** may want to report the problem to your system manager and/or to
3578 *** bug-libtool@gnu.org
3588 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3593 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3594 if test -n "$MAGIC_CMD"; then
3595 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3596 echo "${ECHO_T}$MAGIC_CMD" >&6
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3602 if test -z "$lt_cv_path_MAGIC_CMD"; then
3603 if test -n "$ac_tool_prefix"; then
3604 echo "$as_me:$LINENO: checking for file" >&5
3605 echo $ECHO_N "checking for file... $ECHO_C" >&6
3606 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3614 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3617 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3618 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3619 ac_dummy
="/usr/bin:$PATH"
3620 for ac_dir
in $ac_dummy; do
3621 test -z "$ac_dir" && ac_dir
=.
3622 if test -f $ac_dir/file; then
3623 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3624 if test -n "$file_magic_test_file"; then
3625 case $deplibs_check_method in
3627 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3628 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3629 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3630 egrep "$file_magic_regex" > /dev
/null
; then
3635 *** Warning: the command libtool uses to detect shared libraries,
3636 *** $file_magic_cmd, produces output that libtool cannot recognize.
3637 *** The result is that libtool may fail to recognize shared libraries
3638 *** as such. This will affect the creation of libtool libraries that
3639 *** depend on shared libraries, but programs linked with such libtool
3640 *** libraries will work regardless of this problem. Nevertheless, you
3641 *** may want to report the problem to your system manager and/or to
3642 *** bug-libtool@gnu.org
3652 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3657 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3658 if test -n "$MAGIC_CMD"; then
3659 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3660 echo "${ECHO_T}$MAGIC_CMD" >&6
3662 echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6
3675 if test -n "$ac_tool_prefix"; then
3676 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3677 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3678 echo "$as_me:$LINENO: checking for $ac_word" >&5
3679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3680 if test "${ac_cv_prog_RANLIB+set}" = set; then
3681 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 if test -n "$RANLIB"; then
3684 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3690 test -z "$as_dir" && as_dir
=.
3691 for ac_exec_ext
in '' $ac_executable_extensions; do
3692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 RANLIB
=$ac_cv_prog_RANLIB
3703 if test -n "$RANLIB"; then
3704 echo "$as_me:$LINENO: result: $RANLIB" >&5
3705 echo "${ECHO_T}$RANLIB" >&6
3707 echo "$as_me:$LINENO: result: no" >&5
3708 echo "${ECHO_T}no" >&6
3712 if test -z "$ac_cv_prog_RANLIB"; then
3713 ac_ct_RANLIB
=$RANLIB
3714 # Extract the first word of "ranlib", so it can be a program name with args.
3715 set dummy ranlib
; ac_word
=$2
3716 echo "$as_me:$LINENO: checking for $ac_word" >&5
3717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3718 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 if test -n "$ac_ct_RANLIB"; then
3722 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3728 test -z "$as_dir" && as_dir
=.
3729 for ac_exec_ext
in '' $ac_executable_extensions; do
3730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3731 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3738 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3741 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3742 if test -n "$ac_ct_RANLIB"; then
3743 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3744 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3746 echo "$as_me:$LINENO: result: no" >&5
3747 echo "${ECHO_T}no" >&6
3750 RANLIB
=$ac_ct_RANLIB
3752 RANLIB
="$ac_cv_prog_RANLIB"
3755 if test -n "$ac_tool_prefix"; then
3756 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3757 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3758 echo "$as_me:$LINENO: checking for $ac_word" >&5
3759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3760 if test "${ac_cv_prog_STRIP+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 if test -n "$STRIP"; then
3764 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3770 test -z "$as_dir" && as_dir
=.
3771 for ac_exec_ext
in '' $ac_executable_extensions; do
3772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3782 STRIP
=$ac_cv_prog_STRIP
3783 if test -n "$STRIP"; then
3784 echo "$as_me:$LINENO: result: $STRIP" >&5
3785 echo "${ECHO_T}$STRIP" >&6
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3792 if test -z "$ac_cv_prog_STRIP"; then
3794 # Extract the first word of "strip", so it can be a program name with args.
3795 set dummy strip
; ac_word
=$2
3796 echo "$as_me:$LINENO: checking for $ac_word" >&5
3797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3798 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 if test -n "$ac_ct_STRIP"; then
3802 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir
=.
3809 for ac_exec_ext
in '' $ac_executable_extensions; do
3810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_ac_ct_STRIP
="strip"
3812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3821 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3822 if test -n "$ac_ct_STRIP"; then
3823 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3824 echo "${ECHO_T}$ac_ct_STRIP" >&6
3826 echo "$as_me:$LINENO: result: no" >&5
3827 echo "${ECHO_T}no" >&6
3832 STRIP
="$ac_cv_prog_STRIP"
3836 # Check for any special flags to pass to ltconfig.
3837 libtool_flags
="--cache-file=$cache_file"
3838 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3839 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3840 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3841 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3842 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3845 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3846 if test "${enable_libtool_lock+set}" = set; then
3847 enableval
="$enable_libtool_lock"
3850 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3851 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3854 # Check whether --with-pic or --without-pic was given.
3855 if test "${with_pic+set}" = set; then
3861 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3862 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3864 # Some flags need to be propagated to the compiler or linker for good
3868 # Find out which ABI we are using.
3869 echo '#line 3869 "configure"' > conftest.
$ac_ext
3870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3871 (eval $ac_compile) 2>&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); }; then
3875 if test "$lt_cv_prog_gnu_ld" = yes; then
3876 case `/usr/bin/file conftest.$ac_objext` in
3878 LD
="${LD-ld} -melf32bsmip"
3881 LD
="${LD-ld} -melf32bmipn32"
3884 LD
="${LD-ld} -melf64bmip"
3888 case `/usr/bin/file conftest.$ac_objext` in
3905 # Find out which ABI we are using.
3906 echo 'int i;' > conftest.
$ac_ext
3907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3908 (eval $ac_compile) 2>&5
3910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); }; then
3912 case "`/usr/bin/file conftest.o`" in
3924 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3925 # Find out which ABI we are using.
3926 echo 'int i;' > conftest.
$ac_ext
3927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3928 (eval $ac_compile) 2>&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); }; then
3932 case "`/usr/bin/file conftest.o`" in
3936 LD
="${LD-ld} -m elf_i386"
3938 ppc64-
*linux
*|powerpc64-
*linux
*)
3939 LD
="${LD-ld} -m elf32ppclinux"
3942 LD
="${LD-ld} -m elf_s390"
3945 LD
="${LD-ld} -m elf32_sparc"
3952 LD
="${LD-ld} -m elf_x86_64"
3954 ppc
*-*linux
*|powerpc
*-*linux
*)
3955 LD
="${LD-ld} -m elf64ppc"
3958 LD
="${LD-ld} -m elf64_s390"
3961 LD
="${LD-ld} -m elf64_sparc"
3971 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3972 SAVE_CFLAGS
="$CFLAGS"
3973 CFLAGS
="$CFLAGS -belf"
3974 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3975 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3976 if test "${lt_cv_cc_needs_belf+set}" = set; then
3977 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 ac_cpp
='$CPP $CPPFLAGS'
3983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3987 cat >conftest.
$ac_ext <<_ACEOF
3990 cat confdefs.h
>>conftest.
$ac_ext
3991 cat >>conftest.
$ac_ext <<_ACEOF
3992 /* end confdefs.h. */
4002 rm -f conftest.
$ac_objext conftest
$ac_exeext
4003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4004 (eval $ac_link) 2>conftest.er1
4006 grep -v '^ *+' conftest.er1
>conftest.err
4008 cat conftest.err
>&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } &&
4011 { ac_try
='test -z "$ac_c_werror_flag"
4012 || test ! -s conftest.err'
4013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); }; } &&
4018 { ac_try
='test -s conftest$ac_exeext'
4019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); }; }; then
4024 lt_cv_cc_needs_belf
=yes
4026 echo "$as_me: failed program was:" >&5
4027 sed 's/^/| /' conftest.
$ac_ext >&5
4029 lt_cv_cc_needs_belf
=no
4031 rm -f conftest.err conftest.
$ac_objext \
4032 conftest
$ac_exeext conftest.
$ac_ext
4034 ac_cpp
='$CPP $CPPFLAGS'
4035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4040 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4041 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4042 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4043 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4044 CFLAGS
="$SAVE_CFLAGS"
4052 # Save cache, so that ltconfig can load it
4053 cat >confcache
<<\_ACEOF
4054 # This file is a shell script that caches the results of configure
4055 # tests run on this system so they can be shared between configure
4056 # scripts and configure runs, see configure's option --config-cache.
4057 # It is not useful on other systems. If it contains results you don't
4058 # want to keep, you may remove or edit it.
4060 # config.status only pays attention to the cache file if you give it
4061 # the --recheck option to rerun configure.
4063 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4064 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4069 # The following way of writing the cache mishandles newlines in values,
4070 # but we know of no workaround that is simple, portable, and efficient.
4071 # So, don't put newlines in cache variables' values.
4072 # Ultrix sh set writes to stderr and can't be redirected directly,
4073 # and sets the high bit in the cache file unless we assign to the vars.
4076 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4078 # `set' does not quote correctly, so add quotes (double-quote
4079 # substitution turns \\\\ into \\, and sed turns \\ into \).
4082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4085 # `set' quotes correctly as required by POSIX, so do not add quotes.
4087 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4096 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4098 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4099 if test -w $cache_file; then
4100 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4101 cat confcache
>$cache_file
4103 echo "not updating unwritable cache $cache_file"
4108 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4109 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4110 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4111 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4112 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4113 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4114 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4115 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4116 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4117 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4118 echo "$as_me: error: libtool configure failed" >&2;}
4119 { (exit 1); exit 1; }; }
4121 # Reload cache, that may have been modified by ltconfig
4122 if test -r "$cache_file"; then
4123 # Some versions of bash will fail to source /dev/null (special
4124 # files actually), so we avoid doing that.
4125 if test -f "$cache_file"; then
4126 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4127 echo "$as_me: loading cache $cache_file" >&6;}
4129 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4130 *) . .
/$cache_file;;
4134 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4135 echo "$as_me: creating cache $cache_file" >&6;}
4140 # This can be used to rebuild libtool when needed
4141 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4143 # Always use our own libtool.
4144 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4146 # Redirect the config.log output again, so that the ltconfig log is not
4147 # clobbered by the next message.
4148 exec 5>>.
/config.log
4156 ac_config_headers
="$ac_config_headers gconfig.h:gconfig.in"
4160 ac_cpp
='$CPP $CPPFLAGS'
4161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4164 if test -n "$ac_tool_prefix"; then
4165 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4166 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4167 echo "$as_me:$LINENO: checking for $ac_word" >&5
4168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4169 if test "${ac_cv_prog_CC+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 if test -n "$CC"; then
4173 ac_cv_prog_CC
="$CC" # Let the user override the test.
4175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4179 test -z "$as_dir" && as_dir
=.
4180 for ac_exec_ext
in '' $ac_executable_extensions; do
4181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 if test -n "$CC"; then
4193 echo "$as_me:$LINENO: result: $CC" >&5
4194 echo "${ECHO_T}$CC" >&6
4196 echo "$as_me:$LINENO: result: no" >&5
4197 echo "${ECHO_T}no" >&6
4201 if test -z "$ac_cv_prog_CC"; then
4203 # Extract the first word of "gcc", so it can be a program name with args.
4204 set dummy gcc
; ac_word
=$2
4205 echo "$as_me:$LINENO: checking for $ac_word" >&5
4206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4207 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4208 echo $ECHO_N "(cached) $ECHO_C" >&6
4210 if test -n "$ac_ct_CC"; then
4211 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4217 test -z "$as_dir" && as_dir
=.
4218 for ac_exec_ext
in '' $ac_executable_extensions; do
4219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4220 ac_cv_prog_ac_ct_CC
="gcc"
4221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4229 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4230 if test -n "$ac_ct_CC"; then
4231 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4232 echo "${ECHO_T}$ac_ct_CC" >&6
4234 echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6
4243 if test -z "$CC"; then
4244 if test -n "$ac_tool_prefix"; then
4245 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4246 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4247 echo "$as_me:$LINENO: checking for $ac_word" >&5
4248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4249 if test "${ac_cv_prog_CC+set}" = set; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4252 if test -n "$CC"; then
4253 ac_cv_prog_CC
="$CC" # Let the user override the test.
4255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4259 test -z "$as_dir" && as_dir
=.
4260 for ac_exec_ext
in '' $ac_executable_extensions; do
4261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 if test -n "$CC"; then
4273 echo "$as_me:$LINENO: result: $CC" >&5
4274 echo "${ECHO_T}$CC" >&6
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4281 if test -z "$ac_cv_prog_CC"; then
4283 # Extract the first word of "cc", so it can be a program name with args.
4284 set dummy cc
; ac_word
=$2
4285 echo "$as_me:$LINENO: checking for $ac_word" >&5
4286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4287 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4288 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 if test -n "$ac_ct_CC"; then
4291 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_exec_ext
in '' $ac_executable_extensions; do
4299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4300 ac_cv_prog_ac_ct_CC
="cc"
4301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4310 if test -n "$ac_ct_CC"; then
4311 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4312 echo "${ECHO_T}$ac_ct_CC" >&6
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4324 if test -z "$CC"; then
4325 # Extract the first word of "cc", so it can be a program name with args.
4326 set dummy cc
; ac_word
=$2
4327 echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4329 if test "${ac_cv_prog_CC+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 if test -n "$CC"; then
4333 ac_cv_prog_CC
="$CC" # Let the user override the test.
4336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4340 test -z "$as_dir" && as_dir
=.
4341 for ac_exec_ext
in '' $ac_executable_extensions; do
4342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4343 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4344 ac_prog_rejected
=yes
4348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 if test $ac_prog_rejected = yes; then
4355 # We found a bogon in the path, so make sure we never use it.
4356 set dummy
$ac_cv_prog_CC
4358 if test $# != 0; then
4359 # We chose a different compiler from the bogus one.
4360 # However, it has the same basename, so the bogon will be chosen
4361 # first if we set CC to just the basename; use the full file name.
4363 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4369 if test -n "$CC"; then
4370 echo "$as_me:$LINENO: result: $CC" >&5
4371 echo "${ECHO_T}$CC" >&6
4373 echo "$as_me:$LINENO: result: no" >&5
4374 echo "${ECHO_T}no" >&6
4378 if test -z "$CC"; then
4379 if test -n "$ac_tool_prefix"; then
4382 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4383 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4384 echo "$as_me:$LINENO: checking for $ac_word" >&5
4385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4386 if test "${ac_cv_prog_CC+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 if test -n "$CC"; then
4390 ac_cv_prog_CC
="$CC" # Let the user override the test.
4392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4396 test -z "$as_dir" && as_dir
=.
4397 for ac_exec_ext
in '' $ac_executable_extensions; do
4398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4399 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4409 if test -n "$CC"; then
4410 echo "$as_me:$LINENO: result: $CC" >&5
4411 echo "${ECHO_T}$CC" >&6
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4417 test -n "$CC" && break
4420 if test -z "$CC"; then
4424 # Extract the first word of "$ac_prog", so it can be a program name with args.
4425 set dummy
$ac_prog; ac_word
=$2
4426 echo "$as_me:$LINENO: checking for $ac_word" >&5
4427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4431 if test -n "$ac_ct_CC"; then
4432 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir
=.
4439 for ac_exec_ext
in '' $ac_executable_extensions; do
4440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_prog_ac_ct_CC
="$ac_prog"
4442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4450 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4451 if test -n "$ac_ct_CC"; then
4452 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4453 echo "${ECHO_T}$ac_ct_CC" >&6
4455 echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6
4459 test -n "$ac_ct_CC" && break
4468 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4469 See \`config.log' for more details." >&5
4470 echo "$as_me: error: no acceptable C compiler found in \$PATH
4471 See \`config.log' for more details." >&2;}
4472 { (exit 1); exit 1; }; }
4474 # Provide some information about the compiler.
4475 echo "$as_me:$LINENO:" \
4476 "checking for C compiler version" >&5
4477 ac_compiler
=`set X $ac_compile; echo $2`
4478 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4479 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); }
4483 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4484 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }
4488 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4489 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); }
4494 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4495 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4496 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 cat >conftest.
$ac_ext <<_ACEOF
4502 cat confdefs.h
>>conftest.
$ac_ext
4503 cat >>conftest.
$ac_ext <<_ACEOF
4504 /* end confdefs.h. */
4517 rm -f conftest.
$ac_objext
4518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4519 (eval $ac_compile) 2>conftest.er1
4521 grep -v '^ *+' conftest.er1
>conftest.err
4523 cat conftest.err
>&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } &&
4526 { ac_try
='test -z "$ac_c_werror_flag"
4527 || test ! -s conftest.err'
4528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); }; } &&
4533 { ac_try
='test -s conftest.$ac_objext'
4534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); }; }; then
4541 echo "$as_me: failed program was:" >&5
4542 sed 's/^/| /' conftest.
$ac_ext >&5
4546 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4547 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4550 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4551 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4552 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4553 ac_test_CFLAGS
=${CFLAGS+set}
4554 ac_save_CFLAGS
=$CFLAGS
4556 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4557 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4558 if test "${ac_cv_prog_cc_g+set}" = set; then
4559 echo $ECHO_N "(cached) $ECHO_C" >&6
4561 cat >conftest.
$ac_ext <<_ACEOF
4564 cat confdefs.h
>>conftest.
$ac_ext
4565 cat >>conftest.
$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4576 rm -f conftest.
$ac_objext
4577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4578 (eval $ac_compile) 2>conftest.er1
4580 grep -v '^ *+' conftest.er1
>conftest.err
4582 cat conftest.err
>&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); } &&
4585 { ac_try
='test -z "$ac_c_werror_flag"
4586 || test ! -s conftest.err'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; } &&
4592 { ac_try
='test -s conftest.$ac_objext'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; }; then
4600 echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.
$ac_ext >&5
4605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4607 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4608 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4609 if test "$ac_test_CFLAGS" = set; then
4610 CFLAGS
=$ac_save_CFLAGS
4611 elif test $ac_cv_prog_cc_g = yes; then
4612 if test "$GCC" = yes; then
4618 if test "$GCC" = yes; then
4624 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4625 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4626 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 ac_cv_prog_cc_stdc
=no
4631 cat >conftest.
$ac_ext <<_ACEOF
4634 cat confdefs.h
>>conftest.
$ac_ext
4635 cat >>conftest.
$ac_ext <<_ACEOF
4636 /* end confdefs.h. */
4639 #include <sys/types.h>
4640 #include <sys/stat.h>
4641 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4642 struct buf { int x; };
4643 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4644 static char *e (p, i)
4650 static char *f (char * (*g) (char **, int), char **p, ...)
4655 s = g (p, va_arg (v,int));
4660 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4661 function prototypes and stuff, but not '\xHH' hex character constants.
4662 These don't provoke an error unfortunately, instead are silently treated
4663 as 'x'. The following induces an error, until -std1 is added to get
4664 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4665 array size at least. It's necessary to write '\x00'==0 to get something
4666 that's true only with -std1. */
4667 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4669 int test (int i, double x);
4670 struct s1 {int (*f) (int a);};
4671 struct s2 {int (*f) (double a);};
4672 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4678 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4683 # Don't try gcc -ansi; that turns off useful extensions and
4684 # breaks some systems' header files.
4685 # AIX -qlanglvl=ansi
4686 # Ultrix and OSF/1 -std1
4687 # HP-UX 10.20 and later -Ae
4688 # HP-UX older versions -Aa -D_HPUX_SOURCE
4689 # SVR4 -Xc -D__EXTENSIONS__
4690 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4692 CC
="$ac_save_CC $ac_arg"
4693 rm -f conftest.
$ac_objext
4694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4695 (eval $ac_compile) 2>conftest.er1
4697 grep -v '^ *+' conftest.er1
>conftest.err
4699 cat conftest.err
>&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); } &&
4702 { ac_try
='test -z "$ac_c_werror_flag"
4703 || test ! -s conftest.err'
4704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); }; } &&
4709 { ac_try
='test -s conftest.$ac_objext'
4710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); }; }; then
4715 ac_cv_prog_cc_stdc
=$ac_arg
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.
$ac_ext >&5
4722 rm -f conftest.err conftest.
$ac_objext
4724 rm -f conftest.
$ac_ext conftest.
$ac_objext
4729 case "x$ac_cv_prog_cc_stdc" in
4731 echo "$as_me:$LINENO: result: none needed" >&5
4732 echo "${ECHO_T}none needed" >&6 ;;
4734 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4735 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4736 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4739 # Some people use a C++ compiler to compile C. Since we use `exit',
4740 # in C++ we need to declare it. In case someone uses the same compiler
4741 # for both compiling C and C++ we need to have the C++ compiler decide
4742 # the declaration of exit, since it's the most demanding environment.
4743 cat >conftest.
$ac_ext <<_ACEOF
4748 rm -f conftest.
$ac_objext
4749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4750 (eval $ac_compile) 2>conftest.er1
4752 grep -v '^ *+' conftest.er1
>conftest.err
4754 cat conftest.err
>&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); } &&
4757 { ac_try
='test -z "$ac_c_werror_flag"
4758 || test ! -s conftest.err'
4759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); }; } &&
4764 { ac_try
='test -s conftest.$ac_objext'
4765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); }; }; then
4770 for ac_declaration
in \
4772 'extern "C" void std::exit (int) throw (); using std::exit;' \
4773 'extern "C" void std::exit (int); using std::exit;' \
4774 'extern "C" void exit (int) throw ();' \
4775 'extern "C" void exit (int);' \
4778 cat >conftest.
$ac_ext <<_ACEOF
4781 cat confdefs.h
>>conftest.
$ac_ext
4782 cat >>conftest.
$ac_ext <<_ACEOF
4783 /* end confdefs.h. */
4794 rm -f conftest.
$ac_objext
4795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4796 (eval $ac_compile) 2>conftest.er1
4798 grep -v '^ *+' conftest.er1
>conftest.err
4800 cat conftest.err
>&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); } &&
4803 { ac_try
='test -z "$ac_c_werror_flag"
4804 || test ! -s conftest.err'
4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; } &&
4810 { ac_try
='test -s conftest.$ac_objext'
4811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); }; }; then
4818 echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.
$ac_ext >&5
4823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4824 cat >conftest.
$ac_ext <<_ACEOF
4827 cat confdefs.h
>>conftest.
$ac_ext
4828 cat >>conftest.
$ac_ext <<_ACEOF
4829 /* end confdefs.h. */
4839 rm -f conftest.
$ac_objext
4840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4841 (eval $ac_compile) 2>conftest.er1
4843 grep -v '^ *+' conftest.er1
>conftest.err
4845 cat conftest.err
>&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); } &&
4848 { ac_try
='test -z "$ac_c_werror_flag"
4849 || test ! -s conftest.err'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; } &&
4855 { ac_try
='test -s conftest.$ac_objext'
4856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; }; then
4863 echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.
$ac_ext >&5
4867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4870 if test -n "$ac_declaration"; then
4871 echo '#ifdef __cplusplus' >>confdefs.h
4872 echo $ac_declaration >>confdefs.h
4873 echo '#endif' >>confdefs.h
4877 echo "$as_me: failed program was:" >&5
4878 sed 's/^/| /' conftest.
$ac_ext >&5
4881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4883 ac_cpp
='$CPP $CPPFLAGS'
4884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4888 # Find a good install program. We prefer a C program (faster),
4889 # so one script is as good as another. But avoid the broken or
4890 # incompatible versions:
4891 # SysV /etc/install, /usr/sbin/install
4892 # SunOS /usr/etc/install
4893 # IRIX /sbin/install
4895 # AmigaOS /C/install, which installs bootblocks on floppy discs
4896 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4897 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4898 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4899 # OS/2's system install, which has a completely different semantic
4900 # ./install, which can be erroneously created by make from ./install.sh.
4901 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4902 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4903 if test -z "$INSTALL"; then
4904 if test "${ac_cv_path_install+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4911 test -z "$as_dir" && as_dir
=.
4912 # Account for people who put trailing slashes in PATH elements.
4914 .
/ | .
// |
/cC
/* | \
4915 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4916 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4919 # OSF1 and SCO ODT 3.0 have their own names for install.
4920 # Don't use installbsd from OSF since it installs stuff as root
4922 for ac_prog
in ginstall scoinst
install; do
4923 for ac_exec_ext
in '' $ac_executable_extensions; do
4924 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4925 if test $ac_prog = install &&
4926 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4927 # AIX install. It has an incompatible calling convention.
4929 elif test $ac_prog = install &&
4930 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4931 # program-specific install script used by HP pwplus--don't use.
4934 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4946 if test "${ac_cv_path_install+set}" = set; then
4947 INSTALL
=$ac_cv_path_install
4949 # As a last resort, use the slow shell script. We don't cache a
4950 # path for INSTALL within a source directory, because that will
4951 # break other packages using the cache if that directory is
4952 # removed, or if the path is relative.
4953 INSTALL
=$ac_install_sh
4956 echo "$as_me:$LINENO: result: $INSTALL" >&5
4957 echo "${ECHO_T}$INSTALL" >&6
4959 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4960 # It thinks the first close brace ends the variable substitution.
4961 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4963 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4965 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4969 for ac_func
in setmode
4971 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4972 echo "$as_me:$LINENO: checking for $ac_func" >&5
4973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4974 if eval "test \"\${$as_ac_var+set}\" = set"; then
4975 echo $ECHO_N "(cached) $ECHO_C" >&6
4977 cat >conftest.
$ac_ext <<_ACEOF
4980 cat confdefs.h
>>conftest.
$ac_ext
4981 cat >>conftest.
$ac_ext <<_ACEOF
4982 /* end confdefs.h. */
4983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4985 #define $ac_func innocuous_$ac_func
4987 /* System header to define __stub macros and hopefully few prototypes,
4988 which can conflict with char $ac_func (); below.
4989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4990 <limits.h> exists even on freestanding compilers. */
4993 # include <limits.h>
4995 # include <assert.h>
5000 /* Override any gcc2 internal prototype to avoid an error. */
5005 /* We use char because int might match the return type of a gcc2
5006 builtin and then its argument prototype would still apply. */
5008 /* The GNU C library defines this for functions which it implements
5009 to always fail with ENOSYS. Some functions are actually named
5010 something starting with __ and the normal name is an alias. */
5011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5014 char (*f) () = $ac_func;
5023 return f != $ac_func;
5028 rm -f conftest.
$ac_objext conftest
$ac_exeext
5029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5030 (eval $ac_link) 2>conftest.er1
5032 grep -v '^ *+' conftest.er1
>conftest.err
5034 cat conftest.err
>&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); } &&
5037 { ac_try
='test -z "$ac_c_werror_flag"
5038 || test ! -s conftest.err'
5039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; } &&
5044 { ac_try
='test -s conftest$ac_exeext'
5045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); }; }; then
5050 eval "$as_ac_var=yes"
5052 echo "$as_me: failed program was:" >&5
5053 sed 's/^/| /' conftest.
$ac_ext >&5
5055 eval "$as_ac_var=no"
5057 rm -f conftest.err conftest.
$ac_objext \
5058 conftest
$ac_exeext conftest.
$ac_ext
5060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5062 if test `eval echo '${'$as_ac_var'}'` = yes; then
5063 cat >>confdefs.h
<<_ACEOF
5064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5071 ALL_LINGUAS
="fr tr sv es id da pt_BR de vi rw ga"
5072 if test -n "$ac_tool_prefix"; then
5073 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5074 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5075 echo "$as_me:$LINENO: checking for $ac_word" >&5
5076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5077 if test "${ac_cv_prog_RANLIB+set}" = set; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 if test -n "$RANLIB"; then
5081 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5087 test -z "$as_dir" && as_dir
=.
5088 for ac_exec_ext
in '' $ac_executable_extensions; do
5089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5090 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 RANLIB
=$ac_cv_prog_RANLIB
5100 if test -n "$RANLIB"; then
5101 echo "$as_me:$LINENO: result: $RANLIB" >&5
5102 echo "${ECHO_T}$RANLIB" >&6
5104 echo "$as_me:$LINENO: result: no" >&5
5105 echo "${ECHO_T}no" >&6
5109 if test -z "$ac_cv_prog_RANLIB"; then
5110 ac_ct_RANLIB
=$RANLIB
5111 # Extract the first word of "ranlib", so it can be a program name with args.
5112 set dummy ranlib
; ac_word
=$2
5113 echo "$as_me:$LINENO: checking for $ac_word" >&5
5114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5115 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 if test -n "$ac_ct_RANLIB"; then
5119 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5125 test -z "$as_dir" && as_dir
=.
5126 for ac_exec_ext
in '' $ac_executable_extensions; do
5127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5128 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5135 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5138 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5139 if test -n "$ac_ct_RANLIB"; then
5140 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5141 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5143 echo "$as_me:$LINENO: result: no" >&5
5144 echo "${ECHO_T}no" >&6
5147 RANLIB
=$ac_ct_RANLIB
5149 RANLIB
="$ac_cv_prog_RANLIB"
5153 ac_cpp
='$CPP $CPPFLAGS'
5154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5157 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5158 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5159 # On Suns, sometimes $CPP names a directory.
5160 if test -n "$CPP" && test -d "$CPP"; then
5163 if test -z "$CPP"; then
5164 if test "${ac_cv_prog_CPP+set}" = set; then
5165 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 # Double quotes because CPP needs to be expanded
5168 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5171 for ac_c_preproc_warn_flag
in '' yes
5173 # Use a header file that comes with gcc, so configuring glibc
5174 # with a fresh cross-compiler works.
5175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5176 # <limits.h> exists even on freestanding compilers.
5177 # On the NeXT, cc -E runs the code through the compiler's parser,
5178 # not just through cpp. "Syntax error" is here to catch this case.
5179 cat >conftest.
$ac_ext <<_ACEOF
5182 cat confdefs.h
>>conftest.
$ac_ext
5183 cat >>conftest.
$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5186 # include <limits.h>
5188 # include <assert.h>
5192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5193 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5195 grep -v '^ *+' conftest.er1
>conftest.err
5197 cat conftest.err
>&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); } >/dev
/null
; then
5200 if test -s conftest.err
; then
5201 ac_cpp_err
=$ac_c_preproc_warn_flag
5202 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5209 if test -z "$ac_cpp_err"; then
5212 echo "$as_me: failed program was:" >&5
5213 sed 's/^/| /' conftest.
$ac_ext >&5
5215 # Broken: fails on valid input.
5218 rm -f conftest.err conftest.
$ac_ext
5220 # OK, works on sane cases. Now check whether non-existent headers
5221 # can be detected and how.
5222 cat >conftest.
$ac_ext <<_ACEOF
5225 cat confdefs.h
>>conftest.
$ac_ext
5226 cat >>conftest.
$ac_ext <<_ACEOF
5227 /* end confdefs.h. */
5228 #include <ac_nonexistent.h>
5230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5231 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5233 grep -v '^ *+' conftest.er1
>conftest.err
5235 cat conftest.err
>&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); } >/dev
/null
; then
5238 if test -s conftest.err
; then
5239 ac_cpp_err
=$ac_c_preproc_warn_flag
5240 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5247 if test -z "$ac_cpp_err"; then
5248 # Broken: success on invalid input.
5251 echo "$as_me: failed program was:" >&5
5252 sed 's/^/| /' conftest.
$ac_ext >&5
5254 # Passes both tests.
5258 rm -f conftest.err conftest.
$ac_ext
5261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5262 rm -f conftest.err conftest.
$ac_ext
5263 if $ac_preproc_ok; then
5275 echo "$as_me:$LINENO: result: $CPP" >&5
5276 echo "${ECHO_T}$CPP" >&6
5278 for ac_c_preproc_warn_flag
in '' yes
5280 # Use a header file that comes with gcc, so configuring glibc
5281 # with a fresh cross-compiler works.
5282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5283 # <limits.h> exists even on freestanding compilers.
5284 # On the NeXT, cc -E runs the code through the compiler's parser,
5285 # not just through cpp. "Syntax error" is here to catch this case.
5286 cat >conftest.
$ac_ext <<_ACEOF
5289 cat confdefs.h
>>conftest.
$ac_ext
5290 cat >>conftest.
$ac_ext <<_ACEOF
5291 /* end confdefs.h. */
5293 # include <limits.h>
5295 # include <assert.h>
5299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5302 grep -v '^ *+' conftest.er1
>conftest.err
5304 cat conftest.err
>&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); } >/dev
/null
; then
5307 if test -s conftest.err
; then
5308 ac_cpp_err
=$ac_c_preproc_warn_flag
5309 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5316 if test -z "$ac_cpp_err"; then
5319 echo "$as_me: failed program was:" >&5
5320 sed 's/^/| /' conftest.
$ac_ext >&5
5322 # Broken: fails on valid input.
5325 rm -f conftest.err conftest.
$ac_ext
5327 # OK, works on sane cases. Now check whether non-existent headers
5328 # can be detected and how.
5329 cat >conftest.
$ac_ext <<_ACEOF
5332 cat confdefs.h
>>conftest.
$ac_ext
5333 cat >>conftest.
$ac_ext <<_ACEOF
5334 /* end confdefs.h. */
5335 #include <ac_nonexistent.h>
5337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5338 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5340 grep -v '^ *+' conftest.er1
>conftest.err
5342 cat conftest.err
>&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); } >/dev
/null
; then
5345 if test -s conftest.err
; then
5346 ac_cpp_err
=$ac_c_preproc_warn_flag
5347 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5354 if test -z "$ac_cpp_err"; then
5355 # Broken: success on invalid input.
5358 echo "$as_me: failed program was:" >&5
5359 sed 's/^/| /' conftest.
$ac_ext >&5
5361 # Passes both tests.
5365 rm -f conftest.err conftest.
$ac_ext
5368 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5369 rm -f conftest.err conftest.
$ac_ext
5370 if $ac_preproc_ok; then
5373 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5374 See \`config.log' for more details." >&5
5375 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5376 See \`config.log' for more details." >&2;}
5377 { (exit 1); exit 1; }; }
5381 ac_cpp
='$CPP $CPPFLAGS'
5382 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5383 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5384 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5387 echo "$as_me:$LINENO: checking for egrep" >&5
5388 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5389 if test "${ac_cv_prog_egrep+set}" = set; then
5390 echo $ECHO_N "(cached) $ECHO_C" >&6
5392 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5393 then ac_cv_prog_egrep
='grep -E'
5394 else ac_cv_prog_egrep
='egrep'
5397 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5398 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5399 EGREP
=$ac_cv_prog_egrep
5402 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5403 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5404 if test "${ac_cv_header_stdc+set}" = set; then
5405 echo $ECHO_N "(cached) $ECHO_C" >&6
5407 cat >conftest.
$ac_ext <<_ACEOF
5410 cat confdefs.h
>>conftest.
$ac_ext
5411 cat >>conftest.
$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5426 rm -f conftest.
$ac_objext
5427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5428 (eval $ac_compile) 2>conftest.er1
5430 grep -v '^ *+' conftest.er1
>conftest.err
5432 cat conftest.err
>&5
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); } &&
5435 { ac_try
='test -z "$ac_c_werror_flag"
5436 || test ! -s conftest.err'
5437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); }; } &&
5442 { ac_try
='test -s conftest.$ac_objext'
5443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); }; }; then
5448 ac_cv_header_stdc
=yes
5450 echo "$as_me: failed program was:" >&5
5451 sed 's/^/| /' conftest.
$ac_ext >&5
5453 ac_cv_header_stdc
=no
5455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5457 if test $ac_cv_header_stdc = yes; then
5458 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5459 cat >conftest.
$ac_ext <<_ACEOF
5462 cat confdefs.h
>>conftest.
$ac_ext
5463 cat >>conftest.
$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5469 $EGREP "memchr" >/dev
/null
2>&1; then
5472 ac_cv_header_stdc
=no
5478 if test $ac_cv_header_stdc = yes; then
5479 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5480 cat >conftest.
$ac_ext <<_ACEOF
5483 cat confdefs.h
>>conftest.
$ac_ext
5484 cat >>conftest.
$ac_ext <<_ACEOF
5485 /* end confdefs.h. */
5489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5490 $EGREP "free" >/dev
/null
2>&1; then
5493 ac_cv_header_stdc
=no
5499 if test $ac_cv_header_stdc = yes; then
5500 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5501 if test "$cross_compiling" = yes; then
5504 cat >conftest.
$ac_ext <<_ACEOF
5507 cat confdefs.h
>>conftest.
$ac_ext
5508 cat >>conftest.
$ac_ext <<_ACEOF
5509 /* end confdefs.h. */
5511 #if ((' ' & 0x0FF) == 0x020)
5512 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5513 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5515 # define ISLOWER(c) \
5516 (('a' <= (c) && (c) <= 'i') \
5517 || ('j' <= (c) && (c) <= 'r') \
5518 || ('s' <= (c) && (c) <= 'z'))
5519 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5522 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5527 for (i = 0; i < 256; i++)
5528 if (XOR (islower (i), ISLOWER (i))
5529 || toupper (i) != TOUPPER (i))
5534 rm -f conftest
$ac_exeext
5535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5536 (eval $ac_link) 2>&5
5538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; }; then
5547 echo "$as_me: program exited with status $ac_status" >&5
5548 echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.
$ac_ext >&5
5552 ac_cv_header_stdc
=no
5554 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5558 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5559 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5560 if test $ac_cv_header_stdc = yes; then
5562 cat >>confdefs.h
<<\_ACEOF
5563 #define STDC_HEADERS 1
5568 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5569 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5570 if test "${ac_cv_c_const+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 cat >conftest.
$ac_ext <<_ACEOF
5576 cat confdefs.h
>>conftest.
$ac_ext
5577 cat >>conftest.
$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5583 /* FIXME: Include the comments suggested by Paul. */
5585 /* Ultrix mips cc rejects this. */
5586 typedef int charset[2];
5588 /* SunOS 4.1.1 cc rejects this. */
5589 char const *const *ccp;
5591 /* NEC SVR4.0.2 mips cc rejects this. */
5592 struct point {int x, y;};
5593 static struct point const zero = {0,0};
5594 /* AIX XL C 1.02.0.0 rejects this.
5595 It does not let you subtract one const X* pointer from another in
5596 an arm of an if-expression whose if-part is not a constant
5598 const char *g = "string";
5599 ccp = &g + (g ? g-g : 0);
5600 /* HPUX 7.0 cc rejects these. */
5603 ccp = (char const *const *) p;
5604 { /* SCO 3.2v4 cc rejects this. */
5606 char const *s = 0 ? (char *) 0 : (char const *) 0;
5610 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5612 const int *foo = &x[0];
5615 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5616 typedef const int *iptr;
5620 { /* AIX XL C 1.02.0.0 rejects this saying
5621 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5622 struct s { int j; const int *ap[3]; };
5623 struct s *b; b->j = 5;
5625 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5634 rm -f conftest.
$ac_objext
5635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5636 (eval $ac_compile) 2>conftest.er1
5638 grep -v '^ *+' conftest.er1
>conftest.err
5640 cat conftest.err
>&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); } &&
5643 { ac_try
='test -z "$ac_c_werror_flag"
5644 || test ! -s conftest.err'
5645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); }; } &&
5650 { ac_try
='test -s conftest.$ac_objext'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; }; then
5658 echo "$as_me: failed program was:" >&5
5659 sed 's/^/| /' conftest.
$ac_ext >&5
5663 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5665 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5666 echo "${ECHO_T}$ac_cv_c_const" >&6
5667 if test $ac_cv_c_const = no
; then
5669 cat >>confdefs.h
<<\_ACEOF
5675 echo "$as_me:$LINENO: checking for inline" >&5
5676 echo $ECHO_N "checking for inline... $ECHO_C" >&6
5677 if test "${ac_cv_c_inline+set}" = set; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 for ac_kw
in inline __inline__ __inline
; do
5682 cat >conftest.
$ac_ext <<_ACEOF
5685 cat confdefs.h
>>conftest.
$ac_ext
5686 cat >>conftest.
$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5690 static $ac_kw foo_t static_foo () {return 0; }
5691 $ac_kw foo_t foo () {return 0; }
5695 rm -f conftest.
$ac_objext
5696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5697 (eval $ac_compile) 2>conftest.er1
5699 grep -v '^ *+' conftest.er1
>conftest.err
5701 cat conftest.err
>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } &&
5704 { ac_try
='test -z "$ac_c_werror_flag"
5705 || test ! -s conftest.err'
5706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); }; } &&
5711 { ac_try
='test -s conftest.$ac_objext'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; }; then
5717 ac_cv_c_inline
=$ac_kw; break
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.
$ac_ext >&5
5723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5727 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5728 echo "${ECHO_T}$ac_cv_c_inline" >&6
5731 case $ac_cv_c_inline in
5734 case $ac_cv_c_inline in
5736 *) ac_val
=$ac_cv_c_inline;;
5738 cat >>confdefs.h
<<_ACEOF
5740 #define inline $ac_val
5746 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5756 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5757 inttypes.h stdint.h unistd.h
5759 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5760 echo "$as_me:$LINENO: checking for $ac_header" >&5
5761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 cat >conftest.
$ac_ext <<_ACEOF
5768 cat confdefs.h
>>conftest.
$ac_ext
5769 cat >>conftest.
$ac_ext <<_ACEOF
5770 /* end confdefs.h. */
5771 $ac_includes_default
5773 #include <$ac_header>
5775 rm -f conftest.
$ac_objext
5776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5777 (eval $ac_compile) 2>conftest.er1
5779 grep -v '^ *+' conftest.er1
>conftest.err
5781 cat conftest.err
>&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); } &&
5784 { ac_try
='test -z "$ac_c_werror_flag"
5785 || test ! -s conftest.err'
5786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; } &&
5791 { ac_try
='test -s conftest.$ac_objext'
5792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; }; then
5797 eval "$as_ac_Header=yes"
5799 echo "$as_me: failed program was:" >&5
5800 sed 's/^/| /' conftest.
$ac_ext >&5
5802 eval "$as_ac_Header=no"
5804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5809 cat >>confdefs.h
<<_ACEOF
5810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5818 echo "$as_me:$LINENO: checking for off_t" >&5
5819 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5820 if test "${ac_cv_type_off_t+set}" = set; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 cat >conftest.
$ac_ext <<_ACEOF
5826 cat confdefs.h
>>conftest.
$ac_ext
5827 cat >>conftest.
$ac_ext <<_ACEOF
5828 /* end confdefs.h. */
5829 $ac_includes_default
5841 rm -f conftest.
$ac_objext
5842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5843 (eval $ac_compile) 2>conftest.er1
5845 grep -v '^ *+' conftest.er1
>conftest.err
5847 cat conftest.err
>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } &&
5850 { ac_try
='test -z "$ac_c_werror_flag"
5851 || test ! -s conftest.err'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; } &&
5857 { ac_try
='test -s conftest.$ac_objext'
5858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }; }; then
5863 ac_cv_type_off_t
=yes
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.
$ac_ext >&5
5870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5872 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5873 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5874 if test $ac_cv_type_off_t = yes; then
5878 cat >>confdefs.h
<<_ACEOF
5884 echo "$as_me:$LINENO: checking for size_t" >&5
5885 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5886 if test "${ac_cv_type_size_t+set}" = set; then
5887 echo $ECHO_N "(cached) $ECHO_C" >&6
5889 cat >conftest.
$ac_ext <<_ACEOF
5892 cat confdefs.h
>>conftest.
$ac_ext
5893 cat >>conftest.
$ac_ext <<_ACEOF
5894 /* end confdefs.h. */
5895 $ac_includes_default
5901 if (sizeof (size_t))
5907 rm -f conftest.
$ac_objext
5908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5909 (eval $ac_compile) 2>conftest.er1
5911 grep -v '^ *+' conftest.er1
>conftest.err
5913 cat conftest.err
>&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); } &&
5916 { ac_try
='test -z "$ac_c_werror_flag"
5917 || test ! -s conftest.err'
5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); }; } &&
5923 { ac_try
='test -s conftest.$ac_objext'
5924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); }; }; then
5929 ac_cv_type_size_t
=yes
5931 echo "$as_me: failed program was:" >&5
5932 sed 's/^/| /' conftest.
$ac_ext >&5
5934 ac_cv_type_size_t
=no
5936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5938 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5939 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5940 if test $ac_cv_type_size_t = yes; then
5944 cat >>confdefs.h
<<_ACEOF
5945 #define size_t unsigned
5950 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5951 # for constant arguments. Useless!
5952 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5953 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5954 if test "${ac_cv_working_alloca_h+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 cat >conftest.
$ac_ext <<_ACEOF
5960 cat confdefs.h
>>conftest.
$ac_ext
5961 cat >>conftest.
$ac_ext <<_ACEOF
5962 /* end confdefs.h. */
5967 char *p = (char *) alloca (2 * sizeof (int));
5972 rm -f conftest.
$ac_objext conftest
$ac_exeext
5973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5974 (eval $ac_link) 2>conftest.er1
5976 grep -v '^ *+' conftest.er1
>conftest.err
5978 cat conftest.err
>&5
5979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980 (exit $ac_status); } &&
5981 { ac_try
='test -z "$ac_c_werror_flag"
5982 || test ! -s conftest.err'
5983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); }; } &&
5988 { ac_try
='test -s conftest$ac_exeext'
5989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); }; }; then
5994 ac_cv_working_alloca_h
=yes
5996 echo "$as_me: failed program was:" >&5
5997 sed 's/^/| /' conftest.
$ac_ext >&5
5999 ac_cv_working_alloca_h
=no
6001 rm -f conftest.err conftest.
$ac_objext \
6002 conftest
$ac_exeext conftest.
$ac_ext
6004 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6005 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6006 if test $ac_cv_working_alloca_h = yes; then
6008 cat >>confdefs.h
<<\_ACEOF
6009 #define HAVE_ALLOCA_H 1
6014 echo "$as_me:$LINENO: checking for alloca" >&5
6015 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6016 if test "${ac_cv_func_alloca_works+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 cat >conftest.
$ac_ext <<_ACEOF
6022 cat confdefs.h
>>conftest.
$ac_ext
6023 cat >>conftest.
$ac_ext <<_ACEOF
6024 /* end confdefs.h. */
6026 # define alloca __builtin_alloca
6029 # include <malloc.h>
6030 # define alloca _alloca
6033 # include <alloca.h>
6038 # ifndef alloca /* predefined by HP cc +Olibcalls */
6049 char *p = (char *) alloca (1);
6054 rm -f conftest.
$ac_objext conftest
$ac_exeext
6055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6056 (eval $ac_link) 2>conftest.er1
6058 grep -v '^ *+' conftest.er1
>conftest.err
6060 cat conftest.err
>&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); } &&
6063 { ac_try
='test -z "$ac_c_werror_flag"
6064 || test ! -s conftest.err'
6065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); }; } &&
6070 { ac_try
='test -s conftest$ac_exeext'
6071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }; }; then
6076 ac_cv_func_alloca_works
=yes
6078 echo "$as_me: failed program was:" >&5
6079 sed 's/^/| /' conftest.
$ac_ext >&5
6081 ac_cv_func_alloca_works
=no
6083 rm -f conftest.err conftest.
$ac_objext \
6084 conftest
$ac_exeext conftest.
$ac_ext
6086 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6087 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6089 if test $ac_cv_func_alloca_works = yes; then
6091 cat >>confdefs.h
<<\_ACEOF
6092 #define HAVE_ALLOCA 1
6096 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6097 # that cause trouble. Some versions do not even contain alloca or
6098 # contain a buggy version. If you still want to use their alloca,
6099 # use ar to extract alloca.o from them instead of compiling alloca.c.
6101 ALLOCA
=alloca.
$ac_objext
6103 cat >>confdefs.h
<<\_ACEOF
6108 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6109 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6110 if test "${ac_cv_os_cray+set}" = set; then
6111 echo $ECHO_N "(cached) $ECHO_C" >&6
6113 cat >conftest.
$ac_ext <<_ACEOF
6116 cat confdefs.h
>>conftest.
$ac_ext
6117 cat >>conftest.
$ac_ext <<_ACEOF
6118 /* end confdefs.h. */
6119 #if defined(CRAY) && ! defined(CRAY2)
6126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6127 $EGREP "webecray" >/dev
/null
2>&1; then
6135 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6136 echo "${ECHO_T}$ac_cv_os_cray" >&6
6137 if test $ac_cv_os_cray = yes; then
6138 for ac_func
in _getb67 GETB67 getb67
; do
6139 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6140 echo "$as_me:$LINENO: checking for $ac_func" >&5
6141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6142 if eval "test \"\${$as_ac_var+set}\" = set"; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6145 cat >conftest.
$ac_ext <<_ACEOF
6148 cat confdefs.h
>>conftest.
$ac_ext
6149 cat >>conftest.
$ac_ext <<_ACEOF
6150 /* end confdefs.h. */
6151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6153 #define $ac_func innocuous_$ac_func
6155 /* System header to define __stub macros and hopefully few prototypes,
6156 which can conflict with char $ac_func (); below.
6157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6158 <limits.h> exists even on freestanding compilers. */
6161 # include <limits.h>
6163 # include <assert.h>
6168 /* Override any gcc2 internal prototype to avoid an error. */
6173 /* We use char because int might match the return type of a gcc2
6174 builtin and then its argument prototype would still apply. */
6176 /* The GNU C library defines this for functions which it implements
6177 to always fail with ENOSYS. Some functions are actually named
6178 something starting with __ and the normal name is an alias. */
6179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6182 char (*f) () = $ac_func;
6191 return f != $ac_func;
6196 rm -f conftest.
$ac_objext conftest
$ac_exeext
6197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6198 (eval $ac_link) 2>conftest.er1
6200 grep -v '^ *+' conftest.er1
>conftest.err
6202 cat conftest.err
>&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); } &&
6205 { ac_try
='test -z "$ac_c_werror_flag"
6206 || test ! -s conftest.err'
6207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); }; } &&
6212 { ac_try
='test -s conftest$ac_exeext'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6218 eval "$as_ac_var=yes"
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.
$ac_ext >&5
6223 eval "$as_ac_var=no"
6225 rm -f conftest.err conftest.
$ac_objext \
6226 conftest
$ac_exeext conftest.
$ac_ext
6228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6230 if test `eval echo '${'$as_ac_var'}'` = yes; then
6232 cat >>confdefs.h
<<_ACEOF
6233 #define CRAY_STACKSEG_END $ac_func
6242 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6243 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6244 if test "${ac_cv_c_stack_direction+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6247 if test "$cross_compiling" = yes; then
6248 ac_cv_c_stack_direction
=0
6250 cat >conftest.
$ac_ext <<_ACEOF
6253 cat confdefs.h
>>conftest.
$ac_ext
6254 cat >>conftest.
$ac_ext <<_ACEOF
6255 /* end confdefs.h. */
6257 find_stack_direction ()
6259 static char *addr = 0;
6264 return find_stack_direction ();
6267 return (&dummy > addr) ? 1 : -1;
6273 exit (find_stack_direction () < 0);
6276 rm -f conftest
$ac_exeext
6277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6278 (eval $ac_link) 2>&5
6280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); }; }; then
6287 ac_cv_c_stack_direction
=1
6289 echo "$as_me: program exited with status $ac_status" >&5
6290 echo "$as_me: failed program was:" >&5
6291 sed 's/^/| /' conftest.
$ac_ext >&5
6294 ac_cv_c_stack_direction
=-1
6296 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6299 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6300 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6302 cat >>confdefs.h
<<_ACEOF
6303 #define STACK_DIRECTION $ac_cv_c_stack_direction
6311 for ac_header
in stdlib.h unistd.h
6313 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6315 echo "$as_me:$LINENO: checking for $ac_header" >&5
6316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6318 echo $ECHO_N "(cached) $ECHO_C" >&6
6320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6323 # Is the header compilable?
6324 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6325 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6326 cat >conftest.
$ac_ext <<_ACEOF
6329 cat confdefs.h
>>conftest.
$ac_ext
6330 cat >>conftest.
$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6332 $ac_includes_default
6333 #include <$ac_header>
6335 rm -f conftest.
$ac_objext
6336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6337 (eval $ac_compile) 2>conftest.er1
6339 grep -v '^ *+' conftest.er1
>conftest.err
6341 cat conftest.err
>&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); } &&
6344 { ac_try
='test -z "$ac_c_werror_flag"
6345 || test ! -s conftest.err'
6346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); }; } &&
6351 { ac_try
='test -s conftest.$ac_objext'
6352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); }; }; then
6357 ac_header_compiler
=yes
6359 echo "$as_me: failed program was:" >&5
6360 sed 's/^/| /' conftest.
$ac_ext >&5
6362 ac_header_compiler
=no
6364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6365 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6366 echo "${ECHO_T}$ac_header_compiler" >&6
6368 # Is the header present?
6369 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6371 cat >conftest.
$ac_ext <<_ACEOF
6374 cat confdefs.h
>>conftest.
$ac_ext
6375 cat >>conftest.
$ac_ext <<_ACEOF
6376 /* end confdefs.h. */
6377 #include <$ac_header>
6379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6380 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6382 grep -v '^ *+' conftest.er1
>conftest.err
6384 cat conftest.err
>&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); } >/dev
/null
; then
6387 if test -s conftest.err
; then
6388 ac_cpp_err
=$ac_c_preproc_warn_flag
6389 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6396 if test -z "$ac_cpp_err"; then
6397 ac_header_preproc
=yes
6399 echo "$as_me: failed program was:" >&5
6400 sed 's/^/| /' conftest.
$ac_ext >&5
6402 ac_header_preproc
=no
6404 rm -f conftest.err conftest.
$ac_ext
6405 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6406 echo "${ECHO_T}$ac_header_preproc" >&6
6408 # So? What about this header?
6409 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6411 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6412 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6414 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6415 ac_header_preproc
=yes
6418 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6419 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6420 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6421 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6422 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6423 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6424 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6425 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6427 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6428 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6429 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6432 ## ------------------------------------------ ##
6433 ## Report this to the AC_PACKAGE_NAME lists. ##
6434 ## ------------------------------------------ ##
6437 sed "s/^/$as_me: WARNING: /" >&2
6440 echo "$as_me:$LINENO: checking for $ac_header" >&5
6441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6443 echo $ECHO_N "(cached) $ECHO_C" >&6
6445 eval "$as_ac_Header=\$ac_header_preproc"
6447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6452 cat >>confdefs.h
<<_ACEOF
6453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6461 for ac_func
in getpagesize
6463 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6464 echo "$as_me:$LINENO: checking for $ac_func" >&5
6465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6466 if eval "test \"\${$as_ac_var+set}\" = set"; then
6467 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 cat >conftest.
$ac_ext <<_ACEOF
6472 cat confdefs.h
>>conftest.
$ac_ext
6473 cat >>conftest.
$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6477 #define $ac_func innocuous_$ac_func
6479 /* System header to define __stub macros and hopefully few prototypes,
6480 which can conflict with char $ac_func (); below.
6481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6482 <limits.h> exists even on freestanding compilers. */
6485 # include <limits.h>
6487 # include <assert.h>
6492 /* Override any gcc2 internal prototype to avoid an error. */
6497 /* We use char because int might match the return type of a gcc2
6498 builtin and then its argument prototype would still apply. */
6500 /* The GNU C library defines this for functions which it implements
6501 to always fail with ENOSYS. Some functions are actually named
6502 something starting with __ and the normal name is an alias. */
6503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6506 char (*f) () = $ac_func;
6515 return f != $ac_func;
6520 rm -f conftest.
$ac_objext conftest
$ac_exeext
6521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6522 (eval $ac_link) 2>conftest.er1
6524 grep -v '^ *+' conftest.er1
>conftest.err
6526 cat conftest.err
>&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); } &&
6529 { ac_try
='test -z "$ac_c_werror_flag"
6530 || test ! -s conftest.err'
6531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; } &&
6536 { ac_try
='test -s conftest$ac_exeext'
6537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }; }; then
6542 eval "$as_ac_var=yes"
6544 echo "$as_me: failed program was:" >&5
6545 sed 's/^/| /' conftest.
$ac_ext >&5
6547 eval "$as_ac_var=no"
6549 rm -f conftest.err conftest.
$ac_objext \
6550 conftest
$ac_exeext conftest.
$ac_ext
6552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6554 if test `eval echo '${'$as_ac_var'}'` = yes; then
6555 cat >>confdefs.h
<<_ACEOF
6556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6562 echo "$as_me:$LINENO: checking for working mmap" >&5
6563 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6564 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 if test "$cross_compiling" = yes; then
6568 ac_cv_func_mmap_fixed_mapped
=no
6570 cat >conftest.
$ac_ext <<_ACEOF
6573 cat confdefs.h
>>conftest.
$ac_ext
6574 cat >>conftest.
$ac_ext <<_ACEOF
6575 /* end confdefs.h. */
6576 $ac_includes_default
6577 /* malloc might have been renamed as rpl_malloc. */
6580 /* Thanks to Mike Haertel and Jim Avera for this test.
6581 Here is a matrix of mmap possibilities:
6582 mmap private not fixed
6583 mmap private fixed at somewhere currently unmapped
6584 mmap private fixed at somewhere already mapped
6585 mmap shared not fixed
6586 mmap shared fixed at somewhere currently unmapped
6587 mmap shared fixed at somewhere already mapped
6588 For private mappings, we should verify that changes cannot be read()
6589 back from the file, nor mmap's back from the file at a different
6590 address. (There have been systems where private was not correctly
6591 implemented like the infamous i386 svr4.0, and systems where the
6592 VM page cache was not coherent with the file system buffer cache
6593 like early versions of FreeBSD and possibly contemporary NetBSD.)
6594 For shared mappings, we should conversely verify that changes get
6595 propagated back to all the places they're supposed to be.
6597 Grep wants private fixed already mapped.
6598 The main things grep needs to know about mmap are:
6599 * does it exist and is it safe to write into the mmap'd area
6600 * how to use it (BSD variants) */
6603 #include <sys/mman.h>
6605 #if !STDC_HEADERS && !HAVE_STDLIB_H
6609 /* This mess was copied from the GNU getpagesize.h. */
6610 #if !HAVE_GETPAGESIZE
6611 /* Assume that all systems that can run configure have sys/param.h. */
6612 # if !HAVE_SYS_PARAM_H
6613 # define HAVE_SYS_PARAM_H 1
6616 # ifdef _SC_PAGESIZE
6617 # define getpagesize() sysconf(_SC_PAGESIZE)
6618 # else /* no _SC_PAGESIZE */
6619 # if HAVE_SYS_PARAM_H
6620 # include <sys/param.h>
6621 # ifdef EXEC_PAGESIZE
6622 # define getpagesize() EXEC_PAGESIZE
6623 # else /* no EXEC_PAGESIZE */
6625 # define getpagesize() NBPG * CLSIZE
6628 # endif /* no CLSIZE */
6629 # else /* no NBPG */
6631 # define getpagesize() NBPC
6632 # else /* no NBPC */
6634 # define getpagesize() PAGESIZE
6635 # endif /* PAGESIZE */
6636 # endif /* no NBPC */
6637 # endif /* no NBPG */
6638 # endif /* no EXEC_PAGESIZE */
6639 # else /* no HAVE_SYS_PARAM_H */
6640 # define getpagesize() 8192 /* punt totally */
6641 # endif /* no HAVE_SYS_PARAM_H */
6642 # endif /* no _SC_PAGESIZE */
6644 #endif /* no HAVE_GETPAGESIZE */
6649 char *data, *data2, *data3;
6653 pagesize = getpagesize ();
6655 /* First, make a file with some known garbage in it. */
6656 data = (char *) malloc (pagesize);
6659 for (i = 0; i < pagesize; ++i)
6660 *(data + i) = rand ();
6662 fd = creat ("conftest.mmap", 0600);
6665 if (write (fd, data, pagesize) != pagesize)
6669 /* Next, try to mmap the file at a fixed address which already has
6670 something else allocated at it. If we can, also make sure that
6671 we see the same garbage. */
6672 fd = open ("conftest.mmap", O_RDWR);
6675 data2 = (char *) malloc (2 * pagesize);
6678 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6679 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6680 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6682 for (i = 0; i < pagesize; ++i)
6683 if (*(data + i) != *(data2 + i))
6686 /* Finally, make sure that changes to the mapped area do not
6687 percolate back to the file as seen by read(). (This is a bug on
6688 some variants of i386 svr4.0.) */
6689 for (i = 0; i < pagesize; ++i)
6690 *(data2 + i) = *(data2 + i) + 1;
6691 data3 = (char *) malloc (pagesize);
6694 if (read (fd, data3, pagesize) != pagesize)
6696 for (i = 0; i < pagesize; ++i)
6697 if (*(data + i) != *(data3 + i))
6703 rm -f conftest
$ac_exeext
6704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6705 (eval $ac_link) 2>&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); }; }; then
6714 ac_cv_func_mmap_fixed_mapped
=yes
6716 echo "$as_me: program exited with status $ac_status" >&5
6717 echo "$as_me: failed program was:" >&5
6718 sed 's/^/| /' conftest.
$ac_ext >&5
6721 ac_cv_func_mmap_fixed_mapped
=no
6723 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6726 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6727 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6728 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6730 cat >>confdefs.h
<<\_ACEOF
6747 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h string.h \
6748 unistd.h values.h sys
/param.h
6750 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6752 echo "$as_me:$LINENO: checking for $ac_header" >&5
6753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6760 # Is the header compilable?
6761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6763 cat >conftest.
$ac_ext <<_ACEOF
6766 cat confdefs.h
>>conftest.
$ac_ext
6767 cat >>conftest.
$ac_ext <<_ACEOF
6768 /* end confdefs.h. */
6769 $ac_includes_default
6770 #include <$ac_header>
6772 rm -f conftest.
$ac_objext
6773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6774 (eval $ac_compile) 2>conftest.er1
6776 grep -v '^ *+' conftest.er1
>conftest.err
6778 cat conftest.err
>&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); } &&
6781 { ac_try
='test -z "$ac_c_werror_flag"
6782 || test ! -s conftest.err'
6783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); }; } &&
6788 { ac_try
='test -s conftest.$ac_objext'
6789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); }; }; then
6794 ac_header_compiler
=yes
6796 echo "$as_me: failed program was:" >&5
6797 sed 's/^/| /' conftest.
$ac_ext >&5
6799 ac_header_compiler
=no
6801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6803 echo "${ECHO_T}$ac_header_compiler" >&6
6805 # Is the header present?
6806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6808 cat >conftest.
$ac_ext <<_ACEOF
6811 cat confdefs.h
>>conftest.
$ac_ext
6812 cat >>conftest.
$ac_ext <<_ACEOF
6813 /* end confdefs.h. */
6814 #include <$ac_header>
6816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6817 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6819 grep -v '^ *+' conftest.er1
>conftest.err
6821 cat conftest.err
>&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); } >/dev
/null
; then
6824 if test -s conftest.err
; then
6825 ac_cpp_err
=$ac_c_preproc_warn_flag
6826 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6833 if test -z "$ac_cpp_err"; then
6834 ac_header_preproc
=yes
6836 echo "$as_me: failed program was:" >&5
6837 sed 's/^/| /' conftest.
$ac_ext >&5
6839 ac_header_preproc
=no
6841 rm -f conftest.err conftest.
$ac_ext
6842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6843 echo "${ECHO_T}$ac_header_preproc" >&6
6845 # So? What about this header?
6846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6848 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6850 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6851 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6852 ac_header_preproc
=yes
6855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6859 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6860 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6861 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6862 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6865 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6866 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6869 ## ------------------------------------------ ##
6870 ## Report this to the AC_PACKAGE_NAME lists. ##
6871 ## ------------------------------------------ ##
6874 sed "s/^/$as_me: WARNING: /" >&2
6877 echo "$as_me:$LINENO: checking for $ac_header" >&5
6878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6882 eval "$as_ac_Header=\$ac_header_preproc"
6884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6889 cat >>confdefs.h
<<_ACEOF
6890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6907 for ac_func
in getcwd munmap putenv setenv setlocale strchr strcasecmp \
6908 __argz_count __argz_stringify __argz_next
6910 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6911 echo "$as_me:$LINENO: checking for $ac_func" >&5
6912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6913 if eval "test \"\${$as_ac_var+set}\" = set"; then
6914 echo $ECHO_N "(cached) $ECHO_C" >&6
6916 cat >conftest.
$ac_ext <<_ACEOF
6919 cat confdefs.h
>>conftest.
$ac_ext
6920 cat >>conftest.
$ac_ext <<_ACEOF
6921 /* end confdefs.h. */
6922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6924 #define $ac_func innocuous_$ac_func
6926 /* System header to define __stub macros and hopefully few prototypes,
6927 which can conflict with char $ac_func (); below.
6928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6929 <limits.h> exists even on freestanding compilers. */
6932 # include <limits.h>
6934 # include <assert.h>
6939 /* Override any gcc2 internal prototype to avoid an error. */
6944 /* We use char because int might match the return type of a gcc2
6945 builtin and then its argument prototype would still apply. */
6947 /* The GNU C library defines this for functions which it implements
6948 to always fail with ENOSYS. Some functions are actually named
6949 something starting with __ and the normal name is an alias. */
6950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6953 char (*f) () = $ac_func;
6962 return f != $ac_func;
6967 rm -f conftest.
$ac_objext conftest
$ac_exeext
6968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6969 (eval $ac_link) 2>conftest.er1
6971 grep -v '^ *+' conftest.er1
>conftest.err
6973 cat conftest.err
>&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } &&
6976 { ac_try
='test -z "$ac_c_werror_flag"
6977 || test ! -s conftest.err'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; } &&
6983 { ac_try
='test -s conftest$ac_exeext'
6984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988 (exit $ac_status); }; }; then
6989 eval "$as_ac_var=yes"
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.
$ac_ext >&5
6994 eval "$as_ac_var=no"
6996 rm -f conftest.err conftest.
$ac_objext \
6997 conftest
$ac_exeext conftest.
$ac_ext
6999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7001 if test `eval echo '${'$as_ac_var'}'` = yes; then
7002 cat >>confdefs.h
<<_ACEOF
7003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7010 if test "${ac_cv_func_stpcpy+set}" != "set"; then
7012 for ac_func
in stpcpy
7014 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7015 echo "$as_me:$LINENO: checking for $ac_func" >&5
7016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7017 if eval "test \"\${$as_ac_var+set}\" = set"; then
7018 echo $ECHO_N "(cached) $ECHO_C" >&6
7020 cat >conftest.
$ac_ext <<_ACEOF
7023 cat confdefs.h
>>conftest.
$ac_ext
7024 cat >>conftest.
$ac_ext <<_ACEOF
7025 /* end confdefs.h. */
7026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7028 #define $ac_func innocuous_$ac_func
7030 /* System header to define __stub macros and hopefully few prototypes,
7031 which can conflict with char $ac_func (); below.
7032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7033 <limits.h> exists even on freestanding compilers. */
7036 # include <limits.h>
7038 # include <assert.h>
7043 /* Override any gcc2 internal prototype to avoid an error. */
7048 /* We use char because int might match the return type of a gcc2
7049 builtin and then its argument prototype would still apply. */
7051 /* The GNU C library defines this for functions which it implements
7052 to always fail with ENOSYS. Some functions are actually named
7053 something starting with __ and the normal name is an alias. */
7054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7057 char (*f) () = $ac_func;
7066 return f != $ac_func;
7071 rm -f conftest.
$ac_objext conftest
$ac_exeext
7072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7073 (eval $ac_link) 2>conftest.er1
7075 grep -v '^ *+' conftest.er1
>conftest.err
7077 cat conftest.err
>&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); } &&
7080 { ac_try
='test -z "$ac_c_werror_flag"
7081 || test ! -s conftest.err'
7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; } &&
7087 { ac_try
='test -s conftest$ac_exeext'
7088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); }; }; then
7093 eval "$as_ac_var=yes"
7095 echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.
$ac_ext >&5
7098 eval "$as_ac_var=no"
7100 rm -f conftest.err conftest.
$ac_objext \
7101 conftest
$ac_exeext conftest.
$ac_ext
7103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7105 if test `eval echo '${'$as_ac_var'}'` = yes; then
7106 cat >>confdefs.h
<<_ACEOF
7107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7114 if test "${ac_cv_func_stpcpy}" = "yes"; then
7116 cat >>confdefs.h
<<\_ACEOF
7117 #define HAVE_STPCPY 1
7122 if test $ac_cv_header_locale_h = yes; then
7123 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
7124 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
7125 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
7126 echo $ECHO_N "(cached) $ECHO_C" >&6
7128 cat >conftest.
$ac_ext <<_ACEOF
7131 cat confdefs.h
>>conftest.
$ac_ext
7132 cat >>conftest.
$ac_ext <<_ACEOF
7133 /* end confdefs.h. */
7143 rm -f conftest.
$ac_objext conftest
$ac_exeext
7144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7145 (eval $ac_link) 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_exeext'
7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 am_cv_val_LC_MESSAGES
=yes
7167 echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.
$ac_ext >&5
7170 am_cv_val_LC_MESSAGES
=no
7172 rm -f conftest.err conftest.
$ac_objext \
7173 conftest
$ac_exeext conftest.
$ac_ext
7175 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
7176 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
7177 if test $am_cv_val_LC_MESSAGES = yes; then
7179 cat >>confdefs.h
<<\_ACEOF
7180 #define HAVE_LC_MESSAGES 1
7185 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7186 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7187 # Check whether --enable-nls or --disable-nls was given.
7188 if test "${enable_nls+set}" = set; then
7189 enableval
="$enable_nls"
7194 echo "$as_me:$LINENO: result: $USE_NLS" >&5
7195 echo "${ECHO_T}$USE_NLS" >&6
7198 USE_INCLUDED_LIBINTL
=no
7200 if test "$USE_NLS" = "yes"; then
7201 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
7202 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
7204 # Check whether --with-included-gettext or --without-included-gettext was given.
7205 if test "${with_included_gettext+set}" = set; then
7206 withval
="$with_included_gettext"
7207 nls_cv_force_use_gnu_gettext
=$withval
7209 nls_cv_force_use_gnu_gettext
=no
7211 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
7212 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
7214 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
7215 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
7217 nls_cv_header_libgt
=
7220 if test "${ac_cv_header_libintl_h+set}" = set; then
7221 echo "$as_me:$LINENO: checking for libintl.h" >&5
7222 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7223 if test "${ac_cv_header_libintl_h+set}" = set; then
7224 echo $ECHO_N "(cached) $ECHO_C" >&6
7226 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7227 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7229 # Is the header compilable?
7230 echo "$as_me:$LINENO: checking libintl.h usability" >&5
7231 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
7232 cat >conftest.
$ac_ext <<_ACEOF
7235 cat confdefs.h
>>conftest.
$ac_ext
7236 cat >>conftest.
$ac_ext <<_ACEOF
7237 /* end confdefs.h. */
7238 $ac_includes_default
7239 #include <libintl.h>
7241 rm -f conftest.
$ac_objext
7242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7243 (eval $ac_compile) 2>conftest.er1
7245 grep -v '^ *+' conftest.er1
>conftest.err
7247 cat conftest.err
>&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); } &&
7250 { ac_try
='test -z "$ac_c_werror_flag"
7251 || test ! -s conftest.err'
7252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; } &&
7257 { ac_try
='test -s conftest.$ac_objext'
7258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262 (exit $ac_status); }; }; then
7263 ac_header_compiler
=yes
7265 echo "$as_me: failed program was:" >&5
7266 sed 's/^/| /' conftest.
$ac_ext >&5
7268 ac_header_compiler
=no
7270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7272 echo "${ECHO_T}$ac_header_compiler" >&6
7274 # Is the header present?
7275 echo "$as_me:$LINENO: checking libintl.h presence" >&5
7276 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
7277 cat >conftest.
$ac_ext <<_ACEOF
7280 cat confdefs.h
>>conftest.
$ac_ext
7281 cat >>conftest.
$ac_ext <<_ACEOF
7282 /* end confdefs.h. */
7283 #include <libintl.h>
7285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7288 grep -v '^ *+' conftest.er1
>conftest.err
7290 cat conftest.err
>&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); } >/dev
/null
; then
7293 if test -s conftest.err
; then
7294 ac_cpp_err
=$ac_c_preproc_warn_flag
7295 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7302 if test -z "$ac_cpp_err"; then
7303 ac_header_preproc
=yes
7305 echo "$as_me: failed program was:" >&5
7306 sed 's/^/| /' conftest.
$ac_ext >&5
7308 ac_header_preproc
=no
7310 rm -f conftest.err conftest.
$ac_ext
7311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7312 echo "${ECHO_T}$ac_header_preproc" >&6
7314 # So? What about this header?
7315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7317 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7318 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7319 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
7320 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
7321 ac_header_preproc
=yes
7324 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
7325 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
7326 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
7327 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
7328 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
7329 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
7330 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
7331 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7332 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
7333 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
7334 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
7335 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
7338 ## ------------------------------------------ ##
7339 ## Report this to the AC_PACKAGE_NAME lists. ##
7340 ## ------------------------------------------ ##
7343 sed "s/^/$as_me: WARNING: /" >&2
7346 echo "$as_me:$LINENO: checking for libintl.h" >&5
7347 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
7348 if test "${ac_cv_header_libintl_h+set}" = set; then
7349 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 ac_cv_header_libintl_h
=$ac_header_preproc
7353 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
7354 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
7357 if test $ac_cv_header_libintl_h = yes; then
7358 echo "$as_me:$LINENO: checking for gettext in libc" >&5
7359 echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
7360 if test "${gt_cv_func_gettext_libc+set}" = set; then
7361 echo $ECHO_N "(cached) $ECHO_C" >&6
7363 cat >conftest.
$ac_ext <<_ACEOF
7366 cat confdefs.h
>>conftest.
$ac_ext
7367 cat >>conftest.
$ac_ext <<_ACEOF
7368 /* end confdefs.h. */
7369 #include <libintl.h>
7373 return (int) gettext ("")
7378 rm -f conftest.
$ac_objext conftest
$ac_exeext
7379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7380 (eval $ac_link) 2>conftest.er1
7382 grep -v '^ *+' conftest.er1
>conftest.err
7384 cat conftest.err
>&5
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7386 (exit $ac_status); } &&
7387 { ac_try
='test -z "$ac_c_werror_flag"
7388 || test ! -s conftest.err'
7389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 (exit $ac_status); }; } &&
7394 { ac_try
='test -s conftest$ac_exeext'
7395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399 (exit $ac_status); }; }; then
7400 gt_cv_func_gettext_libc
=yes
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.
$ac_ext >&5
7405 gt_cv_func_gettext_libc
=no
7407 rm -f conftest.err conftest.
$ac_objext \
7408 conftest
$ac_exeext conftest.
$ac_ext
7410 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
7411 echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
7413 if test "$gt_cv_func_gettext_libc" != "yes"; then
7414 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
7415 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
7416 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
7417 echo $ECHO_N "(cached) $ECHO_C" >&6
7419 ac_check_lib_save_LIBS
=$LIBS
7421 cat >conftest.
$ac_ext <<_ACEOF
7424 cat confdefs.h
>>conftest.
$ac_ext
7425 cat >>conftest.
$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7428 /* Override any gcc2 internal prototype to avoid an error. */
7432 /* We use char because int might match the return type of a gcc2
7433 builtin and then its argument prototype would still apply. */
7434 char bindtextdomain ();
7443 rm -f conftest.
$ac_objext conftest
$ac_exeext
7444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7445 (eval $ac_link) 2>conftest.er1
7447 grep -v '^ *+' conftest.er1
>conftest.err
7449 cat conftest.err
>&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } &&
7452 { ac_try
='test -z "$ac_c_werror_flag"
7453 || test ! -s conftest.err'
7454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); }; } &&
7459 { ac_try
='test -s conftest$ac_exeext'
7460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464 (exit $ac_status); }; }; then
7465 ac_cv_lib_intl_bindtextdomain
=yes
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.
$ac_ext >&5
7470 ac_cv_lib_intl_bindtextdomain
=no
7472 rm -f conftest.err conftest.
$ac_objext \
7473 conftest
$ac_exeext conftest.
$ac_ext
7474 LIBS
=$ac_check_lib_save_LIBS
7476 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
7477 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
7478 if test $ac_cv_lib_intl_bindtextdomain = yes; then
7479 echo "$as_me:$LINENO: checking for gettext in libintl" >&5
7480 echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
7481 if test "${gt_cv_func_gettext_libintl+set}" = set; then
7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7484 cat >conftest.
$ac_ext <<_ACEOF
7487 cat confdefs.h
>>conftest.
$ac_ext
7488 cat >>conftest.
$ac_ext <<_ACEOF
7489 /* end confdefs.h. */
7494 return (int) gettext ("")
7499 rm -f conftest.
$ac_objext conftest
$ac_exeext
7500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7501 (eval $ac_link) 2>conftest.er1
7503 grep -v '^ *+' conftest.er1
>conftest.err
7505 cat conftest.err
>&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } &&
7508 { ac_try
='test -z "$ac_c_werror_flag"
7509 || test ! -s conftest.err'
7510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; } &&
7515 { ac_try
='test -s conftest$ac_exeext'
7516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); }; }; then
7521 gt_cv_func_gettext_libintl
=yes
7523 echo "$as_me: failed program was:" >&5
7524 sed 's/^/| /' conftest.
$ac_ext >&5
7526 gt_cv_func_gettext_libintl
=no
7528 rm -f conftest.err conftest.
$ac_objext \
7529 conftest
$ac_exeext conftest.
$ac_ext
7531 echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
7532 echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
7537 if test "$gt_cv_func_gettext_libc" = "yes" \
7538 ||
test "$gt_cv_func_gettext_libintl" = "yes"; then
7540 cat >>confdefs.h
<<\_ACEOF
7541 #define HAVE_GETTEXT 1
7544 # Extract the first word of "msgfmt", so it can be a program name with args.
7545 set dummy msgfmt
; ac_word
=$2
7546 echo "$as_me:$LINENO: checking for $ac_word" >&5
7547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7548 if test "${ac_cv_path_MSGFMT+set}" = set; then
7549 echo $ECHO_N "(cached) $ECHO_C" >&6
7553 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7556 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7557 for ac_dir
in $PATH; do
7558 test -z "$ac_dir" && ac_dir
=.
7559 if test -f $ac_dir/$ac_word; then
7560 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7561 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7567 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7571 MSGFMT
="$ac_cv_path_MSGFMT"
7572 if test -n "$MSGFMT"; then
7573 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7574 echo "${ECHO_T}$MSGFMT" >&6
7576 echo "$as_me:$LINENO: result: no" >&5
7577 echo "${ECHO_T}no" >&6
7579 if test "$MSGFMT" != "no"; then
7581 for ac_func
in dcgettext
7583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7584 echo "$as_me:$LINENO: checking for $ac_func" >&5
7585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7586 if eval "test \"\${$as_ac_var+set}\" = set"; then
7587 echo $ECHO_N "(cached) $ECHO_C" >&6
7589 cat >conftest.
$ac_ext <<_ACEOF
7592 cat confdefs.h
>>conftest.
$ac_ext
7593 cat >>conftest.
$ac_ext <<_ACEOF
7594 /* end confdefs.h. */
7595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7597 #define $ac_func innocuous_$ac_func
7599 /* System header to define __stub macros and hopefully few prototypes,
7600 which can conflict with char $ac_func (); below.
7601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7602 <limits.h> exists even on freestanding compilers. */
7605 # include <limits.h>
7607 # include <assert.h>
7612 /* Override any gcc2 internal prototype to avoid an error. */
7617 /* We use char because int might match the return type of a gcc2
7618 builtin and then its argument prototype would still apply. */
7620 /* The GNU C library defines this for functions which it implements
7621 to always fail with ENOSYS. Some functions are actually named
7622 something starting with __ and the normal name is an alias. */
7623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7626 char (*f) () = $ac_func;
7635 return f != $ac_func;
7640 rm -f conftest.
$ac_objext conftest
$ac_exeext
7641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7642 (eval $ac_link) 2>conftest.er1
7644 grep -v '^ *+' conftest.er1
>conftest.err
7646 cat conftest.err
>&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); } &&
7649 { ac_try
='test -z "$ac_c_werror_flag"
7650 || test ! -s conftest.err'
7651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); }; } &&
7656 { ac_try
='test -s conftest$ac_exeext'
7657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661 (exit $ac_status); }; }; then
7662 eval "$as_ac_var=yes"
7664 echo "$as_me: failed program was:" >&5
7665 sed 's/^/| /' conftest.
$ac_ext >&5
7667 eval "$as_ac_var=no"
7669 rm -f conftest.err conftest.
$ac_objext \
7670 conftest
$ac_exeext conftest.
$ac_ext
7672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7674 if test `eval echo '${'$as_ac_var'}'` = yes; then
7675 cat >>confdefs.h
<<_ACEOF
7676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7682 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7683 set dummy gmsgfmt
; ac_word
=$2
7684 echo "$as_me:$LINENO: checking for $ac_word" >&5
7685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7686 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7687 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7698 test -z "$as_dir" && as_dir
=.
7699 for ac_exec_ext
in '' $ac_executable_extensions; do
7700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7701 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7708 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7712 GMSGFMT
=$ac_cv_path_GMSGFMT
7714 if test -n "$GMSGFMT"; then
7715 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7716 echo "${ECHO_T}$GMSGFMT" >&6
7718 echo "$as_me:$LINENO: result: no" >&5
7719 echo "${ECHO_T}no" >&6
7722 # Extract the first word of "xgettext", so it can be a program name with args.
7723 set dummy xgettext
; ac_word
=$2
7724 echo "$as_me:$LINENO: checking for $ac_word" >&5
7725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7726 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7727 echo $ECHO_N "(cached) $ECHO_C" >&6
7731 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7734 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7735 for ac_dir
in $PATH; do
7736 test -z "$ac_dir" && ac_dir
=.
7737 if test -f $ac_dir/$ac_word; then
7738 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7739 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7745 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7749 XGETTEXT
="$ac_cv_path_XGETTEXT"
7750 if test -n "$XGETTEXT"; then
7751 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7752 echo "${ECHO_T}$XGETTEXT" >&6
7754 echo "$as_me:$LINENO: result: no" >&5
7755 echo "${ECHO_T}no" >&6
7758 cat >conftest.
$ac_ext <<_ACEOF
7761 cat confdefs.h
>>conftest.
$ac_ext
7762 cat >>conftest.
$ac_ext <<_ACEOF
7763 /* end confdefs.h. */
7768 extern int _nl_msg_cat_cntr;
7769 return _nl_msg_cat_cntr
7774 rm -f conftest.
$ac_objext conftest
$ac_exeext
7775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7776 (eval $ac_link) 2>conftest.er1
7778 grep -v '^ *+' conftest.er1
>conftest.err
7780 cat conftest.err
>&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); } &&
7783 { ac_try
='test -z "$ac_c_werror_flag"
7784 || test ! -s conftest.err'
7785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); }; } &&
7790 { ac_try
='test -s conftest$ac_exeext'
7791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); }; }; then
7799 echo "$as_me: failed program was:" >&5
7800 sed 's/^/| /' conftest.
$ac_ext >&5
7805 rm -f conftest.err conftest.
$ac_objext \
7806 conftest
$ac_exeext conftest.
$ac_ext
7816 if test x
"$CATOBJEXT" = x
&& test -d $srcdir/..
/intl
; then
7817 # Neither gettext nor catgets in included in the C library.
7818 # Fall back on GNU gettext library (assuming it is present).
7819 nls_cv_use_gnu_gettext
=yes
7823 if test "$nls_cv_use_gnu_gettext" = "yes"; then
7824 INTLOBJS
="\$(GETTOBJS)"
7825 # Extract the first word of "msgfmt", so it can be a program name with args.
7826 set dummy msgfmt
; ac_word
=$2
7827 echo "$as_me:$LINENO: checking for $ac_word" >&5
7828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7829 if test "${ac_cv_path_MSGFMT+set}" = set; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7834 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7837 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7838 for ac_dir
in $PATH; do
7839 test -z "$ac_dir" && ac_dir
=.
7840 if test -f $ac_dir/$ac_word; then
7841 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7842 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7848 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="msgfmt"
7852 MSGFMT
="$ac_cv_path_MSGFMT"
7853 if test -n "$MSGFMT"; then
7854 echo "$as_me:$LINENO: result: $MSGFMT" >&5
7855 echo "${ECHO_T}$MSGFMT" >&6
7857 echo "$as_me:$LINENO: result: no" >&5
7858 echo "${ECHO_T}no" >&6
7861 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7862 set dummy gmsgfmt
; ac_word
=$2
7863 echo "$as_me:$LINENO: checking for $ac_word" >&5
7864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7865 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7870 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
7873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7877 test -z "$as_dir" && as_dir
=.
7878 for ac_exec_ext
in '' $ac_executable_extensions; do
7879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7880 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
7881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7887 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
7891 GMSGFMT
=$ac_cv_path_GMSGFMT
7893 if test -n "$GMSGFMT"; then
7894 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7895 echo "${ECHO_T}$GMSGFMT" >&6
7897 echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6
7901 # Extract the first word of "xgettext", so it can be a program name with args.
7902 set dummy xgettext
; ac_word
=$2
7903 echo "$as_me:$LINENO: checking for $ac_word" >&5
7904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7905 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7906 echo $ECHO_N "(cached) $ECHO_C" >&6
7910 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
7913 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7914 for ac_dir
in $PATH; do
7915 test -z "$ac_dir" && ac_dir
=.
7916 if test -f $ac_dir/$ac_word; then
7917 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7918 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
7924 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
7928 XGETTEXT
="$ac_cv_path_XGETTEXT"
7929 if test -n "$XGETTEXT"; then
7930 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7931 echo "${ECHO_T}$XGETTEXT" >&6
7933 echo "$as_me:$LINENO: result: no" >&5
7934 echo "${ECHO_T}no" >&6
7938 USE_INCLUDED_LIBINTL
=yes
7942 INTLDEPS
='$(top_builddir)/../intl/libintl.a'
7944 LIBS
=`echo $LIBS | sed -e 's/-lintl//'`
7945 nls_cv_header_intl
=libintl.h
7946 nls_cv_header_libgt
=libgettext.h
7949 if test "$XGETTEXT" != ":"; then
7950 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
7953 echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
7954 echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
7959 # We need to process the po/ directory.
7963 nls_cv_header_intl
=libintl.h
7964 nls_cv_header_libgt
=libgettext.h
7967 # If this is used in GNU gettext we have to set USE_NLS to `yes'
7968 # because some of the sources are only built for this goal.
7969 if test "$PACKAGE" = gettext; then
7971 USE_INCLUDED_LIBINTL
=yes
7974 for lang
in $ALL_LINGUAS; do
7975 GMOFILES
="$GMOFILES $lang.gmo"
7976 POFILES
="$POFILES $lang.po"
7990 if test "x$CATOBJEXT" != "x"; then
7992 cat >>confdefs.h
<<\_ACEOF
7993 #define ENABLE_NLS 1
7999 if test "x$CATOBJEXT" != "x"; then
8000 if test "x$ALL_LINGUAS" = "x"; then
8003 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8004 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8006 for lang
in ${LINGUAS=$ALL_LINGUAS}; do
8007 case "$ALL_LINGUAS" in
8008 *$lang*) NEW_LINGUAS
="$NEW_LINGUAS $lang" ;;
8011 LINGUAS
=$NEW_LINGUAS
8012 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8013 echo "${ECHO_T}$LINGUAS" >&6
8016 if test -n "$LINGUAS"; then
8017 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
8021 if test $ac_cv_header_locale_h = yes; then
8022 INCLUDE_LOCALE_H
="#include <locale.h>"
8025 /* The system does not provide the header <locale.h>. Take care yourself. */"
8029 if test -f $srcdir/po2tbl.
sed.
in; then
8030 if test "$CATOBJEXT" = ".cat"; then
8031 if test "${ac_cv_header_linux_version_h+set}" = set; then
8032 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8033 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8034 if test "${ac_cv_header_linux_version_h+set}" = set; then
8035 echo $ECHO_N "(cached) $ECHO_C" >&6
8037 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8038 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8040 # Is the header compilable?
8041 echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8042 echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8043 cat >conftest.
$ac_ext <<_ACEOF
8046 cat confdefs.h
>>conftest.
$ac_ext
8047 cat >>conftest.
$ac_ext <<_ACEOF
8048 /* end confdefs.h. */
8049 $ac_includes_default
8050 #include <linux/version.h>
8052 rm -f conftest.
$ac_objext
8053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8054 (eval $ac_compile) 2>conftest.er1
8056 grep -v '^ *+' conftest.er1
>conftest.err
8058 cat conftest.err
>&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); } &&
8061 { ac_try
='test -z "$ac_c_werror_flag"
8062 || test ! -s conftest.err'
8063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); }; } &&
8068 { ac_try
='test -s conftest.$ac_objext'
8069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); }; }; then
8074 ac_header_compiler
=yes
8076 echo "$as_me: failed program was:" >&5
8077 sed 's/^/| /' conftest.
$ac_ext >&5
8079 ac_header_compiler
=no
8081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8082 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8083 echo "${ECHO_T}$ac_header_compiler" >&6
8085 # Is the header present?
8086 echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8087 echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8088 cat >conftest.
$ac_ext <<_ACEOF
8091 cat confdefs.h
>>conftest.
$ac_ext
8092 cat >>conftest.
$ac_ext <<_ACEOF
8093 /* end confdefs.h. */
8094 #include <linux/version.h>
8096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8097 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8099 grep -v '^ *+' conftest.er1
>conftest.err
8101 cat conftest.err
>&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); } >/dev
/null
; then
8104 if test -s conftest.err
; then
8105 ac_cpp_err
=$ac_c_preproc_warn_flag
8106 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8113 if test -z "$ac_cpp_err"; then
8114 ac_header_preproc
=yes
8116 echo "$as_me: failed program was:" >&5
8117 sed 's/^/| /' conftest.
$ac_ext >&5
8119 ac_header_preproc
=no
8121 rm -f conftest.err conftest.
$ac_ext
8122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8123 echo "${ECHO_T}$ac_header_preproc" >&6
8125 # So? What about this header?
8126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8128 { echo "$as_me:$LINENO: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
8129 echo "$as_me: WARNING: linux/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8130 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the compiler's result" >&5
8131 echo "$as_me: WARNING: linux/version.h: proceeding with the compiler's result" >&2;}
8132 ac_header_preproc
=yes
8135 { echo "$as_me:$LINENO: WARNING: linux/version.h: present but cannot be compiled" >&5
8136 echo "$as_me: WARNING: linux/version.h: present but cannot be compiled" >&2;}
8137 { echo "$as_me:$LINENO: WARNING: linux/version.h: check for missing prerequisite headers?" >&5
8138 echo "$as_me: WARNING: linux/version.h: check for missing prerequisite headers?" >&2;}
8139 { echo "$as_me:$LINENO: WARNING: linux/version.h: see the Autoconf documentation" >&5
8140 echo "$as_me: WARNING: linux/version.h: see the Autoconf documentation" >&2;}
8141 { echo "$as_me:$LINENO: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&5
8142 echo "$as_me: WARNING: linux/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
8143 { echo "$as_me:$LINENO: WARNING: linux/version.h: proceeding with the preprocessor's result" >&5
8144 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
8145 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
8146 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
8149 ## ------------------------------------------ ##
8150 ## Report this to the AC_PACKAGE_NAME lists. ##
8151 ## ------------------------------------------ ##
8154 sed "s/^/$as_me: WARNING: /" >&2
8157 echo "$as_me:$LINENO: checking for linux/version.h" >&5
8158 echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8159 if test "${ac_cv_header_linux_version_h+set}" = set; then
8160 echo $ECHO_N "(cached) $ECHO_C" >&6
8162 ac_cv_header_linux_version_h
=$ac_header_preproc
8164 echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8165 echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8168 if test $ac_cv_header_linux_version_h = yes; then
8176 sed -e '/^#/d' $srcdir/$msgformat-msg.
sed > po2msg.
sed
8178 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
8179 $srcdir/po2tbl.
sed.
in > po2tbl.
sed
8182 if test "$PACKAGE" = "gettext"; then
8192 MKINSTALLDIRS
="\$(srcdir)/../../mkinstalldirs"
8198 if test -f $srcdir/po
/POTFILES.
in; then
8199 test -d po || mkdir po
8200 if test "x$srcdir" != "x."; then
8201 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
8202 posrcprefix
="$srcdir/"
8204 posrcprefix
="../$srcdir/"
8210 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
8211 < $srcdir/po
/POTFILES.
in > po
/POTFILES
8215 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8216 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8217 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8218 if test "${enable_maintainer_mode+set}" = set; then
8219 enableval
="$enable_maintainer_mode"
8220 USE_MAINTAINER_MODE
=$enableval
8222 USE_MAINTAINER_MODE
=no
8224 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8225 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8228 if test $USE_MAINTAINER_MODE = yes; then
8229 MAINTAINER_MODE_TRUE
=
8230 MAINTAINER_MODE_FALSE
='#'
8232 MAINTAINER_MODE_TRUE
='#'
8233 MAINTAINER_MODE_FALSE
=
8236 MAINT
=$MAINTAINER_MODE_TRUE
8242 for ac_header
in sys
/gmon_out.h
8244 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8246 echo "$as_me:$LINENO: checking for $ac_header" >&5
8247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8249 echo $ECHO_N "(cached) $ECHO_C" >&6
8251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8254 # Is the header compilable?
8255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8257 cat >conftest.
$ac_ext <<_ACEOF
8260 cat confdefs.h
>>conftest.
$ac_ext
8261 cat >>conftest.
$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8263 $ac_includes_default
8264 #include <$ac_header>
8266 rm -f conftest.
$ac_objext
8267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8268 (eval $ac_compile) 2>conftest.er1
8270 grep -v '^ *+' conftest.er1
>conftest.err
8272 cat conftest.err
>&5
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); } &&
8275 { ac_try
='test -z "$ac_c_werror_flag"
8276 || test ! -s conftest.err'
8277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); }; } &&
8282 { ac_try
='test -s conftest.$ac_objext'
8283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8287 (exit $ac_status); }; }; then
8288 ac_header_compiler
=yes
8290 echo "$as_me: failed program was:" >&5
8291 sed 's/^/| /' conftest.
$ac_ext >&5
8293 ac_header_compiler
=no
8295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8297 echo "${ECHO_T}$ac_header_compiler" >&6
8299 # Is the header present?
8300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8302 cat >conftest.
$ac_ext <<_ACEOF
8305 cat confdefs.h
>>conftest.
$ac_ext
8306 cat >>conftest.
$ac_ext <<_ACEOF
8307 /* end confdefs.h. */
8308 #include <$ac_header>
8310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8311 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8313 grep -v '^ *+' conftest.er1
>conftest.err
8315 cat conftest.err
>&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); } >/dev
/null
; then
8318 if test -s conftest.err
; then
8319 ac_cpp_err
=$ac_c_preproc_warn_flag
8320 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8327 if test -z "$ac_cpp_err"; then
8328 ac_header_preproc
=yes
8330 echo "$as_me: failed program was:" >&5
8331 sed 's/^/| /' conftest.
$ac_ext >&5
8333 ac_header_preproc
=no
8335 rm -f conftest.err conftest.
$ac_ext
8336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8337 echo "${ECHO_T}$ac_header_preproc" >&6
8339 # So? What about this header?
8340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8346 ac_header_preproc
=yes
8349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8363 ## ------------------------------------------ ##
8364 ## Report this to the AC_PACKAGE_NAME lists. ##
8365 ## ------------------------------------------ ##
8368 sed "s/^/$as_me: WARNING: /" >&2
8371 echo "$as_me:$LINENO: checking for $ac_header" >&5
8372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8374 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 eval "$as_ac_Header=\$ac_header_preproc"
8378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8383 cat >>confdefs.h
<<_ACEOF
8384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8392 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
8393 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
8394 if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then
8395 echo $ECHO_N "(cached) $ECHO_C" >&6
8397 cat >conftest.
$ac_ext <<_ACEOF
8400 cat confdefs.h
>>conftest.
$ac_ext
8401 cat >>conftest.
$ac_ext <<_ACEOF
8402 /* end confdefs.h. */
8407 extern int getopt (int, char *const*, const char *);
8412 rm -f conftest.
$ac_objext
8413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8414 (eval $ac_compile) 2>conftest.er1
8416 grep -v '^ *+' conftest.er1
>conftest.err
8418 cat conftest.err
>&5
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); } &&
8421 { ac_try
='test -z "$ac_c_werror_flag"
8422 || test ! -s conftest.err'
8423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); }; } &&
8428 { ac_try
='test -s conftest.$ac_objext'
8429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 (exit $ac_status); }; }; then
8434 gprof_cv_decl_getopt_unistd_h
=yes
8436 echo "$as_me: failed program was:" >&5
8437 sed 's/^/| /' conftest.
$ac_ext >&5
8439 gprof_cv_decl_getopt_unistd_h
=no
8441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8444 echo "$as_me:$LINENO: result: $gprof_cv_decl_getopt_unistd_h" >&5
8445 echo "${ECHO_T}$gprof_cv_decl_getopt_unistd_h" >&6
8446 if test $gprof_cv_decl_getopt_unistd_h = yes; then
8448 cat >>confdefs.h
<<\_ACEOF
8449 #define HAVE_DECL_GETOPT 1
8455 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
8457 # Check whether --enable-werror or --disable-werror was given.
8458 if test "${enable_werror+set}" = set; then
8459 enableval
="$enable_werror"
8460 case "${enableval}" in
8461 yes | y
) ERROR_ON_WARNING
="yes" ;;
8462 no | n
) ERROR_ON_WARNING
="no" ;;
8463 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
8464 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
8465 { (exit 1); exit 1; }; } ;;
8469 # Enable -Werror by default when using gcc
8470 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
8471 ERROR_ON_WARNING
=yes
8475 if test "${ERROR_ON_WARNING}" = yes ; then
8476 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
8477 NO_WERROR
="-Wno-error"
8480 if test "${GCC}" = yes ; then
8481 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
8484 # Check whether --enable-build-warnings or --disable-build-warnings was given.
8485 if test "${enable_build_warnings+set}" = set; then
8486 enableval
="$enable_build_warnings"
8487 case "${enableval}" in
8488 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
8489 no
) if test "${GCC}" = yes ; then
8492 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
8493 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
8494 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
8495 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
8496 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
8500 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
8501 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
8512 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
8514 ac_config_commands
="$ac_config_commands default"
8516 cat >confcache
<<\_ACEOF
8517 # This file is a shell script that caches the results of configure
8518 # tests run on this system so they can be shared between configure
8519 # scripts and configure runs, see configure's option --config-cache.
8520 # It is not useful on other systems. If it contains results you don't
8521 # want to keep, you may remove or edit it.
8523 # config.status only pays attention to the cache file if you give it
8524 # the --recheck option to rerun configure.
8526 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8527 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8532 # The following way of writing the cache mishandles newlines in values,
8533 # but we know of no workaround that is simple, portable, and efficient.
8534 # So, don't put newlines in cache variables' values.
8535 # Ultrix sh set writes to stderr and can't be redirected directly,
8536 # and sets the high bit in the cache file unless we assign to the vars.
8539 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8541 # `set' does not quote correctly, so add quotes (double-quote
8542 # substitution turns \\\\ into \\, and sed turns \\ into \).
8545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8548 # `set' quotes correctly as required by POSIX, so do not add quotes.
8550 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8557 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8559 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8561 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8562 if test -w $cache_file; then
8563 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8564 cat confcache
>$cache_file
8566 echo "not updating unwritable cache $cache_file"
8571 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8572 # Let make expand exec_prefix.
8573 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8575 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8576 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8577 # trailing colons and then remove the whole line if VPATH becomes empty
8578 # (actually we leave an empty line to preserve line numbers).
8579 if test "x$srcdir" = x.
; then
8580 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8581 s/:*\$(srcdir):*/:/;
8582 s/:*\${srcdir}:*/:/;
8584 s/^\([^=]*=[ ]*\):*/\1/;
8590 DEFS
=-DHAVE_CONFIG_H
8594 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8595 # 1. Remove the extension, and $U if already installed.
8596 ac_i
=`echo "$ac_i" |
8597 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8599 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8600 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8604 LTLIBOBJS
=$ac_ltlibobjs
8607 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8608 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8609 Usually this means the macro was only invoked conditionally." >&5
8610 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8611 Usually this means the macro was only invoked conditionally." >&2;}
8612 { (exit 1); exit 1; }; }
8614 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8615 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8616 Usually this means the macro was only invoked conditionally." >&5
8617 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8618 Usually this means the macro was only invoked conditionally." >&2;}
8619 { (exit 1); exit 1; }; }
8621 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8622 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8623 Usually this means the macro was only invoked conditionally." >&5
8624 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8625 Usually this means the macro was only invoked conditionally." >&2;}
8626 { (exit 1); exit 1; }; }
8629 : ${CONFIG_STATUS=./config.status}
8630 ac_clean_files_save
=$ac_clean_files
8631 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8632 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8633 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8634 cat >$CONFIG_STATUS <<_ACEOF
8636 # Generated by $as_me.
8637 # Run this file to recreate the current configuration.
8638 # Compiler output produced by configure, useful for debugging
8639 # configure, is in config.log if it exists.
8644 SHELL=\${CONFIG_SHELL-$SHELL}
8647 cat >>$CONFIG_STATUS <<\_ACEOF
8648 ## --------------------- ##
8649 ## M4sh Initialization. ##
8650 ## --------------------- ##
8652 # Be Bourne compatible
8653 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8656 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8657 # is contrary to our usage. Disable this feature.
8658 alias -g '${1+"$@"}'='"$@"'
8659 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8662 DUALCASE
=1; export DUALCASE
# for MKS sh
8664 # Support unset when possible.
8665 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8672 # Work around bugs in pre-3.0 UWIN ksh.
8673 $as_unset ENV MAIL MAILPATH
8680 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8681 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8682 LC_TELEPHONE LC_TIME
8684 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8685 eval $as_var=C
; export $as_var
8691 # Required to use basename.
8692 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8698 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8699 as_basename
=basename
8705 # Name of the executable.
8706 as_me
=`$as_basename "$0" ||
8707 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8708 X"$0" : 'X\(//\)$' \| \
8709 X"$0" : 'X\(/\)$' \| \
8710 . : '\(.\)' 2>/dev/null ||
8712 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8713 /^X\/\(\/\/\)$/{ s//\1/; q; }
8714 /^X\/\(\/\).*/{ s//\1/; q; }
8718 # PATH needs CR, and LINENO needs CR and PATH.
8719 # Avoid depending upon Character Ranges.
8720 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8721 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8722 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8723 as_cr_digits
='0123456789'
8724 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8726 # The user is always right.
8727 if test "${PATH_SEPARATOR+set}" != set; then
8728 echo "#! /bin/sh" >conf$$.sh
8729 echo "exit 0" >>conf$$.sh
8731 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8742 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8743 test "x$as_lineno_1" != "x$as_lineno_2" &&
8744 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8745 # Find who we are. Look in the path if we contain no path at all
8748 *[\\/]* ) as_myself
=$0 ;;
8749 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8753 test -z "$as_dir" && as_dir
=.
8754 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8759 # We did not find ourselves, most probably we were run as `sh COMMAND'
8760 # in which case we are not to be found in the path.
8761 if test "x$as_myself" = x
; then
8764 if test ! -f "$as_myself"; then
8765 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8766 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8767 { (exit 1); exit 1; }; }
8769 case $CONFIG_SHELL in
8771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8772 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8775 test -z "$as_dir" && as_dir
=.
8776 for as_base
in sh bash ksh sh5
; do
8779 if ("$as_dir/$as_base" -c '
8782 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8783 test "x$as_lineno_1" != "x$as_lineno_2" &&
8784 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8785 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8786 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8787 CONFIG_SHELL
=$as_dir/$as_base
8789 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8797 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8798 # uniformly replaced by the line number. The first 'sed' inserts a
8799 # line-number line before each line; the second 'sed' does the real
8800 # work. The second script uses 'N' to pair each line-number line
8801 # with the numbered line, and appends trailing '-' during
8802 # substitution so that $LINENO is not a special case at line end.
8803 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8804 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8805 sed '=' <$as_myself |
8810 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8813 s,^['$as_cr_digits']*\n,,
8815 chmod +x
$as_me.lineno ||
8816 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8817 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8818 { (exit 1); exit 1; }; }
8820 # Don't try to exec as it changes $[0], causing all sort of problems
8821 # (the dirname of $[0] is not the place where we might find the
8822 # original and so on. Autoconf is especially sensible to this).
8824 # Exit status is that of the last command.
8829 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8830 *c
*,-n*) ECHO_N
= ECHO_C
='
8832 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8833 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8836 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8842 rm -f conf$$ conf$$.exe conf$$.
file
8844 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8845 # We could just check for DJGPP; but this test a) works b) is more generic
8846 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8847 if test -f conf$$.exe
; then
8848 # Don't use ln at all; we don't have any links
8853 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8858 rm -f conf$$ conf$$.exe conf$$.
file
8860 if mkdir
-p .
2>/dev
/null
; then
8863 test -d .
/-p && rmdir .
/-p
8867 as_executable_p
="test -f"
8869 # Sed expression to map a string onto a valid CPP name.
8870 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8872 # Sed expression to map a string onto a valid variable name.
8873 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8877 # We need space, tab and new line, in precisely that order.
8887 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8888 # report actual input values of CONFIG_FILES etc. instead of their
8889 # values after options handling. Logging --version etc. is OK.
8893 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8894 ## Running $as_me. ##
8899 This file was extended by $as_me, which was
8900 generated by GNU Autoconf 2.59. Invocation command line was
8902 CONFIG_FILES = $CONFIG_FILES
8903 CONFIG_HEADERS = $CONFIG_HEADERS
8904 CONFIG_LINKS = $CONFIG_LINKS
8905 CONFIG_COMMANDS = $CONFIG_COMMANDS
8909 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8913 # Files that config.status was made for.
8914 if test -n "$ac_config_files"; then
8915 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8918 if test -n "$ac_config_headers"; then
8919 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8922 if test -n "$ac_config_links"; then
8923 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8926 if test -n "$ac_config_commands"; then
8927 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8930 cat >>$CONFIG_STATUS <<\_ACEOF
8933 \`$as_me' instantiates files from templates according to the
8934 current configuration.
8936 Usage: $0 [OPTIONS] [FILE]...
8938 -h, --help print this help, then exit
8939 -V, --version print version number, then exit
8940 -q, --quiet do not print progress messages
8941 -d, --debug don't remove temporary files
8942 --recheck update $as_me by reconfiguring in the same conditions
8943 --file=FILE[:TEMPLATE]
8944 instantiate the configuration file FILE
8945 --header=FILE[:TEMPLATE]
8946 instantiate the configuration header FILE
8948 Configuration files:
8951 Configuration headers:
8954 Configuration commands:
8957 Report bugs to <bug-autoconf@gnu.org>."
8960 cat >>$CONFIG_STATUS <<_ACEOF
8963 configured by $0, generated by GNU Autoconf 2.59,
8964 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8966 Copyright (C) 2003 Free Software Foundation, Inc.
8967 This config.status script is free software; the Free Software Foundation
8968 gives unlimited permission to copy, distribute and modify it."
8973 cat >>$CONFIG_STATUS <<\_ACEOF
8974 # If no file are specified by the user, then we need to provide default
8975 # value. By we need to know if files were specified by the user.
8981 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8982 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8990 *) # This is not an option, so the user has probably given explicit
8993 ac_need_defaults
=false
;;
8997 # Handling of the options.
8999 cat >>$CONFIG_STATUS <<\_ACEOF
9000 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9002 --version |
--vers* |
-V )
9003 echo "$ac_cs_version"; exit 0 ;;
9005 # Conflict between --help and --header
9006 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9007 Try \`$0 --help' for more information." >&5
9008 echo "$as_me: error: ambiguous option: $1
9009 Try \`$0 --help' for more information." >&2;}
9010 { (exit 1); exit 1; }; };;
9011 --help |
--hel |
-h )
9012 echo "$ac_cs_usage"; exit 0 ;;
9013 --debug |
--d* |
-d )
9015 --file |
--fil |
--fi |
--f )
9017 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9018 ac_need_defaults
=false
;;
9019 --header |
--heade |
--head |
--hea )
9021 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9022 ac_need_defaults
=false
;;
9023 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9024 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9028 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9029 Try \`$0 --help' for more information." >&5
9030 echo "$as_me: error: unrecognized option: $1
9031 Try \`$0 --help' for more information." >&2;}
9032 { (exit 1); exit 1; }; } ;;
9034 *) ac_config_targets
="$ac_config_targets $1" ;;
9040 ac_configure_extra_args
=
9042 if $ac_cs_silent; then
9044 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9048 cat >>$CONFIG_STATUS <<_ACEOF
9049 if \$ac_cs_recheck; then
9050 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9051 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9056 cat >>$CONFIG_STATUS <<_ACEOF
9058 # INIT-COMMANDS section.
9061 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9068 cat >>$CONFIG_STATUS <<\_ACEOF
9069 for ac_config_target
in $ac_config_targets
9071 case "$ac_config_target" in
9072 # Handling of arguments.
9073 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9074 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
9075 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9076 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
9077 "gconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
9078 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9079 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9080 { (exit 1); exit 1; }; };;
9084 # If the user did not use the arguments to specify the items to instantiate,
9085 # then the envvar interface is used. Set only those that are not.
9086 # We use the long form for the default assignment because of an extremely
9087 # bizarre bug on SunOS 4.1.3.
9088 if $ac_need_defaults; then
9089 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9090 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9091 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9094 # Have a temporary directory for convenience. Make it in the build tree
9095 # simply because there is no reason to put it here, and in addition,
9096 # creating and moving files from /tmp can sometimes cause problems.
9097 # Create a temporary directory, and hook for its removal unless debugging.
9100 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9101 trap '{ (exit 1); exit 1; }' 1 2 13 15
9104 # Create a (secure) tmp directory for tmp files.
9107 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9108 test -n "$tmp" && test -d "$tmp"
9111 tmp
=.
/confstat$$
-$RANDOM
9112 (umask 077 && mkdir
$tmp)
9115 echo "$me: cannot create a temporary directory in ." >&2
9116 { (exit 1); exit 1; }
9121 cat >>$CONFIG_STATUS <<_ACEOF
9124 # CONFIG_FILES section.
9127 # No need to generate the scripts if there are no CONFIG_FILES.
9128 # This happens for instance when ./config.status config.h
9129 if test -n "\$CONFIG_FILES"; then
9130 # Protect against being on the right side of a sed subst in config.status.
9131 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9132 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9133 s,@SHELL@,$SHELL,;t t
9134 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9135 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9136 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9137 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9138 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9139 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9140 s,@exec_prefix@,$exec_prefix,;t t
9141 s,@prefix@,$prefix,;t t
9142 s,@program_transform_name@,$program_transform_name,;t t
9143 s,@bindir@,$bindir,;t t
9144 s,@sbindir@,$sbindir,;t t
9145 s,@libexecdir@,$libexecdir,;t t
9146 s,@datadir@,$datadir,;t t
9147 s,@sysconfdir@,$sysconfdir,;t t
9148 s,@sharedstatedir@,$sharedstatedir,;t t
9149 s,@localstatedir@,$localstatedir,;t t
9150 s,@libdir@,$libdir,;t t
9151 s,@includedir@,$includedir,;t t
9152 s,@oldincludedir@,$oldincludedir,;t t
9153 s,@infodir@,$infodir,;t t
9154 s,@mandir@,$mandir,;t t
9155 s,@build_alias@,$build_alias,;t t
9156 s,@host_alias@,$host_alias,;t t
9157 s,@target_alias@,$target_alias,;t t
9159 s,@ECHO_C@,$ECHO_C,;t t
9160 s,@ECHO_N@,$ECHO_N,;t t
9161 s,@ECHO_T@,$ECHO_T,;t t
9163 s,@build@,$build,;t t
9164 s,@build_cpu@,$build_cpu,;t t
9165 s,@build_vendor@,$build_vendor,;t t
9166 s,@build_os@,$build_os,;t t
9168 s,@host_cpu@,$host_cpu,;t t
9169 s,@host_vendor@,$host_vendor,;t t
9170 s,@host_os@,$host_os,;t t
9171 s,@target@,$target,;t t
9172 s,@target_cpu@,$target_cpu,;t t
9173 s,@target_vendor@,$target_vendor,;t t
9174 s,@target_os@,$target_os,;t t
9176 s,@CFLAGS@,$CFLAGS,;t t
9177 s,@LDFLAGS@,$LDFLAGS,;t t
9178 s,@CPPFLAGS@,$CPPFLAGS,;t t
9179 s,@ac_ct_CC@,$ac_ct_CC,;t t
9180 s,@EXEEXT@,$EXEEXT,;t t
9181 s,@OBJEXT@,$OBJEXT,;t t
9182 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9183 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9184 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9185 s,@CYGPATH_W@,$CYGPATH_W,;t t
9186 s,@PACKAGE@,$PACKAGE,;t t
9187 s,@VERSION@,$VERSION,;t t
9188 s,@ACLOCAL@,$ACLOCAL,;t t
9189 s,@AUTOCONF@,$AUTOCONF,;t t
9190 s,@AUTOMAKE@,$AUTOMAKE,;t t
9191 s,@AUTOHEADER@,$AUTOHEADER,;t t
9192 s,@MAKEINFO@,$MAKEINFO,;t t
9193 s,@install_sh@,$install_sh,;t t
9194 s,@STRIP@,$STRIP,;t t
9195 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9196 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9197 s,@mkdir_p@,$mkdir_p,;t t
9199 s,@SET_MAKE@,$SET_MAKE,;t t
9200 s,@am__leading_dot@,$am__leading_dot,;t t
9201 s,@AMTAR@,$AMTAR,;t t
9202 s,@am__tar@,$am__tar,;t t
9203 s,@am__untar@,$am__untar,;t t
9204 s,@DEPDIR@,$DEPDIR,;t t
9205 s,@am__include@,$am__include,;t t
9206 s,@am__quote@,$am__quote,;t t
9207 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9208 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9209 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9210 s,@CCDEPMODE@,$CCDEPMODE,;t t
9211 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9212 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9214 s,@RANLIB@,$RANLIB,;t t
9215 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9216 s,@LIBTOOL@,$LIBTOOL,;t t
9218 s,@EGREP@,$EGREP,;t t
9219 s,@ALLOCA@,$ALLOCA,;t t
9220 s,@USE_NLS@,$USE_NLS,;t t
9221 s,@MSGFMT@,$MSGFMT,;t t
9222 s,@GMSGFMT@,$GMSGFMT,;t t
9223 s,@XGETTEXT@,$XGETTEXT,;t t
9224 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
9225 s,@CATALOGS@,$CATALOGS,;t t
9226 s,@CATOBJEXT@,$CATOBJEXT,;t t
9227 s,@DATADIRNAME@,$DATADIRNAME,;t t
9228 s,@GMOFILES@,$GMOFILES,;t t
9229 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9230 s,@INTLDEPS@,$INTLDEPS,;t t
9231 s,@INTLLIBS@,$INTLLIBS,;t t
9232 s,@INTLOBJS@,$INTLOBJS,;t t
9233 s,@POFILES@,$POFILES,;t t
9234 s,@POSUB@,$POSUB,;t t
9235 s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
9236 s,@GT_NO@,$GT_NO,;t t
9237 s,@GT_YES@,$GT_YES,;t t
9238 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
9240 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
9241 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
9242 s,@MAINT@,$MAINT,;t t
9243 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9244 s,@NO_WERROR@,$NO_WERROR,;t t
9245 s,@datarootdir@,$datarootdir,;t t
9246 s,@docdir@,$docdir,;t t
9247 s,@htmldir@,$htmldir,;t t
9248 s,@LIBOBJS@,$LIBOBJS,;t t
9249 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9254 cat >>$CONFIG_STATUS <<\_ACEOF
9255 # Split the substitutions into bite-sized pieces for seds with
9256 # small command number limits, like on Digital OSF/1 and HP-UX.
9258 ac_sed_frag
=1 # Number of current file.
9259 ac_beg
=1 # First line for current file.
9260 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9263 while $ac_more_lines; do
9264 if test $ac_beg -gt 1; then
9265 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9267 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9269 if test ! -s $tmp/subs.frag
; then
9272 # The purpose of the label and of the branching condition is to
9273 # speed up the sed processing (if there are no `@' at all, there
9274 # is no need to browse any of the substitutions).
9275 # These are the two extra sed commands mentioned above.
9277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9278 if test -z "$ac_sed_cmds"; then
9279 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9281 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9283 ac_sed_frag
=`expr $ac_sed_frag + 1`
9285 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9288 if test -z "$ac_sed_cmds"; then
9291 fi # test -n "$CONFIG_FILES"
9294 cat >>$CONFIG_STATUS <<\_ACEOF
9295 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9296 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9298 - |
*:- |
*:-:* ) # input from stdin
9300 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9301 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9302 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9303 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9304 * ) ac_file_in
=$ac_file.
in ;;
9307 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9308 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9309 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9310 X"$ac_file" : 'X\(//\)[^/]' \| \
9311 X"$ac_file" : 'X\(//\)$' \| \
9312 X"$ac_file" : 'X\(/\)' \| \
9313 . : '\(.\)' 2>/dev/null ||
9315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9317 /^X\(\/\/\)$/{ s//\1/; q; }
9318 /^X\(\/\).*/{ s//\1/; q; }
9320 { if $as_mkdir_p; then
9325 while test ! -d "$as_dir"; do
9326 as_dirs
="$as_dir $as_dirs"
9327 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9328 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9329 X"$as_dir" : 'X\(//\)[^/]' \| \
9330 X"$as_dir" : 'X\(//\)$' \| \
9331 X"$as_dir" : 'X\(/\)' \| \
9332 . : '\(.\)' 2>/dev/null ||
9334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9335 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9336 /^X\(\/\/\)$/{ s//\1/; q; }
9337 /^X\(\/\).*/{ s//\1/; q; }
9340 test ! -n "$as_dirs" || mkdir
$as_dirs
9341 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9342 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9343 { (exit 1); exit 1; }; }; }
9347 if test "$ac_dir" != .
; then
9348 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9349 # A "../" for each directory in $ac_dir_suffix.
9350 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9352 ac_dir_suffix
= ac_top_builddir
=
9356 .
) # No --srcdir option. We are building in place.
9358 if test -z "$ac_top_builddir"; then
9361 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9363 [\\/]* | ?
:[\\/]* ) # Absolute path.
9364 ac_srcdir
=$srcdir$ac_dir_suffix;
9365 ac_top_srcdir
=$srcdir ;;
9367 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9368 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9371 # Do not use `cd foo && pwd` to compute absolute paths, because
9372 # the directories may not exist.
9374 .
) ac_abs_builddir
="$ac_dir";;
9377 .
) ac_abs_builddir
=`pwd`;;
9378 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9379 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9382 case $ac_abs_builddir in
9383 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9385 case ${ac_top_builddir}.
in
9386 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9387 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9388 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9391 case $ac_abs_builddir in
9392 .
) ac_abs_srcdir
=$ac_srcdir;;
9395 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9396 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9397 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9400 case $ac_abs_builddir in
9401 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9403 case $ac_top_srcdir in
9404 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9405 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9406 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9412 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9413 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9416 if test x
"$ac_file" != x-
; then
9417 { echo "$as_me:$LINENO: creating $ac_file" >&5
9418 echo "$as_me: creating $ac_file" >&6;}
9421 # Let's still pretend it is `configure' which instantiates (i.e., don't
9422 # use $as_me), people would be surprised to read:
9423 # /* config.h. Generated by config.status. */
9424 if test x
"$ac_file" = x-
; then
9427 configure_input
="$ac_file. "
9429 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9430 sed 's,.*/,,'` by configure."
9432 # First look for the input files in the build tree, otherwise in the
9434 ac_file_inputs
=`IFS=:
9435 for f in $ac_file_in; do
9437 -) echo $tmp/stdin ;;
9439 # Absolute (can't be DOS-style, as IFS=:)
9440 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9441 echo "$as_me: error: cannot find input file: $f" >&2;}
9442 { (exit 1); exit 1; }; }
9445 if test -f "$f"; then
9448 elif test -f "$srcdir/$f"; then
9453 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9454 echo "$as_me: error: cannot find input file: $f" >&2;}
9455 { (exit 1); exit 1; }; }
9458 done` ||
{ (exit 1); exit 1; }
9460 cat >>$CONFIG_STATUS <<_ACEOF
9464 cat >>$CONFIG_STATUS <<\_ACEOF
9466 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9467 s
,@configure_input@
,$configure_input,;t t
9468 s
,@srcdir@
,$ac_srcdir,;t t
9469 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9470 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9471 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9472 s
,@builddir@
,$ac_builddir,;t t
9473 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9474 s
,@top_builddir@
,$ac_top_builddir,;t t
9475 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9476 s
,@INSTALL@
,$ac_INSTALL,;t t
9477 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9479 if test x"$ac_file" != x-; then
9480 mv $tmp/out $ac_file
9488 cat >>$CONFIG_STATUS <<\_ACEOF
9491 # CONFIG_HEADER section.
9494 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9495 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9497 # ac_d sets the value in "#define NAME VALUE" lines.
9498 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9499 ac_dB
='[ ].*$,\1#\2'
9502 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9503 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9504 ac_uB
='$,\1#\2define\3'
9508 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9509 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9511 - |
*:- |
*:-:* ) # input from stdin
9513 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9514 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9515 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9516 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9517 * ) ac_file_in
=$ac_file.
in ;;
9520 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9521 echo "$as_me: creating $ac_file" >&6;}
9523 # First look for the input files in the build tree, otherwise in the
9525 ac_file_inputs
=`IFS=:
9526 for f in $ac_file_in; do
9528 -) echo $tmp/stdin ;;
9530 # Absolute (can't be DOS-style, as IFS=:)
9531 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9532 echo "$as_me: error: cannot find input file: $f" >&2;}
9533 { (exit 1); exit 1; }; }
9534 # Do quote $f, to prevent DOS paths from being IFS'd.
9537 if test -f "$f"; then
9540 elif test -f "$srcdir/$f"; then
9545 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9546 echo "$as_me: error: cannot find input file: $f" >&2;}
9547 { (exit 1); exit 1; }; }
9550 done` ||
{ (exit 1); exit 1; }
9551 # Remove the trailing spaces.
9552 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9556 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9557 # `conftest.undefs', that substitutes the proper values into
9558 # config.h.in to produce config.h. The first handles `#define'
9559 # templates, and the second `#undef' templates.
9560 # And first: Protect against being on the right side of a sed subst in
9561 # config.status. Protect against being in an unquoted here document
9563 rm -f conftest.defines conftest.undefs
9564 # Using a here document instead of a string reduces the quoting nightmare.
9565 # Putting comments in sed scripts is not portable.
9567 # `end' is used to avoid that the second main sed command (meant for
9568 # 0-ary CPP macros) applies to n-ary macro definitions.
9569 # See the Autoconf documentation for `clear'.
9570 cat >confdef2sed.
sed <<\_ACEOF
9575 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9577 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9580 # If some macros were called several times there might be several times
9581 # the same #defines, which is useless. Nevertheless, we may not want to
9582 # sort them, since we want the *last* AC-DEFINE to be honored.
9583 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9584 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9585 rm -f confdef2sed.sed
9587 # This sed command replaces #undef with comments. This is necessary, for
9588 # example, in the case of _POSIX_SOURCE, which is predefined and required
9589 # on some systems where configure will not decide to define it.
9590 cat >>conftest.undefs <<\_ACEOF
9591 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9594 # Break up conftest.defines because some shells have a limit on the size
9595 # of here documents, and old seds have small limits too (100 cmds).
9596 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9597 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9598 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9599 echo ' :' >>$CONFIG_STATUS
9601 while grep . conftest.defines >/dev/null
9603 # Write a limited-size here document to $tmp/defines.sed.
9604 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9605 # Speed up: don't consider the non `#define' lines.
9606 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9607 # Work around the forget-to-reset-the-flag bug.
9608 echo 't clr' >>$CONFIG_STATUS
9609 echo ': clr' >>$CONFIG_STATUS
9610 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9612 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9616 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9617 rm -f conftest.defines
9618 mv conftest.
tail conftest.defines
9620 rm -f conftest.defines
9621 echo ' fi # grep' >>$CONFIG_STATUS
9622 echo >>$CONFIG_STATUS
9624 # Break up conftest.undefs because some shells have a limit on the size
9625 # of here documents, and old seds have small limits too (100 cmds).
9626 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9628 while grep . conftest.undefs
>/dev
/null
9630 # Write a limited-size here document to $tmp/undefs.sed.
9631 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9632 # Speed up: don't consider the non
`#undef'
9633 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9634 # Work around the forget-to-reset-the-flag bug.
9635 echo 't clr' >>$CONFIG_STATUS
9636 echo ': clr' >>$CONFIG_STATUS
9637 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9639 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9643 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9644 rm -f conftest.undefs
9645 mv conftest.tail conftest.undefs
9647 rm -f conftest.undefs
9649 cat >>$CONFIG_STATUS <<\_ACEOF
9650 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9651 # use $as_me), people would be surprised to read:
9652 # /* config.h. Generated by config.status. */
9653 if test x
"$ac_file" = x-
; then
9654 echo "/* Generated by configure. */" >$tmp/config.h
9656 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9658 cat $tmp/in >>$tmp/config.h
9660 if test x
"$ac_file" != x-
; then
9661 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9662 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9663 echo "$as_me: $ac_file is unchanged" >&6;}
9665 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9667 X"$ac_file" : 'X\(//\)[^/]' \| \
9668 X"$ac_file" : 'X\(//\)$' \| \
9669 X"$ac_file" : 'X\(/\)' \| \
9670 . : '\(.\)' 2>/dev/null ||
9672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9673 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9674 /^X\(\/\/\)$/{ s//\1/; q; }
9675 /^X\(\/\).*/{ s//\1/; q; }
9677 { if $as_mkdir_p; then
9682 while test ! -d "$as_dir"; do
9683 as_dirs
="$as_dir $as_dirs"
9684 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9686 X"$as_dir" : 'X\(//\)[^/]' \| \
9687 X"$as_dir" : 'X\(//\)$' \| \
9688 X"$as_dir" : 'X\(/\)' \| \
9689 . : '\(.\)' 2>/dev/null ||
9691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9692 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9693 /^X\(\/\/\)$/{ s//\1/; q; }
9694 /^X\(\/\).*/{ s//\1/; q; }
9697 test ! -n "$as_dirs" || mkdir
$as_dirs
9698 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9699 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9700 { (exit 1); exit 1; }; }; }
9703 mv $tmp/config.h
$ac_file
9709 # Compute $ac_file's index in $config_headers.
9711 for _am_header
in $config_headers :; do
9713 $ac_file |
$ac_file:* )
9716 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9719 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9720 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9721 X$ac_file : 'X\(//\)[^/]' \| \
9722 X$ac_file : 'X\(//\)$' \| \
9723 X$ac_file : 'X\(/\)' \| \
9724 . : '\(.\)' 2>/dev/null ||
9726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9727 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9728 /^X\(\/\/\)$/{ s//\1/; q; }
9729 /^X\(\/\).*/{ s//\1/; q; }
9730 s/.*/./; q'`/stamp-h
$_am_stamp_count
9733 cat >>$CONFIG_STATUS <<\_ACEOF
9736 # CONFIG_COMMANDS section.
9738 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9739 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9740 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9741 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9742 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9743 X"$ac_dest" : 'X\(//\)[^/]' \| \
9744 X"$ac_dest" : 'X\(//\)$' \| \
9745 X"$ac_dest" : 'X\(/\)' \| \
9746 . : '\(.\)' 2>/dev/null ||
9748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9749 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9750 /^X\(\/\/\)$/{ s//\1/; q; }
9751 /^X\(\/\).*/{ s//\1/; q; }
9753 { if $as_mkdir_p; then
9758 while test ! -d "$as_dir"; do
9759 as_dirs
="$as_dir $as_dirs"
9760 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9761 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9762 X"$as_dir" : 'X\(//\)[^/]' \| \
9763 X"$as_dir" : 'X\(//\)$' \| \
9764 X"$as_dir" : 'X\(/\)' \| \
9765 . : '\(.\)' 2>/dev/null ||
9767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9768 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9769 /^X\(\/\/\)$/{ s//\1/; q; }
9770 /^X\(\/\).*/{ s//\1/; q; }
9773 test ! -n "$as_dirs" || mkdir
$as_dirs
9774 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9775 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9776 { (exit 1); exit 1; }; }; }
9780 if test "$ac_dir" != .
; then
9781 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9782 # A "../" for each directory in $ac_dir_suffix.
9783 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9785 ac_dir_suffix
= ac_top_builddir
=
9789 .
) # No --srcdir option. We are building in place.
9791 if test -z "$ac_top_builddir"; then
9794 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9796 [\\/]* | ?
:[\\/]* ) # Absolute path.
9797 ac_srcdir
=$srcdir$ac_dir_suffix;
9798 ac_top_srcdir
=$srcdir ;;
9800 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9801 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9804 # Do not use `cd foo && pwd` to compute absolute paths, because
9805 # the directories may not exist.
9807 .
) ac_abs_builddir
="$ac_dir";;
9810 .
) ac_abs_builddir
=`pwd`;;
9811 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9812 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9815 case $ac_abs_builddir in
9816 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9818 case ${ac_top_builddir}.
in
9819 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9820 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9821 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9824 case $ac_abs_builddir in
9825 .
) ac_abs_srcdir
=$ac_srcdir;;
9828 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9829 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9830 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9833 case $ac_abs_builddir in
9834 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9836 case $ac_top_srcdir in
9837 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9838 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9839 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9844 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9845 echo "$as_me: executing $ac_dest commands" >&6;}
9847 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
9848 # Strip MF so we end up with the name of the file.
9849 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9850 # Check whether this is an Automake generated Makefile or not.
9851 # We used to match only the files named `Makefile.in', but
9852 # some people rename them; so instead we look at the file content.
9853 # Grep'ing the first line is not enough: some people post-process
9854 # each Makefile.in and add a new line on top of each file to say so.
9855 # So let's grep whole file.
9856 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
9857 dirpart
=`(dirname "$mf") 2>/dev/null ||
9858 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9859 X"$mf" : 'X\(//\)[^/]' \| \
9860 X"$mf" : 'X\(//\)$' \| \
9861 X"$mf" : 'X\(/\)' \| \
9862 . : '\(.\)' 2>/dev/null ||
9864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9866 /^X\(\/\/\)$/{ s//\1/; q; }
9867 /^X\(\/\).*/{ s//\1/; q; }
9872 # Extract the definition of DEPDIR, am__include, and am__quote
9873 # from the Makefile without running `make'.
9874 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9875 test -z "$DEPDIR" && continue
9876 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9877 test -z "am__include" && continue
9878 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9879 # When using ansi2knr, U may be empty or an underscore; expand it
9880 U
=`sed -n 's/^U = //p' < "$mf"`
9881 # Find all dependency output files, they are included files with
9882 # $(DEPDIR) in their names. We invoke sed twice because it is the
9883 # simplest approach to changing $(DEPDIR) to its actual value in the
9885 for file in `sed -n "
9886 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9887 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9888 # Make sure the directory exists.
9889 test -f "$dirpart/$file" && continue
9890 fdir
=`(dirname "$file") 2>/dev/null ||
9891 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9892 X"$file" : 'X\(//\)[^/]' \| \
9893 X"$file" : 'X\(//\)$' \| \
9894 X"$file" : 'X\(/\)' \| \
9895 . : '\(.\)' 2>/dev/null ||
9897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9898 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9899 /^X\(\/\/\)$/{ s//\1/; q; }
9900 /^X\(\/\).*/{ s//\1/; q; }
9902 { if $as_mkdir_p; then
9903 mkdir
-p $dirpart/$fdir
9905 as_dir
=$dirpart/$fdir
9907 while test ! -d "$as_dir"; do
9908 as_dirs
="$as_dir $as_dirs"
9909 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9910 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9911 X"$as_dir" : 'X\(//\)[^/]' \| \
9912 X"$as_dir" : 'X\(//\)$' \| \
9913 X"$as_dir" : 'X\(/\)' \| \
9914 . : '\(.\)' 2>/dev/null ||
9916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9917 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9918 /^X\(\/\/\)$/{ s//\1/; q; }
9919 /^X\(\/\).*/{ s//\1/; q; }
9922 test ! -n "$as_dirs" || mkdir
$as_dirs
9923 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9924 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9925 { (exit 1); exit 1; }; }; }
9927 # echo "creating $dirpart/$file"
9928 echo '# dummy' > "$dirpart/$file"
9932 default
) sed -e '/POTFILES =/r po/POTFILES' po
/Makefile.
in > po
/Makefile
;;
9937 cat >>$CONFIG_STATUS <<\_ACEOF
9939 { (exit 0); exit 0; }
9941 chmod +x
$CONFIG_STATUS
9942 ac_clean_files
=$ac_clean_files_save
9945 # configure is writing to config.log, and then calls config.status.
9946 # config.status does its own redirection, appending to config.log.
9947 # Unfortunately, on DOS this fails, as config.log is still kept open
9948 # by configure, so config.status won't be able to write to it; its
9949 # output is simply discarded. So we exec the FD to /dev/null,
9950 # effectively closing config.log, so it can be properly (re)opened and
9951 # appended to by config.status. When coming back to configure, we
9952 # need to make the FD available again.
9953 if test "$no_create" != yes; then
9955 ac_config_status_args
=
9956 test "$silent" = yes &&
9957 ac_config_status_args
="$ac_config_status_args --quiet"
9959 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9961 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9962 # would make configure fail if this is the last instruction.
9963 $ac_cs_success ||
{ (exit 1); exit 1; }