2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.54 for sed 3.60.
5
# Report bugs to <bonzini@gnu.org>.
7
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8
# Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be Bourne compatible
16
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
# is contrary to our usage. Disable this feature.
21
alias -g '${1+"$@"}'='"$@"'
22
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26
# Support unset when possible.
27
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
41
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
43
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
44
eval $as_var=C; export $as_var
50
# Required to use basename.
51
if expr a : '\(a\)' >/dev/null 2>&1; then
57
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
64
# Name of the executable.
65
as_me=`$as_basename "$0" ||
66
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67
X"$0" : 'X\(//\)$' \| \
68
X"$0" : 'X\(/\)$' \| \
69
. : '\(.\)' 2>/dev/null ||
71
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72
/^X\/\(\/\/\)$/{ s//\1/; q; }
73
/^X\/\(\/\).*/{ s//\1/; q; }
77
# PATH needs CR, and LINENO needs CR and PATH.
78
# Avoid depending upon Character Ranges.
79
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82
as_cr_digits='0123456789'
83
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
# The user is always right.
86
if test "${PATH_SEPARATOR+set}" != set; then
87
echo "#! /bin/sh" >conftest.sh
88
echo "exit 0" >>conftest.sh
90
if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
101
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
102
test "x$as_lineno_1" != "x$as_lineno_2" &&
103
test "x$as_lineno_3" = "x$as_lineno_2" || {
104
# Find who we are. Look in the path if we contain no path at all
107
*[\\/]* ) as_myself=$0 ;;
108
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
test -z "$as_dir" && as_dir=.
113
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118
# We did not find ourselves, most probably we were run as `sh COMMAND'
119
# in which case we are not to be found in the path.
120
if test "x$as_myself" = x; then
123
if test ! -f "$as_myself"; then
124
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
125
{ (exit 1); exit 1; }; }
127
case $CONFIG_SHELL in
129
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
130
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133
test -z "$as_dir" && as_dir=.
134
for as_base in sh bash ksh sh5; do
137
if ("$as_dir/$as_base" -c '
140
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
141
test "x$as_lineno_1" != "x$as_lineno_2" &&
142
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
143
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
144
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
145
CONFIG_SHELL=$as_dir/$as_base
147
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
155
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
156
# uniformly replaced by the line number. The first 'sed' inserts a
157
# line-number line before each line; the second 'sed' does the real
158
# work. The second script uses 'N' to pair each line-number line
159
# with the numbered line, and appends trailing '-' during
160
# substitution so that $LINENO is not a special case at line end.
161
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
162
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
163
sed '=' <$as_myself |
168
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
171
s,^['$as_cr_digits']*\n,,
173
chmod +x $as_me.lineno ||
174
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
175
{ (exit 1); exit 1; }; }
177
# Don't try to exec as it changes $[0], causing all sort of problems
178
# (the dirname of $[0] is not the place where we might find the
179
# original and so on. Autoconf is especially sensible to this).
181
# Exit status is that of the last command.
186
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
187
*c*,-n*) ECHO_N= ECHO_C='
189
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
190
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
193
if expr a : '\(a\)' >/dev/null 2>&1; then
199
rm -f conf$$ conf$$.exe conf$$.file
201
if ln -s conf$$.file conf$$ 2>/dev/null; then
202
# We could just check for DJGPP; but this test a) works b) is more generic
203
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
204
if test -f conf$$.exe; then
205
# Don't use ln at all; we don't have any links
210
elif ln conf$$.file conf$$ 2>/dev/null; then
215
rm -f conf$$ conf$$.exe conf$$.file
217
if mkdir -p . 2>/dev/null; then
223
as_executable_p="test -f"
225
# Sed expression to map a string onto a valid CPP name.
226
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228
# Sed expression to map a string onto a valid variable name.
229
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233
# We need space, tab and new line, in precisely that order.
243
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
244
# so uname gets run too.
245
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
252
ac_default_prefix=/usr/local
253
ac_config_libobj_dir=.
258
SHELL=${CONFIG_SHELL-/bin/sh}
260
# Maximum number of lines to put in a shell here document.
261
# This variable seems obsolete. It should probably be removed, and
262
# only ac_max_sed_lines should be used.
263
: ${ac_max_here_lines=38}
265
# Identity of this package.
267
PACKAGE_TARNAME='ssed'
268
PACKAGE_VERSION='3.60'
269
PACKAGE_STRING='sed 3.60'
270
PACKAGE_BUGREPORT='bonzini@gnu.org'
272
ac_unique_file="sed/sed.c"
273
# Factoring default headers for most tests.
274
ac_includes_default="\
277
# include <sys/types.h>
280
# include <sys/stat.h>
291
# if !STDC_HEADERS && HAVE_MEMORY_H
297
# include <strings.h>
300
# include <inttypes.h>
310
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP EGREP ALLOCA LIBOBJS PCREGREP BUILD_HTML_TRUE BUILD_HTML_FALSE TEXI2HTML MAKEINFO_HTML_TRUE MAKEINFO_HTML_FALSE TEXI2HTML_HTML_TRUE TEXI2HTML_HTML_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os GLIBC21 LIBICONV USE_NLS MSGFMT GMSGFMT XGETTEXT INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT GMOFILES INTLLIBS INTLOBJS POFILES POSUB DATADIRNAME INSTOBJEXT GENCAT MKINSTALLDIRS INTL_LIBTOOL_SUFFIX_PREFIX LTLIBOBJS'
313
# Initialize some variables set by options.
315
ac_init_version=false
316
# The variables have the same names as the options, with
317
# dashes changed to underlines.
325
program_transform_name=s,x,x,
333
# Installation directory options.
334
# These are left unexpanded so users can "make install exec_prefix=/foo"
335
# and all the variables that are supposed to be based on exec_prefix
336
# by default will actually change.
337
# Use braces instead of parens because sh, perl, etc. also accept them.
338
bindir='${exec_prefix}/bin'
339
sbindir='${exec_prefix}/sbin'
340
libexecdir='${exec_prefix}/libexec'
341
datadir='${prefix}/share'
342
sysconfdir='${prefix}/etc'
343
sharedstatedir='${prefix}/com'
344
localstatedir='${prefix}/var'
345
libdir='${exec_prefix}/lib'
346
includedir='${prefix}/include'
347
oldincludedir='/usr/include'
348
infodir='${prefix}/info'
349
mandir='${prefix}/man'
354
# If the previous option needs an argument, assign it.
355
if test -n "$ac_prev"; then
356
eval "$ac_prev=\$ac_option"
361
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
# Accept the important Cygnus configure options, so we can diagnose typos.
367
-bindir | --bindir | --bindi | --bind | --bin | --bi)
369
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372
-build | --build | --buil | --bui | --bu)
373
ac_prev=build_alias ;;
374
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
375
build_alias=$ac_optarg ;;
377
-cache-file | --cache-file | --cache-fil | --cache-fi \
378
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
379
ac_prev=cache_file ;;
380
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
381
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
382
cache_file=$ac_optarg ;;
385
cache_file=config.cache ;;
387
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391
datadir=$ac_optarg ;;
393
-disable-* | --disable-*)
394
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
395
# Reject names that are not valid shell variable names.
396
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
397
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
398
{ (exit 1); exit 1; }; }
399
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
400
eval "enable_$ac_feature=no" ;;
402
-enable-* | --enable-*)
403
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
404
# Reject names that are not valid shell variable names.
405
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
406
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
407
{ (exit 1); exit 1; }; }
408
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413
eval "enable_$ac_feature='$ac_optarg'" ;;
415
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
416
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
417
| --exec | --exe | --ex)
418
ac_prev=exec_prefix ;;
419
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
420
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
421
| --exec=* | --exe=* | --ex=*)
422
exec_prefix=$ac_optarg ;;
424
-gas | --gas | --ga | --g)
425
# Obsolete; use --with-gas.
428
-help | --help | --hel | --he | -h)
430
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
431
ac_init_help=recursive ;;
432
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
433
ac_init_help=short ;;
435
-host | --host | --hos | --ho)
436
ac_prev=host_alias ;;
437
-host=* | --host=* | --hos=* | --ho=*)
438
host_alias=$ac_optarg ;;
440
-includedir | --includedir | --includedi | --included | --include \
441
| --includ | --inclu | --incl | --inc)
442
ac_prev=includedir ;;
443
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
444
| --includ=* | --inclu=* | --incl=* | --inc=*)
445
includedir=$ac_optarg ;;
447
-infodir | --infodir | --infodi | --infod | --info | --inf)
449
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
450
infodir=$ac_optarg ;;
452
-libdir | --libdir | --libdi | --libd)
454
-libdir=* | --libdir=* | --libdi=* | --libd=*)
457
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
458
| --libexe | --libex | --libe)
459
ac_prev=libexecdir ;;
460
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
461
| --libexe=* | --libex=* | --libe=*)
462
libexecdir=$ac_optarg ;;
464
-localstatedir | --localstatedir | --localstatedi | --localstated \
465
| --localstate | --localstat | --localsta | --localst \
466
| --locals | --local | --loca | --loc | --lo)
467
ac_prev=localstatedir ;;
468
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
469
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
470
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
471
localstatedir=$ac_optarg ;;
473
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
479
# Obsolete; use --without-fp.
482
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
483
| --no-cr | --no-c | -n)
486
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
487
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
491
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
492
| --oldin | --oldi | --old | --ol | --o)
493
ac_prev=oldincludedir ;;
494
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
495
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
496
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
497
oldincludedir=$ac_optarg ;;
499
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504
-program-prefix | --program-prefix | --program-prefi | --program-pref \
505
| --program-pre | --program-pr | --program-p)
506
ac_prev=program_prefix ;;
507
-program-prefix=* | --program-prefix=* | --program-prefi=* \
508
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
509
program_prefix=$ac_optarg ;;
511
-program-suffix | --program-suffix | --program-suffi | --program-suff \
512
| --program-suf | --program-su | --program-s)
513
ac_prev=program_suffix ;;
514
-program-suffix=* | --program-suffix=* | --program-suffi=* \
515
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
516
program_suffix=$ac_optarg ;;
518
-program-transform-name | --program-transform-name \
519
| --program-transform-nam | --program-transform-na \
520
| --program-transform-n | --program-transform- \
521
| --program-transform | --program-transfor \
522
| --program-transfo | --program-transf \
523
| --program-trans | --program-tran \
524
| --progr-tra | --program-tr | --program-t)
525
ac_prev=program_transform_name ;;
526
-program-transform-name=* | --program-transform-name=* \
527
| --program-transform-nam=* | --program-transform-na=* \
528
| --program-transform-n=* | --program-transform-=* \
529
| --program-transform=* | --program-transfor=* \
530
| --program-transfo=* | --program-transf=* \
531
| --program-trans=* | --program-tran=* \
532
| --progr-tra=* | --program-tr=* | --program-t=*)
533
program_transform_name=$ac_optarg ;;
535
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
536
| -silent | --silent | --silen | --sile | --sil)
539
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543
sbindir=$ac_optarg ;;
545
-sharedstatedir | --sharedstatedir | --sharedstatedi \
546
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
547
| --sharedst | --shareds | --shared | --share | --shar \
549
ac_prev=sharedstatedir ;;
550
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
551
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
552
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554
sharedstatedir=$ac_optarg ;;
556
-site | --site | --sit)
558
-site=* | --site=* | --sit=*)
561
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
567
| --syscon | --sysco | --sysc | --sys | --sy)
568
ac_prev=sysconfdir ;;
569
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
570
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
571
sysconfdir=$ac_optarg ;;
573
-target | --target | --targe | --targ | --tar | --ta | --t)
574
ac_prev=target_alias ;;
575
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
576
target_alias=$ac_optarg ;;
578
-v | -verbose | --verbose | --verbos | --verbo | --verb)
581
-version | --version | --versio | --versi | --vers | -V)
585
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
586
# Reject names that are not valid shell variable names.
587
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588
{ echo "$as_me: error: invalid package name: $ac_package" >&2
589
{ (exit 1); exit 1; }; }
590
ac_package=`echo $ac_package| sed 's/-/_/g'`
592
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595
eval "with_$ac_package='$ac_optarg'" ;;
597
-without-* | --without-*)
598
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
599
# Reject names that are not valid shell variable names.
600
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
601
{ echo "$as_me: error: invalid package name: $ac_package" >&2
602
{ (exit 1); exit 1; }; }
603
ac_package=`echo $ac_package | sed 's/-/_/g'`
604
eval "with_$ac_package=no" ;;
607
# Obsolete; use --with-x.
610
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
611
| --x-incl | --x-inc | --x-in | --x-i)
612
ac_prev=x_includes ;;
613
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
614
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
615
x_includes=$ac_optarg ;;
617
-x-libraries | --x-libraries | --x-librarie | --x-librari \
618
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
619
ac_prev=x_libraries ;;
620
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
621
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
622
x_libraries=$ac_optarg ;;
624
-*) { echo "$as_me: error: unrecognized option: $ac_option
625
Try \`$0 --help' for more information." >&2
626
{ (exit 1); exit 1; }; }
630
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
631
# Reject names that are not valid shell variable names.
632
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
633
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
634
{ (exit 1); exit 1; }; }
635
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
636
eval "$ac_envvar='$ac_optarg'"
640
# FIXME: should be removed in autoconf 3.0.
641
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
642
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
643
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
644
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650
if test -n "$ac_prev"; then
651
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
652
{ echo "$as_me: error: missing argument to $ac_option" >&2
653
{ (exit 1); exit 1; }; }
656
# Be sure to have absolute paths.
657
for ac_var in exec_prefix prefix
659
eval ac_val=$`echo $ac_var`
661
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
662
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
663
{ (exit 1); exit 1; }; };;
667
# Be sure to have absolute paths.
668
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
669
localstatedir libdir includedir oldincludedir infodir mandir
671
eval ac_val=$`echo $ac_var`
673
[\\/$]* | ?:[\\/]* ) ;;
674
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
675
{ (exit 1); exit 1; }; };;
679
# There might be people who depend on the old broken behavior: `$host'
680
# used to hold the argument of --host etc.
681
# FIXME: To remove some day.
686
# FIXME: To remove some day.
687
if test "x$host_alias" != x; then
688
if test "x$build_alias" = x; then
689
cross_compiling=maybe
690
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
691
If a cross compiler is detected then cross compile mode will be used." >&2
692
elif test "x$build_alias" != "x$host_alias"; then
698
test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
test "$silent" = yes && exec 6>/dev/null
703
# Find the source files, if location was not specified.
704
if test -z "$srcdir"; then
705
ac_srcdir_defaulted=yes
706
# Try the directory containing this script, then its parent.
707
ac_confdir=`(dirname "$0") 2>/dev/null ||
708
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
709
X"$0" : 'X\(//\)[^/]' \| \
710
X"$0" : 'X\(//\)$' \| \
711
X"$0" : 'X\(/\)' \| \
712
. : '\(.\)' 2>/dev/null ||
714
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
715
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
716
/^X\(\/\/\)$/{ s//\1/; q; }
717
/^X\(\/\).*/{ s//\1/; q; }
720
if test ! -r $srcdir/$ac_unique_file; then
724
ac_srcdir_defaulted=no
726
if test ! -r $srcdir/$ac_unique_file; then
727
if test "$ac_srcdir_defaulted" = yes; then
728
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
729
{ (exit 1); exit 1; }; }
731
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
732
{ (exit 1); exit 1; }; }
735
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
736
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
737
{ (exit 1); exit 1; }; }
738
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
739
ac_env_build_alias_set=${build_alias+set}
740
ac_env_build_alias_value=$build_alias
741
ac_cv_env_build_alias_set=${build_alias+set}
742
ac_cv_env_build_alias_value=$build_alias
743
ac_env_host_alias_set=${host_alias+set}
744
ac_env_host_alias_value=$host_alias
745
ac_cv_env_host_alias_set=${host_alias+set}
746
ac_cv_env_host_alias_value=$host_alias
747
ac_env_target_alias_set=${target_alias+set}
748
ac_env_target_alias_value=$target_alias
749
ac_cv_env_target_alias_set=${target_alias+set}
750
ac_cv_env_target_alias_value=$target_alias
751
ac_env_CC_set=${CC+set}
753
ac_cv_env_CC_set=${CC+set}
754
ac_cv_env_CC_value=$CC
755
ac_env_CFLAGS_set=${CFLAGS+set}
756
ac_env_CFLAGS_value=$CFLAGS
757
ac_cv_env_CFLAGS_set=${CFLAGS+set}
758
ac_cv_env_CFLAGS_value=$CFLAGS
759
ac_env_LDFLAGS_set=${LDFLAGS+set}
760
ac_env_LDFLAGS_value=$LDFLAGS
761
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
762
ac_cv_env_LDFLAGS_value=$LDFLAGS
763
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
764
ac_env_CPPFLAGS_value=$CPPFLAGS
765
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
766
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
767
ac_env_CPP_set=${CPP+set}
768
ac_env_CPP_value=$CPP
769
ac_cv_env_CPP_set=${CPP+set}
770
ac_cv_env_CPP_value=$CPP
773
# Report the --help message.
775
if test "$ac_init_help" = "long"; then
776
# Omit some internal or obsolete options to make the list less imposing.
777
# This message is too long to be a string in the A/UX 3.1 sh.
779
\`configure' configures sed 3.60 to adapt to many kinds of systems.
781
Usage: $0 [OPTION]... [VAR=VALUE]...
783
To assign environment variables (e.g., CC, CFLAGS...), specify them as
784
VAR=VALUE. See below for descriptions of some of the useful variables.
786
Defaults for the options are specified in brackets.
789
-h, --help display this help and exit
790
--help=short display options specific to this package
791
--help=recursive display the short help of all the included packages
792
-V, --version display version information and exit
793
-q, --quiet, --silent do not print \`checking...' messages
794
--cache-file=FILE cache test results in FILE [disabled]
795
-C, --config-cache alias for \`--cache-file=config.cache'
796
-n, --no-create do not create output files
797
--srcdir=DIR find the sources in DIR [configure dir or \`..']
802
Installation directories:
803
--prefix=PREFIX install architecture-independent files in PREFIX
805
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
808
By default, \`make install' will install all the files in
809
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
810
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
811
for instance \`--prefix=\$HOME'.
813
For better control, use the options below.
815
Fine tuning of the installation directories:
816
--bindir=DIR user executables [EPREFIX/bin]
817
--sbindir=DIR system admin executables [EPREFIX/sbin]
818
--libexecdir=DIR program executables [EPREFIX/libexec]
819
--datadir=DIR read-only architecture-independent data [PREFIX/share]
820
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
821
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
822
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
823
--libdir=DIR object code libraries [EPREFIX/lib]
824
--includedir=DIR C header files [PREFIX/include]
825
--oldincludedir=DIR C header files for non-gcc [/usr/include]
826
--infodir=DIR info documentation [PREFIX/info]
827
--mandir=DIR man documentation [PREFIX/man]
833
--program-prefix=PREFIX prepend PREFIX to installed program names
834
--program-suffix=SUFFIX append SUFFIX to installed program names
835
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
838
--build=BUILD configure for building on BUILD [guessed]
839
--host=HOST cross-compile to build programs to run on HOST [BUILD]
843
if test -n "$ac_init_help"; then
844
case $ac_init_help in
845
short | recursive ) echo "Configuration of sed 3.60:";;
850
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
851
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
852
--disable-dependency-tracking Speeds up one-time builds
853
--enable-dependency-tracking Do not reject slow dependency extractors
854
--disable-largefile omit support for large files
855
--enable-pcregrep build the pcregrep test program
856
--enable-html build HTML documentation
857
--disable-nls do not use Native Language Support
860
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
861
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
862
--with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
863
--with-included-gettext use the GNU gettext library included here
865
Some influential environment variables:
866
CC C compiler command
867
CFLAGS C compiler flags
868
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
869
nonstandard directory <lib dir>
870
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
871
headers in a nonstandard directory <include dir>
874
Use these variables to override the choices made by `configure' or to help
875
it to find libraries and programs with nonstandard names/locations.
877
Report bugs to <bonzini@gnu.org>.
881
if test "$ac_init_help" = "recursive"; then
882
# If there are subdirs, report their specific --help.
884
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
885
test -d $ac_dir || continue
888
if test "$ac_dir" != .; then
889
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
890
# A "../" for each directory in $ac_dir_suffix.
891
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
893
ac_dir_suffix= ac_top_builddir=
897
.) # No --srcdir option. We are building in place.
899
if test -z "$ac_top_builddir"; then
902
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
904
[\\/]* | ?:[\\/]* ) # Absolute path.
905
ac_srcdir=$srcdir$ac_dir_suffix;
906
ac_top_srcdir=$srcdir ;;
908
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
909
ac_top_srcdir=$ac_top_builddir$srcdir ;;
911
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
913
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
914
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
915
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
916
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
919
# Check for guested configure; otherwise get Cygnus style configure.
920
if test -f $ac_srcdir/configure.gnu; then
922
$SHELL $ac_srcdir/configure.gnu --help=recursive
923
elif test -f $ac_srcdir/configure; then
925
$SHELL $ac_srcdir/configure --help=recursive
926
elif test -f $ac_srcdir/configure.ac ||
927
test -f $ac_srcdir/configure.in; then
931
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
937
test -n "$ac_init_help" && exit 0
938
if $ac_init_version; then
941
generated by GNU Autoconf 2.54
943
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
944
Free Software Foundation, Inc.
945
This configure script is free software; the Free Software Foundation
946
gives unlimited permission to copy, distribute and modify it.
952
This file contains any messages produced by compilers while
953
running configure, to aid debugging if configure makes a mistake.
955
It was created by sed $as_me 3.60, which was
956
generated by GNU Autoconf 2.54. Invocation command line was
967
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
968
uname -m = `(uname -m) 2>/dev/null || echo unknown`
969
uname -r = `(uname -r) 2>/dev/null || echo unknown`
970
uname -s = `(uname -s) 2>/dev/null || echo unknown`
971
uname -v = `(uname -v) 2>/dev/null || echo unknown`
973
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
974
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
976
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
977
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
978
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
979
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
980
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
981
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
982
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
986
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
990
test -z "$as_dir" && as_dir=.
1006
# Keep a trace of the command line.
1007
# Strip out --no-create and --no-recursion so they do not pile up.
1008
# Also quote any args containing shell meta-characters.
1014
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1015
| --no-cr | --no-c | -n ) continue ;;
1016
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1017
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1020
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1022
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1023
# Get rid of the leading space.
1027
# When interrupted or exit'd, cleanup temporary files, and complete
1028
# config.log. We remove comments because anyway the quotes in there
1029
# would cause problems or look ugly.
1030
# WARNING: Be sure not to use single quotes in there, as some shells,
1031
# such as our DU 5.0 friend, will then `close' the trap.
1032
trap 'exit_status=$?
1033
# Save into config.log some information that might help in debugging.
1038
## ---------------- ##
1039
## Cache variables. ##
1040
## ---------------- ##
1043
# The following way of writing the cache mishandles newlines in values,
1046
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1049
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1050
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1054
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1061
## ----------------- ##
1062
## Output variables. ##
1063
## ----------------- ##
1066
for ac_var in $ac_subst_vars
1068
eval ac_val=$`echo $ac_var`
1069
echo "$ac_var='"'"'$ac_val'"'"'"
1073
if test -n "$ac_subst_files"; then
1080
for ac_var in $ac_subst_files
1082
eval ac_val=$`echo $ac_var`
1083
echo "$ac_var='"'"'$ac_val'"'"'"
1088
if test -s confdefs.h; then
1095
sed "/^$/d" confdefs.h | sort
1098
test "$ac_signal" != 0 &&
1099
echo "$as_me: caught signal $ac_signal"
1100
echo "$as_me: exit $exit_status"
1102
rm -f core core.* *.core &&
1103
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1106
for ac_signal in 1 2 13 15; do
1107
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1111
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1112
rm -rf conftest* confdefs.h
1113
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1116
# Predefined preprocessor variables.
1118
cat >>confdefs.h <<_ACEOF
1119
#define PACKAGE_NAME "$PACKAGE_NAME"
1123
cat >>confdefs.h <<_ACEOF
1124
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1128
cat >>confdefs.h <<_ACEOF
1129
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1133
cat >>confdefs.h <<_ACEOF
1134
#define PACKAGE_STRING "$PACKAGE_STRING"
1138
cat >>confdefs.h <<_ACEOF
1139
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1143
# Let the site file select an alternate cache file if it wants to.
1144
# Prefer explicitly selected file to automatically selected ones.
1145
if test -z "$CONFIG_SITE"; then
1146
if test "x$prefix" != xNONE; then
1147
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1149
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1152
for ac_site_file in $CONFIG_SITE; do
1153
if test -r "$ac_site_file"; then
1154
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1155
echo "$as_me: loading site script $ac_site_file" >&6;}
1156
sed 's/^/| /' "$ac_site_file" >&5
1161
if test -r "$cache_file"; then
1162
# Some versions of bash will fail to source /dev/null (special
1163
# files actually), so we avoid doing that.
1164
if test -f "$cache_file"; then
1165
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1166
echo "$as_me: loading cache $cache_file" >&6;}
1168
[\\/]* | ?:[\\/]* ) . $cache_file;;
1169
*) . ./$cache_file;;
1173
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1174
echo "$as_me: creating cache $cache_file" >&6;}
1178
# Check that the precious variables saved in the cache have kept the same
1180
ac_cache_corrupted=false
1181
for ac_var in `(set) 2>&1 |
1182
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1183
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1184
eval ac_new_set=\$ac_env_${ac_var}_set
1185
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1186
eval ac_new_val="\$ac_env_${ac_var}_value"
1187
case $ac_old_set,$ac_new_set in
1189
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1190
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1191
ac_cache_corrupted=: ;;
1193
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1194
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1195
ac_cache_corrupted=: ;;
1198
if test "x$ac_old_val" != "x$ac_new_val"; then
1199
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1200
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1201
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1202
echo "$as_me: former value: $ac_old_val" >&2;}
1203
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1204
echo "$as_me: current value: $ac_new_val" >&2;}
1205
ac_cache_corrupted=:
1208
# Pass precious variables to config.status.
1209
if test "$ac_new_set" = set; then
1211
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1212
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1213
*) ac_arg=$ac_var=$ac_new_val ;;
1215
case " $ac_configure_args " in
1216
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1217
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1221
if $ac_cache_corrupted; then
1222
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1223
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1224
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1225
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1226
{ (exit 1); exit 1; }; }
1230
ac_cpp='$CPP $CPPFLAGS'
1231
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1232
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1233
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1262
for ac_dir in config $srcdir/config; do
1263
if test -f $ac_dir/install-sh; then
1265
ac_install_sh="$ac_aux_dir/install-sh -c"
1267
elif test -f $ac_dir/install.sh; then
1269
ac_install_sh="$ac_aux_dir/install.sh -c"
1271
elif test -f $ac_dir/shtool; then
1273
ac_install_sh="$ac_aux_dir/shtool install -c"
1277
if test -z "$ac_aux_dir"; then
1278
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1279
echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1280
{ (exit 1); exit 1; }; }
1282
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1283
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1284
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1287
ac_config_headers="$ac_config_headers config.h:config_h.in"
1290
am__api_version="1.7"
1291
# Find a good install program. We prefer a C program (faster),
1292
# so one script is as good as another. But avoid the broken or
1293
# incompatible versions:
1294
# SysV /etc/install, /usr/sbin/install
1295
# SunOS /usr/etc/install
1296
# IRIX /sbin/install
1298
# AmigaOS /C/install, which installs bootblocks on floppy discs
1299
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1300
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1301
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1302
# ./install, which can be erroneously created by make from ./install.sh.
1303
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1304
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1305
if test -z "$INSTALL"; then
1306
if test "${ac_cv_path_install+set}" = set; then
1307
echo $ECHO_N "(cached) $ECHO_C" >&6
1309
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1313
test -z "$as_dir" && as_dir=.
1314
# Account for people who put trailing slashes in PATH elements.
1316
./ | .// | /cC/* | \
1317
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1320
# OSF1 and SCO ODT 3.0 have their own names for install.
1321
# Don't use installbsd from OSF since it installs stuff as root
1323
for ac_prog in ginstall scoinst install; do
1324
for ac_exec_ext in '' $ac_executable_extensions; do
1325
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1326
if test $ac_prog = install &&
1327
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1328
# AIX install. It has an incompatible calling convention.
1330
elif test $ac_prog = install &&
1331
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1332
# program-specific install script used by HP pwplus--don't use.
1335
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1347
if test "${ac_cv_path_install+set}" = set; then
1348
INSTALL=$ac_cv_path_install
1350
# As a last resort, use the slow shell script. We don't cache a
1351
# path for INSTALL within a source directory, because that will
1352
# break other packages using the cache if that directory is
1353
# removed, or if the path is relative.
1354
INSTALL=$ac_install_sh
1357
echo "$as_me:$LINENO: result: $INSTALL" >&5
1358
echo "${ECHO_T}$INSTALL" >&6
1360
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1361
# It thinks the first close brace ends the variable substitution.
1362
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1364
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1366
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1368
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1369
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1372
echo timestamp > conftest.file
1373
# Do `set' in a subshell so we don't clobber the current shell's
1374
# arguments. Must try -L first in case configure is actually a
1375
# symlink; some systems play weird games with the mod time of symlinks
1376
# (eg FreeBSD returns the mod time of the symlink's containing
1379
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1380
if test "$*" = "X"; then
1382
set X `ls -t $srcdir/configure conftest.file`
1385
if test "$*" != "X $srcdir/configure conftest.file" \
1386
&& test "$*" != "X conftest.file $srcdir/configure"; then
1388
# If neither matched, then we have a broken ls. This can happen
1389
# if, for instance, CONFIG_SHELL is bash and it inherits a
1390
# broken ls alias from the environment. This has actually
1391
# happened. Such a system could not be considered "sane".
1392
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1393
alias in your environment" >&5
1394
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1395
alias in your environment" >&2;}
1396
{ (exit 1); exit 1; }; }
1399
test "$2" = conftest.file
1405
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1406
Check your system clock" >&5
1407
echo "$as_me: error: newly created file is older than distributed files!
1408
Check your system clock" >&2;}
1409
{ (exit 1); exit 1; }; }
1411
echo "$as_me:$LINENO: result: yes" >&5
1412
echo "${ECHO_T}yes" >&6
1413
test "$program_prefix" != NONE &&
1414
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1415
# Use a double $ so make ignores it.
1416
test "$program_suffix" != NONE &&
1417
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1418
# Double any \ or $. echo might interpret backslashes.
1419
# By default was `s,x,x', remove it if useless.
1420
cat <<\_ACEOF >conftest.sed
1421
s/[\\$]/&&/g;s/;s,x,x,$//
1423
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1427
# expand $ac_aux_dir to an absolute path
1428
am_aux_dir=`cd $ac_aux_dir && pwd`
1430
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1431
# Use eval to expand $SHELL
1432
if eval "$MISSING --run true"; then
1433
am_missing_run="$MISSING --run "
1436
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1437
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1440
for ac_prog in gawk mawk nawk awk
1442
# Extract the first word of "$ac_prog", so it can be a program name with args.
1443
set dummy $ac_prog; ac_word=$2
1444
echo "$as_me:$LINENO: checking for $ac_word" >&5
1445
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1446
if test "${ac_cv_prog_AWK+set}" = set; then
1447
echo $ECHO_N "(cached) $ECHO_C" >&6
1449
if test -n "$AWK"; then
1450
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1452
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456
test -z "$as_dir" && as_dir=.
1457
for ac_exec_ext in '' $ac_executable_extensions; do
1458
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1459
ac_cv_prog_AWK="$ac_prog"
1460
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1469
if test -n "$AWK"; then
1470
echo "$as_me:$LINENO: result: $AWK" >&5
1471
echo "${ECHO_T}$AWK" >&6
1473
echo "$as_me:$LINENO: result: no" >&5
1474
echo "${ECHO_T}no" >&6
1477
test -n "$AWK" && break
1480
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1481
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1482
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1483
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1484
echo $ECHO_N "(cached) $ECHO_C" >&6
1486
cat >conftest.make <<\_ACEOF
1488
@echo 'ac_maketemp="${MAKE}"'
1490
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1491
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1492
if test -n "$ac_maketemp"; then
1493
eval ac_cv_prog_make_${ac_make}_set=yes
1495
eval ac_cv_prog_make_${ac_make}_set=no
1499
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1500
echo "$as_me:$LINENO: result: yes" >&5
1501
echo "${ECHO_T}yes" >&6
1504
echo "$as_me:$LINENO: result: no" >&5
1505
echo "${ECHO_T}no" >&6
1506
SET_MAKE="MAKE=${MAKE-make}"
1509
# test to see if srcdir already configured
1510
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1511
test -f $srcdir/config.status; then
1512
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1513
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1514
{ (exit 1); exit 1; }; }
1517
# test whether we have cygpath
1518
if test -z "$CYGPATH_W"; then
1519
if (cygpath --version) >/dev/null 2>/dev/null; then
1520
CYGPATH_W='cygpath -w'
1527
# Define the identity of the package.
1532
cat >>confdefs.h <<_ACEOF
1533
#define PACKAGE "$PACKAGE"
1537
cat >>confdefs.h <<_ACEOF
1538
#define VERSION "$VERSION"
1541
# Some tools Automake needs.
1543
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1546
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1549
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1552
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1555
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1558
AMTAR=${AMTAR-"${am_missing_run}tar"}
1560
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1562
# Installed binaries are usually stripped using `strip' when the user
1563
# run `make install-strip'. However `strip' might not be the right
1564
# tool to use in cross-compilation environments, therefore Automake
1565
# will honor the `STRIP' environment variable to overrule this program.
1566
if test "$cross_compiling" != no; then
1567
if test -n "$ac_tool_prefix"; then
1568
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1569
set dummy ${ac_tool_prefix}strip; ac_word=$2
1570
echo "$as_me:$LINENO: checking for $ac_word" >&5
1571
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1572
if test "${ac_cv_prog_STRIP+set}" = set; then
1573
echo $ECHO_N "(cached) $ECHO_C" >&6
1575
if test -n "$STRIP"; then
1576
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1578
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582
test -z "$as_dir" && as_dir=.
1583
for ac_exec_ext in '' $ac_executable_extensions; do
1584
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1585
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1586
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1594
STRIP=$ac_cv_prog_STRIP
1595
if test -n "$STRIP"; then
1596
echo "$as_me:$LINENO: result: $STRIP" >&5
1597
echo "${ECHO_T}$STRIP" >&6
1599
echo "$as_me:$LINENO: result: no" >&5
1600
echo "${ECHO_T}no" >&6
1604
if test -z "$ac_cv_prog_STRIP"; then
1606
# Extract the first word of "strip", so it can be a program name with args.
1607
set dummy strip; ac_word=$2
1608
echo "$as_me:$LINENO: checking for $ac_word" >&5
1609
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1610
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1611
echo $ECHO_N "(cached) $ECHO_C" >&6
1613
if test -n "$ac_ct_STRIP"; then
1614
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1620
test -z "$as_dir" && as_dir=.
1621
for ac_exec_ext in '' $ac_executable_extensions; do
1622
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1623
ac_cv_prog_ac_ct_STRIP="strip"
1624
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1633
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1634
if test -n "$ac_ct_STRIP"; then
1635
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1636
echo "${ECHO_T}$ac_ct_STRIP" >&6
1638
echo "$as_me:$LINENO: result: no" >&5
1639
echo "${ECHO_T}no" >&6
1644
STRIP="$ac_cv_prog_STRIP"
1648
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1650
# We need awk for the "check" target. The system "awk" is bad on
1657
ac_cpp='$CPP $CPPFLAGS'
1658
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1659
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1660
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1661
if test -n "$ac_tool_prefix"; then
1662
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1663
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1664
echo "$as_me:$LINENO: checking for $ac_word" >&5
1665
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1666
if test "${ac_cv_prog_CC+set}" = set; then
1667
echo $ECHO_N "(cached) $ECHO_C" >&6
1669
if test -n "$CC"; then
1670
ac_cv_prog_CC="$CC" # Let the user override the test.
1672
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1676
test -z "$as_dir" && as_dir=.
1677
for ac_exec_ext in '' $ac_executable_extensions; do
1678
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1679
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1680
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1689
if test -n "$CC"; then
1690
echo "$as_me:$LINENO: result: $CC" >&5
1691
echo "${ECHO_T}$CC" >&6
1693
echo "$as_me:$LINENO: result: no" >&5
1694
echo "${ECHO_T}no" >&6
1698
if test -z "$ac_cv_prog_CC"; then
1700
# Extract the first word of "gcc", so it can be a program name with args.
1701
set dummy gcc; ac_word=$2
1702
echo "$as_me:$LINENO: checking for $ac_word" >&5
1703
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1704
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1705
echo $ECHO_N "(cached) $ECHO_C" >&6
1707
if test -n "$ac_ct_CC"; then
1708
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1710
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714
test -z "$as_dir" && as_dir=.
1715
for ac_exec_ext in '' $ac_executable_extensions; do
1716
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717
ac_cv_prog_ac_ct_CC="gcc"
1718
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1726
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1727
if test -n "$ac_ct_CC"; then
1728
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1729
echo "${ECHO_T}$ac_ct_CC" >&6
1731
echo "$as_me:$LINENO: result: no" >&5
1732
echo "${ECHO_T}no" >&6
1740
if test -z "$CC"; then
1741
if test -n "$ac_tool_prefix"; then
1742
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1743
set dummy ${ac_tool_prefix}cc; ac_word=$2
1744
echo "$as_me:$LINENO: checking for $ac_word" >&5
1745
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1746
if test "${ac_cv_prog_CC+set}" = set; then
1747
echo $ECHO_N "(cached) $ECHO_C" >&6
1749
if test -n "$CC"; then
1750
ac_cv_prog_CC="$CC" # Let the user override the test.
1752
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1756
test -z "$as_dir" && as_dir=.
1757
for ac_exec_ext in '' $ac_executable_extensions; do
1758
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1759
ac_cv_prog_CC="${ac_tool_prefix}cc"
1760
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1769
if test -n "$CC"; then
1770
echo "$as_me:$LINENO: result: $CC" >&5
1771
echo "${ECHO_T}$CC" >&6
1773
echo "$as_me:$LINENO: result: no" >&5
1774
echo "${ECHO_T}no" >&6
1778
if test -z "$ac_cv_prog_CC"; then
1780
# Extract the first word of "cc", so it can be a program name with args.
1781
set dummy cc; ac_word=$2
1782
echo "$as_me:$LINENO: checking for $ac_word" >&5
1783
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1784
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1785
echo $ECHO_N "(cached) $ECHO_C" >&6
1787
if test -n "$ac_ct_CC"; then
1788
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1790
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794
test -z "$as_dir" && as_dir=.
1795
for ac_exec_ext in '' $ac_executable_extensions; do
1796
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1797
ac_cv_prog_ac_ct_CC="cc"
1798
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1806
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1807
if test -n "$ac_ct_CC"; then
1808
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1809
echo "${ECHO_T}$ac_ct_CC" >&6
1811
echo "$as_me:$LINENO: result: no" >&5
1812
echo "${ECHO_T}no" >&6
1821
if test -z "$CC"; then
1822
# Extract the first word of "cc", so it can be a program name with args.
1823
set dummy cc; ac_word=$2
1824
echo "$as_me:$LINENO: checking for $ac_word" >&5
1825
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1826
if test "${ac_cv_prog_CC+set}" = set; then
1827
echo $ECHO_N "(cached) $ECHO_C" >&6
1829
if test -n "$CC"; then
1830
ac_cv_prog_CC="$CC" # Let the user override the test.
1833
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837
test -z "$as_dir" && as_dir=.
1838
for ac_exec_ext in '' $ac_executable_extensions; do
1839
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1840
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1841
ac_prog_rejected=yes
1845
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1851
if test $ac_prog_rejected = yes; then
1852
# We found a bogon in the path, so make sure we never use it.
1853
set dummy $ac_cv_prog_CC
1855
if test $# != 0; then
1856
# We chose a different compiler from the bogus one.
1857
# However, it has the same basename, so the bogon will be chosen
1858
# first if we set CC to just the basename; use the full file name.
1860
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1866
if test -n "$CC"; then
1867
echo "$as_me:$LINENO: result: $CC" >&5
1868
echo "${ECHO_T}$CC" >&6
1870
echo "$as_me:$LINENO: result: no" >&5
1871
echo "${ECHO_T}no" >&6
1875
if test -z "$CC"; then
1876
if test -n "$ac_tool_prefix"; then
1879
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1880
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1881
echo "$as_me:$LINENO: checking for $ac_word" >&5
1882
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883
if test "${ac_cv_prog_CC+set}" = set; then
1884
echo $ECHO_N "(cached) $ECHO_C" >&6
1886
if test -n "$CC"; then
1887
ac_cv_prog_CC="$CC" # Let the user override the test.
1889
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893
test -z "$as_dir" && as_dir=.
1894
for ac_exec_ext in '' $ac_executable_extensions; do
1895
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1897
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906
if test -n "$CC"; then
1907
echo "$as_me:$LINENO: result: $CC" >&5
1908
echo "${ECHO_T}$CC" >&6
1910
echo "$as_me:$LINENO: result: no" >&5
1911
echo "${ECHO_T}no" >&6
1914
test -n "$CC" && break
1917
if test -z "$CC"; then
1921
# Extract the first word of "$ac_prog", so it can be a program name with args.
1922
set dummy $ac_prog; ac_word=$2
1923
echo "$as_me:$LINENO: checking for $ac_word" >&5
1924
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1925
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1926
echo $ECHO_N "(cached) $ECHO_C" >&6
1928
if test -n "$ac_ct_CC"; then
1929
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1931
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935
test -z "$as_dir" && as_dir=.
1936
for ac_exec_ext in '' $ac_executable_extensions; do
1937
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938
ac_cv_prog_ac_ct_CC="$ac_prog"
1939
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1948
if test -n "$ac_ct_CC"; then
1949
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1950
echo "${ECHO_T}$ac_ct_CC" >&6
1952
echo "$as_me:$LINENO: result: no" >&5
1953
echo "${ECHO_T}no" >&6
1956
test -n "$ac_ct_CC" && break
1965
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1966
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1967
{ (exit 1); exit 1; }; }
1969
# Provide some information about the compiler.
1970
echo "$as_me:$LINENO:" \
1971
"checking for C compiler version" >&5
1972
ac_compiler=`set X $ac_compile; echo $2`
1973
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1974
(eval $ac_compiler --version </dev/null >&5) 2>&5
1976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977
(exit $ac_status); }
1978
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1979
(eval $ac_compiler -v </dev/null >&5) 2>&5
1981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982
(exit $ac_status); }
1983
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1984
(eval $ac_compiler -V </dev/null >&5) 2>&5
1986
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1987
(exit $ac_status); }
1989
cat >conftest.$ac_ext <<_ACEOF
1990
#line $LINENO "configure"
1991
#include "confdefs.h"
2001
ac_clean_files_save=$ac_clean_files
2002
ac_clean_files="$ac_clean_files a.out a.exe"
2003
# Try to create an executable without -o first, disregard a.out.
2004
# It will help us diagnose broken compilers, and finding out an intuition
2006
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2007
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2008
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2009
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2010
(eval $ac_link_default) 2>&5
2012
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013
(exit $ac_status); }; then
2014
# Find the output, starting from the most likely. This scheme is
2015
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2018
# Be careful to initialize this variable, since it used to be cached.
2019
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2021
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
2022
test -f "$ac_file" || continue
2024
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2025
a.out ) # We found the default executable, but exeext='' is most
2028
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2029
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2036
echo "$as_me: failed program was:" >&5
2037
cat conftest.$ac_ext >&5
2038
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2039
check \`config.log' for details." >&5
2040
echo "$as_me: error: C compiler cannot create executables
2041
check \`config.log' for details." >&2;}
2042
{ (exit 77); exit 77; }; }
2045
ac_exeext=$ac_cv_exeext
2046
echo "$as_me:$LINENO: result: $ac_file" >&5
2047
echo "${ECHO_T}$ac_file" >&6
2049
# Check the compiler produces executables we can run. If not, either
2050
# the compiler is broken, or we cross compile.
2051
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2052
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2053
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2054
# If not cross compiling, check that we can run a simple program.
2055
if test "$cross_compiling" != yes; then
2056
if { ac_try='./$ac_file'
2057
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061
(exit $ac_status); }; }; then
2064
if test "$cross_compiling" = maybe; then
2067
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2068
If you meant to cross compile, use \`--host'." >&5
2069
echo "$as_me: error: cannot run C compiled programs.
2070
If you meant to cross compile, use \`--host'." >&2;}
2071
{ (exit 1); exit 1; }; }
2075
echo "$as_me:$LINENO: result: yes" >&5
2076
echo "${ECHO_T}yes" >&6
2078
rm -f a.out a.exe conftest$ac_cv_exeext
2079
ac_clean_files=$ac_clean_files_save
2080
# Check the compiler produces executables we can run. If not, either
2081
# the compiler is broken, or we cross compile.
2082
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2083
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2084
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2085
echo "${ECHO_T}$cross_compiling" >&6
2087
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2088
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2089
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2090
(eval $ac_link) 2>&5
2092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093
(exit $ac_status); }; then
2094
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2095
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2096
# work properly (i.e., refer to `conftest.exe'), while it won't with
2098
for ac_file in conftest.exe conftest conftest.*; do
2099
test -f "$ac_file" || continue
2101
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2102
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2109
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2110
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2111
{ (exit 1); exit 1; }; }
2114
rm -f conftest$ac_cv_exeext
2115
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2116
echo "${ECHO_T}$ac_cv_exeext" >&6
2118
rm -f conftest.$ac_ext
2119
EXEEXT=$ac_cv_exeext
2121
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2122
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2123
if test "${ac_cv_objext+set}" = set; then
2124
echo $ECHO_N "(cached) $ECHO_C" >&6
2126
cat >conftest.$ac_ext <<_ACEOF
2127
#line $LINENO "configure"
2128
#include "confdefs.h"
2138
rm -f conftest.o conftest.obj
2139
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2140
(eval $ac_compile) 2>&5
2142
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143
(exit $ac_status); }; then
2144
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2146
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2147
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2152
echo "$as_me: failed program was:" >&5
2153
cat conftest.$ac_ext >&5
2154
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2155
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2156
{ (exit 1); exit 1; }; }
2159
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2161
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2162
echo "${ECHO_T}$ac_cv_objext" >&6
2163
OBJEXT=$ac_cv_objext
2165
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2166
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2167
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2168
echo $ECHO_N "(cached) $ECHO_C" >&6
2170
cat >conftest.$ac_ext <<_ACEOF
2171
#line $LINENO "configure"
2172
#include "confdefs.h"
2185
rm -f conftest.$ac_objext
2186
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2187
(eval $ac_compile) 2>&5
2189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190
(exit $ac_status); } &&
2191
{ ac_try='test -s conftest.$ac_objext'
2192
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196
(exit $ac_status); }; }; then
2199
echo "$as_me: failed program was:" >&5
2200
cat conftest.$ac_ext >&5
2203
rm -f conftest.$ac_objext conftest.$ac_ext
2204
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2207
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2208
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2209
GCC=`test $ac_compiler_gnu = yes && echo yes`
2210
ac_test_CFLAGS=${CFLAGS+set}
2211
ac_save_CFLAGS=$CFLAGS
2213
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2214
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2215
if test "${ac_cv_prog_cc_g+set}" = set; then
2216
echo $ECHO_N "(cached) $ECHO_C" >&6
2218
cat >conftest.$ac_ext <<_ACEOF
2219
#line $LINENO "configure"
2220
#include "confdefs.h"
2230
rm -f conftest.$ac_objext
2231
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2232
(eval $ac_compile) 2>&5
2234
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235
(exit $ac_status); } &&
2236
{ ac_try='test -s conftest.$ac_objext'
2237
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241
(exit $ac_status); }; }; then
2244
echo "$as_me: failed program was:" >&5
2245
cat conftest.$ac_ext >&5
2248
rm -f conftest.$ac_objext conftest.$ac_ext
2250
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2251
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2252
if test "$ac_test_CFLAGS" = set; then
2253
CFLAGS=$ac_save_CFLAGS
2254
elif test $ac_cv_prog_cc_g = yes; then
2255
if test "$GCC" = yes; then
2261
if test "$GCC" = yes; then
2267
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2268
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2269
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2270
echo $ECHO_N "(cached) $ECHO_C" >&6
2272
ac_cv_prog_cc_stdc=no
2274
cat >conftest.$ac_ext <<_ACEOF
2275
#line $LINENO "configure"
2276
#include "confdefs.h"
2279
#include <sys/types.h>
2280
#include <sys/stat.h>
2281
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2282
struct buf { int x; };
2283
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2284
static char *e (p, i)
2290
static char *f (char * (*g) (char **, int), char **p, ...)
2295
s = g (p, va_arg (v,int));
2299
int test (int i, double x);
2300
struct s1 {int (*f) (int a);};
2301
struct s2 {int (*f) (double a);};
2302
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2308
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2313
# Don't try gcc -ansi; that turns off useful extensions and
2314
# breaks some systems' header files.
2315
# AIX -qlanglvl=ansi
2316
# Ultrix and OSF/1 -std1
2317
# HP-UX 10.20 and later -Ae
2318
# HP-UX older versions -Aa -D_HPUX_SOURCE
2319
# SVR4 -Xc -D__EXTENSIONS__
2320
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2322
CC="$ac_save_CC $ac_arg"
2323
rm -f conftest.$ac_objext
2324
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2325
(eval $ac_compile) 2>&5
2327
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328
(exit $ac_status); } &&
2329
{ ac_try='test -s conftest.$ac_objext'
2330
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334
(exit $ac_status); }; }; then
2335
ac_cv_prog_cc_stdc=$ac_arg
2338
echo "$as_me: failed program was:" >&5
2339
cat conftest.$ac_ext >&5
2341
rm -f conftest.$ac_objext
2343
rm -f conftest.$ac_ext conftest.$ac_objext
2348
case "x$ac_cv_prog_cc_stdc" in
2350
echo "$as_me:$LINENO: result: none needed" >&5
2351
echo "${ECHO_T}none needed" >&6 ;;
2353
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2354
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2355
CC="$CC $ac_cv_prog_cc_stdc" ;;
2358
# Some people use a C++ compiler to compile C. Since we use `exit',
2359
# in C++ we need to declare it. In case someone uses the same compiler
2360
# for both compiling C and C++ we need to have the C++ compiler decide
2361
# the declaration of exit, since it's the most demanding environment.
2362
cat >conftest.$ac_ext <<_ACEOF
2367
rm -f conftest.$ac_objext
2368
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2369
(eval $ac_compile) 2>&5
2371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372
(exit $ac_status); } &&
2373
{ ac_try='test -s conftest.$ac_objext'
2374
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378
(exit $ac_status); }; }; then
2379
for ac_declaration in \
2381
'#include <stdlib.h>' \
2382
'extern "C" void std::exit (int) throw (); using std::exit;' \
2383
'extern "C" void std::exit (int); using std::exit;' \
2384
'extern "C" void exit (int) throw ();' \
2385
'extern "C" void exit (int);' \
2388
cat >conftest.$ac_ext <<_ACEOF
2389
#line $LINENO "configure"
2390
#include "confdefs.h"
2401
rm -f conftest.$ac_objext
2402
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2403
(eval $ac_compile) 2>&5
2405
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406
(exit $ac_status); } &&
2407
{ ac_try='test -s conftest.$ac_objext'
2408
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412
(exit $ac_status); }; }; then
2415
echo "$as_me: failed program was:" >&5
2416
cat conftest.$ac_ext >&5
2419
rm -f conftest.$ac_objext conftest.$ac_ext
2420
cat >conftest.$ac_ext <<_ACEOF
2421
#line $LINENO "configure"
2422
#include "confdefs.h"
2432
rm -f conftest.$ac_objext
2433
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2434
(eval $ac_compile) 2>&5
2436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437
(exit $ac_status); } &&
2438
{ ac_try='test -s conftest.$ac_objext'
2439
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2442
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443
(exit $ac_status); }; }; then
2446
echo "$as_me: failed program was:" >&5
2447
cat conftest.$ac_ext >&5
2449
rm -f conftest.$ac_objext conftest.$ac_ext
2452
if test -n "$ac_declaration"; then
2453
echo '#ifdef __cplusplus' >>confdefs.h
2454
echo $ac_declaration >>confdefs.h
2455
echo '#endif' >>confdefs.h
2459
echo "$as_me: failed program was:" >&5
2460
cat conftest.$ac_ext >&5
2462
rm -f conftest.$ac_objext conftest.$ac_ext
2464
ac_cpp='$CPP $CPPFLAGS'
2465
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2466
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2467
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2468
rm -f .deps 2>/dev/null
2469
mkdir .deps 2>/dev/null
2470
if test -d .deps; then
2473
# MS-DOS does not allow filenames that begin with a dot.
2476
rmdir .deps 2>/dev/null
2479
ac_config_commands="$ac_config_commands depfiles"
2482
am_make=${MAKE-make}
2483
cat > confinc << 'END'
2487
# If we don't find an include directive, just comment out the code.
2488
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2489
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2493
# First try GNU make style include.
2494
echo "include confinc" > confmf
2495
# We grep out `Entering directory' and `Leaving directory'
2496
# messages which can occur if `w' ends up in MAKEFLAGS.
2497
# In particular we don't look at `^make:' because GNU make might
2498
# be invoked under some other name (usually "gmake"), in which
2499
# case it prints its new name instead of `make'.
2500
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2505
# Now try BSD make style include.
2506
if test "$am__include" = "#"; then
2507
echo '.include "confinc"' > confmf
2508
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2509
am__include=.include
2516
echo "$as_me:$LINENO: result: $_am_result" >&5
2517
echo "${ECHO_T}$_am_result" >&6
2518
rm -f confinc confmf
2520
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2521
if test "${enable_dependency_tracking+set}" = set; then
2522
enableval="$enable_dependency_tracking"
2525
if test "x$enable_dependency_tracking" != xno; then
2526
am_depcomp="$ac_aux_dir/depcomp"
2531
if test "x$enable_dependency_tracking" != xno; then
2542
depcc="$CC" am_compiler_list=
2544
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2545
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2546
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2547
echo $ECHO_N "(cached) $ECHO_C" >&6
2549
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2550
# We make a subdir and do the tests there. Otherwise we can end up
2551
# making bogus files that we don't know about and never remove. For
2552
# instance it was reported that on HP-UX the gcc test will end up
2553
# making a dummy file named `D' -- because `-MD' means `put the output
2556
# Copy depcomp to subdir because otherwise we won't find it if we're
2557
# using a relative directory.
2558
cp "$am_depcomp" conftest.dir
2561
am_cv_CC_dependencies_compiler_type=none
2562
if test "$am_compiler_list" = ""; then
2563
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2565
for depmode in $am_compiler_list; do
2566
# We need to recreate these files for each test, as the compiler may
2567
# overwrite some of them when testing with obscure command lines.
2568
# This happens at least with the AIX C compiler.
2569
echo '#include "conftest.h"' > conftest.c
2570
echo 'int i;' > conftest.h
2571
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2575
# after this tag, mechanisms are not by side-effect, so they'll
2576
# only be used when explicitly requested
2577
if test "x$enable_dependency_tracking" = xyes; then
2585
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2586
# mode. It turns out that the SunPro C++ compiler does not properly
2587
# handle `-M -o', and we need to detect this.
2588
if depmode=$depmode \
2589
source=conftest.c object=conftest.o \
2590
depfile=conftest.Po tmpdepfile=conftest.TPo \
2591
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2592
grep conftest.h conftest.Po > /dev/null 2>&1 &&
2593
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2594
am_cv_CC_dependencies_compiler_type=$depmode
2602
am_cv_CC_dependencies_compiler_type=none
2606
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2607
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2608
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2613
test "x$enable_dependency_tracking" != xno \
2614
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2616
am__fastdepCC_FALSE='#'
2618
am__fastdepCC_TRUE='#'
2619
am__fastdepCC_FALSE=
2623
if test -n "$ac_tool_prefix"; then
2624
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2625
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2626
echo "$as_me:$LINENO: checking for $ac_word" >&5
2627
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2628
if test "${ac_cv_prog_RANLIB+set}" = set; then
2629
echo $ECHO_N "(cached) $ECHO_C" >&6
2631
if test -n "$RANLIB"; then
2632
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2634
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638
test -z "$as_dir" && as_dir=.
2639
for ac_exec_ext in '' $ac_executable_extensions; do
2640
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2641
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2642
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2650
RANLIB=$ac_cv_prog_RANLIB
2651
if test -n "$RANLIB"; then
2652
echo "$as_me:$LINENO: result: $RANLIB" >&5
2653
echo "${ECHO_T}$RANLIB" >&6
2655
echo "$as_me:$LINENO: result: no" >&5
2656
echo "${ECHO_T}no" >&6
2660
if test -z "$ac_cv_prog_RANLIB"; then
2661
ac_ct_RANLIB=$RANLIB
2662
# Extract the first word of "ranlib", so it can be a program name with args.
2663
set dummy ranlib; ac_word=$2
2664
echo "$as_me:$LINENO: checking for $ac_word" >&5
2665
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2666
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2667
echo $ECHO_N "(cached) $ECHO_C" >&6
2669
if test -n "$ac_ct_RANLIB"; then
2670
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2672
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676
test -z "$as_dir" && as_dir=.
2677
for ac_exec_ext in '' $ac_executable_extensions; do
2678
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2679
ac_cv_prog_ac_ct_RANLIB="ranlib"
2680
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2689
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2690
if test -n "$ac_ct_RANLIB"; then
2691
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2692
echo "${ECHO_T}$ac_ct_RANLIB" >&6
2694
echo "$as_me:$LINENO: result: no" >&5
2695
echo "${ECHO_T}no" >&6
2698
RANLIB=$ac_ct_RANLIB
2700
RANLIB="$ac_cv_prog_RANLIB"
2705
ac_cpp='$CPP $CPPFLAGS'
2706
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2707
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2708
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2709
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2710
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2711
# On Suns, sometimes $CPP names a directory.
2712
if test -n "$CPP" && test -d "$CPP"; then
2715
if test -z "$CPP"; then
2716
if test "${ac_cv_prog_CPP+set}" = set; then
2717
echo $ECHO_N "(cached) $ECHO_C" >&6
2719
# Double quotes because CPP needs to be expanded
2720
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2723
for ac_c_preproc_warn_flag in '' yes
2725
# Use a header file that comes with gcc, so configuring glibc
2726
# with a fresh cross-compiler works.
2727
# On the NeXT, cc -E runs the code through the compiler's parser,
2728
# not just through cpp. "Syntax error" is here to catch this case.
2729
cat >conftest.$ac_ext <<_ACEOF
2730
#line $LINENO "configure"
2731
#include "confdefs.h"
2735
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2736
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2738
grep -v '^ *+' conftest.er1 >conftest.err
2740
cat conftest.err >&5
2741
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742
(exit $ac_status); } >/dev/null; then
2743
if test -s conftest.err; then
2744
ac_cpp_err=$ac_c_preproc_warn_flag
2751
if test -z "$ac_cpp_err"; then
2754
echo "$as_me: failed program was:" >&5
2755
cat conftest.$ac_ext >&5
2756
# Broken: fails on valid input.
2759
rm -f conftest.err conftest.$ac_ext
2761
# OK, works on sane cases. Now check whether non-existent headers
2762
# can be detected and how.
2763
cat >conftest.$ac_ext <<_ACEOF
2764
#line $LINENO "configure"
2765
#include "confdefs.h"
2766
#include <ac_nonexistent.h>
2768
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2769
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2771
grep -v '^ *+' conftest.er1 >conftest.err
2773
cat conftest.err >&5
2774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775
(exit $ac_status); } >/dev/null; then
2776
if test -s conftest.err; then
2777
ac_cpp_err=$ac_c_preproc_warn_flag
2784
if test -z "$ac_cpp_err"; then
2785
# Broken: success on invalid input.
2788
echo "$as_me: failed program was:" >&5
2789
cat conftest.$ac_ext >&5
2790
# Passes both tests.
2794
rm -f conftest.err conftest.$ac_ext
2797
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2798
rm -f conftest.err conftest.$ac_ext
2799
if $ac_preproc_ok; then
2811
echo "$as_me:$LINENO: result: $CPP" >&5
2812
echo "${ECHO_T}$CPP" >&6
2814
for ac_c_preproc_warn_flag in '' yes
2816
# Use a header file that comes with gcc, so configuring glibc
2817
# with a fresh cross-compiler works.
2818
# On the NeXT, cc -E runs the code through the compiler's parser,
2819
# not just through cpp. "Syntax error" is here to catch this case.
2820
cat >conftest.$ac_ext <<_ACEOF
2821
#line $LINENO "configure"
2822
#include "confdefs.h"
2826
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2827
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2829
grep -v '^ *+' conftest.er1 >conftest.err
2831
cat conftest.err >&5
2832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833
(exit $ac_status); } >/dev/null; then
2834
if test -s conftest.err; then
2835
ac_cpp_err=$ac_c_preproc_warn_flag
2842
if test -z "$ac_cpp_err"; then
2845
echo "$as_me: failed program was:" >&5
2846
cat conftest.$ac_ext >&5
2847
# Broken: fails on valid input.
2850
rm -f conftest.err conftest.$ac_ext
2852
# OK, works on sane cases. Now check whether non-existent headers
2853
# can be detected and how.
2854
cat >conftest.$ac_ext <<_ACEOF
2855
#line $LINENO "configure"
2856
#include "confdefs.h"
2857
#include <ac_nonexistent.h>
2859
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2860
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2862
grep -v '^ *+' conftest.er1 >conftest.err
2864
cat conftest.err >&5
2865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866
(exit $ac_status); } >/dev/null; then
2867
if test -s conftest.err; then
2868
ac_cpp_err=$ac_c_preproc_warn_flag
2875
if test -z "$ac_cpp_err"; then
2876
# Broken: success on invalid input.
2879
echo "$as_me: failed program was:" >&5
2880
cat conftest.$ac_ext >&5
2881
# Passes both tests.
2885
rm -f conftest.err conftest.$ac_ext
2888
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2889
rm -f conftest.err conftest.$ac_ext
2890
if $ac_preproc_ok; then
2893
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2894
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2895
{ (exit 1); exit 1; }; }
2899
ac_cpp='$CPP $CPPFLAGS'
2900
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2901
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2902
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2905
echo "$as_me:$LINENO: checking for egrep" >&5
2906
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2907
if test "${ac_cv_prog_egrep+set}" = set; then
2908
echo $ECHO_N "(cached) $ECHO_C" >&6
2910
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2911
then ac_cv_prog_egrep='grep -E'
2912
else ac_cv_prog_egrep='egrep'
2915
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2916
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2917
EGREP=$ac_cv_prog_egrep
2921
echo "$as_me:$LINENO: checking for AIX" >&5
2922
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
2923
cat >conftest.$ac_ext <<_ACEOF
2924
#line $LINENO "configure"
2925
#include "confdefs.h"
2931
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2932
$EGREP "yes" >/dev/null 2>&1; then
2933
echo "$as_me:$LINENO: result: yes" >&5
2934
echo "${ECHO_T}yes" >&6
2935
cat >>confdefs.h <<\_ACEOF
2936
#define _ALL_SOURCE 1
2940
echo "$as_me:$LINENO: result: no" >&5
2941
echo "${ECHO_T}no" >&6
2946
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2947
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2948
if test "${ac_cv_header_stdc+set}" = set; then
2949
echo $ECHO_N "(cached) $ECHO_C" >&6
2951
cat >conftest.$ac_ext <<_ACEOF
2952
#line $LINENO "configure"
2953
#include "confdefs.h"
2960
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2961
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2963
grep -v '^ *+' conftest.er1 >conftest.err
2965
cat conftest.err >&5
2966
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967
(exit $ac_status); } >/dev/null; then
2968
if test -s conftest.err; then
2969
ac_cpp_err=$ac_c_preproc_warn_flag
2976
if test -z "$ac_cpp_err"; then
2977
ac_cv_header_stdc=yes
2979
echo "$as_me: failed program was:" >&5
2980
cat conftest.$ac_ext >&5
2981
ac_cv_header_stdc=no
2983
rm -f conftest.err conftest.$ac_ext
2985
if test $ac_cv_header_stdc = yes; then
2986
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2987
cat >conftest.$ac_ext <<_ACEOF
2988
#line $LINENO "configure"
2989
#include "confdefs.h"
2993
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2994
$EGREP "memchr" >/dev/null 2>&1; then
2997
ac_cv_header_stdc=no
3003
if test $ac_cv_header_stdc = yes; then
3004
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3005
cat >conftest.$ac_ext <<_ACEOF
3006
#line $LINENO "configure"
3007
#include "confdefs.h"
3011
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3012
$EGREP "free" >/dev/null 2>&1; then
3015
ac_cv_header_stdc=no
3021
if test $ac_cv_header_stdc = yes; then
3022
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3023
if test "$cross_compiling" = yes; then
3026
cat >conftest.$ac_ext <<_ACEOF
3027
#line $LINENO "configure"
3028
#include "confdefs.h"
3030
#if ((' ' & 0x0FF) == 0x020)
3031
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3032
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3034
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3035
|| ('j' <= (c) && (c) <= 'r') \
3036
|| ('s' <= (c) && (c) <= 'z'))
3037
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3040
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3045
for (i = 0; i < 256; i++)
3046
if (XOR (islower (i), ISLOWER (i))
3047
|| toupper (i) != TOUPPER (i))
3052
rm -f conftest$ac_exeext
3053
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3054
(eval $ac_link) 2>&5
3056
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3058
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062
(exit $ac_status); }; }; then
3065
echo "$as_me: program exited with status $ac_status" >&5
3066
echo "$as_me: failed program was:" >&5
3067
cat conftest.$ac_ext >&5
3069
ac_cv_header_stdc=no
3071
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3075
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3076
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3077
if test $ac_cv_header_stdc = yes; then
3079
cat >>confdefs.h <<\_ACEOF
3080
#define STDC_HEADERS 1
3085
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3095
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3096
inttypes.h stdint.h unistd.h
3098
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3099
echo "$as_me:$LINENO: checking for $ac_header" >&5
3100
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3101
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3102
echo $ECHO_N "(cached) $ECHO_C" >&6
3104
cat >conftest.$ac_ext <<_ACEOF
3105
#line $LINENO "configure"
3106
#include "confdefs.h"
3107
$ac_includes_default
3109
#include <$ac_header>
3111
rm -f conftest.$ac_objext
3112
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113
(eval $ac_compile) 2>&5
3115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116
(exit $ac_status); } &&
3117
{ ac_try='test -s conftest.$ac_objext'
3118
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122
(exit $ac_status); }; }; then
3123
eval "$as_ac_Header=yes"
3125
echo "$as_me: failed program was:" >&5
3126
cat conftest.$ac_ext >&5
3127
eval "$as_ac_Header=no"
3129
rm -f conftest.$ac_objext conftest.$ac_ext
3131
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3132
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3133
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3134
cat >>confdefs.h <<_ACEOF
3135
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3143
if test "${ac_cv_header_minix_config_h+set}" = set; then
3144
echo "$as_me:$LINENO: checking for minix/config.h" >&5
3145
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3146
if test "${ac_cv_header_minix_config_h+set}" = set; then
3147
echo $ECHO_N "(cached) $ECHO_C" >&6
3149
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3150
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3152
# Is the header compilable?
3153
echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3154
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3155
cat >conftest.$ac_ext <<_ACEOF
3156
#line $LINENO "configure"
3157
#include "confdefs.h"
3158
$ac_includes_default
3159
#include <minix/config.h>
3161
rm -f conftest.$ac_objext
3162
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3163
(eval $ac_compile) 2>&5
3165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166
(exit $ac_status); } &&
3167
{ ac_try='test -s conftest.$ac_objext'
3168
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3171
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172
(exit $ac_status); }; }; then
3173
ac_header_compiler=yes
3175
echo "$as_me: failed program was:" >&5
3176
cat conftest.$ac_ext >&5
3177
ac_header_compiler=no
3179
rm -f conftest.$ac_objext conftest.$ac_ext
3180
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3181
echo "${ECHO_T}$ac_header_compiler" >&6
3183
# Is the header present?
3184
echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3185
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3186
cat >conftest.$ac_ext <<_ACEOF
3187
#line $LINENO "configure"
3188
#include "confdefs.h"
3189
#include <minix/config.h>
3191
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3192
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3194
grep -v '^ *+' conftest.er1 >conftest.err
3196
cat conftest.err >&5
3197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198
(exit $ac_status); } >/dev/null; then
3199
if test -s conftest.err; then
3200
ac_cpp_err=$ac_c_preproc_warn_flag
3207
if test -z "$ac_cpp_err"; then
3208
ac_header_preproc=yes
3210
echo "$as_me: failed program was:" >&5
3211
cat conftest.$ac_ext >&5
3212
ac_header_preproc=no
3214
rm -f conftest.err conftest.$ac_ext
3215
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3216
echo "${ECHO_T}$ac_header_preproc" >&6
3218
# So? What about this header?
3219
case $ac_header_compiler:$ac_header_preproc in
3221
{ echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3222
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3223
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3224
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
3226
{ echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3227
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3228
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3229
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3230
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3231
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;};;
3233
echo "$as_me:$LINENO: checking for minix/config.h" >&5
3234
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3235
if test "${ac_cv_header_minix_config_h+set}" = set; then
3236
echo $ECHO_N "(cached) $ECHO_C" >&6
3238
ac_cv_header_minix_config_h=$ac_header_preproc
3240
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3241
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3244
if test $ac_cv_header_minix_config_h = yes; then
3251
if test "$MINIX" = yes; then
3253
cat >>confdefs.h <<\_ACEOF
3254
#define _POSIX_SOURCE 1
3258
cat >>confdefs.h <<\_ACEOF
3259
#define _POSIX_1_SOURCE 2
3263
cat >>confdefs.h <<\_ACEOF
3270
echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3271
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3272
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3273
echo $ECHO_N "(cached) $ECHO_C" >&6
3275
ac_check_lib_save_LIBS=$LIBS
3276
LIBS="-lcposix $LIBS"
3277
cat >conftest.$ac_ext <<_ACEOF
3278
#line $LINENO "configure"
3279
#include "confdefs.h"
3281
/* Override any gcc2 internal prototype to avoid an error. */
3285
/* We use char because int might match the return type of a gcc2
3286
builtin and then its argument prototype would still apply. */
3296
rm -f conftest.$ac_objext conftest$ac_exeext
3297
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3298
(eval $ac_link) 2>&5
3300
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301
(exit $ac_status); } &&
3302
{ ac_try='test -s conftest$ac_exeext'
3303
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307
(exit $ac_status); }; }; then
3308
ac_cv_lib_cposix_strerror=yes
3310
echo "$as_me: failed program was:" >&5
3311
cat conftest.$ac_ext >&5
3312
ac_cv_lib_cposix_strerror=no
3314
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3315
LIBS=$ac_check_lib_save_LIBS
3317
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3318
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3319
if test $ac_cv_lib_cposix_strerror = yes; then
3320
LIBS="$LIBS -lcposix"
3325
# Check whether --enable-largefile or --disable-largefile was given.
3326
if test "${enable_largefile+set}" = set; then
3327
enableval="$enable_largefile"
3330
if test "$enable_largefile" != no; then
3332
echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3333
echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3334
if test "${ac_cv_sys_largefile_CC+set}" = set; then
3335
echo $ECHO_N "(cached) $ECHO_C" >&6
3337
ac_cv_sys_largefile_CC=no
3338
if test "$GCC" != yes; then
3341
# IRIX 6.2 and later do not support large files by default,
3342
# so use the C compiler's -n32 option if that helps.
3343
cat >conftest.$ac_ext <<_ACEOF
3344
#line $LINENO "configure"
3345
#include "confdefs.h"
3346
#include <sys/types.h>
3347
/* Check that off_t can represent 2**63 - 1 correctly.
3348
We can't simply define LARGE_OFF_T to be 9223372036854775807,
3349
since some C++ compilers masquerading as C compilers
3350
incorrectly reject 9223372036854775807. */
3351
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3352
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3353
&& LARGE_OFF_T % 2147483647 == 1)
3363
rm -f conftest.$ac_objext
3364
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3365
(eval $ac_compile) 2>&5
3367
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368
(exit $ac_status); } &&
3369
{ ac_try='test -s conftest.$ac_objext'
3370
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3373
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374
(exit $ac_status); }; }; then
3377
echo "$as_me: failed program was:" >&5
3378
cat conftest.$ac_ext >&5
3380
rm -f conftest.$ac_objext
3382
rm -f conftest.$ac_objext
3383
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3384
(eval $ac_compile) 2>&5
3386
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387
(exit $ac_status); } &&
3388
{ ac_try='test -s conftest.$ac_objext'
3389
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393
(exit $ac_status); }; }; then
3394
ac_cv_sys_largefile_CC=' -n32'; break
3396
echo "$as_me: failed program was:" >&5
3397
cat conftest.$ac_ext >&5
3399
rm -f conftest.$ac_objext
3403
rm -f conftest.$ac_ext
3406
echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3407
echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3408
if test "$ac_cv_sys_largefile_CC" != no; then
3409
CC=$CC$ac_cv_sys_largefile_CC
3412
echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3413
echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3414
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3415
echo $ECHO_N "(cached) $ECHO_C" >&6
3418
ac_cv_sys_file_offset_bits=no
3419
cat >conftest.$ac_ext <<_ACEOF
3420
#line $LINENO "configure"
3421
#include "confdefs.h"
3422
#include <sys/types.h>
3423
/* Check that off_t can represent 2**63 - 1 correctly.
3424
We can't simply define LARGE_OFF_T to be 9223372036854775807,
3425
since some C++ compilers masquerading as C compilers
3426
incorrectly reject 9223372036854775807. */
3427
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3428
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3429
&& LARGE_OFF_T % 2147483647 == 1)
3439
rm -f conftest.$ac_objext
3440
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3441
(eval $ac_compile) 2>&5
3443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444
(exit $ac_status); } &&
3445
{ ac_try='test -s conftest.$ac_objext'
3446
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3449
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450
(exit $ac_status); }; }; then
3453
echo "$as_me: failed program was:" >&5
3454
cat conftest.$ac_ext >&5
3456
rm -f conftest.$ac_objext conftest.$ac_ext
3457
cat >conftest.$ac_ext <<_ACEOF
3458
#line $LINENO "configure"
3459
#include "confdefs.h"
3460
#define _FILE_OFFSET_BITS 64
3461
#include <sys/types.h>
3462
/* Check that off_t can represent 2**63 - 1 correctly.
3463
We can't simply define LARGE_OFF_T to be 9223372036854775807,
3464
since some C++ compilers masquerading as C compilers
3465
incorrectly reject 9223372036854775807. */
3466
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3467
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3468
&& LARGE_OFF_T % 2147483647 == 1)
3478
rm -f conftest.$ac_objext
3479
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3480
(eval $ac_compile) 2>&5
3482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483
(exit $ac_status); } &&
3484
{ ac_try='test -s conftest.$ac_objext'
3485
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489
(exit $ac_status); }; }; then
3490
ac_cv_sys_file_offset_bits=64; break
3492
echo "$as_me: failed program was:" >&5
3493
cat conftest.$ac_ext >&5
3495
rm -f conftest.$ac_objext conftest.$ac_ext
3499
echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3500
echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3501
if test "$ac_cv_sys_file_offset_bits" != no; then
3503
cat >>confdefs.h <<_ACEOF
3504
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3509
echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3510
echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3511
if test "${ac_cv_sys_large_files+set}" = set; then
3512
echo $ECHO_N "(cached) $ECHO_C" >&6
3515
ac_cv_sys_large_files=no
3516
cat >conftest.$ac_ext <<_ACEOF
3517
#line $LINENO "configure"
3518
#include "confdefs.h"
3519
#include <sys/types.h>
3520
/* Check that off_t can represent 2**63 - 1 correctly.
3521
We can't simply define LARGE_OFF_T to be 9223372036854775807,
3522
since some C++ compilers masquerading as C compilers
3523
incorrectly reject 9223372036854775807. */
3524
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3525
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3526
&& LARGE_OFF_T % 2147483647 == 1)
3536
rm -f conftest.$ac_objext
3537
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3538
(eval $ac_compile) 2>&5
3540
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541
(exit $ac_status); } &&
3542
{ ac_try='test -s conftest.$ac_objext'
3543
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547
(exit $ac_status); }; }; then
3550
echo "$as_me: failed program was:" >&5
3551
cat conftest.$ac_ext >&5
3553
rm -f conftest.$ac_objext conftest.$ac_ext
3554
cat >conftest.$ac_ext <<_ACEOF
3555
#line $LINENO "configure"
3556
#include "confdefs.h"
3557
#define _LARGE_FILES 1
3558
#include <sys/types.h>
3559
/* Check that off_t can represent 2**63 - 1 correctly.
3560
We can't simply define LARGE_OFF_T to be 9223372036854775807,
3561
since some C++ compilers masquerading as C compilers
3562
incorrectly reject 9223372036854775807. */
3563
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3564
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3565
&& LARGE_OFF_T % 2147483647 == 1)
3575
rm -f conftest.$ac_objext
3576
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3577
(eval $ac_compile) 2>&5
3579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580
(exit $ac_status); } &&
3581
{ ac_try='test -s conftest.$ac_objext'
3582
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586
(exit $ac_status); }; }; then
3587
ac_cv_sys_large_files=1; break
3589
echo "$as_me: failed program was:" >&5
3590
cat conftest.$ac_ext >&5
3592
rm -f conftest.$ac_objext conftest.$ac_ext
3596
echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3597
echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3598
if test "$ac_cv_sys_large_files" != no; then
3600
cat >>confdefs.h <<_ACEOF
3601
#define _LARGE_FILES $ac_cv_sys_large_files
3609
echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3610
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3611
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3612
echo $ECHO_N "(cached) $ECHO_C" >&6
3614
ac_check_lib_save_LIBS=$LIBS
3615
LIBS="-lcposix $LIBS"
3616
cat >conftest.$ac_ext <<_ACEOF
3617
#line $LINENO "configure"
3618
#include "confdefs.h"
3620
/* Override any gcc2 internal prototype to avoid an error. */
3624
/* We use char because int might match the return type of a gcc2
3625
builtin and then its argument prototype would still apply. */
3635
rm -f conftest.$ac_objext conftest$ac_exeext
3636
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3637
(eval $ac_link) 2>&5
3639
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640
(exit $ac_status); } &&
3641
{ ac_try='test -s conftest$ac_exeext'
3642
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646
(exit $ac_status); }; }; then
3647
ac_cv_lib_cposix_strerror=yes
3649
echo "$as_me: failed program was:" >&5
3650
cat conftest.$ac_ext >&5
3651
ac_cv_lib_cposix_strerror=no
3653
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3654
LIBS=$ac_check_lib_save_LIBS
3656
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3657
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3658
if test $ac_cv_lib_cposix_strerror = yes; then
3659
cat >>confdefs.h <<_ACEOF
3660
#define HAVE_LIBCPOSIX 1
3663
LIBS="-lcposix $LIBS"
3668
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3669
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3670
if test "${ac_cv_header_stdc+set}" = set; then
3671
echo $ECHO_N "(cached) $ECHO_C" >&6
3673
cat >conftest.$ac_ext <<_ACEOF
3674
#line $LINENO "configure"
3675
#include "confdefs.h"
3682
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3683
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3685
grep -v '^ *+' conftest.er1 >conftest.err
3687
cat conftest.err >&5
3688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689
(exit $ac_status); } >/dev/null; then
3690
if test -s conftest.err; then
3691
ac_cpp_err=$ac_c_preproc_warn_flag
3698
if test -z "$ac_cpp_err"; then
3699
ac_cv_header_stdc=yes
3701
echo "$as_me: failed program was:" >&5
3702
cat conftest.$ac_ext >&5
3703
ac_cv_header_stdc=no
3705
rm -f conftest.err conftest.$ac_ext
3707
if test $ac_cv_header_stdc = yes; then
3708
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3709
cat >conftest.$ac_ext <<_ACEOF
3710
#line $LINENO "configure"
3711
#include "confdefs.h"
3715
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3716
$EGREP "memchr" >/dev/null 2>&1; then
3719
ac_cv_header_stdc=no
3725
if test $ac_cv_header_stdc = yes; then
3726
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3727
cat >conftest.$ac_ext <<_ACEOF
3728
#line $LINENO "configure"
3729
#include "confdefs.h"
3733
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3734
$EGREP "free" >/dev/null 2>&1; then
3737
ac_cv_header_stdc=no
3743
if test $ac_cv_header_stdc = yes; then
3744
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3745
if test "$cross_compiling" = yes; then
3748
cat >conftest.$ac_ext <<_ACEOF
3749
#line $LINENO "configure"
3750
#include "confdefs.h"
3752
#if ((' ' & 0x0FF) == 0x020)
3753
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3754
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3756
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3757
|| ('j' <= (c) && (c) <= 'r') \
3758
|| ('s' <= (c) && (c) <= 'z'))
3759
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3762
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3767
for (i = 0; i < 256; i++)
3768
if (XOR (islower (i), ISLOWER (i))
3769
|| toupper (i) != TOUPPER (i))
3774
rm -f conftest$ac_exeext
3775
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3776
(eval $ac_link) 2>&5
3778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3780
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3783
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784
(exit $ac_status); }; }; then
3787
echo "$as_me: program exited with status $ac_status" >&5
3788
echo "$as_me: failed program was:" >&5
3789
cat conftest.$ac_ext >&5
3791
ac_cv_header_stdc=no
3793
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3797
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3798
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3799
if test $ac_cv_header_stdc = yes; then
3801
cat >>confdefs.h <<\_ACEOF
3802
#define STDC_HEADERS 1
3821
for ac_header in string.h stdlib.h limits.h unistd.h memory.h sys/types.h \
3822
strings.h locale.h stdarg.h alloca.h stddef.h errno.h \
3825
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3826
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3827
echo "$as_me:$LINENO: checking for $ac_header" >&5
3828
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3829
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3830
echo $ECHO_N "(cached) $ECHO_C" >&6
3832
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3833
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3835
# Is the header compilable?
3836
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3837
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3838
cat >conftest.$ac_ext <<_ACEOF
3839
#line $LINENO "configure"
3840
#include "confdefs.h"
3841
$ac_includes_default
3842
#include <$ac_header>
3844
rm -f conftest.$ac_objext
3845
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3846
(eval $ac_compile) 2>&5
3848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849
(exit $ac_status); } &&
3850
{ ac_try='test -s conftest.$ac_objext'
3851
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3854
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855
(exit $ac_status); }; }; then
3856
ac_header_compiler=yes
3858
echo "$as_me: failed program was:" >&5
3859
cat conftest.$ac_ext >&5
3860
ac_header_compiler=no
3862
rm -f conftest.$ac_objext conftest.$ac_ext
3863
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3864
echo "${ECHO_T}$ac_header_compiler" >&6
3866
# Is the header present?
3867
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3868
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3869
cat >conftest.$ac_ext <<_ACEOF
3870
#line $LINENO "configure"
3871
#include "confdefs.h"
3872
#include <$ac_header>
3874
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3875
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3877
grep -v '^ *+' conftest.er1 >conftest.err
3879
cat conftest.err >&5
3880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881
(exit $ac_status); } >/dev/null; then
3882
if test -s conftest.err; then
3883
ac_cpp_err=$ac_c_preproc_warn_flag
3890
if test -z "$ac_cpp_err"; then
3891
ac_header_preproc=yes
3893
echo "$as_me: failed program was:" >&5
3894
cat conftest.$ac_ext >&5
3895
ac_header_preproc=no
3897
rm -f conftest.err conftest.$ac_ext
3898
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3899
echo "${ECHO_T}$ac_header_preproc" >&6
3901
# So? What about this header?
3902
case $ac_header_compiler:$ac_header_preproc in
3904
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3905
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3906
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3907
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3909
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3910
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3911
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3912
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3913
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3914
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3916
echo "$as_me:$LINENO: checking for $ac_header" >&5
3917
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3918
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3919
echo $ECHO_N "(cached) $ECHO_C" >&6
3921
eval "$as_ac_Header=$ac_header_preproc"
3923
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3924
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3927
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3928
cat >>confdefs.h <<_ACEOF
3929
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3936
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3937
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3938
if test "${ac_cv_c_const+set}" = set; then
3939
echo $ECHO_N "(cached) $ECHO_C" >&6
3941
cat >conftest.$ac_ext <<_ACEOF
3942
#line $LINENO "configure"
3943
#include "confdefs.h"
3948
/* FIXME: Include the comments suggested by Paul. */
3950
/* Ultrix mips cc rejects this. */
3951
typedef int charset[2];
3953
/* SunOS 4.1.1 cc rejects this. */
3954
char const *const *ccp;
3956
/* NEC SVR4.0.2 mips cc rejects this. */
3957
struct point {int x, y;};
3958
static struct point const zero = {0,0};
3959
/* AIX XL C 1.02.0.0 rejects this.
3960
It does not let you subtract one const X* pointer from another in
3961
an arm of an if-expression whose if-part is not a constant
3963
const char *g = "string";
3964
ccp = &g + (g ? g-g : 0);
3965
/* HPUX 7.0 cc rejects these. */
3968
ccp = (char const *const *) p;
3969
{ /* SCO 3.2v4 cc rejects this. */
3971
char const *s = 0 ? (char *) 0 : (char const *) 0;
3975
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3977
const int *foo = &x[0];
3980
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3981
typedef const int *iptr;
3985
{ /* AIX XL C 1.02.0.0 rejects this saying
3986
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3987
struct s { int j; const int *ap[3]; };
3988
struct s *b; b->j = 5;
3990
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3999
rm -f conftest.$ac_objext
4000
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4001
(eval $ac_compile) 2>&5
4003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004
(exit $ac_status); } &&
4005
{ ac_try='test -s conftest.$ac_objext'
4006
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010
(exit $ac_status); }; }; then
4013
echo "$as_me: failed program was:" >&5
4014
cat conftest.$ac_ext >&5
4017
rm -f conftest.$ac_objext conftest.$ac_ext
4019
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4020
echo "${ECHO_T}$ac_cv_c_const" >&6
4021
if test $ac_cv_c_const = no; then
4023
cat >>confdefs.h <<\_ACEOF
4029
echo "$as_me:$LINENO: checking for size_t" >&5
4030
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4031
if test "${ac_cv_type_size_t+set}" = set; then
4032
echo $ECHO_N "(cached) $ECHO_C" >&6
4034
cat >conftest.$ac_ext <<_ACEOF
4035
#line $LINENO "configure"
4036
#include "confdefs.h"
4037
$ac_includes_default
4043
if (sizeof (size_t))
4049
rm -f conftest.$ac_objext
4050
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4051
(eval $ac_compile) 2>&5
4053
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054
(exit $ac_status); } &&
4055
{ ac_try='test -s conftest.$ac_objext'
4056
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4059
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060
(exit $ac_status); }; }; then
4061
ac_cv_type_size_t=yes
4063
echo "$as_me: failed program was:" >&5
4064
cat conftest.$ac_ext >&5
4065
ac_cv_type_size_t=no
4067
rm -f conftest.$ac_objext conftest.$ac_ext
4069
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4070
echo "${ECHO_T}$ac_cv_type_size_t" >&6
4071
if test $ac_cv_type_size_t = yes; then
4075
cat >>confdefs.h <<_ACEOF
4076
#define size_t unsigned
4081
echo "$as_me:$LINENO: checking for ssize_t" >&5
4082
echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
4083
if test "${ac_cv_type_ssize_t+set}" = set; then
4084
echo $ECHO_N "(cached) $ECHO_C" >&6
4086
cat >conftest.$ac_ext <<_ACEOF
4087
#line $LINENO "configure"
4088
#include "confdefs.h"
4089
$ac_includes_default
4095
if (sizeof (ssize_t))
4101
rm -f conftest.$ac_objext
4102
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4103
(eval $ac_compile) 2>&5
4105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106
(exit $ac_status); } &&
4107
{ ac_try='test -s conftest.$ac_objext'
4108
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112
(exit $ac_status); }; }; then
4113
ac_cv_type_ssize_t=yes
4115
echo "$as_me: failed program was:" >&5
4116
cat conftest.$ac_ext >&5
4117
ac_cv_type_ssize_t=no
4119
rm -f conftest.$ac_objext conftest.$ac_ext
4121
echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
4122
echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
4123
if test $ac_cv_type_ssize_t = yes; then
4127
cat >>confdefs.h <<_ACEOF
4134
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4135
# for constant arguments. Useless!
4136
echo "$as_me:$LINENO: checking for working alloca.h" >&5
4137
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4138
if test "${ac_cv_working_alloca_h+set}" = set; then
4139
echo $ECHO_N "(cached) $ECHO_C" >&6
4141
cat >conftest.$ac_ext <<_ACEOF
4142
#line $LINENO "configure"
4143
#include "confdefs.h"
4148
char *p = (char *) alloca (2 * sizeof (int));
4153
rm -f conftest.$ac_objext conftest$ac_exeext
4154
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4155
(eval $ac_link) 2>&5
4157
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158
(exit $ac_status); } &&
4159
{ ac_try='test -s conftest$ac_exeext'
4160
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164
(exit $ac_status); }; }; then
4165
ac_cv_working_alloca_h=yes
4167
echo "$as_me: failed program was:" >&5
4168
cat conftest.$ac_ext >&5
4169
ac_cv_working_alloca_h=no
4171
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4173
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
4174
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
4175
if test $ac_cv_working_alloca_h = yes; then
4177
cat >>confdefs.h <<\_ACEOF
4178
#define HAVE_ALLOCA_H 1
4183
echo "$as_me:$LINENO: checking for alloca" >&5
4184
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
4185
if test "${ac_cv_func_alloca_works+set}" = set; then
4186
echo $ECHO_N "(cached) $ECHO_C" >&6
4188
cat >conftest.$ac_ext <<_ACEOF
4189
#line $LINENO "configure"
4190
#include "confdefs.h"
4192
# define alloca __builtin_alloca
4195
# include <malloc.h>
4196
# define alloca _alloca
4199
# include <alloca.h>
4204
# ifndef alloca /* predefined by HP cc +Olibcalls */
4215
char *p = (char *) alloca (1);
4220
rm -f conftest.$ac_objext conftest$ac_exeext
4221
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4222
(eval $ac_link) 2>&5
4224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225
(exit $ac_status); } &&
4226
{ ac_try='test -s conftest$ac_exeext'
4227
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231
(exit $ac_status); }; }; then
4232
ac_cv_func_alloca_works=yes
4234
echo "$as_me: failed program was:" >&5
4235
cat conftest.$ac_ext >&5
4236
ac_cv_func_alloca_works=no
4238
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4240
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
4241
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
4243
if test $ac_cv_func_alloca_works = yes; then
4245
cat >>confdefs.h <<\_ACEOF
4246
#define HAVE_ALLOCA 1
4250
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
4251
# that cause trouble. Some versions do not even contain alloca or
4252
# contain a buggy version. If you still want to use their alloca,
4253
# use ar to extract alloca.o from them instead of compiling alloca.c.
4255
ALLOCA=alloca.$ac_objext
4257
cat >>confdefs.h <<\_ACEOF
4262
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
4263
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
4264
if test "${ac_cv_os_cray+set}" = set; then
4265
echo $ECHO_N "(cached) $ECHO_C" >&6
4267
cat >conftest.$ac_ext <<_ACEOF
4268
#line $LINENO "configure"
4269
#include "confdefs.h"
4270
#if defined(CRAY) && ! defined(CRAY2)
4277
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4278
$EGREP "webecray" >/dev/null 2>&1; then
4286
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
4287
echo "${ECHO_T}$ac_cv_os_cray" >&6
4288
if test $ac_cv_os_cray = yes; then
4289
for ac_func in _getb67 GETB67 getb67; do
4290
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4291
echo "$as_me:$LINENO: checking for $ac_func" >&5
4292
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4293
if eval "test \"\${$as_ac_var+set}\" = set"; then
4294
echo $ECHO_N "(cached) $ECHO_C" >&6
4296
cat >conftest.$ac_ext <<_ACEOF
4297
#line $LINENO "configure"
4298
#include "confdefs.h"
4299
/* System header to define __stub macros and hopefully few prototypes,
4300
which can conflict with char $ac_func (); below. */
4302
/* Override any gcc2 internal prototype to avoid an error. */
4306
/* We use char because int might match the return type of a gcc2
4307
builtin and then its argument prototype would still apply. */
4314
/* The GNU C library defines this for functions which it implements
4315
to always fail with ENOSYS. Some functions are actually named
4316
something starting with __ and the normal name is an alias. */
4317
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4327
rm -f conftest.$ac_objext conftest$ac_exeext
4328
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4329
(eval $ac_link) 2>&5
4331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332
(exit $ac_status); } &&
4333
{ ac_try='test -s conftest$ac_exeext'
4334
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338
(exit $ac_status); }; }; then
4339
eval "$as_ac_var=yes"
4341
echo "$as_me: failed program was:" >&5
4342
cat conftest.$ac_ext >&5
4343
eval "$as_ac_var=no"
4345
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4347
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4348
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4349
if test `eval echo '${'$as_ac_var'}'` = yes; then
4351
cat >>confdefs.h <<_ACEOF
4352
#define CRAY_STACKSEG_END $ac_func
4361
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
4362
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
4363
if test "${ac_cv_c_stack_direction+set}" = set; then
4364
echo $ECHO_N "(cached) $ECHO_C" >&6
4366
if test "$cross_compiling" = yes; then
4367
ac_cv_c_stack_direction=0
4369
cat >conftest.$ac_ext <<_ACEOF
4370
#line $LINENO "configure"
4371
#include "confdefs.h"
4373
find_stack_direction ()
4375
static char *addr = 0;
4380
return find_stack_direction ();
4383
return (&dummy > addr) ? 1 : -1;
4389
exit (find_stack_direction () < 0);
4392
rm -f conftest$ac_exeext
4393
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4394
(eval $ac_link) 2>&5
4396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4398
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402
(exit $ac_status); }; }; then
4403
ac_cv_c_stack_direction=1
4405
echo "$as_me: program exited with status $ac_status" >&5
4406
echo "$as_me: failed program was:" >&5
4407
cat conftest.$ac_ext >&5
4409
ac_cv_c_stack_direction=-1
4411
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4414
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4415
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
4417
cat >>confdefs.h <<_ACEOF
4418
#define STACK_DIRECTION $ac_cv_c_stack_direction
4425
for ac_func in vprintf
4427
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4428
echo "$as_me:$LINENO: checking for $ac_func" >&5
4429
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4430
if eval "test \"\${$as_ac_var+set}\" = set"; then
4431
echo $ECHO_N "(cached) $ECHO_C" >&6
4433
cat >conftest.$ac_ext <<_ACEOF
4434
#line $LINENO "configure"
4435
#include "confdefs.h"
4436
/* System header to define __stub macros and hopefully few prototypes,
4437
which can conflict with char $ac_func (); below. */
4439
/* Override any gcc2 internal prototype to avoid an error. */
4443
/* We use char because int might match the return type of a gcc2
4444
builtin and then its argument prototype would still apply. */
4451
/* The GNU C library defines this for functions which it implements
4452
to always fail with ENOSYS. Some functions are actually named
4453
something starting with __ and the normal name is an alias. */
4454
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4464
rm -f conftest.$ac_objext conftest$ac_exeext
4465
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4466
(eval $ac_link) 2>&5
4468
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469
(exit $ac_status); } &&
4470
{ ac_try='test -s conftest$ac_exeext'
4471
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475
(exit $ac_status); }; }; then
4476
eval "$as_ac_var=yes"
4478
echo "$as_me: failed program was:" >&5
4479
cat conftest.$ac_ext >&5
4480
eval "$as_ac_var=no"
4482
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4484
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4485
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4486
if test `eval echo '${'$as_ac_var'}'` = yes; then
4487
cat >>confdefs.h <<_ACEOF
4488
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4491
echo "$as_me:$LINENO: checking for _doprnt" >&5
4492
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4493
if test "${ac_cv_func__doprnt+set}" = set; then
4494
echo $ECHO_N "(cached) $ECHO_C" >&6
4496
cat >conftest.$ac_ext <<_ACEOF
4497
#line $LINENO "configure"
4498
#include "confdefs.h"
4499
/* System header to define __stub macros and hopefully few prototypes,
4500
which can conflict with char _doprnt (); below. */
4502
/* Override any gcc2 internal prototype to avoid an error. */
4506
/* We use char because int might match the return type of a gcc2
4507
builtin and then its argument prototype would still apply. */
4514
/* The GNU C library defines this for functions which it implements
4515
to always fail with ENOSYS. Some functions are actually named
4516
something starting with __ and the normal name is an alias. */
4517
#if defined (__stub__doprnt) || defined (__stub____doprnt)
4527
rm -f conftest.$ac_objext conftest$ac_exeext
4528
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4529
(eval $ac_link) 2>&5
4531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532
(exit $ac_status); } &&
4533
{ ac_try='test -s conftest$ac_exeext'
4534
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4537
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538
(exit $ac_status); }; }; then
4539
ac_cv_func__doprnt=yes
4541
echo "$as_me: failed program was:" >&5
4542
cat conftest.$ac_ext >&5
4543
ac_cv_func__doprnt=no
4545
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4547
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4548
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4549
if test $ac_cv_func__doprnt = yes; then
4551
cat >>confdefs.h <<\_ACEOF
4552
#define HAVE_DOPRNT 1
4561
am_getline_needs_run_time_check=no
4562
echo "$as_me:$LINENO: checking for getline" >&5
4563
echo $ECHO_N "checking for getline... $ECHO_C" >&6
4564
if test "${ac_cv_func_getline+set}" = set; then
4565
echo $ECHO_N "(cached) $ECHO_C" >&6
4567
cat >conftest.$ac_ext <<_ACEOF
4568
#line $LINENO "configure"
4569
#include "confdefs.h"
4570
/* System header to define __stub macros and hopefully few prototypes,
4571
which can conflict with char getline (); below. */
4573
/* Override any gcc2 internal prototype to avoid an error. */
4577
/* We use char because int might match the return type of a gcc2
4578
builtin and then its argument prototype would still apply. */
4585
/* The GNU C library defines this for functions which it implements
4586
to always fail with ENOSYS. Some functions are actually named
4587
something starting with __ and the normal name is an alias. */
4588
#if defined (__stub_getline) || defined (__stub___getline)
4598
rm -f conftest.$ac_objext conftest$ac_exeext
4599
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4600
(eval $ac_link) 2>&5
4602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603
(exit $ac_status); } &&
4604
{ ac_try='test -s conftest$ac_exeext'
4605
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609
(exit $ac_status); }; }; then
4610
ac_cv_func_getline=yes
4612
echo "$as_me: failed program was:" >&5
4613
cat conftest.$ac_ext >&5
4614
ac_cv_func_getline=no
4616
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4618
echo "$as_me:$LINENO: result: $ac_cv_func_getline" >&5
4619
echo "${ECHO_T}$ac_cv_func_getline" >&6
4620
if test $ac_cv_func_getline = yes; then
4621
am_getline_needs_run_time_check=yes
4623
am_cv_func_working_getline=no
4626
if test $am_getline_needs_run_time_check = yes; then
4627
echo "$as_me:$LINENO: checking for working getline function" >&5
4628
echo $ECHO_N "checking for working getline function... $ECHO_C" >&6
4629
if test "${am_cv_func_working_getline+set}" = set; then
4630
echo $ECHO_N "(cached) $ECHO_C" >&6
4632
echo fooN |tr -d '\012'|tr N '\012' > conftest.data
4633
if test "$cross_compiling" = yes; then
4634
am_cv_func_working_getline=no
4636
cat >conftest.$ac_ext <<_ACEOF
4637
#line $LINENO "configure"
4638
#include "confdefs.h"
4641
# include <sys/types.h>
4642
# include <string.h>
4644
{ /* Based on a test program from Karl Heuer. */
4648
FILE *in = fopen ("./conftest.data", "r");
4651
len = getline (&line, &siz, in);
4652
exit ((len == 4 && line && strcmp (line, "foo\n") == 0) ? 0 : 1);
4656
rm -f conftest$ac_exeext
4657
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4658
(eval $ac_link) 2>&5
4660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4662
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666
(exit $ac_status); }; }; then
4667
am_cv_func_working_getline=yes
4669
echo "$as_me: program exited with status $ac_status" >&5
4670
echo "$as_me: failed program was:" >&5
4671
cat conftest.$ac_ext >&5
4673
am_cv_func_working_getline=no
4675
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4678
echo "$as_me:$LINENO: result: $am_cv_func_working_getline" >&5
4679
echo "${ECHO_T}$am_cv_func_working_getline" >&6
4682
if test $am_cv_func_working_getline = no; then
4683
LIBOBJS="$LIBOBJS getline.$ac_objext"
4686
echo "$as_me:$LINENO: checking for obstacks" >&5
4687
echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
4688
if test "${ac_cv_func_obstack+set}" = set; then
4689
echo $ECHO_N "(cached) $ECHO_C" >&6
4691
cat >conftest.$ac_ext <<_ACEOF
4692
#line $LINENO "configure"
4693
#include "confdefs.h"
4694
#include "obstack.h"
4698
struct obstack *mem; obstack_free(mem,(char *) 0)
4703
rm -f conftest.$ac_objext conftest$ac_exeext
4704
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4705
(eval $ac_link) 2>&5
4707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708
(exit $ac_status); } &&
4709
{ ac_try='test -s conftest$ac_exeext'
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_func_obstack=yes
4717
echo "$as_me: failed program was:" >&5
4718
cat conftest.$ac_ext >&5
4719
ac_cv_func_obstack=no
4721
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4723
echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
4724
echo "${ECHO_T}$ac_cv_func_obstack" >&6
4725
if test $ac_cv_func_obstack = yes; then
4727
cat >>confdefs.h <<\_ACEOF
4728
#define HAVE_OBSTACK 1
4732
LIBOBJS="$LIBOBJS obstack.$ac_objext"
4741
for ac_func in memchr memcmp memmove strerror snprintf mkstemp
4743
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4744
echo "$as_me:$LINENO: checking for $ac_func" >&5
4745
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4746
if eval "test \"\${$as_ac_var+set}\" = set"; then
4747
echo $ECHO_N "(cached) $ECHO_C" >&6
4749
cat >conftest.$ac_ext <<_ACEOF
4750
#line $LINENO "configure"
4751
#include "confdefs.h"
4752
/* System header to define __stub macros and hopefully few prototypes,
4753
which can conflict with char $ac_func (); below. */
4755
/* Override any gcc2 internal prototype to avoid an error. */
4759
/* We use char because int might match the return type of a gcc2
4760
builtin and then its argument prototype would still apply. */
4767
/* The GNU C library defines this for functions which it implements
4768
to always fail with ENOSYS. Some functions are actually named
4769
something starting with __ and the normal name is an alias. */
4770
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4780
rm -f conftest.$ac_objext conftest$ac_exeext
4781
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4782
(eval $ac_link) 2>&5
4784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785
(exit $ac_status); } &&
4786
{ ac_try='test -s conftest$ac_exeext'
4787
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4790
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791
(exit $ac_status); }; }; then
4792
eval "$as_ac_var=yes"
4794
echo "$as_me: failed program was:" >&5
4795
cat conftest.$ac_ext >&5
4796
eval "$as_ac_var=no"
4798
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4800
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4801
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4802
if test `eval echo '${'$as_ac_var'}'` = yes; then
4803
cat >>confdefs.h <<_ACEOF
4804
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4808
LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
4825
for ac_func in isatty bcopy bzero isascii memcpy memset strchr strtoul popen \
4826
fchmod setlocale mbrtowc
4828
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4829
echo "$as_me:$LINENO: checking for $ac_func" >&5
4830
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4831
if eval "test \"\${$as_ac_var+set}\" = set"; then
4832
echo $ECHO_N "(cached) $ECHO_C" >&6
4834
cat >conftest.$ac_ext <<_ACEOF
4835
#line $LINENO "configure"
4836
#include "confdefs.h"
4837
/* System header to define __stub macros and hopefully few prototypes,
4838
which can conflict with char $ac_func (); below. */
4840
/* Override any gcc2 internal prototype to avoid an error. */
4844
/* We use char because int might match the return type of a gcc2
4845
builtin and then its argument prototype would still apply. */
4852
/* The GNU C library defines this for functions which it implements
4853
to always fail with ENOSYS. Some functions are actually named
4854
something starting with __ and the normal name is an alias. */
4855
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4865
rm -f conftest.$ac_objext conftest$ac_exeext
4866
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4867
(eval $ac_link) 2>&5
4869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870
(exit $ac_status); } &&
4871
{ ac_try='test -s conftest$ac_exeext'
4872
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876
(exit $ac_status); }; }; then
4877
eval "$as_ac_var=yes"
4879
echo "$as_me: failed program was:" >&5
4880
cat conftest.$ac_ext >&5
4881
eval "$as_ac_var=no"
4883
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4885
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4886
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4887
if test `eval echo '${'$as_ac_var'}'` = yes; then
4888
cat >>confdefs.h <<_ACEOF
4889
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4896
# Check whether --enable-pcregrep or --disable-pcregrep was given.
4897
if test "${enable_pcregrep+set}" = set; then
4898
enableval="$enable_pcregrep"
4905
# Check whether --enable-html or --disable-html was given.
4906
if test "${enable_html+set}" = set; then
4907
enableval="$enable_html"
4915
if test "x$enable_html" != xno; then
4917
BUILD_HTML_FALSE='#'
4924
: ${TEXI2HTML=texi2html -monolithic}
4927
echo "$as_me:$LINENO: checking how to build HTML documentation" >&5
4928
echo $ECHO_N "checking how to build HTML documentation... $ECHO_C" >&6
4929
if eval $am_missing_run makeinfo --help 2>&1 | grep .-html > /dev/null; then
4930
echo "$as_me:$LINENO: result: with makeinfo" >&5
4931
echo "${ECHO_T}with makeinfo" >&6
4932
enable_html=makeinfo
4934
if $TEXI2HTML --help 2>&1 | grep monolithic > /dev/null; then
4935
echo "$as_me:$LINENO: result: with texi2html" >&5
4936
echo "${ECHO_T}with texi2html" >&6
4937
enable_html=texi2html
4939
echo "$as_me:$LINENO: result: not built" >&5
4940
echo "${ECHO_T}not built" >&6
4941
if test "x$enable_html" != xno; then
4942
{ { echo "$as_me:$LINENO: error: cannot build HTML documentation" >&5
4943
echo "$as_me: error: cannot build HTML documentation" >&2;}
4944
{ (exit install makeinfo 4.0 or texi2html); exit install makeinfo 4.0 or texi2html; }; }
4952
if test "x$enable_html" = xmakeinfo; then
4954
MAKEINFO_HTML_FALSE='#'
4956
MAKEINFO_HTML_TRUE='#'
4957
MAKEINFO_HTML_FALSE=
4962
if test "x$enable_html" = xtexi2html; then
4963
TEXI2HTML_HTML_TRUE=
4964
TEXI2HTML_HTML_FALSE='#'
4966
TEXI2HTML_HTML_TRUE='#'
4967
TEXI2HTML_HTML_FALSE=
4972
ALL_LINGUAS="ca cs da de el eo es et fi fr gl he hr hu id it ja ko nl pt_BR ru sk sl sv tr zh_CN"
4973
# Make sure we can run config.sub.
4974
$ac_config_sub sun4 >/dev/null 2>&1 ||
4975
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4976
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4977
{ (exit 1); exit 1; }; }
4979
echo "$as_me:$LINENO: checking build system type" >&5
4980
echo $ECHO_N "checking build system type... $ECHO_C" >&6
4981
if test "${ac_cv_build+set}" = set; then
4982
echo $ECHO_N "(cached) $ECHO_C" >&6
4984
ac_cv_build_alias=$build_alias
4985
test -z "$ac_cv_build_alias" &&
4986
ac_cv_build_alias=`$ac_config_guess`
4987
test -z "$ac_cv_build_alias" &&
4988
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4989
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4990
{ (exit 1); exit 1; }; }
4991
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4992
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4993
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4994
{ (exit 1); exit 1; }; }
4997
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4998
echo "${ECHO_T}$ac_cv_build" >&6
5000
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5001
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5002
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5005
echo "$as_me:$LINENO: checking host system type" >&5
5006
echo $ECHO_N "checking host system type... $ECHO_C" >&6
5007
if test "${ac_cv_host+set}" = set; then
5008
echo $ECHO_N "(cached) $ECHO_C" >&6
5010
ac_cv_host_alias=$host_alias
5011
test -z "$ac_cv_host_alias" &&
5012
ac_cv_host_alias=$ac_cv_build_alias
5013
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5014
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5015
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5016
{ (exit 1); exit 1; }; }
5019
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5020
echo "${ECHO_T}$ac_cv_host" >&6
5022
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5023
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5024
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5027
echo "$as_me:$LINENO: checking for inline" >&5
5028
echo $ECHO_N "checking for inline... $ECHO_C" >&6
5029
if test "${ac_cv_c_inline+set}" = set; then
5030
echo $ECHO_N "(cached) $ECHO_C" >&6
5033
for ac_kw in inline __inline__ __inline; do
5034
cat >conftest.$ac_ext <<_ACEOF
5035
#line $LINENO "configure"
5036
#include "confdefs.h"
5039
static $ac_kw foo_t static_foo () {return 0; }
5040
$ac_kw foo_t foo () {return 0; }
5044
rm -f conftest.$ac_objext
5045
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5046
(eval $ac_compile) 2>&5
5048
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049
(exit $ac_status); } &&
5050
{ ac_try='test -s conftest.$ac_objext'
5051
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055
(exit $ac_status); }; }; then
5056
ac_cv_c_inline=$ac_kw; break
5058
echo "$as_me: failed program was:" >&5
5059
cat conftest.$ac_ext >&5
5061
rm -f conftest.$ac_objext conftest.$ac_ext
5065
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5066
echo "${ECHO_T}$ac_cv_c_inline" >&6
5067
case $ac_cv_c_inline in
5070
cat >>confdefs.h <<\_ACEOF
5074
*) cat >>confdefs.h <<_ACEOF
5075
#define inline $ac_cv_c_inline
5080
echo "$as_me:$LINENO: checking for off_t" >&5
5081
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5082
if test "${ac_cv_type_off_t+set}" = set; then
5083
echo $ECHO_N "(cached) $ECHO_C" >&6
5085
cat >conftest.$ac_ext <<_ACEOF
5086
#line $LINENO "configure"
5087
#include "confdefs.h"
5088
$ac_includes_default
5100
rm -f conftest.$ac_objext
5101
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5102
(eval $ac_compile) 2>&5
5104
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105
(exit $ac_status); } &&
5106
{ ac_try='test -s conftest.$ac_objext'
5107
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5110
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111
(exit $ac_status); }; }; then
5112
ac_cv_type_off_t=yes
5114
echo "$as_me: failed program was:" >&5
5115
cat conftest.$ac_ext >&5
5118
rm -f conftest.$ac_objext conftest.$ac_ext
5120
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5121
echo "${ECHO_T}$ac_cv_type_off_t" >&6
5122
if test $ac_cv_type_off_t = yes; then
5126
cat >>confdefs.h <<_ACEOF
5134
for ac_header in stdlib.h unistd.h
5136
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5137
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5138
echo "$as_me:$LINENO: checking for $ac_header" >&5
5139
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5140
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5141
echo $ECHO_N "(cached) $ECHO_C" >&6
5143
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5144
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5146
# Is the header compilable?
5147
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5148
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5149
cat >conftest.$ac_ext <<_ACEOF
5150
#line $LINENO "configure"
5151
#include "confdefs.h"
5152
$ac_includes_default
5153
#include <$ac_header>
5155
rm -f conftest.$ac_objext
5156
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5157
(eval $ac_compile) 2>&5
5159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160
(exit $ac_status); } &&
5161
{ ac_try='test -s conftest.$ac_objext'
5162
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166
(exit $ac_status); }; }; then
5167
ac_header_compiler=yes
5169
echo "$as_me: failed program was:" >&5
5170
cat conftest.$ac_ext >&5
5171
ac_header_compiler=no
5173
rm -f conftest.$ac_objext conftest.$ac_ext
5174
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5175
echo "${ECHO_T}$ac_header_compiler" >&6
5177
# Is the header present?
5178
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5179
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5180
cat >conftest.$ac_ext <<_ACEOF
5181
#line $LINENO "configure"
5182
#include "confdefs.h"
5183
#include <$ac_header>
5185
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5186
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5188
grep -v '^ *+' conftest.er1 >conftest.err
5190
cat conftest.err >&5
5191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192
(exit $ac_status); } >/dev/null; then
5193
if test -s conftest.err; then
5194
ac_cpp_err=$ac_c_preproc_warn_flag
5201
if test -z "$ac_cpp_err"; then
5202
ac_header_preproc=yes
5204
echo "$as_me: failed program was:" >&5
5205
cat conftest.$ac_ext >&5
5206
ac_header_preproc=no
5208
rm -f conftest.err conftest.$ac_ext
5209
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5210
echo "${ECHO_T}$ac_header_preproc" >&6
5212
# So? What about this header?
5213
case $ac_header_compiler:$ac_header_preproc in
5215
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5216
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5217
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5218
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5220
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5221
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5222
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5223
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5224
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5225
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5227
echo "$as_me:$LINENO: checking for $ac_header" >&5
5228
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5229
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5230
echo $ECHO_N "(cached) $ECHO_C" >&6
5232
eval "$as_ac_Header=$ac_header_preproc"
5234
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5235
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5238
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5239
cat >>confdefs.h <<_ACEOF
5240
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5248
for ac_func in getpagesize
5250
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5251
echo "$as_me:$LINENO: checking for $ac_func" >&5
5252
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5253
if eval "test \"\${$as_ac_var+set}\" = set"; then
5254
echo $ECHO_N "(cached) $ECHO_C" >&6
5256
cat >conftest.$ac_ext <<_ACEOF
5257
#line $LINENO "configure"
5258
#include "confdefs.h"
5259
/* System header to define __stub macros and hopefully few prototypes,
5260
which can conflict with char $ac_func (); below. */
5262
/* Override any gcc2 internal prototype to avoid an error. */
5266
/* We use char because int might match the return type of a gcc2
5267
builtin and then its argument prototype would still apply. */
5274
/* The GNU C library defines this for functions which it implements
5275
to always fail with ENOSYS. Some functions are actually named
5276
something starting with __ and the normal name is an alias. */
5277
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5287
rm -f conftest.$ac_objext conftest$ac_exeext
5288
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5289
(eval $ac_link) 2>&5
5291
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292
(exit $ac_status); } &&
5293
{ ac_try='test -s conftest$ac_exeext'
5294
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5297
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298
(exit $ac_status); }; }; then
5299
eval "$as_ac_var=yes"
5301
echo "$as_me: failed program was:" >&5
5302
cat conftest.$ac_ext >&5
5303
eval "$as_ac_var=no"
5305
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5307
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5308
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5309
if test `eval echo '${'$as_ac_var'}'` = yes; then
5310
cat >>confdefs.h <<_ACEOF
5311
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5317
echo "$as_me:$LINENO: checking for working mmap" >&5
5318
echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5319
if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5320
echo $ECHO_N "(cached) $ECHO_C" >&6
5322
if test "$cross_compiling" = yes; then
5323
ac_cv_func_mmap_fixed_mapped=no
5325
cat >conftest.$ac_ext <<_ACEOF
5326
#line $LINENO "configure"
5327
#include "confdefs.h"
5328
$ac_includes_default
5329
/* malloc might have been renamed as rpl_malloc. */
5332
/* Thanks to Mike Haertel and Jim Avera for this test.
5333
Here is a matrix of mmap possibilities:
5334
mmap private not fixed
5335
mmap private fixed at somewhere currently unmapped
5336
mmap private fixed at somewhere already mapped
5337
mmap shared not fixed
5338
mmap shared fixed at somewhere currently unmapped
5339
mmap shared fixed at somewhere already mapped
5340
For private mappings, we should verify that changes cannot be read()
5341
back from the file, nor mmap's back from the file at a different
5342
address. (There have been systems where private was not correctly
5343
implemented like the infamous i386 svr4.0, and systems where the
5344
VM page cache was not coherent with the file system buffer cache
5345
like early versions of FreeBSD and possibly contemporary NetBSD.)
5346
For shared mappings, we should conversely verify that changes get
5347
propagated back to all the places they're supposed to be.
5349
Grep wants private fixed already mapped.
5350
The main things grep needs to know about mmap are:
5351
* does it exist and is it safe to write into the mmap'd area
5352
* how to use it (BSD variants) */
5355
#include <sys/mman.h>
5357
#if !STDC_HEADERS && !HAVE_STDLIB_H
5361
/* This mess was copied from the GNU getpagesize.h. */
5362
#if !HAVE_GETPAGESIZE
5363
/* Assume that all systems that can run configure have sys/param.h. */
5364
# if !HAVE_SYS_PARAM_H
5365
# define HAVE_SYS_PARAM_H 1
5368
# ifdef _SC_PAGESIZE
5369
# define getpagesize() sysconf(_SC_PAGESIZE)
5370
# else /* no _SC_PAGESIZE */
5371
# if HAVE_SYS_PARAM_H
5372
# include <sys/param.h>
5373
# ifdef EXEC_PAGESIZE
5374
# define getpagesize() EXEC_PAGESIZE
5375
# else /* no EXEC_PAGESIZE */
5377
# define getpagesize() NBPG * CLSIZE
5380
# endif /* no CLSIZE */
5381
# else /* no NBPG */
5383
# define getpagesize() NBPC
5384
# else /* no NBPC */
5386
# define getpagesize() PAGESIZE
5387
# endif /* PAGESIZE */
5388
# endif /* no NBPC */
5389
# endif /* no NBPG */
5390
# endif /* no EXEC_PAGESIZE */
5391
# else /* no HAVE_SYS_PARAM_H */
5392
# define getpagesize() 8192 /* punt totally */
5393
# endif /* no HAVE_SYS_PARAM_H */
5394
# endif /* no _SC_PAGESIZE */
5396
#endif /* no HAVE_GETPAGESIZE */
5401
char *data, *data2, *data3;
5405
pagesize = getpagesize ();
5407
/* First, make a file with some known garbage in it. */
5408
data = (char *) malloc (pagesize);
5411
for (i = 0; i < pagesize; ++i)
5412
*(data + i) = rand ();
5414
fd = creat ("conftest.mmap", 0600);
5417
if (write (fd, data, pagesize) != pagesize)
5421
/* Next, try to mmap the file at a fixed address which already has
5422
something else allocated at it. If we can, also make sure that
5423
we see the same garbage. */
5424
fd = open ("conftest.mmap", O_RDWR);
5427
data2 = (char *) malloc (2 * pagesize);
5430
data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
5431
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5432
MAP_PRIVATE | MAP_FIXED, fd, 0L))
5434
for (i = 0; i < pagesize; ++i)
5435
if (*(data + i) != *(data2 + i))
5438
/* Finally, make sure that changes to the mapped area do not
5439
percolate back to the file as seen by read(). (This is a bug on
5440
some variants of i386 svr4.0.) */
5441
for (i = 0; i < pagesize; ++i)
5442
*(data2 + i) = *(data2 + i) + 1;
5443
data3 = (char *) malloc (pagesize);
5446
if (read (fd, data3, pagesize) != pagesize)
5448
for (i = 0; i < pagesize; ++i)
5449
if (*(data + i) != *(data3 + i))
5455
rm -f conftest$ac_exeext
5456
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5457
(eval $ac_link) 2>&5
5459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5461
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465
(exit $ac_status); }; }; then
5466
ac_cv_func_mmap_fixed_mapped=yes
5468
echo "$as_me: program exited with status $ac_status" >&5
5469
echo "$as_me: failed program was:" >&5
5470
cat conftest.$ac_ext >&5
5472
ac_cv_func_mmap_fixed_mapped=no
5474
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5477
echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5478
echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5479
if test $ac_cv_func_mmap_fixed_mapped = yes; then
5481
cat >>confdefs.h <<\_ACEOF
5489
echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
5490
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
5491
if test "${ac_cv_gnu_library_2_1+set}" = set; then
5492
echo $ECHO_N "(cached) $ECHO_C" >&6
5494
cat >conftest.$ac_ext <<_ACEOF
5495
#line $LINENO "configure"
5496
#include "confdefs.h"
5498
#include <features.h>
5499
#ifdef __GNU_LIBRARY__
5500
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
5506
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5507
$EGREP "Lucky GNU user" >/dev/null 2>&1; then
5508
ac_cv_gnu_library_2_1=yes
5510
ac_cv_gnu_library_2_1=no
5517
echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
5518
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
5520
GLIBC21="$ac_cv_gnu_library_2_1"
5534
for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
5535
stdlib.h string.h unistd.h sys/param.h
5537
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5538
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5539
echo "$as_me:$LINENO: checking for $ac_header" >&5
5540
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5541
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5542
echo $ECHO_N "(cached) $ECHO_C" >&6
5544
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5545
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5547
# Is the header compilable?
5548
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5549
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5550
cat >conftest.$ac_ext <<_ACEOF
5551
#line $LINENO "configure"
5552
#include "confdefs.h"
5553
$ac_includes_default
5554
#include <$ac_header>
5556
rm -f conftest.$ac_objext
5557
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5558
(eval $ac_compile) 2>&5
5560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561
(exit $ac_status); } &&
5562
{ ac_try='test -s conftest.$ac_objext'
5563
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567
(exit $ac_status); }; }; then
5568
ac_header_compiler=yes
5570
echo "$as_me: failed program was:" >&5
5571
cat conftest.$ac_ext >&5
5572
ac_header_compiler=no
5574
rm -f conftest.$ac_objext conftest.$ac_ext
5575
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5576
echo "${ECHO_T}$ac_header_compiler" >&6
5578
# Is the header present?
5579
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5580
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5581
cat >conftest.$ac_ext <<_ACEOF
5582
#line $LINENO "configure"
5583
#include "confdefs.h"
5584
#include <$ac_header>
5586
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5587
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5589
grep -v '^ *+' conftest.er1 >conftest.err
5591
cat conftest.err >&5
5592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593
(exit $ac_status); } >/dev/null; then
5594
if test -s conftest.err; then
5595
ac_cpp_err=$ac_c_preproc_warn_flag
5602
if test -z "$ac_cpp_err"; then
5603
ac_header_preproc=yes
5605
echo "$as_me: failed program was:" >&5
5606
cat conftest.$ac_ext >&5
5607
ac_header_preproc=no
5609
rm -f conftest.err conftest.$ac_ext
5610
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5611
echo "${ECHO_T}$ac_header_preproc" >&6
5613
# So? What about this header?
5614
case $ac_header_compiler:$ac_header_preproc in
5616
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5617
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5618
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5619
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5621
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5622
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5623
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5624
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5625
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5626
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5628
echo "$as_me:$LINENO: checking for $ac_header" >&5
5629
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5630
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5631
echo $ECHO_N "(cached) $ECHO_C" >&6
5633
eval "$as_ac_Header=$ac_header_preproc"
5635
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5636
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5639
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5640
cat >>confdefs.h <<_ACEOF
5641
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5669
for ac_func in feof_unlocked fgets_unlocked getcwd getegid geteuid \
5670
getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \
5671
strdup strtoul tsearch __argz_count __argz_stringify __argz_next
5673
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5674
echo "$as_me:$LINENO: checking for $ac_func" >&5
5675
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5676
if eval "test \"\${$as_ac_var+set}\" = set"; then
5677
echo $ECHO_N "(cached) $ECHO_C" >&6
5679
cat >conftest.$ac_ext <<_ACEOF
5680
#line $LINENO "configure"
5681
#include "confdefs.h"
5682
/* System header to define __stub macros and hopefully few prototypes,
5683
which can conflict with char $ac_func (); below. */
5685
/* Override any gcc2 internal prototype to avoid an error. */
5689
/* We use char because int might match the return type of a gcc2
5690
builtin and then its argument prototype would still apply. */
5697
/* The GNU C library defines this for functions which it implements
5698
to always fail with ENOSYS. Some functions are actually named
5699
something starting with __ and the normal name is an alias. */
5700
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5710
rm -f conftest.$ac_objext conftest$ac_exeext
5711
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5712
(eval $ac_link) 2>&5
5714
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715
(exit $ac_status); } &&
5716
{ ac_try='test -s conftest$ac_exeext'
5717
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5721
(exit $ac_status); }; }; then
5722
eval "$as_ac_var=yes"
5724
echo "$as_me: failed program was:" >&5
5725
cat conftest.$ac_ext >&5
5726
eval "$as_ac_var=no"
5728
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5730
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5731
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5732
if test `eval echo '${'$as_ac_var'}'` = yes; then
5733
cat >>confdefs.h <<_ACEOF
5734
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5744
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
5745
if test "${with_libiconv_prefix+set}" = set; then
5746
withval="$with_libiconv_prefix"
5748
for dir in `echo "$withval" | tr : ' '`; do
5749
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
5750
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
5755
echo "$as_me:$LINENO: checking for iconv" >&5
5756
echo $ECHO_N "checking for iconv... $ECHO_C" >&6
5757
if test "${am_cv_func_iconv+set}" = set; then
5758
echo $ECHO_N "(cached) $ECHO_C" >&6
5761
am_cv_func_iconv="no, consider installing GNU libiconv"
5763
cat >conftest.$ac_ext <<_ACEOF
5764
#line $LINENO "configure"
5765
#include "confdefs.h"
5771
iconv_t cd = iconv_open("","");
5772
iconv(cd,NULL,NULL,NULL,NULL);
5778
rm -f conftest.$ac_objext conftest$ac_exeext
5779
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5780
(eval $ac_link) 2>&5
5782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783
(exit $ac_status); } &&
5784
{ ac_try='test -s conftest$ac_exeext'
5785
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789
(exit $ac_status); }; }; then
5790
am_cv_func_iconv=yes
5792
echo "$as_me: failed program was:" >&5
5793
cat conftest.$ac_ext >&5
5795
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5796
if test "$am_cv_func_iconv" != yes; then
5797
am_save_LIBS="$LIBS"
5798
LIBS="$LIBS -liconv"
5799
cat >conftest.$ac_ext <<_ACEOF
5800
#line $LINENO "configure"
5801
#include "confdefs.h"
5807
iconv_t cd = iconv_open("","");
5808
iconv(cd,NULL,NULL,NULL,NULL);
5814
rm -f conftest.$ac_objext conftest$ac_exeext
5815
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5816
(eval $ac_link) 2>&5
5818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819
(exit $ac_status); } &&
5820
{ ac_try='test -s conftest$ac_exeext'
5821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825
(exit $ac_status); }; }; then
5827
am_cv_func_iconv=yes
5829
echo "$as_me: failed program was:" >&5
5830
cat conftest.$ac_ext >&5
5832
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5833
LIBS="$am_save_LIBS"
5837
echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
5838
echo "${ECHO_T}$am_cv_func_iconv" >&6
5839
if test "$am_cv_func_iconv" = yes; then
5841
cat >>confdefs.h <<\_ACEOF
5842
#define HAVE_ICONV 1
5845
echo "$as_me:$LINENO: checking for iconv declaration" >&5
5846
echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
5847
if test "${am_cv_proto_iconv+set}" = set; then
5848
echo $ECHO_N "(cached) $ECHO_C" >&6
5851
cat >conftest.$ac_ext <<_ACEOF
5852
#line $LINENO "configure"
5853
#include "confdefs.h"
5861
#if defined(__STDC__) || defined(__cplusplus)
5862
size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
5875
rm -f conftest.$ac_objext
5876
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5877
(eval $ac_compile) 2>&5
5879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880
(exit $ac_status); } &&
5881
{ ac_try='test -s conftest.$ac_objext'
5882
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886
(exit $ac_status); }; }; then
5887
am_cv_proto_iconv_arg1=""
5889
echo "$as_me: failed program was:" >&5
5890
cat conftest.$ac_ext >&5
5891
am_cv_proto_iconv_arg1="const"
5893
rm -f conftest.$ac_objext conftest.$ac_ext
5894
am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
5897
am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
5898
echo "$as_me:$LINENO: result: ${ac_t:-
5899
}$am_cv_proto_iconv" >&5
5900
echo "${ECHO_T}${ac_t:-
5901
}$am_cv_proto_iconv" >&6
5903
cat >>confdefs.h <<_ACEOF
5904
#define ICONV_CONST $am_cv_proto_iconv_arg1
5909
if test "$am_cv_lib_iconv" = yes; then
5915
echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
5916
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
5917
if test "${am_cv_langinfo_codeset+set}" = set; then
5918
echo $ECHO_N "(cached) $ECHO_C" >&6
5920
cat >conftest.$ac_ext <<_ACEOF
5921
#line $LINENO "configure"
5922
#include "confdefs.h"
5923
#include <langinfo.h>
5927
char* cs = nl_langinfo(CODESET);
5932
rm -f conftest.$ac_objext conftest$ac_exeext
5933
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5934
(eval $ac_link) 2>&5
5936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937
(exit $ac_status); } &&
5938
{ ac_try='test -s conftest$ac_exeext'
5939
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5942
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943
(exit $ac_status); }; }; then
5944
am_cv_langinfo_codeset=yes
5946
echo "$as_me: failed program was:" >&5
5947
cat conftest.$ac_ext >&5
5948
am_cv_langinfo_codeset=no
5950
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5953
echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
5954
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
5955
if test $am_cv_langinfo_codeset = yes; then
5957
cat >>confdefs.h <<\_ACEOF
5958
#define HAVE_LANGINFO_CODESET 1
5963
if test $ac_cv_header_locale_h = yes; then
5964
echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
5965
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
5966
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
5967
echo $ECHO_N "(cached) $ECHO_C" >&6
5969
cat >conftest.$ac_ext <<_ACEOF
5970
#line $LINENO "configure"
5971
#include "confdefs.h"
5981
rm -f conftest.$ac_objext conftest$ac_exeext
5982
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5983
(eval $ac_link) 2>&5
5985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986
(exit $ac_status); } &&
5987
{ ac_try='test -s conftest$ac_exeext'
5988
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992
(exit $ac_status); }; }; then
5993
am_cv_val_LC_MESSAGES=yes
5995
echo "$as_me: failed program was:" >&5
5996
cat conftest.$ac_ext >&5
5997
am_cv_val_LC_MESSAGES=no
5999
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6001
echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6002
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
6003
if test $am_cv_val_LC_MESSAGES = yes; then
6005
cat >>confdefs.h <<\_ACEOF
6006
#define HAVE_LC_MESSAGES 1
6011
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6012
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6013
# Check whether --enable-nls or --disable-nls was given.
6014
if test "${enable_nls+set}" = set; then
6015
enableval="$enable_nls"
6020
echo "$as_me:$LINENO: result: $USE_NLS" >&5
6021
echo "${ECHO_T}$USE_NLS" >&6
6024
BUILD_INCLUDED_LIBINTL=no
6025
USE_INCLUDED_LIBINTL=no
6028
if test "$USE_NLS" = "yes"; then
6030
cat >>confdefs.h <<\_ACEOF
6031
#define ENABLE_NLS 1
6034
echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
6035
echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
6037
# Check whether --with-included-gettext or --without-included-gettext was given.
6038
if test "${with_included_gettext+set}" = set; then
6039
withval="$with_included_gettext"
6040
nls_cv_force_use_gnu_gettext=$withval
6042
nls_cv_force_use_gnu_gettext=no
6044
echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
6045
echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
6047
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
6048
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
6054
if test "${ac_cv_header_libintl_h+set}" = set; then
6055
echo "$as_me:$LINENO: checking for libintl.h" >&5
6056
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6057
if test "${ac_cv_header_libintl_h+set}" = set; then
6058
echo $ECHO_N "(cached) $ECHO_C" >&6
6060
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6061
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6063
# Is the header compilable?
6064
echo "$as_me:$LINENO: checking libintl.h usability" >&5
6065
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
6066
cat >conftest.$ac_ext <<_ACEOF
6067
#line $LINENO "configure"
6068
#include "confdefs.h"
6069
$ac_includes_default
6070
#include <libintl.h>
6072
rm -f conftest.$ac_objext
6073
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6074
(eval $ac_compile) 2>&5
6076
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077
(exit $ac_status); } &&
6078
{ ac_try='test -s conftest.$ac_objext'
6079
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6082
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083
(exit $ac_status); }; }; then
6084
ac_header_compiler=yes
6086
echo "$as_me: failed program was:" >&5
6087
cat conftest.$ac_ext >&5
6088
ac_header_compiler=no
6090
rm -f conftest.$ac_objext conftest.$ac_ext
6091
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6092
echo "${ECHO_T}$ac_header_compiler" >&6
6094
# Is the header present?
6095
echo "$as_me:$LINENO: checking libintl.h presence" >&5
6096
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
6097
cat >conftest.$ac_ext <<_ACEOF
6098
#line $LINENO "configure"
6099
#include "confdefs.h"
6100
#include <libintl.h>
6102
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6103
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6105
grep -v '^ *+' conftest.er1 >conftest.err
6107
cat conftest.err >&5
6108
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109
(exit $ac_status); } >/dev/null; then
6110
if test -s conftest.err; then
6111
ac_cpp_err=$ac_c_preproc_warn_flag
6118
if test -z "$ac_cpp_err"; then
6119
ac_header_preproc=yes
6121
echo "$as_me: failed program was:" >&5
6122
cat conftest.$ac_ext >&5
6123
ac_header_preproc=no
6125
rm -f conftest.err conftest.$ac_ext
6126
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6127
echo "${ECHO_T}$ac_header_preproc" >&6
6129
# So? What about this header?
6130
case $ac_header_compiler:$ac_header_preproc in
6132
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6133
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6134
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6135
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
6137
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6138
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6139
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6140
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6141
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
6142
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;};;
6144
echo "$as_me:$LINENO: checking for libintl.h" >&5
6145
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
6146
if test "${ac_cv_header_libintl_h+set}" = set; then
6147
echo $ECHO_N "(cached) $ECHO_C" >&6
6149
ac_cv_header_libintl_h=$ac_header_preproc
6151
echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6152
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
6155
if test $ac_cv_header_libintl_h = yes; then
6156
echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
6157
echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
6158
if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
6159
echo $ECHO_N "(cached) $ECHO_C" >&6
6161
cat >conftest.$ac_ext <<_ACEOF
6162
#line $LINENO "configure"
6163
#include "confdefs.h"
6164
#include <libintl.h>
6165
extern int _nl_msg_cat_cntr;
6169
bindtextdomain ("", "");
6170
return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
6175
rm -f conftest.$ac_objext conftest$ac_exeext
6176
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6177
(eval $ac_link) 2>&5
6179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180
(exit $ac_status); } &&
6181
{ ac_try='test -s conftest$ac_exeext'
6182
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186
(exit $ac_status); }; }; then
6187
gt_cv_func_gnugettext2_libc=yes
6189
echo "$as_me: failed program was:" >&5
6190
cat conftest.$ac_ext >&5
6191
gt_cv_func_gnugettext2_libc=no
6193
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6195
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
6196
echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
6198
if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
6199
echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
6200
echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
6201
if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
6202
echo $ECHO_N "(cached) $ECHO_C" >&6
6204
gt_save_LIBS="$LIBS"
6205
LIBS="$LIBS -lintl $LIBICONV"
6206
cat >conftest.$ac_ext <<_ACEOF
6207
#line $LINENO "configure"
6208
#include "confdefs.h"
6209
#include <libintl.h>
6210
extern int _nl_msg_cat_cntr;
6214
bindtextdomain ("", "");
6215
return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr
6220
rm -f conftest.$ac_objext conftest$ac_exeext
6221
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6222
(eval $ac_link) 2>&5
6224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225
(exit $ac_status); } &&
6226
{ ac_try='test -s conftest$ac_exeext'
6227
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231
(exit $ac_status); }; }; then
6232
gt_cv_func_gnugettext2_libintl=yes
6234
echo "$as_me: failed program was:" >&5
6235
cat conftest.$ac_ext >&5
6236
gt_cv_func_gnugettext2_libintl=no
6238
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6239
LIBS="$gt_save_LIBS"
6241
echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
6242
echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
6245
if test "$gt_cv_func_gnugettext2_libc" = "yes" \
6246
|| { test "$gt_cv_func_gnugettext2_libintl" = "yes" \
6247
&& test "$PACKAGE" != gettext; }; then
6249
cat >>confdefs.h <<\_ACEOF
6250
#define HAVE_GETTEXT 1
6254
if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
6255
INTLLIBS="-lintl $LIBICONV"
6258
gt_save_LIBS="$LIBS"
6259
LIBS="$LIBS $INTLLIBS"
6261
for ac_func in dcgettext
6263
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6264
echo "$as_me:$LINENO: checking for $ac_func" >&5
6265
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6266
if eval "test \"\${$as_ac_var+set}\" = set"; then
6267
echo $ECHO_N "(cached) $ECHO_C" >&6
6269
cat >conftest.$ac_ext <<_ACEOF
6270
#line $LINENO "configure"
6271
#include "confdefs.h"
6272
/* System header to define __stub macros and hopefully few prototypes,
6273
which can conflict with char $ac_func (); below. */
6275
/* Override any gcc2 internal prototype to avoid an error. */
6279
/* We use char because int might match the return type of a gcc2
6280
builtin and then its argument prototype would still apply. */
6287
/* The GNU C library defines this for functions which it implements
6288
to always fail with ENOSYS. Some functions are actually named
6289
something starting with __ and the normal name is an alias. */
6290
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6300
rm -f conftest.$ac_objext conftest$ac_exeext
6301
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6302
(eval $ac_link) 2>&5
6304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305
(exit $ac_status); } &&
6306
{ ac_try='test -s conftest$ac_exeext'
6307
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6311
(exit $ac_status); }; }; then
6312
eval "$as_ac_var=yes"
6314
echo "$as_me: failed program was:" >&5
6315
cat conftest.$ac_ext >&5
6316
eval "$as_ac_var=no"
6318
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6320
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6321
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6322
if test `eval echo '${'$as_ac_var'}'` = yes; then
6323
cat >>confdefs.h <<_ACEOF
6324
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6330
LIBS="$gt_save_LIBS"
6332
# Extract the first word of "msgfmt", so it can be a program name with args.
6333
set dummy msgfmt; ac_word=$2
6334
echo "$as_me:$LINENO: checking for $ac_word" >&5
6335
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6336
if test "${ac_cv_path_MSGFMT+set}" = set; then
6337
echo $ECHO_N "(cached) $ECHO_C" >&6
6341
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6344
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6345
for ac_dir in $PATH; do
6346
test -z "$ac_dir" && ac_dir=.
6347
if test -f $ac_dir/$ac_word; then
6348
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
6349
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6355
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
6359
MSGFMT="$ac_cv_path_MSGFMT"
6360
if test "$MSGFMT" != ":"; then
6361
echo "$as_me:$LINENO: result: $MSGFMT" >&5
6362
echo "${ECHO_T}$MSGFMT" >&6
6364
echo "$as_me:$LINENO: result: no" >&5
6365
echo "${ECHO_T}no" >&6
6368
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6369
set dummy gmsgfmt; ac_word=$2
6370
echo "$as_me:$LINENO: checking for $ac_word" >&5
6371
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6372
if test "${ac_cv_path_GMSGFMT+set}" = set; then
6373
echo $ECHO_N "(cached) $ECHO_C" >&6
6377
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6380
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384
test -z "$as_dir" && as_dir=.
6385
for ac_exec_ext in '' $ac_executable_extensions; do
6386
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6387
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6388
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6394
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6398
GMSGFMT=$ac_cv_path_GMSGFMT
6400
if test -n "$GMSGFMT"; then
6401
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6402
echo "${ECHO_T}$GMSGFMT" >&6
6404
echo "$as_me:$LINENO: result: no" >&5
6405
echo "${ECHO_T}no" >&6
6409
# Extract the first word of "xgettext", so it can be a program name with args.
6410
set dummy xgettext; ac_word=$2
6411
echo "$as_me:$LINENO: checking for $ac_word" >&5
6412
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6413
if test "${ac_cv_path_XGETTEXT+set}" = set; then
6414
echo $ECHO_N "(cached) $ECHO_C" >&6
6418
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6421
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6422
for ac_dir in $PATH; do
6423
test -z "$ac_dir" && ac_dir=.
6424
if test -f $ac_dir/$ac_word; then
6425
if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
6426
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6432
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6436
XGETTEXT="$ac_cv_path_XGETTEXT"
6437
if test "$XGETTEXT" != ":"; then
6438
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6439
echo "${ECHO_T}$XGETTEXT" >&6
6441
echo "$as_me:$LINENO: result: no" >&5
6442
echo "${ECHO_T}no" >&6
6453
if test "$CATOBJEXT" = "NONE"; then
6454
nls_cv_use_gnu_gettext=yes
6458
if test "$nls_cv_use_gnu_gettext" = "yes"; then
6459
INTLOBJS="\$(GETTOBJS)"
6460
# Extract the first word of "msgfmt", so it can be a program name with args.
6461
set dummy msgfmt; ac_word=$2
6462
echo "$as_me:$LINENO: checking for $ac_word" >&5
6463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6464
if test "${ac_cv_path_MSGFMT+set}" = set; then
6465
echo $ECHO_N "(cached) $ECHO_C" >&6
6469
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6472
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6473
for ac_dir in $PATH; do
6474
test -z "$ac_dir" && ac_dir=.
6475
if test -f $ac_dir/$ac_word; then
6476
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1; then
6477
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6483
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
6487
MSGFMT="$ac_cv_path_MSGFMT"
6488
if test "$MSGFMT" != ":"; then
6489
echo "$as_me:$LINENO: result: $MSGFMT" >&5
6490
echo "${ECHO_T}$MSGFMT" >&6
6492
echo "$as_me:$LINENO: result: no" >&5
6493
echo "${ECHO_T}no" >&6
6496
# Extract the first word of "gmsgfmt", so it can be a program name with args.
6497
set dummy gmsgfmt; ac_word=$2
6498
echo "$as_me:$LINENO: checking for $ac_word" >&5
6499
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6500
if test "${ac_cv_path_GMSGFMT+set}" = set; then
6501
echo $ECHO_N "(cached) $ECHO_C" >&6
6505
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512
test -z "$as_dir" && as_dir=.
6513
for ac_exec_ext in '' $ac_executable_extensions; do
6514
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6515
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6516
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6522
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6526
GMSGFMT=$ac_cv_path_GMSGFMT
6528
if test -n "$GMSGFMT"; then
6529
echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6530
echo "${ECHO_T}$GMSGFMT" >&6
6532
echo "$as_me:$LINENO: result: no" >&5
6533
echo "${ECHO_T}no" >&6
6536
# Extract the first word of "xgettext", so it can be a program name with args.
6537
set dummy xgettext; ac_word=$2
6538
echo "$as_me:$LINENO: checking for $ac_word" >&5
6539
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6540
if test "${ac_cv_path_XGETTEXT+set}" = set; then
6541
echo $ECHO_N "(cached) $ECHO_C" >&6
6545
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6548
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6549
for ac_dir in $PATH; do
6550
test -z "$ac_dir" && ac_dir=.
6551
if test -f $ac_dir/$ac_word; then
6552
if $ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1; then
6553
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6559
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6563
XGETTEXT="$ac_cv_path_XGETTEXT"
6564
if test "$XGETTEXT" != ":"; then
6565
echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6566
echo "${ECHO_T}$XGETTEXT" >&6
6568
echo "$as_me:$LINENO: result: no" >&5
6569
echo "${ECHO_T}no" >&6
6573
BUILD_INCLUDED_LIBINTL=yes
6574
USE_INCLUDED_LIBINTL=yes
6576
INTLLIBS="\$(top_builddir)/intl/libintl.a $LIBICONV"
6577
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
6580
if test "$GMSGFMT" != ":"; then
6581
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
6584
echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
6585
echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6
6590
if test "$XGETTEXT" != ":"; then
6591
if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
6594
echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6595
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
6602
ac_config_commands="$ac_config_commands default-1"
6606
if test "$PACKAGE" = gettext; then
6607
BUILD_INCLUDED_LIBINTL=yes
6610
for ac_prog in bison
6612
# Extract the first word of "$ac_prog", so it can be a program name with args.
6613
set dummy $ac_prog; ac_word=$2
6614
echo "$as_me:$LINENO: checking for $ac_word" >&5
6615
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6616
if test "${ac_cv_prog_INTLBISON+set}" = set; then
6617
echo $ECHO_N "(cached) $ECHO_C" >&6
6619
if test -n "$INTLBISON"; then
6620
ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
6622
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626
test -z "$as_dir" && as_dir=.
6627
for ac_exec_ext in '' $ac_executable_extensions; do
6628
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6629
ac_cv_prog_INTLBISON="$ac_prog"
6630
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6638
INTLBISON=$ac_cv_prog_INTLBISON
6639
if test -n "$INTLBISON"; then
6640
echo "$as_me:$LINENO: result: $INTLBISON" >&5
6641
echo "${ECHO_T}$INTLBISON" >&6
6643
echo "$as_me:$LINENO: result: no" >&5
6644
echo "${ECHO_T}no" >&6
6647
test -n "$INTLBISON" && break
6650
if test -z "$INTLBISON"; then
6653
echo "$as_me:$LINENO: checking version of bison" >&5
6654
echo $ECHO_N "checking version of bison... $ECHO_C" >&6
6655
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
6656
case $ac_prog_version in
6657
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
6658
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
6659
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
6660
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
6662
echo "$as_me:$LINENO: result: $ac_prog_version" >&5
6663
echo "${ECHO_T}$ac_prog_version" >&6
6665
if test $ac_verc_fail = yes; then
6669
for lang in $ALL_LINGUAS; do
6670
GMOFILES="$GMOFILES $lang.gmo"
6671
POFILES="$POFILES $lang.po"
6685
nls_cv_header_libgt=
6697
if test "x$CATOBJEXT" != "x"; then
6698
if test "x$ALL_LINGUAS" = "x"; then
6701
echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
6702
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
6704
for presentlang in $ALL_LINGUAS; do
6706
for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do
6707
# Use the presentlang catalog if desiredlang is
6708
# a. equal to presentlang, or
6709
# b. a variant of presentlang (because in this case,
6710
# presentlang can be used as a fallback for messages
6711
# which are not translated in the desiredlang catalog).
6712
case "$desiredlang" in
6713
"$presentlang"*) useit=yes;;
6716
if test $useit = yes; then
6717
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6720
LINGUAS=$NEW_LINGUAS
6721
echo "$as_me:$LINENO: result: $LINGUAS" >&5
6722
echo "${ECHO_T}$LINGUAS" >&6
6725
if test -n "$LINGUAS"; then
6726
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6731
if test -n "$ac_aux_dir"; then
6732
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6734
if test -z "$MKINSTALLDIRS"; then
6735
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6739
INTL_LIBTOOL_SUFFIX_PREFIX=
6743
ac_config_files="$ac_config_files bootstrap.sh"
6745
ac_config_files="$ac_config_files Makefile doc/Makefile lib/Makefile sed/Makefile testsuite/Makefile po/Makefile.in intl/Makefile pcre/Makefile"
6747
cat >confcache <<\_ACEOF
6748
# This file is a shell script that caches the results of configure
6749
# tests run on this system so they can be shared between configure
6750
# scripts and configure runs, see configure's option --config-cache.
6751
# It is not useful on other systems. If it contains results you don't
6752
# want to keep, you may remove or edit it.
6754
# config.status only pays attention to the cache file if you give it
6755
# the --recheck option to rerun configure.
6757
# `ac_cv_env_foo' variables (set or unset) will be overridden when
6758
# loading this file, other *unset* `ac_cv_foo' will be assigned the
6763
# The following way of writing the cache mishandles newlines in values,
6764
# but we know of no workaround that is simple, portable, and efficient.
6765
# So, don't put newlines in cache variables' values.
6766
# Ultrix sh set writes to stderr and can't be redirected directly,
6767
# and sets the high bit in the cache file unless we assign to the vars.
6770
case `(ac_space=' '; set | grep ac_space) 2>&1` in
6772
# `set' does not quote correctly, so add quotes (double-quote
6773
# substitution turns \\\\ into \\, and sed turns \\ into \).
6776
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6779
# `set' quotes correctly as required by POSIX, so do not add quotes.
6781
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6788
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6790
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6792
if cmp -s $cache_file confcache; then :; else
6793
if test -w $cache_file; then
6794
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6795
cat confcache >$cache_file
6797
echo "not updating unwritable cache $cache_file"
6802
test "x$prefix" = xNONE && prefix=$ac_default_prefix
6803
# Let make expand exec_prefix.
6804
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6806
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6807
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6808
# trailing colons and then remove the whole line if VPATH becomes empty
6809
# (actually we leave an empty line to preserve line numbers).
6810
if test "x$srcdir" = x.; then
6811
ac_vpsub='/^[ ]*VPATH[ ]*=/{
6812
s/:*\$(srcdir):*/:/;
6813
s/:*\${srcdir}:*/:/;
6815
s/^\([^=]*=[ ]*\):*/\1/;
6821
DEFS=-DHAVE_CONFIG_H
6825
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6826
# 1. Remove the extension, and $U if already installed.
6827
ac_i=`echo "$ac_i" |
6828
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6830
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6831
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6835
LTLIBOBJS=$ac_ltlibobjs
6838
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6839
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6840
Usually this means the macro was only invoked conditionally." >&5
6841
echo "$as_me: error: conditional \"AMDEP\" was never defined.
6842
Usually this means the macro was only invoked conditionally." >&2;}
6843
{ (exit 1); exit 1; }; }
6845
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6846
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6847
Usually this means the macro was only invoked conditionally." >&5
6848
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6849
Usually this means the macro was only invoked conditionally." >&2;}
6850
{ (exit 1); exit 1; }; }
6852
if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
6853
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_HTML\" was never defined.
6854
Usually this means the macro was only invoked conditionally." >&5
6855
echo "$as_me: error: conditional \"BUILD_HTML\" was never defined.
6856
Usually this means the macro was only invoked conditionally." >&2;}
6857
{ (exit 1); exit 1; }; }
6859
if test -z "${MAKEINFO_HTML_TRUE}" && test -z "${MAKEINFO_HTML_FALSE}"; then
6860
{ { echo "$as_me:$LINENO: error: conditional \"MAKEINFO_HTML\" was never defined.
6861
Usually this means the macro was only invoked conditionally." >&5
6862
echo "$as_me: error: conditional \"MAKEINFO_HTML\" was never defined.
6863
Usually this means the macro was only invoked conditionally." >&2;}
6864
{ (exit 1); exit 1; }; }
6866
if test -z "${TEXI2HTML_HTML_TRUE}" && test -z "${TEXI2HTML_HTML_FALSE}"; then
6867
{ { echo "$as_me:$LINENO: error: conditional \"TEXI2HTML_HTML\" was never defined.
6868
Usually this means the macro was only invoked conditionally." >&5
6869
echo "$as_me: error: conditional \"TEXI2HTML_HTML\" was never defined.
6870
Usually this means the macro was only invoked conditionally." >&2;}
6871
{ (exit 1); exit 1; }; }
6874
: ${CONFIG_STATUS=./config.status}
6875
ac_clean_files_save=$ac_clean_files
6876
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6877
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6878
echo "$as_me: creating $CONFIG_STATUS" >&6;}
6879
cat >$CONFIG_STATUS <<_ACEOF
6881
# Generated by $as_me.
6882
# Run this file to recreate the current configuration.
6883
# Compiler output produced by configure, useful for debugging
6884
# configure, is in config.log if it exists.
6887
SHELL=\${CONFIG_SHELL-$SHELL}
6890
cat >>$CONFIG_STATUS <<\_ACEOF
6891
## --------------------- ##
6892
## M4sh Initialization. ##
6893
## --------------------- ##
6895
# Be Bourne compatible
6896
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6899
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6900
# is contrary to our usage. Disable this feature.
6901
alias -g '${1+"$@"}'='"$@"'
6902
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6906
# Support unset when possible.
6907
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6914
# Work around bugs in pre-3.0 UWIN ksh.
6915
$as_unset ENV MAIL MAILPATH
6921
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
6923
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6924
eval $as_var=C; export $as_var
6930
# Required to use basename.
6931
if expr a : '\(a\)' >/dev/null 2>&1; then
6937
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6938
as_basename=basename
6944
# Name of the executable.
6945
as_me=`$as_basename "$0" ||
6946
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6947
X"$0" : 'X\(//\)$' \| \
6948
X"$0" : 'X\(/\)$' \| \
6949
. : '\(.\)' 2>/dev/null ||
6951
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6952
/^X\/\(\/\/\)$/{ s//\1/; q; }
6953
/^X\/\(\/\).*/{ s//\1/; q; }
6957
# PATH needs CR, and LINENO needs CR and PATH.
6958
# Avoid depending upon Character Ranges.
6959
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6960
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6961
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6962
as_cr_digits='0123456789'
6963
as_cr_alnum=$as_cr_Letters$as_cr_digits
6965
# The user is always right.
6966
if test "${PATH_SEPARATOR+set}" != set; then
6967
echo "#! /bin/sh" >conftest.sh
6968
echo "exit 0" >>conftest.sh
6969
chmod +x conftest.sh
6970
if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
6981
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6982
test "x$as_lineno_1" != "x$as_lineno_2" &&
6983
test "x$as_lineno_3" = "x$as_lineno_2" || {
6984
# Find who we are. Look in the path if we contain no path at all
6987
*[\\/]* ) as_myself=$0 ;;
6988
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6992
test -z "$as_dir" && as_dir=.
6993
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6998
# We did not find ourselves, most probably we were run as `sh COMMAND'
6999
# in which case we are not to be found in the path.
7000
if test "x$as_myself" = x; then
7003
if test ! -f "$as_myself"; then
7004
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7005
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7006
{ (exit 1); exit 1; }; }
7008
case $CONFIG_SHELL in
7010
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7014
test -z "$as_dir" && as_dir=.
7015
for as_base in sh bash ksh sh5; do
7018
if ("$as_dir/$as_base" -c '
7021
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7022
test "x$as_lineno_1" != "x$as_lineno_2" &&
7023
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7024
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7025
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7026
CONFIG_SHELL=$as_dir/$as_base
7028
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7036
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7037
# uniformly replaced by the line number. The first 'sed' inserts a
7038
# line-number line before each line; the second 'sed' does the real
7039
# work. The second script uses 'N' to pair each line-number line
7040
# with the numbered line, and appends trailing '-' during
7041
# substitution so that $LINENO is not a special case at line end.
7042
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7043
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7044
sed '=' <$as_myself |
7049
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7052
s,^['$as_cr_digits']*\n,,
7054
chmod +x $as_me.lineno ||
7055
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7056
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7057
{ (exit 1); exit 1; }; }
7059
# Don't try to exec as it changes $[0], causing all sort of problems
7060
# (the dirname of $[0] is not the place where we might find the
7061
# original and so on. Autoconf is especially sensible to this).
7063
# Exit status is that of the last command.
7068
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7069
*c*,-n*) ECHO_N= ECHO_C='
7071
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7072
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7075
if expr a : '\(a\)' >/dev/null 2>&1; then
7081
rm -f conf$$ conf$$.exe conf$$.file
7083
if ln -s conf$$.file conf$$ 2>/dev/null; then
7084
# We could just check for DJGPP; but this test a) works b) is more generic
7085
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7086
if test -f conf$$.exe; then
7087
# Don't use ln at all; we don't have any links
7092
elif ln conf$$.file conf$$ 2>/dev/null; then
7097
rm -f conf$$ conf$$.exe conf$$.file
7099
if mkdir -p . 2>/dev/null; then
7105
as_executable_p="test -f"
7107
# Sed expression to map a string onto a valid CPP name.
7108
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
7110
# Sed expression to map a string onto a valid variable name.
7111
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
7115
# We need space, tab and new line, in precisely that order.
7125
# Open the log real soon, to keep \$[0] and so on meaningful, and to
7126
# report actual input values of CONFIG_FILES etc. instead of their
7127
# values after options handling. Logging --version etc. is OK.
7131
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7132
## Running $as_me. ##
7137
This file was extended by sed $as_me 3.60, which was
7138
generated by GNU Autoconf 2.54. Invocation command line was
7140
CONFIG_FILES = $CONFIG_FILES
7141
CONFIG_HEADERS = $CONFIG_HEADERS
7142
CONFIG_LINKS = $CONFIG_LINKS
7143
CONFIG_COMMANDS = $CONFIG_COMMANDS
7147
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7151
# Files that config.status was made for.
7152
if test -n "$ac_config_files"; then
7153
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7156
if test -n "$ac_config_headers"; then
7157
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7160
if test -n "$ac_config_links"; then
7161
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7164
if test -n "$ac_config_commands"; then
7165
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7168
cat >>$CONFIG_STATUS <<\_ACEOF
7171
\`$as_me' instantiates files from templates according to the
7172
current configuration.
7174
Usage: $0 [OPTIONS] [FILE]...
7176
-h, --help print this help, then exit
7177
-V, --version print version number, then exit
7178
-d, --debug don't remove temporary files
7179
--recheck update $as_me by reconfiguring in the same conditions
7180
--file=FILE[:TEMPLATE]
7181
instantiate the configuration file FILE
7182
--header=FILE[:TEMPLATE]
7183
instantiate the configuration header FILE
7185
Configuration files:
7188
Configuration headers:
7191
Configuration commands:
7194
Report bugs to <bug-autoconf@gnu.org>."
7197
cat >>$CONFIG_STATUS <<_ACEOF
7199
sed config.status 3.60
7200
configured by $0, generated by GNU Autoconf 2.54,
7201
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7203
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7204
Free Software Foundation, Inc.
7205
This config.status script is free software; the Free Software Foundation
7206
gives unlimited permission to copy, distribute and modify it."
7211
cat >>$CONFIG_STATUS <<\_ACEOF
7212
# If no file are specified by the user, then we need to provide default
7213
# value. By we need to know if files were specified by the user.
7219
ac_option=`expr "x$1" : 'x\([^=]*\)='`
7220
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7228
*) # This is not an option, so the user has probably given explicit
7231
ac_need_defaults=false;;
7235
# Handling of the options.
7237
cat >>$CONFIG_STATUS <<_ACEOF
7238
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7239
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
7240
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
7242
cat >>$CONFIG_STATUS <<\_ACEOF
7243
--version | --vers* | -V )
7244
echo "$ac_cs_version"; exit 0 ;;
7246
# Conflict between --help and --header
7247
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
7248
Try \`$0 --help' for more information." >&5
7249
echo "$as_me: error: ambiguous option: $1
7250
Try \`$0 --help' for more information." >&2;}
7251
{ (exit 1); exit 1; }; };;
7252
--help | --hel | -h )
7253
echo "$ac_cs_usage"; exit 0 ;;
7254
--debug | --d* | -d )
7256
--file | --fil | --fi | --f )
7258
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7259
ac_need_defaults=false;;
7260
--header | --heade | --head | --hea )
7262
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7263
ac_need_defaults=false;;
7266
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7267
Try \`$0 --help' for more information." >&5
7268
echo "$as_me: error: unrecognized option: $1
7269
Try \`$0 --help' for more information." >&2;}
7270
{ (exit 1); exit 1; }; } ;;
7272
*) ac_config_targets="$ac_config_targets $1" ;;
7280
cat >>$CONFIG_STATUS <<_ACEOF
7282
# INIT-COMMANDS section.
7285
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7292
cat >>$CONFIG_STATUS <<\_ACEOF
7293
for ac_config_target in $ac_config_targets
7295
case "$ac_config_target" in
7296
# Handling of arguments.
7297
"bootstrap.sh" ) CONFIG_FILES="$CONFIG_FILES bootstrap.sh" ;;
7298
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7299
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
7300
"lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
7301
"sed/Makefile" ) CONFIG_FILES="$CONFIG_FILES sed/Makefile" ;;
7302
"testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
7303
"po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7304
"intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
7305
"pcre/Makefile" ) CONFIG_FILES="$CONFIG_FILES pcre/Makefile" ;;
7306
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7307
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7308
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config_h.in" ;;
7309
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7310
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7311
{ (exit 1); exit 1; }; };;
7315
# If the user did not use the arguments to specify the items to instantiate,
7316
# then the envvar interface is used. Set only those that are not.
7317
# We use the long form for the default assignment because of an extremely
7318
# bizarre bug on SunOS 4.1.3.
7319
if $ac_need_defaults; then
7320
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7321
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7322
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7325
# Create a temporary directory, and hook for its removal unless debugging.
7328
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7329
trap '{ (exit 1); exit 1; }' 1 2 13 15
7332
# Create a (secure) tmp directory for tmp files.
7335
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
7336
test -n "$tmp" && test -d "$tmp"
7339
tmp=$TMPDIR/cs$$-$RANDOM
7340
(umask 077 && mkdir $tmp)
7343
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
7344
{ (exit 1); exit 1; }
7349
cat >>$CONFIG_STATUS <<_ACEOF
7352
# CONFIG_FILES section.
7355
# No need to generate the scripts if there are no CONFIG_FILES.
7356
# This happens for instance when ./config.status config.h
7357
if test -n "\$CONFIG_FILES"; then
7358
# Protect against being on the right side of a sed subst in config.status.
7359
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7360
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7361
s,@SHELL@,$SHELL,;t t
7362
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7363
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7364
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7365
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7366
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7367
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7368
s,@exec_prefix@,$exec_prefix,;t t
7369
s,@prefix@,$prefix,;t t
7370
s,@program_transform_name@,$program_transform_name,;t t
7371
s,@bindir@,$bindir,;t t
7372
s,@sbindir@,$sbindir,;t t
7373
s,@libexecdir@,$libexecdir,;t t
7374
s,@datadir@,$datadir,;t t
7375
s,@sysconfdir@,$sysconfdir,;t t
7376
s,@sharedstatedir@,$sharedstatedir,;t t
7377
s,@localstatedir@,$localstatedir,;t t
7378
s,@libdir@,$libdir,;t t
7379
s,@includedir@,$includedir,;t t
7380
s,@oldincludedir@,$oldincludedir,;t t
7381
s,@infodir@,$infodir,;t t
7382
s,@mandir@,$mandir,;t t
7383
s,@build_alias@,$build_alias,;t t
7384
s,@host_alias@,$host_alias,;t t
7385
s,@target_alias@,$target_alias,;t t
7387
s,@ECHO_C@,$ECHO_C,;t t
7388
s,@ECHO_N@,$ECHO_N,;t t
7389
s,@ECHO_T@,$ECHO_T,;t t
7391
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7392
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7393
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7394
s,@CYGPATH_W@,$CYGPATH_W,;t t
7395
s,@PACKAGE@,$PACKAGE,;t t
7396
s,@VERSION@,$VERSION,;t t
7397
s,@ACLOCAL@,$ACLOCAL,;t t
7398
s,@AUTOCONF@,$AUTOCONF,;t t
7399
s,@AUTOMAKE@,$AUTOMAKE,;t t
7400
s,@AUTOHEADER@,$AUTOHEADER,;t t
7401
s,@MAKEINFO@,$MAKEINFO,;t t
7402
s,@AMTAR@,$AMTAR,;t t
7403
s,@install_sh@,$install_sh,;t t
7404
s,@STRIP@,$STRIP,;t t
7405
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7406
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7408
s,@SET_MAKE@,$SET_MAKE,;t t
7410
s,@CFLAGS@,$CFLAGS,;t t
7411
s,@LDFLAGS@,$LDFLAGS,;t t
7412
s,@CPPFLAGS@,$CPPFLAGS,;t t
7413
s,@ac_ct_CC@,$ac_ct_CC,;t t
7414
s,@EXEEXT@,$EXEEXT,;t t
7415
s,@OBJEXT@,$OBJEXT,;t t
7416
s,@DEPDIR@,$DEPDIR,;t t
7417
s,@am__include@,$am__include,;t t
7418
s,@am__quote@,$am__quote,;t t
7419
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7420
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7421
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7422
s,@CCDEPMODE@,$CCDEPMODE,;t t
7423
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7424
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7425
s,@RANLIB@,$RANLIB,;t t
7426
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7428
s,@EGREP@,$EGREP,;t t
7429
s,@ALLOCA@,$ALLOCA,;t t
7430
s,@LIBOBJS@,$LIBOBJS,;t t
7431
s,@PCREGREP@,$PCREGREP,;t t
7432
s,@BUILD_HTML_TRUE@,$BUILD_HTML_TRUE,;t t
7433
s,@BUILD_HTML_FALSE@,$BUILD_HTML_FALSE,;t t
7434
s,@TEXI2HTML@,$TEXI2HTML,;t t
7435
s,@MAKEINFO_HTML_TRUE@,$MAKEINFO_HTML_TRUE,;t t
7436
s,@MAKEINFO_HTML_FALSE@,$MAKEINFO_HTML_FALSE,;t t
7437
s,@TEXI2HTML_HTML_TRUE@,$TEXI2HTML_HTML_TRUE,;t t
7438
s,@TEXI2HTML_HTML_FALSE@,$TEXI2HTML_HTML_FALSE,;t t
7439
s,@build@,$build,;t t
7440
s,@build_cpu@,$build_cpu,;t t
7441
s,@build_vendor@,$build_vendor,;t t
7442
s,@build_os@,$build_os,;t t
7444
s,@host_cpu@,$host_cpu,;t t
7445
s,@host_vendor@,$host_vendor,;t t
7446
s,@host_os@,$host_os,;t t
7447
s,@GLIBC21@,$GLIBC21,;t t
7448
s,@LIBICONV@,$LIBICONV,;t t
7449
s,@USE_NLS@,$USE_NLS,;t t
7450
s,@MSGFMT@,$MSGFMT,;t t
7451
s,@GMSGFMT@,$GMSGFMT,;t t
7452
s,@XGETTEXT@,$XGETTEXT,;t t
7453
s,@INTLBISON@,$INTLBISON,;t t
7454
s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
7455
s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
7456
s,@CATALOGS@,$CATALOGS,;t t
7457
s,@CATOBJEXT@,$CATOBJEXT,;t t
7458
s,@GMOFILES@,$GMOFILES,;t t
7459
s,@INTLLIBS@,$INTLLIBS,;t t
7460
s,@INTLOBJS@,$INTLOBJS,;t t
7461
s,@POFILES@,$POFILES,;t t
7462
s,@POSUB@,$POSUB,;t t
7463
s,@DATADIRNAME@,$DATADIRNAME,;t t
7464
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7465
s,@GENCAT@,$GENCAT,;t t
7466
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7467
s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
7468
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7473
cat >>$CONFIG_STATUS <<\_ACEOF
7474
# Split the substitutions into bite-sized pieces for seds with
7475
# small command number limits, like on Digital OSF/1 and HP-UX.
7477
ac_sed_frag=1 # Number of current file.
7478
ac_beg=1 # First line for current file.
7479
ac_end=$ac_max_sed_lines # Line after last line for current file.
7482
while $ac_more_lines; do
7483
if test $ac_beg -gt 1; then
7484
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7486
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7488
if test ! -s $tmp/subs.frag; then
7491
# The purpose of the label and of the branching condition is to
7492
# speed up the sed processing (if there are no `@' at all, there
7493
# is no need to browse any of the substitutions).
7494
# These are the two extra sed commands mentioned above.
7496
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7497
if test -z "$ac_sed_cmds"; then
7498
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7500
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7502
ac_sed_frag=`expr $ac_sed_frag + 1`
7504
ac_end=`expr $ac_end + $ac_max_sed_lines`
7507
if test -z "$ac_sed_cmds"; then
7510
fi # test -n "$CONFIG_FILES"
7513
cat >>$CONFIG_STATUS <<\_ACEOF
7514
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7515
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7517
- | *:- | *:-:* ) # input from stdin
7519
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7520
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7521
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7522
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7523
* ) ac_file_in=$ac_file.in ;;
7526
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7527
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7528
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7529
X"$ac_file" : 'X\(//\)[^/]' \| \
7530
X"$ac_file" : 'X\(//\)$' \| \
7531
X"$ac_file" : 'X\(/\)' \| \
7532
. : '\(.\)' 2>/dev/null ||
7534
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7535
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7536
/^X\(\/\/\)$/{ s//\1/; q; }
7537
/^X\(\/\).*/{ s//\1/; q; }
7539
{ if $as_mkdir_p; then
7544
while test ! -d "$as_dir"; do
7545
as_dirs="$as_dir $as_dirs"
7546
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7547
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7548
X"$as_dir" : 'X\(//\)[^/]' \| \
7549
X"$as_dir" : 'X\(//\)$' \| \
7550
X"$as_dir" : 'X\(/\)' \| \
7551
. : '\(.\)' 2>/dev/null ||
7553
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7554
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7555
/^X\(\/\/\)$/{ s//\1/; q; }
7556
/^X\(\/\).*/{ s//\1/; q; }
7559
test ! -n "$as_dirs" || mkdir $as_dirs
7560
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7561
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7562
{ (exit 1); exit 1; }; }; }
7566
if test "$ac_dir" != .; then
7567
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7568
# A "../" for each directory in $ac_dir_suffix.
7569
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7571
ac_dir_suffix= ac_top_builddir=
7575
.) # No --srcdir option. We are building in place.
7577
if test -z "$ac_top_builddir"; then
7580
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7582
[\\/]* | ?:[\\/]* ) # Absolute path.
7583
ac_srcdir=$srcdir$ac_dir_suffix;
7584
ac_top_srcdir=$srcdir ;;
7586
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7587
ac_top_srcdir=$ac_top_builddir$srcdir ;;
7589
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7591
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7592
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7593
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7594
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7598
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7599
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7602
if test x"$ac_file" != x-; then
7603
{ echo "$as_me:$LINENO: creating $ac_file" >&5
7604
echo "$as_me: creating $ac_file" >&6;}
7607
# Let's still pretend it is `configure' which instantiates (i.e., don't
7608
# use $as_me), people would be surprised to read:
7609
# /* config.h. Generated by config.status. */
7610
if test x"$ac_file" = x-; then
7613
configure_input="$ac_file. "
7615
configure_input=$configure_input"Generated from `echo $ac_file_in |
7616
sed 's,.*/,,'` by configure."
7618
# First look for the input files in the build tree, otherwise in the
7620
ac_file_inputs=`IFS=:
7621
for f in $ac_file_in; do
7623
-) echo $tmp/stdin ;;
7625
# Absolute (can't be DOS-style, as IFS=:)
7626
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7627
echo "$as_me: error: cannot find input file: $f" >&2;}
7628
{ (exit 1); exit 1; }; }
7631
if test -f "$f"; then
7634
elif test -f "$srcdir/$f"; then
7639
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7640
echo "$as_me: error: cannot find input file: $f" >&2;}
7641
{ (exit 1); exit 1; }; }
7644
done` || { (exit 1); exit 1; }
7646
cat >>$CONFIG_STATUS <<_ACEOF
7650
cat >>$CONFIG_STATUS <<\_ACEOF
7652
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7653
s,@configure_input@,$configure_input,;t t
7654
s,@srcdir@,$ac_srcdir,;t t
7655
s,@abs_srcdir@,$ac_abs_srcdir,;t t
7656
s,@top_srcdir@,$ac_top_srcdir,;t t
7657
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7658
s,@builddir@,$ac_builddir,;t t
7659
s,@abs_builddir@,$ac_abs_builddir,;t t
7660
s,@top_builddir@,$ac_top_builddir,;t t
7661
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7662
s,@INSTALL@,$ac_INSTALL,;t t
7663
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7665
if test x"$ac_file" != x-; then
7666
mv $tmp/out $ac_file
7672
# Run the commands associated with the file.
7674
bootstrap.sh ) chmod +x bootstrap.sh ;;
7678
cat >>$CONFIG_STATUS <<\_ACEOF
7681
# CONFIG_HEADER section.
7684
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7685
# NAME is the cpp macro being defined and VALUE is the value it is being given.
7687
# ac_d sets the value in "#define NAME VALUE" lines.
7688
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7689
ac_dB='[ ].*$,\1#\2'
7692
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7693
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7694
ac_uB='$,\1#\2define\3'
7698
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7699
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7701
- | *:- | *:-:* ) # input from stdin
7703
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7704
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7705
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7706
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7707
* ) ac_file_in=$ac_file.in ;;
7710
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7711
echo "$as_me: creating $ac_file" >&6;}
7713
# First look for the input files in the build tree, otherwise in the
7715
ac_file_inputs=`IFS=:
7716
for f in $ac_file_in; do
7718
-) echo $tmp/stdin ;;
7720
# Absolute (can't be DOS-style, as IFS=:)
7721
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7722
echo "$as_me: error: cannot find input file: $f" >&2;}
7723
{ (exit 1); exit 1; }; }
7726
if test -f "$f"; then
7729
elif test -f "$srcdir/$f"; then
7734
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7735
echo "$as_me: error: cannot find input file: $f" >&2;}
7736
{ (exit 1); exit 1; }; }
7739
done` || { (exit 1); exit 1; }
7740
# Remove the trailing spaces.
7741
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7745
# Transform confdefs.h into two sed scripts, `conftest.defines' and
7746
# `conftest.undefs', that substitutes the proper values into
7747
# config.h.in to produce config.h. The first handles `#define'
7748
# templates, and the second `#undef' templates.
7749
# And first: Protect against being on the right side of a sed subst in
7750
# config.status. Protect against being in an unquoted here document
7752
rm -f conftest.defines conftest.undefs
7753
# Using a here document instead of a string reduces the quoting nightmare.
7754
# Putting comments in sed scripts is not portable.
7756
# `end' is used to avoid that the second main sed command (meant for
7757
# 0-ary CPP macros) applies to n-ary macro definitions.
7758
# See the Autoconf documentation for `clear'.
7759
cat >confdef2sed.sed <<\_ACEOF
7764
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7766
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7769
# If some macros were called several times there might be several times
7770
# the same #defines, which is useless. Nevertheless, we may not want to
7771
# sort them, since we want the *last* AC-DEFINE to be honored.
7772
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7773
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7774
rm -f confdef2sed.sed
7776
# This sed command replaces #undef with comments. This is necessary, for
7777
# example, in the case of _POSIX_SOURCE, which is predefined and required
7778
# on some systems where configure will not decide to define it.
7779
cat >>conftest.undefs <<\_ACEOF
7780
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7783
# Break up conftest.defines because some shells have a limit on the size
7784
# of here documents, and old seds have small limits too (100 cmds).
7785
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7786
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7787
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7788
echo ' :' >>$CONFIG_STATUS
7790
while grep . conftest.defines >/dev/null
7792
# Write a limited-size here document to $tmp/defines.sed.
7793
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7794
# Speed up: don't consider the non `#define' lines.
7795
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7796
# Work around the forget-to-reset-the-flag bug.
7797
echo 't clr' >>$CONFIG_STATUS
7798
echo ': clr' >>$CONFIG_STATUS
7799
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7801
sed -f $tmp/defines.sed $tmp/in >$tmp/out
7805
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7806
rm -f conftest.defines
7807
mv conftest.tail conftest.defines
7809
rm -f conftest.defines
7810
echo ' fi # grep' >>$CONFIG_STATUS
7811
echo >>$CONFIG_STATUS
7813
# Break up conftest.undefs because some shells have a limit on the size
7814
# of here documents, and old seds have small limits too (100 cmds).
7815
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7817
while grep . conftest.undefs >/dev/null
7819
# Write a limited-size here document to $tmp/undefs.sed.
7820
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7821
# Speed up: don't consider the non `#undef'
7822
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7823
# Work around the forget-to-reset-the-flag bug.
7824
echo 't clr' >>$CONFIG_STATUS
7825
echo ': clr' >>$CONFIG_STATUS
7826
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7828
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7832
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7833
rm -f conftest.undefs
7834
mv conftest.tail conftest.undefs
7836
rm -f conftest.undefs
7838
cat >>$CONFIG_STATUS <<\_ACEOF
7839
# Let's still pretend it is `configure' which instantiates (i.e., don't
7840
# use $as_me), people would be surprised to read:
7841
# /* config.h. Generated by config.status. */
7842
if test x"$ac_file" = x-; then
7843
echo "/* Generated by configure. */" >$tmp/config.h
7845
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7847
cat $tmp/in >>$tmp/config.h
7849
if test x"$ac_file" != x-; then
7850
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
7851
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7852
echo "$as_me: $ac_file is unchanged" >&6;}
7854
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7855
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7856
X"$ac_file" : 'X\(//\)[^/]' \| \
7857
X"$ac_file" : 'X\(//\)$' \| \
7858
X"$ac_file" : 'X\(/\)' \| \
7859
. : '\(.\)' 2>/dev/null ||
7861
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7862
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7863
/^X\(\/\/\)$/{ s//\1/; q; }
7864
/^X\(\/\).*/{ s//\1/; q; }
7866
{ if $as_mkdir_p; then
7871
while test ! -d "$as_dir"; do
7872
as_dirs="$as_dir $as_dirs"
7873
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7874
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7875
X"$as_dir" : 'X\(//\)[^/]' \| \
7876
X"$as_dir" : 'X\(//\)$' \| \
7877
X"$as_dir" : 'X\(/\)' \| \
7878
. : '\(.\)' 2>/dev/null ||
7880
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7881
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7882
/^X\(\/\/\)$/{ s//\1/; q; }
7883
/^X\(\/\).*/{ s//\1/; q; }
7886
test ! -n "$as_dirs" || mkdir $as_dirs
7887
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7888
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7889
{ (exit 1); exit 1; }; }; }
7892
mv $tmp/config.h $ac_file
7898
_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
7899
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7900
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7901
X$ac_file : 'X\(//\)[^/]' \| \
7902
X$ac_file : 'X\(//\)$' \| \
7903
X$ac_file : 'X\(/\)' \| \
7904
. : '\(.\)' 2>/dev/null ||
7906
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7907
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7908
/^X\(\/\/\)$/{ s//\1/; q; }
7909
/^X\(\/\).*/{ s//\1/; q; }
7910
s/.*/./; q'`/stamp-h$_am_stamp_count
7913
cat >>$CONFIG_STATUS <<\_ACEOF
7916
# CONFIG_COMMANDS section.
7918
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7919
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7920
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7921
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7922
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7923
X"$ac_dest" : 'X\(//\)[^/]' \| \
7924
X"$ac_dest" : 'X\(//\)$' \| \
7925
X"$ac_dest" : 'X\(/\)' \| \
7926
. : '\(.\)' 2>/dev/null ||
7928
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7929
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7930
/^X\(\/\/\)$/{ s//\1/; q; }
7931
/^X\(\/\).*/{ s//\1/; q; }
7935
if test "$ac_dir" != .; then
7936
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7937
# A "../" for each directory in $ac_dir_suffix.
7938
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7940
ac_dir_suffix= ac_top_builddir=
7944
.) # No --srcdir option. We are building in place.
7946
if test -z "$ac_top_builddir"; then
7949
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7951
[\\/]* | ?:[\\/]* ) # Absolute path.
7952
ac_srcdir=$srcdir$ac_dir_suffix;
7953
ac_top_srcdir=$srcdir ;;
7955
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7956
ac_top_srcdir=$ac_top_builddir$srcdir ;;
7958
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7960
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
7961
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7962
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7963
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7966
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7967
echo "$as_me: executing $ac_dest commands" >&6;}
7969
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7970
# Strip MF so we end up with the name of the file.
7971
mf=`echo "$mf" | sed -e 's/:.*$//'`
7972
# Check whether this is an Automake generated Makefile or not.
7973
# We used to match only the files named `Makefile.in', but
7974
# some people rename them; so instead we look at the file content.
7975
# Grep'ing the first line is not enough: some people post-process
7976
# each Makefile.in and add a new line on top of each file to say so.
7977
# So let's grep whole file.
7978
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7979
dirpart=`(dirname "$mf") 2>/dev/null ||
7980
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7981
X"$mf" : 'X\(//\)[^/]' \| \
7982
X"$mf" : 'X\(//\)$' \| \
7983
X"$mf" : 'X\(/\)' \| \
7984
. : '\(.\)' 2>/dev/null ||
7986
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7987
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7988
/^X\(\/\/\)$/{ s//\1/; q; }
7989
/^X\(\/\).*/{ s//\1/; q; }
7994
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7995
# Extract the definition of DEP_FILES from the Makefile without
7997
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7998
test -z "$DEPDIR" && continue
7999
# When using ansi2knr, U may be empty or an underscore; expand it
8000
U=`sed -n -e '/^U = / s///p' < "$mf"`
8001
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
8002
# We invoke sed twice because it is the simplest approach to
8003
# changing $(DEPDIR) to its actual value in the expansion.
8004
for file in `sed -n -e '
8005
/^DEP_FILES = .*\\\\$/ {
8014
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8015
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8016
# Make sure the directory exists.
8017
test -f "$dirpart/$file" && continue
8018
fdir=`(dirname "$file") 2>/dev/null ||
8019
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8020
X"$file" : 'X\(//\)[^/]' \| \
8021
X"$file" : 'X\(//\)$' \| \
8022
X"$file" : 'X\(/\)' \| \
8023
. : '\(.\)' 2>/dev/null ||
8025
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8026
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8027
/^X\(\/\/\)$/{ s//\1/; q; }
8028
/^X\(\/\).*/{ s//\1/; q; }
8030
{ if $as_mkdir_p; then
8031
mkdir -p $dirpart/$fdir
8033
as_dir=$dirpart/$fdir
8035
while test ! -d "$as_dir"; do
8036
as_dirs="$as_dir $as_dirs"
8037
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8038
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8039
X"$as_dir" : 'X\(//\)[^/]' \| \
8040
X"$as_dir" : 'X\(//\)$' \| \
8041
X"$as_dir" : 'X\(/\)' \| \
8042
. : '\(.\)' 2>/dev/null ||
8044
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8045
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8046
/^X\(\/\/\)$/{ s//\1/; q; }
8047
/^X\(\/\).*/{ s//\1/; q; }
8050
test ! -n "$as_dirs" || mkdir $as_dirs
8051
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8052
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8053
{ (exit 1); exit 1; }; }; }
8055
# echo "creating $dirpart/$file"
8056
echo '# dummy' > "$dirpart/$file"
8060
default-1 ) for ac_file in $CONFIG_FILES; do
8061
# Support "outfile[:infile[:infile...]]"
8063
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8065
# PO directories have a Makefile.in generated from Makefile.in.in.
8066
case "$ac_file" in */Makefile.in)
8067
# Adjust a relative srcdir.
8068
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8069
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8070
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8071
# In autoconf-2.13 it is called $ac_given_srcdir.
8072
# In autoconf-2.50 it is called $srcdir.
8073
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8074
case "$ac_given_srcdir" in
8075
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8076
/*) top_srcdir="$ac_given_srcdir" ;;
8077
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8079
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8080
rm -f "$ac_dir/POTFILES"
8081
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8082
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
8083
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8084
sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8093
cat >>$CONFIG_STATUS <<\_ACEOF
8095
{ (exit 0); exit 0; }
8097
chmod +x $CONFIG_STATUS
8098
ac_clean_files=$ac_clean_files_save
8101
# configure is writing to config.log, and then calls config.status.
8102
# config.status does its own redirection, appending to config.log.
8103
# Unfortunately, on DOS this fails, as config.log is still kept open
8104
# by configure, so config.status won't be able to write to it; its
8105
# output is simply discarded. So we exec the FD to /dev/null,
8106
# effectively closing config.log, so it can be properly (re)opened and
8107
# appended to by config.status. When coming back to configure, we
8108
# need to make the FD available again.
8109
if test "$no_create" != yes; then
8112
$SHELL $CONFIG_STATUS || ac_cs_success=false
8114
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
8115
# would make configure fail if this is the last instruction.
8116
$ac_cs_success || { (exit 1); exit 1; }