3
# From configure.in Revision: 4.6.1.1
4
# Guess values for system-dependent variables and create Makefiles.
5
# Generated automatically using autoconf version 2.13.19990117
6
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
8
# This configure script is free software; the Free Software Foundation
9
# gives unlimited permission to copy, distribute and modify it.
13
ac_default_prefix=/usr/local
14
# Any additions from configure.in:
16
# Initialize some variables set by options.
17
# The variables have the same names as the options, with
18
# dashes changed to underlines.
20
cache_file=./config.cache
29
program_transform_name=s,x,x,
37
bindir='${exec_prefix}/bin'
38
sbindir='${exec_prefix}/sbin'
39
libexecdir='${exec_prefix}/libexec'
40
datadir='${prefix}/share'
41
sysconfdir='${prefix}/etc'
42
sharedstatedir='${prefix}/com'
43
localstatedir='${prefix}/var'
44
libdir='${exec_prefix}/lib'
45
includedir='${prefix}/include'
46
oldincludedir='/usr/include'
47
infodir='${prefix}/info'
48
mandir='${prefix}/man'
50
# Initialize some other variables.
53
SHELL=${CONFIG_SHELL-/bin/sh}
54
# Maximum number of lines to put in a shell here document.
61
# If the previous option needs an argument, assign it.
62
if test -n "$ac_prev"; then
63
eval "$ac_prev=\$ac_option"
69
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
73
# Accept the important Cygnus configure options, so we can diagnose typos.
77
-bindir | --bindir | --bindi | --bind | --bin | --bi)
79
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
80
bindir="$ac_optarg" ;;
82
-build | --build | --buil | --bui | --bu)
84
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
87
-cache-file | --cache-file | --cache-fil | --cache-fi \
88
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
90
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
91
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
92
cache_file="$ac_optarg" ;;
94
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
96
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
98
datadir="$ac_optarg" ;;
100
-disable-* | --disable-*)
101
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
102
# Reject names that are not valid shell variable names.
103
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
104
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
106
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
107
eval "enable_${ac_feature}=no" ;;
109
-enable-* | --enable-*)
110
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
111
# Reject names that are not valid shell variable names.
112
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
113
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
115
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
120
eval "enable_${ac_feature}='$ac_optarg'" ;;
122
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
123
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
124
| --exec | --exe | --ex)
125
ac_prev=exec_prefix ;;
126
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
127
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
128
| --exec=* | --exe=* | --ex=*)
129
exec_prefix="$ac_optarg" ;;
131
-gas | --gas | --ga | --g)
132
# Obsolete; use --with-gas.
135
-help | --help | --hel | --he)
136
# Omit some internal or obsolete options to make the list less imposing.
137
# This message is too long to be a string in the A/UX 3.1 sh.
139
Usage: configure [options] [host]
140
Options: [defaults in brackets after descriptions]
142
--cache-file=FILE cache test results in FILE
143
--help print this message
144
--no-create do not create output files
145
--quiet, --silent do not print \`checking...' messages
146
--version print the version of autoconf that created configure
147
Directory and file names:
148
--prefix=PREFIX install architecture-independent files in PREFIX
150
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
152
--bindir=DIR user executables in DIR [EPREFIX/bin]
153
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
154
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
155
--datadir=DIR read-only architecture-independent data in DIR
157
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
158
--sharedstatedir=DIR modifiable architecture-independent data in DIR
160
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
161
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
162
--includedir=DIR C header files in DIR [PREFIX/include]
163
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
164
--infodir=DIR info documentation in DIR [PREFIX/info]
165
--mandir=DIR man documentation in DIR [PREFIX/man]
166
--srcdir=DIR find the sources in DIR [configure dir or ..]
167
--program-prefix=PREFIX prepend PREFIX to installed program names
168
--program-suffix=SUFFIX append SUFFIX to installed program names
169
--program-transform-name=PROGRAM
170
run sed PROGRAM on installed program names
174
--build=BUILD configure for building on BUILD [BUILD=HOST]
175
--host=HOST configure for HOST [guessed]
176
--target=TARGET configure for TARGET [TARGET=HOST]
177
Features and packages:
178
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
179
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
180
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
181
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
182
--x-includes=DIR X include files are in DIR
183
--x-libraries=DIR X library files are in DIR
186
--enable and --with options recognized:
187
--with-warnings use gcc warnings (used for developing this tool)
188
--with-trace use trace.c for memory-testing
189
--with-dmalloc use Gray Watson's dmalloc
190
--with-dbmalloc use Conor Cahill's dbmalloc
194
-host | --host | --hos | --ho)
196
-host=* | --host=* | --hos=* | --ho=*)
199
-includedir | --includedir | --includedi | --included | --include \
200
| --includ | --inclu | --incl | --inc)
201
ac_prev=includedir ;;
202
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
203
| --includ=* | --inclu=* | --incl=* | --inc=*)
204
includedir="$ac_optarg" ;;
206
-infodir | --infodir | --infodi | --infod | --info | --inf)
208
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
209
infodir="$ac_optarg" ;;
211
-libdir | --libdir | --libdi | --libd)
213
-libdir=* | --libdir=* | --libdi=* | --libd=*)
214
libdir="$ac_optarg" ;;
216
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
217
| --libexe | --libex | --libe)
218
ac_prev=libexecdir ;;
219
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
220
| --libexe=* | --libex=* | --libe=*)
221
libexecdir="$ac_optarg" ;;
223
-localstatedir | --localstatedir | --localstatedi | --localstated \
224
| --localstate | --localstat | --localsta | --localst \
225
| --locals | --local | --loca | --loc | --lo)
226
ac_prev=localstatedir ;;
227
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
228
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
229
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
230
localstatedir="$ac_optarg" ;;
232
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
234
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
235
mandir="$ac_optarg" ;;
238
# Obsolete; use --without-fp.
241
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
245
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
246
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
249
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
250
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
251
| --oldin | --oldi | --old | --ol | --o)
252
ac_prev=oldincludedir ;;
253
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
254
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
255
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
256
oldincludedir="$ac_optarg" ;;
258
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
260
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
261
prefix="$ac_optarg" ;;
263
-program-prefix | --program-prefix | --program-prefi | --program-pref \
264
| --program-pre | --program-pr | --program-p)
265
ac_prev=program_prefix ;;
266
-program-prefix=* | --program-prefix=* | --program-prefi=* \
267
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
268
program_prefix="$ac_optarg" ;;
270
-program-suffix | --program-suffix | --program-suffi | --program-suff \
271
| --program-suf | --program-su | --program-s)
272
ac_prev=program_suffix ;;
273
-program-suffix=* | --program-suffix=* | --program-suffi=* \
274
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
275
program_suffix="$ac_optarg" ;;
277
-program-transform-name | --program-transform-name \
278
| --program-transform-nam | --program-transform-na \
279
| --program-transform-n | --program-transform- \
280
| --program-transform | --program-transfor \
281
| --program-transfo | --program-transf \
282
| --program-trans | --program-tran \
283
| --progr-tra | --program-tr | --program-t)
284
ac_prev=program_transform_name ;;
285
-program-transform-name=* | --program-transform-name=* \
286
| --program-transform-nam=* | --program-transform-na=* \
287
| --program-transform-n=* | --program-transform-=* \
288
| --program-transform=* | --program-transfor=* \
289
| --program-transfo=* | --program-transf=* \
290
| --program-trans=* | --program-tran=* \
291
| --progr-tra=* | --program-tr=* | --program-t=*)
292
program_transform_name="$ac_optarg" ;;
294
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
295
| -silent | --silent | --silen | --sile | --sil)
298
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
300
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
302
sbindir="$ac_optarg" ;;
304
-sharedstatedir | --sharedstatedir | --sharedstatedi \
305
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
306
| --sharedst | --shareds | --shared | --share | --shar \
308
ac_prev=sharedstatedir ;;
309
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
310
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
311
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
313
sharedstatedir="$ac_optarg" ;;
315
-site | --site | --sit)
317
-site=* | --site=* | --sit=*)
320
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
322
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
323
srcdir="$ac_optarg" ;;
325
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
326
| --syscon | --sysco | --sysc | --sys | --sy)
327
ac_prev=sysconfdir ;;
328
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
329
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
330
sysconfdir="$ac_optarg" ;;
332
-target | --target | --targe | --targ | --tar | --ta | --t)
334
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
335
target="$ac_optarg" ;;
337
-v | -verbose | --verbose | --verbos | --verbo | --verb)
340
-version | --version | --versio | --versi | --vers)
341
echo "configure generated by autoconf version 2.13.19990117"
345
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
346
# Reject names that are not valid shell variable names.
347
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
348
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
350
ac_package=`echo $ac_package| sed 's/-/_/g'`
355
eval "with_${ac_package}='$ac_optarg'" ;;
357
-without-* | --without-*)
358
ac_package=`echo $ac_option|sed -e 's/-*without-//'`
359
# Reject names that are not valid shell variable names.
360
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
361
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
363
ac_package=`echo $ac_package| sed 's/-/_/g'`
364
eval "with_${ac_package}=no" ;;
367
# Obsolete; use --with-x.
370
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
371
| --x-incl | --x-inc | --x-in | --x-i)
372
ac_prev=x_includes ;;
373
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
374
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
375
x_includes="$ac_optarg" ;;
377
-x-libraries | --x-libraries | --x-librarie | --x-librari \
378
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
379
ac_prev=x_libraries ;;
380
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
381
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
382
x_libraries="$ac_optarg" ;;
384
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
388
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
389
echo "configure: warning: $ac_option: invalid host type" 1>&2
391
if test "x$nonopt" != xNONE; then
392
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
400
if test -n "$ac_prev"; then
401
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
404
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
406
# File descriptor usage:
409
# 2 errors and warnings
410
# 3 some systems may open it to /dev/tty
411
# 4 used on the Kubota Titan
412
# 6 checking for... messages and results
413
# 5 compiler messages saved in config.log
414
if test "$silent" = yes; then
422
This file contains any messages produced by compilers while
423
running configure, to aid debugging if configure makes a mistake.
426
# Strip out --no-create and --no-recursion so they do not pile up.
427
# Also quote any args containing shell metacharacters.
432
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
433
| --no-cr | --no-c) ;;
434
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
435
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
436
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
437
ac_configure_args="$ac_configure_args '$ac_arg'" ;;
438
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
443
# Only set these to C if already set. These must not be set unconditionally
444
# because not all systems understand e.g. LANG=C (notably SCO).
445
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
446
# Non-C LC_CTYPE values break the ctype check.
447
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
448
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
449
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
450
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
452
# confdefs.h avoids OS command line length limits that DEFS can exceed.
453
rm -rf conftest* confdefs.h
454
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
457
# A filename unique to this package, relative to the directory that
458
# configure is in, which we can look for to find out if srcdir is correct.
459
ac_unique_file=cproto.c
461
# Find the source files, if location was not specified.
462
if test -z "$srcdir"; then
463
ac_srcdir_defaulted=yes
464
# Try the directory containing this script, then its parent.
466
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
467
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
469
if test ! -r $srcdir/$ac_unique_file; then
473
ac_srcdir_defaulted=no
475
if test ! -r $srcdir/$ac_unique_file; then
476
if test "$ac_srcdir_defaulted" = yes; then
477
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
479
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
482
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
484
# Prefer explicitly selected file to automatically selected ones.
485
if test -z "$CONFIG_SITE"; then
486
if test "x$prefix" != xNONE; then
487
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
489
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
492
for ac_site_file in $CONFIG_SITE; do
493
if test -r "$ac_site_file"; then
494
echo "loading site script $ac_site_file"
499
if test -r "$cache_file"; then
500
echo "loading cache $cache_file"
503
echo "creating cache $cache_file"
508
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
509
ac_cpp='$CPP $CPPFLAGS'
510
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
511
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
512
cross_compiling=$ac_cv_prog_cc_cross
516
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
517
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
518
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
525
ac_n= ac_c='\c' ac_t=
529
# Extract the first word of "gcc", so it can be a program name with args.
530
set dummy gcc; ac_word=$2
531
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
532
echo "configure:533: checking for $ac_word" >&5
533
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
534
echo $ac_n "(cached) $ac_c" 1>&6
536
if test -n "$CC"; then
537
ac_cv_prog_CC="$CC" # Let the user override the test.
539
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
541
for ac_dir in $ac_dummy; do
542
test -z "$ac_dir" && ac_dir=.
543
if test -f $ac_dir/$ac_word; then
552
if test -n "$CC"; then
553
echo "$ac_t""$CC" 1>&6
555
echo "$ac_t""no" 1>&6
558
if test -z "$CC"; then
559
# Extract the first word of "cc", so it can be a program name with args.
560
set dummy cc; ac_word=$2
561
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
562
echo "configure:563: checking for $ac_word" >&5
563
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
564
echo $ac_n "(cached) $ac_c" 1>&6
566
if test -n "$CC"; then
567
ac_cv_prog_CC="$CC" # Let the user override the test.
569
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
572
for ac_dir in $ac_dummy; do
573
test -z "$ac_dir" && ac_dir=.
574
if test -f $ac_dir/$ac_word; then
575
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
584
if test $ac_prog_rejected = yes; then
585
# We found a bogon in the path, so make sure we never use it.
586
set dummy $ac_cv_prog_CC
588
if test $# -gt 0; then
589
# We chose a different compiler from the bogus one.
590
# However, it has the same basename, so the bogon will be chosen
591
# first if we set CC to just the basename; use the full file name.
593
set dummy "$ac_dir/$ac_word" "$@"
601
if test -n "$CC"; then
602
echo "$ac_t""$CC" 1>&6
604
echo "$ac_t""no" 1>&6
607
if test -z "$CC"; then
610
# Extract the first word of "cl", so it can be a program name with args.
611
set dummy cl; ac_word=$2
612
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
613
echo "configure:614: checking for $ac_word" >&5
614
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
615
echo $ac_n "(cached) $ac_c" 1>&6
617
if test -n "$CC"; then
618
ac_cv_prog_CC="$CC" # Let the user override the test.
620
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
622
for ac_dir in $ac_dummy; do
623
test -z "$ac_dir" && ac_dir=.
624
if test -f $ac_dir/$ac_word; then
633
if test -n "$CC"; then
634
echo "$ac_t""$CC" 1>&6
636
echo "$ac_t""no" 1>&6
641
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
644
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
645
echo "configure:646: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
648
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
649
ac_cpp='$CPP $CPPFLAGS'
650
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
651
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
652
cross_compiling=$ac_cv_prog_cc_cross
654
cat > conftest.$ac_ext << EOF
656
#line 657 "configure"
657
#include "confdefs.h"
661
if { (eval echo configure:662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
662
ac_cv_prog_cc_works=yes
663
# If we can't run a trivial program, we are probably using a cross compiler.
664
if (./conftest; exit) 2>/dev/null; then
665
ac_cv_prog_cc_cross=no
667
ac_cv_prog_cc_cross=yes
670
echo "configure: failed program was:" >&5
671
cat conftest.$ac_ext >&5
672
ac_cv_prog_cc_works=no
676
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
677
ac_cpp='$CPP $CPPFLAGS'
678
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
679
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
680
cross_compiling=$ac_cv_prog_cc_cross
682
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
683
if test $ac_cv_prog_cc_works = no; then
684
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
686
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
687
echo "configure:688: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
688
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
689
cross_compiling=$ac_cv_prog_cc_cross
691
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
692
echo "configure:693: checking whether we are using GNU C" >&5
693
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
694
echo $ac_n "(cached) $ac_c" 1>&6
696
cat > conftest.c <<EOF
701
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
708
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
710
if test $ac_cv_prog_gcc = yes; then
716
ac_test_CFLAGS="${CFLAGS+set}"
717
ac_save_CFLAGS="$CFLAGS"
719
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
720
echo "configure:721: checking whether ${CC-cc} accepts -g" >&5
721
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
722
echo $ac_n "(cached) $ac_c" 1>&6
724
echo 'void f(){}' > conftest.c
725
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
734
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
735
if test "$ac_test_CFLAGS" = set; then
736
CFLAGS="$ac_save_CFLAGS"
737
elif test $ac_cv_prog_cc_g = yes; then
738
if test "$GCC" = yes; then
744
if test "$GCC" = yes; then
751
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
752
echo "configure:753: checking how to run the C preprocessor" >&5
753
# On Suns, sometimes $CPP names a directory.
754
if test -n "$CPP" && test -d "$CPP"; then
757
if test -z "$CPP"; then
758
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
759
echo $ac_n "(cached) $ac_c" 1>&6
761
# This must be in double quotes, not single quotes, because CPP may get
762
# substituted into the Makefile and "${CC-cc}" will confuse make.
764
# On the NeXT, cc -E runs the code through the compiler's parser,
765
# not just through cpp.
766
cat > conftest.$ac_ext <<EOF
767
#line 768 "configure"
768
#include "confdefs.h"
772
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
773
{ (eval echo configure:774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
774
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
775
if test -z "$ac_err"; then
779
echo "configure: failed program was:" >&5
780
cat conftest.$ac_ext >&5
782
CPP="${CC-cc} -E -traditional-cpp"
783
cat > conftest.$ac_ext <<EOF
784
#line 785 "configure"
785
#include "confdefs.h"
789
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
790
{ (eval echo configure:791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
791
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
792
if test -z "$ac_err"; then
796
echo "configure: failed program was:" >&5
797
cat conftest.$ac_ext >&5
799
CPP="${CC-cc} -nologo -E"
800
cat > conftest.$ac_ext <<EOF
801
#line 802 "configure"
802
#include "confdefs.h"
806
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
807
{ (eval echo configure:808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
808
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
809
if test -z "$ac_err"; then
813
echo "configure: failed program was:" >&5
814
cat conftest.$ac_ext >&5
823
ac_cv_prog_CPP="$CPP"
825
CPP="$ac_cv_prog_CPP"
827
ac_cv_prog_CPP="$CPP"
829
echo "$ac_t""$CPP" 1>&6
831
# Extract the first word of "flex", so it can be a program name with args.
832
set dummy flex; ac_word=$2
833
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
834
echo "configure:835: checking for $ac_word" >&5
835
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
836
echo $ac_n "(cached) $ac_c" 1>&6
838
if test -n "$LEX"; then
839
ac_cv_prog_LEX="$LEX" # Let the user override the test.
841
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
843
for ac_dir in $ac_dummy; do
844
test -z "$ac_dir" && ac_dir=.
845
if test -f $ac_dir/$ac_word; then
846
ac_cv_prog_LEX="flex"
851
test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
854
LEX="$ac_cv_prog_LEX"
855
if test -n "$LEX"; then
856
echo "$ac_t""$LEX" 1>&6
858
echo "$ac_t""no" 1>&6
867
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
868
echo "configure:869: checking for yywrap in -l$ac_lib" >&5
869
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
870
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
871
echo $ac_n "(cached) $ac_c" 1>&6
874
LIBS="-l$ac_lib $LIBS"
875
cat > conftest.$ac_ext <<EOF
876
#line 877 "configure"
877
#include "confdefs.h"
878
/* Override any gcc2 internal prototype to avoid an error. */
879
/* We use char because int might match the return type of a gcc2
880
builtin and then its argument prototype would still apply. */
887
if { (eval echo configure:888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
889
eval "ac_cv_lib_$ac_lib_var=yes"
891
echo "configure: failed program was:" >&5
892
cat conftest.$ac_ext >&5
894
eval "ac_cv_lib_$ac_lib_var=no"
900
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
901
echo "$ac_t""yes" 1>&6
904
echo "$ac_t""no" 1>&6
909
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
910
echo "configure:911: checking whether ${MAKE-make} sets \${MAKE}" >&5
911
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
912
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
913
echo $ac_n "(cached) $ac_c" 1>&6
915
cat > conftestmake <<\EOF
917
@echo 'ac_maketemp="${MAKE}"'
919
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
920
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
921
if test -n "$ac_maketemp"; then
922
eval ac_cv_prog_make_${ac_make}_set=yes
924
eval ac_cv_prog_make_${ac_make}_set=no
928
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
929
echo "$ac_t""yes" 1>&6
932
echo "$ac_t""no" 1>&6
933
SET_MAKE="MAKE=${MAKE-make}"
936
for ac_prog in 'bison -y' byacc
938
# Extract the first word of "$ac_prog", so it can be a program name with args.
939
set dummy $ac_prog; ac_word=$2
940
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
941
echo "configure:942: checking for $ac_word" >&5
942
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
943
echo $ac_n "(cached) $ac_c" 1>&6
945
if test -n "$YACC"; then
946
ac_cv_prog_YACC="$YACC" # Let the user override the test.
948
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
950
for ac_dir in $ac_dummy; do
951
test -z "$ac_dir" && ac_dir=.
952
if test -f $ac_dir/$ac_word; then
953
ac_cv_prog_YACC="$ac_prog"
960
YACC="$ac_cv_prog_YACC"
961
if test -n "$YACC"; then
962
echo "$ac_t""$YACC" 1>&6
964
echo "$ac_t""no" 1>&6
967
test -n "$YACC" && break
969
test -n "$YACC" || YACC="yacc"
972
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
973
if test -f $ac_dir/install-sh; then
975
ac_install_sh="$ac_aux_dir/install-sh -c"
977
elif test -f $ac_dir/install.sh; then
979
ac_install_sh="$ac_aux_dir/install.sh -c"
983
if test -z "$ac_aux_dir"; then
984
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
986
ac_config_guess=$ac_aux_dir/config.guess
987
ac_config_sub=$ac_aux_dir/config.sub
988
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
990
# Find a good install program. We prefer a C program (faster),
991
# so one script is as good as another. But avoid the broken or
992
# incompatible versions:
993
# SysV /etc/install, /usr/sbin/install
994
# SunOS /usr/etc/install
997
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
998
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
999
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1000
# ./install, which can be erroneously created by make from ./install.sh.
1001
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1002
echo "configure:1003: checking for a BSD compatible install" >&5
1003
if test -z "$INSTALL"; then
1004
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1005
echo $ac_n "(cached) $ac_c" 1>&6
1007
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1008
for ac_dir in $PATH; do
1009
# Account for people who put trailing slashes in PATH elements.
1011
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1013
# OSF1 and SCO ODT 3.0 have their own names for install.
1014
# Don't use installbsd from OSF since it installs stuff as root
1016
for ac_prog in ginstall scoinst install; do
1017
if test -f $ac_dir/$ac_prog; then
1018
if test $ac_prog = install &&
1019
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1020
# AIX install. It has an incompatible calling convention.
1023
ac_cv_path_install="$ac_dir/$ac_prog -c"
1034
if test "${ac_cv_path_install+set}" = set; then
1035
INSTALL="$ac_cv_path_install"
1037
# As a last resort, use the slow shell script. We don't cache a
1038
# path for INSTALL within a source directory, because that will
1039
# break other packages using the cache if that directory is
1040
# removed, or if the path is relative.
1041
INSTALL="$ac_install_sh"
1044
echo "$ac_t""$INSTALL" 1>&6
1046
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1047
# It thinks the first close brace ends the variable substitution.
1048
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1050
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1052
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1054
if test $ac_cv_prog_gcc = yes; then
1055
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
1056
echo "configure:1057: checking whether ${CC-cc} needs -traditional" >&5
1057
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
1058
echo $ac_n "(cached) $ac_c" 1>&6
1060
ac_pattern="Autoconf.*'x'"
1061
cat > conftest.$ac_ext <<EOF
1062
#line 1063 "configure"
1063
#include "confdefs.h"
1067
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1068
egrep "$ac_pattern" >/dev/null 2>&1; then
1070
ac_cv_prog_gcc_traditional=yes
1073
ac_cv_prog_gcc_traditional=no
1078
if test $ac_cv_prog_gcc_traditional = no; then
1079
cat > conftest.$ac_ext <<EOF
1080
#line 1081 "configure"
1081
#include "confdefs.h"
1085
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1086
egrep "$ac_pattern" >/dev/null 2>&1; then
1088
ac_cv_prog_gcc_traditional=yes
1095
echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1096
if test $ac_cv_prog_gcc_traditional = yes; then
1097
CC="$CC -traditional"
1102
for ac_prog in lint alint
1104
# Extract the first word of "$ac_prog", so it can be a program name with args.
1105
set dummy $ac_prog; ac_word=$2
1106
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1107
echo "configure:1108: checking for $ac_word" >&5
1108
if eval "test \"`echo '$''{'ac_cv_prog_LINT'+set}'`\" = set"; then
1109
echo $ac_n "(cached) $ac_c" 1>&6
1111
if test -n "$LINT"; then
1112
ac_cv_prog_LINT="$LINT" # Let the user override the test.
1114
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1116
for ac_dir in $ac_dummy; do
1117
test -z "$ac_dir" && ac_dir=.
1118
if test -f $ac_dir/$ac_word; then
1119
ac_cv_prog_LINT="$ac_prog"
1126
LINT="$ac_cv_prog_LINT"
1127
if test -n "$LINT"; then
1128
echo "$ac_t""$LINT" 1>&6
1130
echo "$ac_t""no" 1>&6
1133
test -n "$LINT" && break
1136
if test -n "$LINT" ; then
1137
cat >> confdefs.h <<\EOF
1138
#define HAVE_PROG_LINT 1
1143
### use option -with-warnings to turn on all gcc warnings
1147
# Check whether --with-warnings or --without-warnings was given.
1148
if test "${with_warnings+set}" = set; then
1149
withval="$with_warnings"
1150
CFLAGS="$CFLAGS -Wall -Wshadow -Wconversion -Wstrict-prototypes -Wmissing-prototypes"
1155
### extra things that we'll substitute in the makefile
1158
echo $ac_n "checking for working const""... $ac_c" 1>&6
1159
echo "configure:1160: checking for working const" >&5
1160
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1161
echo $ac_n "(cached) $ac_c" 1>&6
1163
cat > conftest.$ac_ext <<EOF
1164
#line 1165 "configure"
1165
#include "confdefs.h"
1169
/* Ultrix mips cc rejects this. */
1170
typedef int charset[2]; const charset x;
1171
/* SunOS 4.1.1 cc rejects this. */
1172
char const *const *ccp;
1174
/* NEC SVR4.0.2 mips cc rejects this. */
1175
struct point {int x, y;};
1176
static struct point const zero = {0,0};
1177
/* AIX XL C 1.02.0.0 rejects this.
1178
It does not let you subtract one const X* pointer from another in an arm
1179
of an if-expression whose if-part is not a constant expression */
1180
const char *g = "string";
1181
ccp = &g + (g ? g-g : 0);
1182
/* HPUX 7.0 cc rejects these. */
1185
ccp = (char const *const *) p;
1186
{ /* SCO 3.2v4 cc rejects this. */
1188
char const *s = 0 ? (char *) 0 : (char const *) 0;
1192
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1194
const int *foo = &x[0];
1197
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1198
typedef const int *iptr;
1202
{ /* AIX XL C 1.02.0.0 rejects this saying
1203
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1204
struct s { int j; const int *ap[3]; };
1205
struct s *b; b->j = 5;
1207
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1213
if { (eval echo configure:1214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1217
echo "configure: failed program was:" >&5
1218
cat conftest.$ac_ext >&5
1225
echo "$ac_t""$ac_cv_c_const" 1>&6
1226
if test $ac_cv_c_const = no; then
1227
cat >> confdefs.h <<\EOF
1233
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1234
echo "configure:1235: checking for ANSI C header files" >&5
1235
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1236
echo $ac_n "(cached) $ac_c" 1>&6
1238
cat > conftest.$ac_ext <<EOF
1239
#line 1240 "configure"
1240
#include "confdefs.h"
1246
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1247
{ (eval echo configure:1248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1248
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1249
if test -z "$ac_err"; then
1251
ac_cv_header_stdc=yes
1254
echo "configure: failed program was:" >&5
1255
cat conftest.$ac_ext >&5
1257
ac_cv_header_stdc=no
1261
if test $ac_cv_header_stdc = yes; then
1262
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1263
cat > conftest.$ac_ext <<EOF
1264
#line 1265 "configure"
1265
#include "confdefs.h"
1268
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1269
egrep "memchr" >/dev/null 2>&1; then
1273
ac_cv_header_stdc=no
1279
if test $ac_cv_header_stdc = yes; then
1280
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1281
cat > conftest.$ac_ext <<EOF
1282
#line 1283 "configure"
1283
#include "confdefs.h"
1286
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1287
egrep "free" >/dev/null 2>&1; then
1291
ac_cv_header_stdc=no
1297
if test $ac_cv_header_stdc = yes; then
1298
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1299
if test "$cross_compiling" = yes; then
1302
cat > conftest.$ac_ext <<EOF
1303
#line 1304 "configure"
1304
#include "confdefs.h"
1306
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1307
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1308
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1309
int main () { int i; for (i = 0; i < 256; i++)
1310
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1314
if { (eval echo configure:1315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1318
echo "configure: failed program was:" >&5
1319
cat conftest.$ac_ext >&5
1321
ac_cv_header_stdc=no
1329
echo "$ac_t""$ac_cv_header_stdc" 1>&6
1330
if test $ac_cv_header_stdc = yes; then
1331
cat >> confdefs.h <<\EOF
1332
#define STDC_HEADERS 1
1337
for ac_hdr in stdlib.h unistd.h
1339
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1340
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1341
echo "configure:1342: checking for $ac_hdr" >&5
1342
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1343
echo $ac_n "(cached) $ac_c" 1>&6
1345
cat > conftest.$ac_ext <<EOF
1346
#line 1347 "configure"
1347
#include "confdefs.h"
1350
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1351
{ (eval echo configure:1352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1352
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1353
if test -z "$ac_err"; then
1355
eval "ac_cv_header_$ac_safe=yes"
1358
echo "configure: failed program was:" >&5
1359
cat conftest.$ac_ext >&5
1361
eval "ac_cv_header_$ac_safe=no"
1365
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1366
echo "$ac_t""yes" 1>&6
1367
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1368
cat >> confdefs.h <<EOF
1369
#define $ac_tr_hdr 1
1373
echo "$ac_t""no" 1>&6
1377
for ac_hdr in getopt.h string.h memory.h
1379
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1380
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1381
echo "configure:1382: checking for $ac_hdr" >&5
1382
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1383
echo $ac_n "(cached) $ac_c" 1>&6
1385
cat > conftest.$ac_ext <<EOF
1386
#line 1387 "configure"
1387
#include "confdefs.h"
1390
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1391
{ (eval echo configure:1392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1392
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1393
if test -z "$ac_err"; then
1395
eval "ac_cv_header_$ac_safe=yes"
1398
echo "configure: failed program was:" >&5
1399
cat conftest.$ac_ext >&5
1401
eval "ac_cv_header_$ac_safe=no"
1405
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1406
echo "$ac_t""yes" 1>&6
1407
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1408
cat >> confdefs.h <<EOF
1409
#define $ac_tr_hdr 1
1413
echo "$ac_t""no" 1>&6
1418
for ac_func in strstr tmpfile link unlink mktemp
1420
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1421
echo "configure:1422: checking for $ac_func" >&5
1422
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1423
echo $ac_n "(cached) $ac_c" 1>&6
1425
cat > conftest.$ac_ext <<EOF
1426
#line 1427 "configure"
1427
#include "confdefs.h"
1428
/* System header to define __stub macros and hopefully few prototypes,
1429
which can conflict with char $ac_func(); below. */
1431
/* Override any gcc2 internal prototype to avoid an error. */
1432
/* We use char because int might match the return type of a gcc2
1433
builtin and then its argument prototype would still apply. */
1438
/* The GNU C library defines this for functions which it implements
1439
to always fail with ENOSYS. Some functions are actually named
1440
something starting with __ and the normal name is an alias. */
1441
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1449
if { (eval echo configure:1450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1451
eval "ac_cv_func_$ac_func=yes"
1453
echo "configure: failed program was:" >&5
1454
cat conftest.$ac_ext >&5
1456
eval "ac_cv_func_$ac_func=no"
1461
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1462
echo "$ac_t""yes" 1>&6
1463
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1464
cat >> confdefs.h <<EOF
1465
#define $ac_tr_func 1
1469
echo "$ac_t""no" 1>&6
1474
### special configuration tests
1476
echo $ac_n "checking for size_t in <sys/types.h> or <stdio.h>""... $ac_c" 1>&6
1477
echo "configure:1478: checking for size_t in <sys/types.h> or <stdio.h>" >&5
1478
if eval "test \"`echo '$''{'cf_cv_type_size_t'+set}'`\" = set"; then
1479
echo $ac_n "(cached) $ac_c" 1>&6
1482
cat > conftest.$ac_ext <<EOF
1483
#line 1484 "configure"
1484
#include "confdefs.h"
1486
#include <sys/types.h>
1496
if { (eval echo configure:1497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1498
cf_cv_type_size_t=yes
1500
echo "configure: failed program was:" >&5
1501
cat conftest.$ac_ext >&5
1503
cf_cv_type_size_t=no
1509
echo "$ac_t""$cf_cv_type_size_t" 1>&6
1510
test $cf_cv_type_size_t = no && cat >> confdefs.h <<\EOF
1511
#define size_t unsigned
1517
cat >yacctest.y <<EOF
1519
#define xstrdup(s) s
1523
#include "yyerror.c"
1524
static void yaccError(s) char *s; { exit(0); }
1525
int yylex ARGS((void))
1535
$CPP yacctest.y >yacctest.out 2>/dev/null
1536
if test ! -s yacctest.out
1538
cat >> confdefs.h <<\EOF
1539
#define CPP_DOES_ONLY_C_FILES 1
1545
td_incl='#include "y.tab.c"'
1546
for COND in BISON_HAS_YYTNAME YACC_HAS_YYTOKS YACC_HAS_YYTOKS_2 YACC_HAS_YYNAME
1548
echo $ac_n "checking for error-reporting with $COND""... $ac_c" 1>&6
1549
echo "configure:1550: checking for error-reporting with $COND" >&5
1550
if eval "test \"`echo '$''{'ac_cv_$COND'+set}'`\" = set"; then
1551
echo $ac_n "(cached) $ac_c" 1>&6
1553
cat > conftest.$ac_ext <<EOF
1554
#line 1555 "configure"
1555
#include "confdefs.h"
1564
if { (eval echo configure:1565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1566
eval 'ac_cv_'$COND'=yes'
1568
echo "configure: failed program was:" >&5
1569
cat conftest.$ac_ext >&5
1571
eval 'ac_cv_'$COND'=no'
1576
eval 'td_result=$ac_cv_'$COND
1577
echo "$ac_t""$td_result" 1>&6
1578
if test $td_result = yes; then
1579
cat >> confdefs.h <<EOF
1588
echo $ac_n "checking for conflicting prototype for popen""... $ac_c" 1>&6
1589
echo "configure:1590: checking for conflicting prototype for popen" >&5
1590
if eval "test \"`echo '$''{'ac_cv_td_popen'+set}'`\" = set"; then
1591
echo $ac_n "(cached) $ac_c" 1>&6
1593
cat > conftest.$ac_ext <<EOF
1594
#line 1595 "configure"
1595
#include "confdefs.h"
1599
extern int pclose ARGS((FILE *p));
1600
extern FILE *popen ARGS((const char *c, const char *m));
1605
if { (eval echo configure:1606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1609
echo "configure: failed program was:" >&5
1610
cat conftest.$ac_ext >&5
1617
echo "$ac_t""$ac_cv_td_popen" 1>&6
1618
if test $ac_cv_td_popen = yes; then
1619
cat >> confdefs.h <<\EOF
1620
#define HAVE_POPEN_PROTOTYPE 1
1626
### debugging/testing
1628
# Check whether --with-trace or --without-trace was given.
1629
if test "${with_trace+set}" = set; then
1630
withval="$with_trace"
1632
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
1633
echo "configure:1634: checking whether time.h and sys/time.h may both be included" >&5
1634
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
1635
echo $ac_n "(cached) $ac_c" 1>&6
1637
cat > conftest.$ac_ext <<EOF
1638
#line 1639 "configure"
1639
#include "confdefs.h"
1640
#include <sys/types.h>
1641
#include <sys/time.h>
1647
if { (eval echo configure:1648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1649
ac_cv_header_time=yes
1651
echo "configure: failed program was:" >&5
1652
cat conftest.$ac_ext >&5
1654
ac_cv_header_time=no
1659
echo "$ac_t""$ac_cv_header_time" 1>&6
1660
if test $ac_cv_header_time = yes; then
1661
cat >> confdefs.h <<\EOF
1662
#define TIME_WITH_SYS_TIME 1
1667
for ac_func in gettimeofday
1669
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1670
echo "configure:1671: checking for $ac_func" >&5
1671
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1672
echo $ac_n "(cached) $ac_c" 1>&6
1674
cat > conftest.$ac_ext <<EOF
1675
#line 1676 "configure"
1676
#include "confdefs.h"
1677
/* System header to define __stub macros and hopefully few prototypes,
1678
which can conflict with char $ac_func(); below. */
1680
/* Override any gcc2 internal prototype to avoid an error. */
1681
/* We use char because int might match the return type of a gcc2
1682
builtin and then its argument prototype would still apply. */
1687
/* The GNU C library defines this for functions which it implements
1688
to always fail with ENOSYS. Some functions are actually named
1689
something starting with __ and the normal name is an alias. */
1690
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1698
if { (eval echo configure:1699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1700
eval "ac_cv_func_$ac_func=yes"
1702
echo "configure: failed program was:" >&5
1703
cat conftest.$ac_ext >&5
1705
eval "ac_cv_func_$ac_func=no"
1710
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1711
echo "$ac_t""yes" 1>&6
1712
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1713
cat >> confdefs.h <<EOF
1714
#define $ac_tr_func 1
1718
echo "$ac_t""no" 1>&6
1722
cat >> confdefs.h <<\EOF
1723
#define DOALLOC 10000
1726
EXTRA_OBJS="$EXTRA_OBJS trace.o dump.o"
1730
# Check whether --with-dmalloc or --without-dmalloc was given.
1731
if test "${with_dmalloc+set}" = set; then
1732
withval="$with_dmalloc"
1734
echo $ac_n "checking for dmalloc_debug in -ldmalloc""... $ac_c" 1>&6
1735
echo "configure:1736: checking for dmalloc_debug in -ldmalloc" >&5
1736
ac_lib_var=`echo dmalloc'_'dmalloc_debug | sed 'y%./+-%__p_%'`
1737
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1738
echo $ac_n "(cached) $ac_c" 1>&6
1740
ac_save_LIBS="$LIBS"
1741
LIBS="-ldmalloc $LIBS"
1742
cat > conftest.$ac_ext <<EOF
1743
#line 1744 "configure"
1744
#include "confdefs.h"
1745
/* Override any gcc2 internal prototype to avoid an error. */
1746
/* We use char because int might match the return type of a gcc2
1747
builtin and then its argument prototype would still apply. */
1748
char dmalloc_debug();
1754
if { (eval echo configure:1755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1756
eval "ac_cv_lib_$ac_lib_var=yes"
1758
echo "configure: failed program was:" >&5
1759
cat conftest.$ac_ext >&5
1761
eval "ac_cv_lib_$ac_lib_var=no"
1764
LIBS="$ac_save_LIBS"
1767
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1768
echo "$ac_t""yes" 1>&6
1769
ac_tr_lib=HAVE_LIB`echo dmalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1770
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1771
cat >> confdefs.h <<EOF
1772
#define $ac_tr_lib 1
1775
LIBS="-ldmalloc $LIBS"
1778
echo "$ac_t""no" 1>&6
1784
# Check whether --with-dbmalloc or --without-dbmalloc was given.
1785
if test "${with_dbmalloc+set}" = set; then
1786
withval="$with_dbmalloc"
1788
echo $ac_n "checking for debug_malloc in -ldbmalloc""... $ac_c" 1>&6
1789
echo "configure:1790: checking for debug_malloc in -ldbmalloc" >&5
1790
ac_lib_var=`echo dbmalloc'_'debug_malloc | sed 'y%./+-%__p_%'`
1791
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1792
echo $ac_n "(cached) $ac_c" 1>&6
1794
ac_save_LIBS="$LIBS"
1795
LIBS="-ldbmalloc $LIBS"
1796
cat > conftest.$ac_ext <<EOF
1797
#line 1798 "configure"
1798
#include "confdefs.h"
1799
/* Override any gcc2 internal prototype to avoid an error. */
1800
/* We use char because int might match the return type of a gcc2
1801
builtin and then its argument prototype would still apply. */
1802
char debug_malloc();
1808
if { (eval echo configure:1809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1810
eval "ac_cv_lib_$ac_lib_var=yes"
1812
echo "configure: failed program was:" >&5
1813
cat conftest.$ac_ext >&5
1815
eval "ac_cv_lib_$ac_lib_var=no"
1818
LIBS="$ac_save_LIBS"
1821
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1822
echo "$ac_t""yes" 1>&6
1823
ac_tr_lib=HAVE_LIB`echo dbmalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1824
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
1825
cat >> confdefs.h <<EOF
1826
#define $ac_tr_lib 1
1829
LIBS="-ldbmalloc $LIBS"
1832
echo "$ac_t""no" 1>&6
1838
echo setting other definitions
1839
cat >> confdefs.h <<EOF
1844
### output makefile and config.h
1846
cat > confcache <<\EOF
1847
# This file is a shell script that caches the results of configure
1848
# tests run on this system so they can be shared between configure
1849
# scripts and configure runs. It is not useful on other systems.
1850
# If it contains results you don't want to keep, you may remove or edit it.
1852
# By default, configure uses ./config.cache as the cache file,
1853
# creating it if it does not exist already. You can give configure
1854
# the --cache-file=FILE option to use a different cache file; that is
1855
# what configure does when it calls configure scripts in
1856
# subdirectories, so they share the cache.
1857
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1858
# config.status only pays attention to the cache file if you give it the
1859
# --recheck option to rerun configure.
1862
# The following way of writing the cache mishandles newlines in values,
1863
# but we know of no workaround that is simple, portable, and efficient.
1864
# So, don't put newlines in cache variables' values.
1865
# Ultrix sh set writes to stderr and can't be redirected directly,
1866
# and sets the high bit in the cache file unless we assign to the vars.
1868
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1870
# `set' does not quote correctly, so add quotes (double-quote substitution
1871
# turns \\\\ into \\, and sed turns \\ into \).
1873
-e "s/'/'\\\\''/g" \
1874
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1877
# `set' quotes correctly as required by POSIX, so do not add quotes.
1878
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1881
if cmp -s $cache_file confcache; then
1884
if test -w $cache_file; then
1885
echo "updating cache $cache_file"
1886
cat confcache > $cache_file
1888
echo "not updating unwritable cache $cache_file"
1893
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1895
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1896
# Let make expand exec_prefix.
1897
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1899
# Any assignment to VPATH causes Sun make to only execute
1900
# the first set of double-colon rules, so remove it if not needed.
1901
# If there is a colon in the path, we need to keep it.
1902
if test "x$srcdir" = x.; then
1903
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1906
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1909
# Transform confdefs.h into DEFS.
1910
# Protect against shell expansion while executing Makefile rules.
1911
# Protect against Makefile macro expansion.
1912
cat > conftest.defs <<\EOF
1913
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1914
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1919
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1923
# Without the "./", some shells look in PATH for config.status.
1924
: ${CONFIG_STATUS=./config.status}
1926
echo creating $CONFIG_STATUS
1927
rm -f $CONFIG_STATUS
1928
cat > $CONFIG_STATUS <<EOF
1930
# Generated automatically by configure.
1931
# Run this file to recreate the current configuration.
1932
# This directory was configured as follows,
1933
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1935
# $0 $ac_configure_args
1937
# Compiler output produced by configure, useful for debugging
1938
# configure, is in ./config.log if it exists.
1940
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1943
case "\$ac_option" in
1944
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1945
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1946
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1947
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1948
echo "$CONFIG_STATUS generated by autoconf version 2.13.19990117"
1950
-help | --help | --hel | --he | --h)
1951
echo "\$ac_cs_usage"; exit 0 ;;
1952
*) echo "\$ac_cs_usage"; exit 1 ;;
1956
ac_given_srcdir=$srcdir
1957
ac_given_INSTALL="$INSTALL"
1959
trap 'rm -fr `echo "Makefile config_h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1961
cat >> $CONFIG_STATUS <<EOF
1963
# Protect against being on the right side of a sed subst in config.status.
1964
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1965
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1969
s%@CFLAGS@%$CFLAGS%g
1970
s%@CPPFLAGS@%$CPPFLAGS%g
1971
s%@CXXFLAGS@%$CXXFLAGS%g
1972
s%@FFLAGS@%$FFLAGS%g
1974
s%@LDFLAGS@%$LDFLAGS%g
1976
s%@exec_prefix@%$exec_prefix%g
1977
s%@prefix@%$prefix%g
1978
s%@program_transform_name@%$program_transform_name%g
1979
s%@bindir@%$bindir%g
1980
s%@sbindir@%$sbindir%g
1981
s%@libexecdir@%$libexecdir%g
1982
s%@datadir@%$datadir%g
1983
s%@sysconfdir@%$sysconfdir%g
1984
s%@sharedstatedir@%$sharedstatedir%g
1985
s%@localstatedir@%$localstatedir%g
1986
s%@libdir@%$libdir%g
1987
s%@includedir@%$includedir%g
1988
s%@oldincludedir@%$oldincludedir%g
1989
s%@infodir@%$infodir%g
1990
s%@mandir@%$mandir%g
1994
s%@LEXLIB@%$LEXLIB%g
1995
s%@SET_MAKE@%$SET_MAKE%g
1997
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1998
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1999
s%@INSTALL_DATA@%$INSTALL_DATA%g
2001
s%@EXTRA_OBJS@%$EXTRA_OBJS%g
2006
cat >> $CONFIG_STATUS <<\EOF
2008
# Split the substitutions into bite-sized pieces for seds with
2009
# small command number limits, like on Digital OSF/1 and HP-UX.
2010
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2011
ac_file=1 # Number of current file.
2012
ac_beg=1 # First line for current file.
2013
ac_end=$ac_max_sed_cmds # Line after last line for current file.
2016
while $ac_more_lines; do
2017
if test $ac_beg -gt 1; then
2018
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2020
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2022
if test ! -s conftest.s$ac_file; then
2024
rm -f conftest.s$ac_file
2026
if test -z "$ac_sed_cmds"; then
2027
ac_sed_cmds="sed -f conftest.s$ac_file"
2029
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2031
ac_file=`expr $ac_file + 1`
2033
ac_end=`expr $ac_end + $ac_max_sed_cmds`
2036
if test -z "$ac_sed_cmds"; then
2041
cat >> $CONFIG_STATUS <<EOF
2043
CONFIG_FILES=\${CONFIG_FILES-"Makefile config_h"}
2045
cat >> $CONFIG_STATUS <<\EOF
2046
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2047
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2049
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2050
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2051
*) ac_file_in="${ac_file}.in" ;;
2054
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2056
# Remove last slash and all that follows it. Not all systems have dirname.
2057
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2058
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2059
# The file is in a subdirectory.
2060
test ! -d "$ac_dir" && mkdir "$ac_dir"
2061
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2062
# A "../" for each directory in $ac_dir_suffix.
2063
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2065
ac_dir_suffix= ac_dots=
2068
case "$ac_given_srcdir" in
2070
if test -z "$ac_dots"; then top_srcdir=.
2071
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2072
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2074
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2075
top_srcdir="$ac_dots$ac_given_srcdir" ;;
2078
case "$ac_given_INSTALL" in
2079
[/$]*) INSTALL="$ac_given_INSTALL" ;;
2080
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2083
echo creating "$ac_file"
2085
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2087
*Makefile*) ac_comsub="1i\\
2088
# $configure_input" ;;
2092
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2094
s%@configure_input@%$configure_input%g
2095
s%@srcdir@%$srcdir%g
2096
s%@top_srcdir@%$top_srcdir%g
2097
s%@INSTALL@%$INSTALL%g
2098
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2103
cat >> $CONFIG_STATUS <<EOF
2104
# Extra initialization commands, if any
2107
cat >> $CONFIG_STATUS <<\EOF
2108
# Extra commands, if any
2110
echo creating config.h
2114
-e 's/\(#define [A-Za-z_][A-Za-z0-9_]*\)=/\1 /g' \
2118
echo removing config_h
2123
chmod +x $CONFIG_STATUS
2124
rm -fr confdefs* $ac_clean_files
2125
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1