2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by Autoconf 2.52.
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6
# Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
10
# Avoid depending upon Character Ranges.
11
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14
as_cr_digits='0123456789'
15
as_cr_alnum=$as_cr_Letters$as_cr_digits
17
# Sed expression to map a string onto a valid variable name.
18
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20
# Sed expression to map a string onto a valid CPP name.
21
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23
# Be Bourne compatible
24
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31
# Name of the executable.
32
as_me=`echo "$0" |sed 's,.*[\\/],,'`
34
if expr a : '\(a\)' >/dev/null 2>&1; then
40
rm -f conf$$ conf$$.exe conf$$.file
42
if ln -s conf$$.file conf$$ 2>/dev/null; then
43
# We could just check for DJGPP; but this test a) works b) is more generic
44
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45
if test -f conf$$.exe; then
46
# Don't use ln at all; we don't have any links
51
elif ln conf$$.file conf$$ 2>/dev/null; then
56
rm -f conf$$ conf$$.exe conf$$.file
58
as_executable_p="test -f"
60
# Support unset when possible.
61
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
68
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
78
# We need space, tab and new line, in precisely that order.
84
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
87
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88
# so uname gets run too.
89
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
96
ac_default_prefix=/usr/local
100
SHELL=${CONFIG_SHELL-/bin/sh}
102
# Maximum number of lines to put in a shell here document.
103
# This variable seems obsolete. It should probably be removed, and
104
# only ac_max_sed_lines should be used.
105
: ${ac_max_here_lines=38}
107
ac_unique_file="tc.vers.c"
109
# Initialize some variables set by options.
111
ac_init_version=false
112
# The variables have the same names as the options, with
113
# dashes changed to underlines.
121
program_transform_name=s,x,x,
129
# Installation directory options.
130
# These are left unexpanded so users can "make install exec_prefix=/foo"
131
# and all the variables that are supposed to be based on exec_prefix
132
# by default will actually change.
133
# Use braces instead of parens because sh, perl, etc. also accept them.
134
bindir='${exec_prefix}/bin'
135
sbindir='${exec_prefix}/sbin'
136
libexecdir='${exec_prefix}/libexec'
137
datadir='${prefix}/share'
138
sysconfdir='${prefix}/etc'
139
sharedstatedir='${prefix}/com'
140
localstatedir='${prefix}/var'
141
libdir='${exec_prefix}/lib'
142
includedir='${prefix}/include'
143
oldincludedir='/usr/include'
144
infodir='${prefix}/info'
145
mandir='${prefix}/man'
147
# Identity of this package.
157
# If the previous option needs an argument, assign it.
158
if test -n "$ac_prev"; then
159
eval "$ac_prev=\$ac_option"
164
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
166
# Accept the important Cygnus configure options, so we can diagnose typos.
170
-bindir | --bindir | --bindi | --bind | --bin | --bi)
172
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
175
-build | --build | --buil | --bui | --bu)
176
ac_prev=build_alias ;;
177
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
178
build_alias=$ac_optarg ;;
180
-cache-file | --cache-file | --cache-fil | --cache-fi \
181
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
182
ac_prev=cache_file ;;
183
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
184
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
185
cache_file=$ac_optarg ;;
188
cache_file=config.cache ;;
190
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
192
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
194
datadir=$ac_optarg ;;
196
-disable-* | --disable-*)
197
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198
# Reject names that are not valid shell variable names.
199
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
200
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
201
{ (exit 1); exit 1; }; }
202
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
203
eval "enable_$ac_feature=no" ;;
205
-enable-* | --enable-*)
206
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207
# Reject names that are not valid shell variable names.
208
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
209
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
210
{ (exit 1); exit 1; }; }
211
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
213
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
216
eval "enable_$ac_feature='$ac_optarg'" ;;
218
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
219
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
220
| --exec | --exe | --ex)
221
ac_prev=exec_prefix ;;
222
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
223
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
224
| --exec=* | --exe=* | --ex=*)
225
exec_prefix=$ac_optarg ;;
227
-gas | --gas | --ga | --g)
228
# Obsolete; use --with-gas.
231
-help | --help | --hel | --he | -h)
233
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
234
ac_init_help=recursive ;;
235
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
236
ac_init_help=short ;;
238
-host | --host | --hos | --ho)
239
ac_prev=host_alias ;;
240
-host=* | --host=* | --hos=* | --ho=*)
241
host_alias=$ac_optarg ;;
243
-includedir | --includedir | --includedi | --included | --include \
244
| --includ | --inclu | --incl | --inc)
245
ac_prev=includedir ;;
246
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
247
| --includ=* | --inclu=* | --incl=* | --inc=*)
248
includedir=$ac_optarg ;;
250
-infodir | --infodir | --infodi | --infod | --info | --inf)
252
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
253
infodir=$ac_optarg ;;
255
-libdir | --libdir | --libdi | --libd)
257
-libdir=* | --libdir=* | --libdi=* | --libd=*)
260
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
261
| --libexe | --libex | --libe)
262
ac_prev=libexecdir ;;
263
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
264
| --libexe=* | --libex=* | --libe=*)
265
libexecdir=$ac_optarg ;;
267
-localstatedir | --localstatedir | --localstatedi | --localstated \
268
| --localstate | --localstat | --localsta | --localst \
269
| --locals | --local | --loca | --loc | --lo)
270
ac_prev=localstatedir ;;
271
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
272
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
273
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
274
localstatedir=$ac_optarg ;;
276
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
278
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
282
# Obsolete; use --without-fp.
285
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
289
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
290
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
293
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
294
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
295
| --oldin | --oldi | --old | --ol | --o)
296
ac_prev=oldincludedir ;;
297
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
298
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
299
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
300
oldincludedir=$ac_optarg ;;
302
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
304
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
307
-program-prefix | --program-prefix | --program-prefi | --program-pref \
308
| --program-pre | --program-pr | --program-p)
309
ac_prev=program_prefix ;;
310
-program-prefix=* | --program-prefix=* | --program-prefi=* \
311
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
312
program_prefix=$ac_optarg ;;
314
-program-suffix | --program-suffix | --program-suffi | --program-suff \
315
| --program-suf | --program-su | --program-s)
316
ac_prev=program_suffix ;;
317
-program-suffix=* | --program-suffix=* | --program-suffi=* \
318
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
319
program_suffix=$ac_optarg ;;
321
-program-transform-name | --program-transform-name \
322
| --program-transform-nam | --program-transform-na \
323
| --program-transform-n | --program-transform- \
324
| --program-transform | --program-transfor \
325
| --program-transfo | --program-transf \
326
| --program-trans | --program-tran \
327
| --progr-tra | --program-tr | --program-t)
328
ac_prev=program_transform_name ;;
329
-program-transform-name=* | --program-transform-name=* \
330
| --program-transform-nam=* | --program-transform-na=* \
331
| --program-transform-n=* | --program-transform-=* \
332
| --program-transform=* | --program-transfor=* \
333
| --program-transfo=* | --program-transf=* \
334
| --program-trans=* | --program-tran=* \
335
| --progr-tra=* | --program-tr=* | --program-t=*)
336
program_transform_name=$ac_optarg ;;
338
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
339
| -silent | --silent | --silen | --sile | --sil)
342
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
344
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
346
sbindir=$ac_optarg ;;
348
-sharedstatedir | --sharedstatedir | --sharedstatedi \
349
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
350
| --sharedst | --shareds | --shared | --share | --shar \
352
ac_prev=sharedstatedir ;;
353
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
354
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
355
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
357
sharedstatedir=$ac_optarg ;;
359
-site | --site | --sit)
361
-site=* | --site=* | --sit=*)
364
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
366
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
369
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
370
| --syscon | --sysco | --sysc | --sys | --sy)
371
ac_prev=sysconfdir ;;
372
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
373
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
374
sysconfdir=$ac_optarg ;;
376
-target | --target | --targe | --targ | --tar | --ta | --t)
377
ac_prev=target_alias ;;
378
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
379
target_alias=$ac_optarg ;;
381
-v | -verbose | --verbose | --verbos | --verbo | --verb)
384
-version | --version | --versio | --versi | --vers | -V)
388
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389
# Reject names that are not valid shell variable names.
390
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
391
{ echo "$as_me: error: invalid package name: $ac_package" >&2
392
{ (exit 1); exit 1; }; }
393
ac_package=`echo $ac_package| sed 's/-/_/g'`
395
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398
eval "with_$ac_package='$ac_optarg'" ;;
400
-without-* | --without-*)
401
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402
# Reject names that are not valid shell variable names.
403
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
404
{ echo "$as_me: error: invalid package name: $ac_package" >&2
405
{ (exit 1); exit 1; }; }
406
ac_package=`echo $ac_package | sed 's/-/_/g'`
407
eval "with_$ac_package=no" ;;
410
# Obsolete; use --with-x.
413
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
414
| --x-incl | --x-inc | --x-in | --x-i)
415
ac_prev=x_includes ;;
416
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
417
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
418
x_includes=$ac_optarg ;;
420
-x-libraries | --x-libraries | --x-librarie | --x-librari \
421
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
422
ac_prev=x_libraries ;;
423
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
424
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
425
x_libraries=$ac_optarg ;;
427
-*) { echo "$as_me: error: unrecognized option: $ac_option
428
Try \`$0 --help' for more information." >&2
429
{ (exit 1); exit 1; }; }
433
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
434
# Reject names that are not valid shell variable names.
435
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
436
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437
{ (exit 1); exit 1; }; }
438
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
439
eval "$ac_envvar='$ac_optarg'"
443
# FIXME: should be removed in autoconf 3.0.
444
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
446
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
453
if test -n "$ac_prev"; then
454
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
455
{ echo "$as_me: error: missing argument to $ac_option" >&2
456
{ (exit 1); exit 1; }; }
459
# Be sure to have absolute paths.
460
for ac_var in exec_prefix prefix
462
eval ac_val=$`echo $ac_var`
464
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
465
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
466
{ (exit 1); exit 1; }; };;
470
# Be sure to have absolute paths.
471
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
472
localstatedir libdir includedir oldincludedir infodir mandir
474
eval ac_val=$`echo $ac_var`
476
[\\/$]* | ?:[\\/]* ) ;;
477
*) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
478
{ (exit 1); exit 1; }; };;
482
# There might be people who depend on the old broken behavior: `$host'
483
# used to hold the argument of --host etc.
488
# FIXME: should be removed in autoconf 3.0.
489
if test "x$host_alias" != x; then
490
if test "x$build_alias" = x; then
491
cross_compiling=maybe
492
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
493
If a cross compiler is detected then cross compile mode will be used." >&2
494
elif test "x$build_alias" != "x$host_alias"; then
500
test -n "$host_alias" && ac_tool_prefix=$host_alias-
502
test "$silent" = yes && exec 6>/dev/null
504
# Find the source files, if location was not specified.
505
if test -z "$srcdir"; then
506
ac_srcdir_defaulted=yes
507
# Try the directory containing this script, then its parent.
509
ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
510
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
512
if test ! -r $srcdir/$ac_unique_file; then
516
ac_srcdir_defaulted=no
518
if test ! -r $srcdir/$ac_unique_file; then
519
if test "$ac_srcdir_defaulted" = yes; then
520
{ echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
521
{ (exit 1); exit 1; }; }
523
{ echo "$as_me: error: cannot find sources in $srcdir" >&2
524
{ (exit 1); exit 1; }; }
527
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
528
ac_env_build_alias_set=${build_alias+set}
529
ac_env_build_alias_value=$build_alias
530
ac_cv_env_build_alias_set=${build_alias+set}
531
ac_cv_env_build_alias_value=$build_alias
532
ac_env_host_alias_set=${host_alias+set}
533
ac_env_host_alias_value=$host_alias
534
ac_cv_env_host_alias_set=${host_alias+set}
535
ac_cv_env_host_alias_value=$host_alias
536
ac_env_target_alias_set=${target_alias+set}
537
ac_env_target_alias_value=$target_alias
538
ac_cv_env_target_alias_set=${target_alias+set}
539
ac_cv_env_target_alias_value=$target_alias
540
ac_env_CC_set=${CC+set}
542
ac_cv_env_CC_set=${CC+set}
543
ac_cv_env_CC_value=$CC
544
ac_env_CFLAGS_set=${CFLAGS+set}
545
ac_env_CFLAGS_value=$CFLAGS
546
ac_cv_env_CFLAGS_set=${CFLAGS+set}
547
ac_cv_env_CFLAGS_value=$CFLAGS
548
ac_env_LDFLAGS_set=${LDFLAGS+set}
549
ac_env_LDFLAGS_value=$LDFLAGS
550
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
551
ac_cv_env_LDFLAGS_value=$LDFLAGS
552
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
553
ac_env_CPPFLAGS_value=$CPPFLAGS
554
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
555
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
556
ac_env_CPP_set=${CPP+set}
557
ac_env_CPP_value=$CPP
558
ac_cv_env_CPP_set=${CPP+set}
559
ac_cv_env_CPP_value=$CPP
562
# Report the --help message.
564
if test "$ac_init_help" = "long"; then
565
# Omit some internal or obsolete options to make the list less imposing.
566
# This message is too long to be a string in the A/UX 3.1 sh.
568
\`configure' configures this package to adapt to many kinds of systems.
570
Usage: $0 [OPTION]... [VAR=VALUE]...
572
To assign environment variables (e.g., CC, CFLAGS...), specify them as
573
VAR=VALUE. See below for descriptions of some of the useful variables.
575
Defaults for the options are specified in brackets.
578
-h, --help display this help and exit
579
--help=short display options specific to this package
580
--help=recursive display the short help of all the included packages
581
-V, --version display version information and exit
582
-q, --quiet, --silent do not print \`checking...' messages
583
--cache-file=FILE cache test results in FILE [disabled]
584
-C, --config-cache alias for \`--cache-file=config.cache'
585
-n, --no-create do not create output files
586
--srcdir=DIR find the sources in DIR [configure dir or \`..']
591
Installation directories:
592
--prefix=PREFIX install architecture-independent files in PREFIX
594
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
597
By default, \`make install' will install all the files in
598
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
599
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
600
for instance \`--prefix=\$HOME'.
602
For better control, use the options below.
604
Fine tuning of the installation directories:
605
--bindir=DIR user executables [EPREFIX/bin]
606
--sbindir=DIR system admin executables [EPREFIX/sbin]
607
--libexecdir=DIR program executables [EPREFIX/libexec]
608
--datadir=DIR read-only architecture-independent data [PREFIX/share]
609
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
610
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
611
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
612
--libdir=DIR object code libraries [EPREFIX/lib]
613
--includedir=DIR C header files [PREFIX/include]
614
--oldincludedir=DIR C header files for non-gcc [/usr/include]
615
--infodir=DIR info documentation [PREFIX/info]
616
--mandir=DIR man documentation [PREFIX/man]
622
--build=BUILD configure for building on BUILD [guessed]
623
--host=HOST build programs to run on HOST [BUILD]
627
if test -n "$ac_init_help"; then
632
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
633
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
634
--with-hesiod=PREFIX Use Hesiod lookup for ~ expansion
635
--with-sge=ARCH SGE/SGEEE ARCH (LINUX5/LINUX6...)
637
Some influential environment variables:
638
CC C compiler command
639
CFLAGS C compiler flags
640
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
641
nonstandard directory <lib dir>
642
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
643
headers in a nonstandard directory <include dir>
646
Use these variables to override the choices made by `configure' or to help
647
it to find libraries and programs with nonstandard names/locations.
652
if test "$ac_init_help" = "recursive"; then
653
# If there are subdirs, report their specific --help.
655
for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
657
# A "../" for each directory in /$ac_subdir.
658
ac_dots=`echo $ac_subdir |
659
sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
662
.) # No --srcdir option. We are building in place.
663
ac_sub_srcdir=$srcdir ;;
664
[\\/]* | ?:[\\/]* ) # Absolute path.
665
ac_sub_srcdir=$srcdir/$ac_subdir ;;
667
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
670
# Check for guested configure; otherwise get Cygnus style configure.
671
if test -f $ac_sub_srcdir/configure.gnu; then
673
$SHELL $ac_sub_srcdir/configure.gnu --help=recursive
674
elif test -f $ac_sub_srcdir/configure; then
676
$SHELL $ac_sub_srcdir/configure --help=recursive
677
elif test -f $ac_sub_srcdir/configure.ac ||
678
test -f $ac_sub_srcdir/configure.in; then
682
echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
688
test -n "$ac_init_help" && exit 0
689
if $ac_init_version; then
692
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
693
Free Software Foundation, Inc.
694
This configure script is free software; the Free Software Foundation
695
gives unlimited permission to copy, distribute and modify it.
701
This file contains any messages produced by compilers while
702
running configure, to aid debugging if configure makes a mistake.
704
It was created by $as_me, which was
705
generated by GNU Autoconf 2.52. Invocation command line was
716
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
717
uname -m = `(uname -m) 2>/dev/null || echo unknown`
718
uname -r = `(uname -r) 2>/dev/null || echo unknown`
719
uname -s = `(uname -s) 2>/dev/null || echo unknown`
720
uname -v = `(uname -v) 2>/dev/null || echo unknown`
722
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
723
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
725
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
726
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
727
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
728
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
729
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
730
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
731
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
745
# Keep a trace of the command line.
746
# Strip out --no-create and --no-recursion so they do not pile up.
747
# Also quote any args containing shell meta-characters.
753
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
754
| --no-cr | --no-c) ;;
755
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
756
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
757
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
758
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
759
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
761
*) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
764
# Get rid of the leading space.
767
# When interrupted or exit'd, cleanup temporary files, and complete
768
# config.log. We remove comments because anyway the quotes in there
769
# would cause problems or look ugly.
771
# Save into config.log some information that might help in debugging.
773
echo "## ----------------- ##" >&5
774
echo "## Cache variables. ##" >&5
775
echo "## ----------------- ##" >&5
777
# The following way of writing the cache mishandles newlines in values,
780
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
783
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
784
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
788
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
792
sed "/^$/d" confdefs.h >conftest.log
793
if test -s conftest.log; then
795
echo "## ------------ ##" >&5
796
echo "## confdefs.h. ##" >&5
797
echo "## ------------ ##" >&5
802
test "$ac_signal" != 0 &&
803
echo "$as_me: caught signal $ac_signal" >&5
804
echo "$as_me: exit $exit_status" >&5
805
rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
808
for ac_signal in 1 2 13 15; do
809
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
813
# confdefs.h avoids OS command line length limits that DEFS can exceed.
814
rm -rf conftest* confdefs.h
815
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
818
# Let the site file select an alternate cache file if it wants to.
819
# Prefer explicitly selected file to automatically selected ones.
820
if test -z "$CONFIG_SITE"; then
821
if test "x$prefix" != xNONE; then
822
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
824
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
827
for ac_site_file in $CONFIG_SITE; do
828
if test -r "$ac_site_file"; then
829
{ echo "$as_me:829: loading site script $ac_site_file" >&5
830
echo "$as_me: loading site script $ac_site_file" >&6;}
831
cat "$ac_site_file" >&5
836
if test -r "$cache_file"; then
837
# Some versions of bash will fail to source /dev/null (special
838
# files actually), so we avoid doing that.
839
if test -f "$cache_file"; then
840
{ echo "$as_me:840: loading cache $cache_file" >&5
841
echo "$as_me: loading cache $cache_file" >&6;}
843
[\\/]* | ?:[\\/]* ) . $cache_file;;
848
{ echo "$as_me:848: creating cache $cache_file" >&5
849
echo "$as_me: creating cache $cache_file" >&6;}
853
# Check that the precious variables saved in the cache have kept the same
855
ac_cache_corrupted=false
856
for ac_var in `(set) 2>&1 |
857
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
858
eval ac_old_set=\$ac_cv_env_${ac_var}_set
859
eval ac_new_set=\$ac_env_${ac_var}_set
860
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
861
eval ac_new_val="\$ac_env_${ac_var}_value"
862
case $ac_old_set,$ac_new_set in
864
{ echo "$as_me:864: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
865
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
866
ac_cache_corrupted=: ;;
868
{ echo "$as_me:868: error: \`$ac_var' was not set in the previous run" >&5
869
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
870
ac_cache_corrupted=: ;;
873
if test "x$ac_old_val" != "x$ac_new_val"; then
874
{ echo "$as_me:874: error: \`$ac_var' has changed since the previous run:" >&5
875
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
876
{ echo "$as_me:876: former value: $ac_old_val" >&5
877
echo "$as_me: former value: $ac_old_val" >&2;}
878
{ echo "$as_me:878: current value: $ac_new_val" >&5
879
echo "$as_me: current value: $ac_new_val" >&2;}
883
# Pass precious variables to config.status. It doesn't matter if
884
# we pass some twice (in addition to the command line arguments).
885
if test "$ac_new_set" = set; then
887
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
888
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
889
ac_configure_args="$ac_configure_args '$ac_arg'"
891
*) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
896
if $ac_cache_corrupted; then
897
{ echo "$as_me:897: error: changes in the environment can compromise the build" >&5
898
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
899
{ { echo "$as_me:899: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
900
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
901
{ (exit 1); exit 1; }; }
905
ac_cpp='$CPP $CPPFLAGS'
906
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
907
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
908
ac_compiler_gnu=$ac_cv_c_compiler_gnu
910
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
911
*c*,-n*) ECHO_N= ECHO_C='
913
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
914
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
916
echo "#! $SHELL" >conftest.sh
917
echo "exit 0" >>conftest.sh
919
if { (echo "$as_me:919: PATH=\".;.\"; conftest.sh") >&5
920
(PATH=".;."; conftest.sh) 2>&5
922
echo "$as_me:922: \$? = $ac_status" >&5
923
(exit $ac_status); }; then
924
ac_path_separator=';'
928
PATH_SEPARATOR="$ac_path_separator"
932
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
933
if test -f $ac_dir/install-sh; then
935
ac_install_sh="$ac_aux_dir/install-sh -c"
937
elif test -f $ac_dir/install.sh; then
939
ac_install_sh="$ac_aux_dir/install.sh -c"
941
elif test -f $ac_dir/shtool; then
943
ac_install_sh="$ac_aux_dir/shtool install -c"
947
if test -z "$ac_aux_dir"; then
948
{ { echo "$as_me:948: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
949
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
950
{ (exit 1); exit 1; }; }
952
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
953
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
954
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
956
# Make sure we can run config.sub.
957
$ac_config_sub sun4 >/dev/null 2>&1 ||
958
{ { echo "$as_me:958: error: cannot run $ac_config_sub" >&5
959
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
960
{ (exit 1); exit 1; }; }
962
echo "$as_me:962: checking build system type" >&5
963
echo $ECHO_N "checking build system type... $ECHO_C" >&6
964
if test "${ac_cv_build+set}" = set; then
965
echo $ECHO_N "(cached) $ECHO_C" >&6
967
ac_cv_build_alias=$build_alias
968
test -z "$ac_cv_build_alias" &&
969
ac_cv_build_alias=`$ac_config_guess`
970
test -z "$ac_cv_build_alias" &&
971
{ { echo "$as_me:971: error: cannot guess build type; you must specify one" >&5
972
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
973
{ (exit 1); exit 1; }; }
974
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
975
{ { echo "$as_me:975: error: $ac_config_sub $ac_cv_build_alias failed." >&5
976
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
977
{ (exit 1); exit 1; }; }
980
echo "$as_me:980: result: $ac_cv_build" >&5
981
echo "${ECHO_T}$ac_cv_build" >&6
983
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
984
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
985
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
987
echo "$as_me:987: checking host system type" >&5
988
echo $ECHO_N "checking host system type... $ECHO_C" >&6
989
if test "${ac_cv_host+set}" = set; then
990
echo $ECHO_N "(cached) $ECHO_C" >&6
992
ac_cv_host_alias=$host_alias
993
test -z "$ac_cv_host_alias" &&
994
ac_cv_host_alias=$ac_cv_build_alias
995
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
996
{ { echo "$as_me:996: error: $ac_config_sub $ac_cv_host_alias failed" >&5
997
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
998
{ (exit 1); exit 1; }; }
1001
echo "$as_me:1001: result: $ac_cv_host" >&5
1002
echo "${ECHO_T}$ac_cv_host" >&6
1004
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1005
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1006
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1008
echo "$as_me:1008: checking cached host tuple" >&5
1009
echo $ECHO_N "checking cached host tuple... $ECHO_C" >&6
1010
if { test x"${ac_cv_host_system_type+set}" = x"set" &&
1011
test x"$ac_cv_host_system_type" != x"$host"; }; then
1012
echo "$as_me:1012: result: different" >&5
1013
echo "${ECHO_T}different" >&6
1014
{ { echo "$as_me:1014: error: remove config.cache and re-run configure" >&5
1015
echo "$as_me: error: remove config.cache and re-run configure" >&2;}
1016
{ (exit 1); exit 1; }; }
1018
echo "$as_me:1018: result: ok" >&5
1019
echo "${ECHO_T}ok" >&6
1021
ac_cv_host_system_type="$host"
1025
## Alpha (DEC) machines.
1027
tcsh_config_file=decosf1
1032
tcsh_config_file=ultrix
1037
tcsh_config_file=dgux5.4
1040
tcsh_config_file=dgux5.4
1045
tcsh_config_file=hpux7
1048
tcsh_config_file=hpux8
1051
tcsh_config_file=hpux8
1056
tcsh_config_file=aix
1061
CC='cc -h0,ansi,novector,float0'
1063
tcsh_config_file=superux8
1068
tcsh_config_file=linux
1072
m68k-motorola-sysv* )
1073
tcsh_config_file=sysV68
1075
m88k-motorola-sysv3* )
1076
tcsh_config_file=sysV88
1081
tcsh_config_file=bsd4.4
1086
tcsh_config_file=bsd4.4
1091
tcsh_config_file=bsd4.4
1096
tcsh_config_file=bsd4.4
1101
tcsh_config_file=bsd4.4
1106
tcsh_config_file=bsd4.4
1109
## Silicon Graphics machines
1111
tcsh_config_file=irix
1112
case "${host_os}" in
1113
irix[34]*) # Irix-3.x - Irix 4.x
1114
NON_GNU_DFLAGS='-D__STDC__'
1115
LIBS='-lsun -lbsd -lc_s'
1117
irix5* | irix6.[01]*) # Irix 5.x, Irix 6.0 - 6.1
1120
irix6.[2-9]*) # Irix 6.2 and later
1121
tcsh_config_file=irix62
1128
tcsh_config_file=sunos35
1131
tcsh_config_file=sunos40
1133
*-sun-sunos4.1.[12]* )
1134
tcsh_config_file=sunos41
1136
*-sun-sunos4.1.[3456]* )
1137
tcsh_config_file=sunos413
1139
*-*-solaris2.[01]* ) # Should handle sparc or x86
1140
tcsh_config_file=sol2
1142
*-sun-solaris2.2* ) # Sparc only release
1143
tcsh_config_file=sol22
1145
*-sun-solaris2.3* ) # Sparc only release
1146
tcsh_config_file=sol23
1148
*-*-solaris2.[45]* ) # Should handle sparc, x86 and powerpc
1149
tcsh_config_file=sol24
1151
*-*-solaris2.7 ) # Should handle sparc, x86 and powerpc
1152
tcsh_config_file=sol26
1155
*-*-solaris2.* ) # Should handle sparc, x86 and powerpc
1156
tcsh_config_file=sol26
1160
tcsh_config_file=sysv4
1161
DFLAGS="$DFLAGS -DDELL"
1164
## SVR4 (Generic and otherwise)
1166
tcsh_config_file=sysv4
1169
## Tektronix systems
1170
m68k-tektronix-bsd* )
1171
tcsh_config_file=bsd
1172
NON_GNU_DFLAGS='-DBSD -DUTek'
1174
m88k-tektronix-sysv3* )
1175
tcsh_config_file=tekXD88
1180
tcsh_config_file=sco32v5
1183
tcsh_config_file=sco32v4
1186
tcsh_config_file=sco32v2
1189
## Siemens BS2000 Mainframe
1190
bs2000-siemens-posix)
1191
tcsh_config_file=bs2000
1196
tcsh_config_file=convex
1201
tcsh_config_file=cray
1206
tcsh_config_file=cygwin32
1210
{ { echo "$as_me:1210: error: Tcsh can't guess the configuration file name
1211
for \`${host}' systems.
1212
Check tcsh's \`Ported' file for manual configuration instructions." >&5
1213
echo "$as_me: error: Tcsh can't guess the configuration file name
1214
for \`${host}' systems.
1215
Check tcsh's \`Ported' file for manual configuration instructions." >&2;}
1216
{ (exit 1); exit 1; }; }
1221
echo "Tcsh will use configuration file \`$tcsh_config_file'."
1223
ac_config_headers="$ac_config_headers config.h:config/${tcsh_config_file}:config.h.in"
1226
ac_cpp='$CPP $CPPFLAGS'
1227
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1228
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1229
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1230
if test -n "$ac_tool_prefix"; then
1231
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1232
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1233
echo "$as_me:1233: checking for $ac_word" >&5
1234
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1235
if test "${ac_cv_prog_CC+set}" = set; then
1236
echo $ECHO_N "(cached) $ECHO_C" >&6
1238
if test -n "$CC"; then
1239
ac_cv_prog_CC="$CC" # Let the user override the test.
1241
ac_save_IFS=$IFS; IFS=$ac_path_separator
1243
for ac_dir in $ac_dummy; do
1245
test -z "$ac_dir" && ac_dir=.
1246
$as_executable_p "$ac_dir/$ac_word" || continue
1247
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1248
echo "$as_me:1248: found $ac_dir/$ac_word" >&5
1255
if test -n "$CC"; then
1256
echo "$as_me:1256: result: $CC" >&5
1257
echo "${ECHO_T}$CC" >&6
1259
echo "$as_me:1259: result: no" >&5
1260
echo "${ECHO_T}no" >&6
1264
if test -z "$ac_cv_prog_CC"; then
1266
# Extract the first word of "gcc", so it can be a program name with args.
1267
set dummy gcc; ac_word=$2
1268
echo "$as_me:1268: checking for $ac_word" >&5
1269
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1270
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1271
echo $ECHO_N "(cached) $ECHO_C" >&6
1273
if test -n "$ac_ct_CC"; then
1274
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1276
ac_save_IFS=$IFS; IFS=$ac_path_separator
1278
for ac_dir in $ac_dummy; do
1280
test -z "$ac_dir" && ac_dir=.
1281
$as_executable_p "$ac_dir/$ac_word" || continue
1282
ac_cv_prog_ac_ct_CC="gcc"
1283
echo "$as_me:1283: found $ac_dir/$ac_word" >&5
1289
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1290
if test -n "$ac_ct_CC"; then
1291
echo "$as_me:1291: result: $ac_ct_CC" >&5
1292
echo "${ECHO_T}$ac_ct_CC" >&6
1294
echo "$as_me:1294: result: no" >&5
1295
echo "${ECHO_T}no" >&6
1303
if test -z "$CC"; then
1304
if test -n "$ac_tool_prefix"; then
1305
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1306
set dummy ${ac_tool_prefix}cc; ac_word=$2
1307
echo "$as_me:1307: checking for $ac_word" >&5
1308
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1309
if test "${ac_cv_prog_CC+set}" = set; then
1310
echo $ECHO_N "(cached) $ECHO_C" >&6
1312
if test -n "$CC"; then
1313
ac_cv_prog_CC="$CC" # Let the user override the test.
1315
ac_save_IFS=$IFS; IFS=$ac_path_separator
1317
for ac_dir in $ac_dummy; do
1319
test -z "$ac_dir" && ac_dir=.
1320
$as_executable_p "$ac_dir/$ac_word" || continue
1321
ac_cv_prog_CC="${ac_tool_prefix}cc"
1322
echo "$as_me:1322: found $ac_dir/$ac_word" >&5
1329
if test -n "$CC"; then
1330
echo "$as_me:1330: result: $CC" >&5
1331
echo "${ECHO_T}$CC" >&6
1333
echo "$as_me:1333: result: no" >&5
1334
echo "${ECHO_T}no" >&6
1338
if test -z "$ac_cv_prog_CC"; then
1340
# Extract the first word of "cc", so it can be a program name with args.
1341
set dummy cc; ac_word=$2
1342
echo "$as_me:1342: checking for $ac_word" >&5
1343
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1344
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1345
echo $ECHO_N "(cached) $ECHO_C" >&6
1347
if test -n "$ac_ct_CC"; then
1348
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1350
ac_save_IFS=$IFS; IFS=$ac_path_separator
1352
for ac_dir in $ac_dummy; do
1354
test -z "$ac_dir" && ac_dir=.
1355
$as_executable_p "$ac_dir/$ac_word" || continue
1356
ac_cv_prog_ac_ct_CC="cc"
1357
echo "$as_me:1357: found $ac_dir/$ac_word" >&5
1363
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1364
if test -n "$ac_ct_CC"; then
1365
echo "$as_me:1365: result: $ac_ct_CC" >&5
1366
echo "${ECHO_T}$ac_ct_CC" >&6
1368
echo "$as_me:1368: result: no" >&5
1369
echo "${ECHO_T}no" >&6
1378
if test -z "$CC"; then
1379
# Extract the first word of "cc", so it can be a program name with args.
1380
set dummy cc; ac_word=$2
1381
echo "$as_me:1381: checking for $ac_word" >&5
1382
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1383
if test "${ac_cv_prog_CC+set}" = set; then
1384
echo $ECHO_N "(cached) $ECHO_C" >&6
1386
if test -n "$CC"; then
1387
ac_cv_prog_CC="$CC" # Let the user override the test.
1390
ac_save_IFS=$IFS; IFS=$ac_path_separator
1392
for ac_dir in $ac_dummy; do
1394
test -z "$ac_dir" && ac_dir=.
1395
$as_executable_p "$ac_dir/$ac_word" || continue
1396
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1397
ac_prog_rejected=yes
1401
echo "$as_me:1401: found $ac_dir/$ac_word" >&5
1405
if test $ac_prog_rejected = yes; then
1406
# We found a bogon in the path, so make sure we never use it.
1407
set dummy $ac_cv_prog_CC
1409
if test $# != 0; then
1410
# We chose a different compiler from the bogus one.
1411
# However, it has the same basename, so the bogon will be chosen
1412
# first if we set CC to just the basename; use the full file name.
1414
set dummy "$ac_dir/$ac_word" ${1+"$@"}
1422
if test -n "$CC"; then
1423
echo "$as_me:1423: result: $CC" >&5
1424
echo "${ECHO_T}$CC" >&6
1426
echo "$as_me:1426: result: no" >&5
1427
echo "${ECHO_T}no" >&6
1431
if test -z "$CC"; then
1432
if test -n "$ac_tool_prefix"; then
1435
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1436
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1437
echo "$as_me:1437: checking for $ac_word" >&5
1438
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1439
if test "${ac_cv_prog_CC+set}" = set; then
1440
echo $ECHO_N "(cached) $ECHO_C" >&6
1442
if test -n "$CC"; then
1443
ac_cv_prog_CC="$CC" # Let the user override the test.
1445
ac_save_IFS=$IFS; IFS=$ac_path_separator
1447
for ac_dir in $ac_dummy; do
1449
test -z "$ac_dir" && ac_dir=.
1450
$as_executable_p "$ac_dir/$ac_word" || continue
1451
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1452
echo "$as_me:1452: found $ac_dir/$ac_word" >&5
1459
if test -n "$CC"; then
1460
echo "$as_me:1460: result: $CC" >&5
1461
echo "${ECHO_T}$CC" >&6
1463
echo "$as_me:1463: result: no" >&5
1464
echo "${ECHO_T}no" >&6
1467
test -n "$CC" && break
1470
if test -z "$CC"; then
1474
# Extract the first word of "$ac_prog", so it can be a program name with args.
1475
set dummy $ac_prog; ac_word=$2
1476
echo "$as_me:1476: checking for $ac_word" >&5
1477
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1478
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1479
echo $ECHO_N "(cached) $ECHO_C" >&6
1481
if test -n "$ac_ct_CC"; then
1482
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1484
ac_save_IFS=$IFS; IFS=$ac_path_separator
1486
for ac_dir in $ac_dummy; do
1488
test -z "$ac_dir" && ac_dir=.
1489
$as_executable_p "$ac_dir/$ac_word" || continue
1490
ac_cv_prog_ac_ct_CC="$ac_prog"
1491
echo "$as_me:1491: found $ac_dir/$ac_word" >&5
1497
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1498
if test -n "$ac_ct_CC"; then
1499
echo "$as_me:1499: result: $ac_ct_CC" >&5
1500
echo "${ECHO_T}$ac_ct_CC" >&6
1502
echo "$as_me:1502: result: no" >&5
1503
echo "${ECHO_T}no" >&6
1506
test -n "$ac_ct_CC" && break
1514
test -z "$CC" && { { echo "$as_me:1514: error: no acceptable cc found in \$PATH" >&5
1515
echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1516
{ (exit 1); exit 1; }; }
1518
# Provide some information about the compiler.
1519
echo "$as_me:1519:" \
1520
"checking for C compiler version" >&5
1521
ac_compiler=`set X $ac_compile; echo $2`
1522
{ (eval echo "$as_me:1522: \"$ac_compiler --version </dev/null >&5\"") >&5
1523
(eval $ac_compiler --version </dev/null >&5) 2>&5
1525
echo "$as_me:1525: \$? = $ac_status" >&5
1526
(exit $ac_status); }
1527
{ (eval echo "$as_me:1527: \"$ac_compiler -v </dev/null >&5\"") >&5
1528
(eval $ac_compiler -v </dev/null >&5) 2>&5
1530
echo "$as_me:1530: \$? = $ac_status" >&5
1531
(exit $ac_status); }
1532
{ (eval echo "$as_me:1532: \"$ac_compiler -V </dev/null >&5\"") >&5
1533
(eval $ac_compiler -V </dev/null >&5) 2>&5
1535
echo "$as_me:1535: \$? = $ac_status" >&5
1536
(exit $ac_status); }
1538
cat >conftest.$ac_ext <<_ACEOF
1539
#line 1539 "configure"
1540
#include "confdefs.h"
1550
ac_clean_files_save=$ac_clean_files
1551
ac_clean_files="$ac_clean_files a.out a.exe"
1552
# Try to create an executable without -o first, disregard a.out.
1553
# It will help us diagnose broken compilers, and finding out an intuition
1555
echo "$as_me:1555: checking for C compiler default output" >&5
1556
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1557
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1558
if { (eval echo "$as_me:1558: \"$ac_link_default\"") >&5
1559
(eval $ac_link_default) 2>&5
1561
echo "$as_me:1561: \$? = $ac_status" >&5
1562
(exit $ac_status); }; then
1563
# Find the output, starting from the most likely. This scheme is
1564
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1566
for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1567
ls a.out conftest 2>/dev/null;
1568
ls a.* conftest.* 2>/dev/null`; do
1570
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1571
a.out ) # We found the default executable, but exeext='' is most
1574
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1575
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1582
echo "$as_me: failed program was:" >&5
1583
cat conftest.$ac_ext >&5
1584
{ { echo "$as_me:1584: error: C compiler cannot create executables" >&5
1585
echo "$as_me: error: C compiler cannot create executables" >&2;}
1586
{ (exit 77); exit 77; }; }
1589
ac_exeext=$ac_cv_exeext
1590
echo "$as_me:1590: result: $ac_file" >&5
1591
echo "${ECHO_T}$ac_file" >&6
1593
# Check the compiler produces executables we can run. If not, either
1594
# the compiler is broken, or we cross compile.
1595
echo "$as_me:1595: checking whether the C compiler works" >&5
1596
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1597
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1598
# If not cross compiling, check that we can run a simple program.
1599
if test "$cross_compiling" != yes; then
1600
if { ac_try='./$ac_file'
1601
{ (eval echo "$as_me:1601: \"$ac_try\"") >&5
1604
echo "$as_me:1604: \$? = $ac_status" >&5
1605
(exit $ac_status); }; }; then
1608
if test "$cross_compiling" = maybe; then
1611
{ { echo "$as_me:1611: error: cannot run C compiled programs.
1612
If you meant to cross compile, use \`--host'." >&5
1613
echo "$as_me: error: cannot run C compiled programs.
1614
If you meant to cross compile, use \`--host'." >&2;}
1615
{ (exit 1); exit 1; }; }
1619
echo "$as_me:1619: result: yes" >&5
1620
echo "${ECHO_T}yes" >&6
1622
rm -f a.out a.exe conftest$ac_cv_exeext
1623
ac_clean_files=$ac_clean_files_save
1624
# Check the compiler produces executables we can run. If not, either
1625
# the compiler is broken, or we cross compile.
1626
echo "$as_me:1626: checking whether we are cross compiling" >&5
1627
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1628
echo "$as_me:1628: result: $cross_compiling" >&5
1629
echo "${ECHO_T}$cross_compiling" >&6
1631
echo "$as_me:1631: checking for executable suffix" >&5
1632
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1633
if { (eval echo "$as_me:1633: \"$ac_link\"") >&5
1634
(eval $ac_link) 2>&5
1636
echo "$as_me:1636: \$? = $ac_status" >&5
1637
(exit $ac_status); }; then
1638
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1639
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1640
# work properly (i.e., refer to `conftest.exe'), while it won't with
1642
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1644
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1645
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1652
{ { echo "$as_me:1652: error: cannot compute EXEEXT: cannot compile and link" >&5
1653
echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1654
{ (exit 1); exit 1; }; }
1657
rm -f conftest$ac_cv_exeext
1658
echo "$as_me:1658: result: $ac_cv_exeext" >&5
1659
echo "${ECHO_T}$ac_cv_exeext" >&6
1661
rm -f conftest.$ac_ext
1662
EXEEXT=$ac_cv_exeext
1664
echo "$as_me:1664: checking for object suffix" >&5
1665
echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1666
if test "${ac_cv_objext+set}" = set; then
1667
echo $ECHO_N "(cached) $ECHO_C" >&6
1669
cat >conftest.$ac_ext <<_ACEOF
1670
#line 1670 "configure"
1671
#include "confdefs.h"
1681
rm -f conftest.o conftest.obj
1682
if { (eval echo "$as_me:1682: \"$ac_compile\"") >&5
1683
(eval $ac_compile) 2>&5
1685
echo "$as_me:1685: \$? = $ac_status" >&5
1686
(exit $ac_status); }; then
1687
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1689
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1690
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1695
echo "$as_me: failed program was:" >&5
1696
cat conftest.$ac_ext >&5
1697
{ { echo "$as_me:1697: error: cannot compute OBJEXT: cannot compile" >&5
1698
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1699
{ (exit 1); exit 1; }; }
1702
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1704
echo "$as_me:1704: result: $ac_cv_objext" >&5
1705
echo "${ECHO_T}$ac_cv_objext" >&6
1706
OBJEXT=$ac_cv_objext
1708
echo "$as_me:1708: checking whether we are using the GNU C compiler" >&5
1709
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1710
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1711
echo $ECHO_N "(cached) $ECHO_C" >&6
1713
cat >conftest.$ac_ext <<_ACEOF
1714
#line 1714 "configure"
1715
#include "confdefs.h"
1728
rm -f conftest.$ac_objext
1729
if { (eval echo "$as_me:1729: \"$ac_compile\"") >&5
1730
(eval $ac_compile) 2>&5
1732
echo "$as_me:1732: \$? = $ac_status" >&5
1733
(exit $ac_status); } &&
1734
{ ac_try='test -s conftest.$ac_objext'
1735
{ (eval echo "$as_me:1735: \"$ac_try\"") >&5
1738
echo "$as_me:1738: \$? = $ac_status" >&5
1739
(exit $ac_status); }; }; then
1742
echo "$as_me: failed program was:" >&5
1743
cat conftest.$ac_ext >&5
1746
rm -f conftest.$ac_objext conftest.$ac_ext
1747
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1750
echo "$as_me:1750: result: $ac_cv_c_compiler_gnu" >&5
1751
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1752
GCC=`test $ac_compiler_gnu = yes && echo yes`
1753
ac_test_CFLAGS=${CFLAGS+set}
1754
ac_save_CFLAGS=$CFLAGS
1756
echo "$as_me:1756: checking whether $CC accepts -g" >&5
1757
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1758
if test "${ac_cv_prog_cc_g+set}" = set; then
1759
echo $ECHO_N "(cached) $ECHO_C" >&6
1761
cat >conftest.$ac_ext <<_ACEOF
1762
#line 1762 "configure"
1763
#include "confdefs.h"
1773
rm -f conftest.$ac_objext
1774
if { (eval echo "$as_me:1774: \"$ac_compile\"") >&5
1775
(eval $ac_compile) 2>&5
1777
echo "$as_me:1777: \$? = $ac_status" >&5
1778
(exit $ac_status); } &&
1779
{ ac_try='test -s conftest.$ac_objext'
1780
{ (eval echo "$as_me:1780: \"$ac_try\"") >&5
1783
echo "$as_me:1783: \$? = $ac_status" >&5
1784
(exit $ac_status); }; }; then
1787
echo "$as_me: failed program was:" >&5
1788
cat conftest.$ac_ext >&5
1791
rm -f conftest.$ac_objext conftest.$ac_ext
1793
echo "$as_me:1793: result: $ac_cv_prog_cc_g" >&5
1794
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1795
if test "$ac_test_CFLAGS" = set; then
1796
CFLAGS=$ac_save_CFLAGS
1797
elif test $ac_cv_prog_cc_g = yes; then
1798
if test "$GCC" = yes; then
1804
if test "$GCC" = yes; then
1810
# Some people use a C++ compiler to compile C. Since we use `exit',
1811
# in C++ we need to declare it. In case someone uses the same compiler
1812
# for both compiling C and C++ we need to have the C++ compiler decide
1813
# the declaration of exit, since it's the most demanding environment.
1814
cat >conftest.$ac_ext <<_ACEOF
1819
rm -f conftest.$ac_objext
1820
if { (eval echo "$as_me:1820: \"$ac_compile\"") >&5
1821
(eval $ac_compile) 2>&5
1823
echo "$as_me:1823: \$? = $ac_status" >&5
1824
(exit $ac_status); } &&
1825
{ ac_try='test -s conftest.$ac_objext'
1826
{ (eval echo "$as_me:1826: \"$ac_try\"") >&5
1829
echo "$as_me:1829: \$? = $ac_status" >&5
1830
(exit $ac_status); }; }; then
1831
for ac_declaration in \
1833
'#include <stdlib.h>' \
1834
'extern "C" void std::exit (int) throw (); using std::exit;' \
1835
'extern "C" void std::exit (int); using std::exit;' \
1836
'extern "C" void exit (int) throw ();' \
1837
'extern "C" void exit (int);' \
1840
cat >conftest.$ac_ext <<_ACEOF
1841
#line 1841 "configure"
1842
#include "confdefs.h"
1853
rm -f conftest.$ac_objext
1854
if { (eval echo "$as_me:1854: \"$ac_compile\"") >&5
1855
(eval $ac_compile) 2>&5
1857
echo "$as_me:1857: \$? = $ac_status" >&5
1858
(exit $ac_status); } &&
1859
{ ac_try='test -s conftest.$ac_objext'
1860
{ (eval echo "$as_me:1860: \"$ac_try\"") >&5
1863
echo "$as_me:1863: \$? = $ac_status" >&5
1864
(exit $ac_status); }; }; then
1867
echo "$as_me: failed program was:" >&5
1868
cat conftest.$ac_ext >&5
1871
rm -f conftest.$ac_objext conftest.$ac_ext
1872
cat >conftest.$ac_ext <<_ACEOF
1873
#line 1873 "configure"
1874
#include "confdefs.h"
1884
rm -f conftest.$ac_objext
1885
if { (eval echo "$as_me:1885: \"$ac_compile\"") >&5
1886
(eval $ac_compile) 2>&5
1888
echo "$as_me:1888: \$? = $ac_status" >&5
1889
(exit $ac_status); } &&
1890
{ ac_try='test -s conftest.$ac_objext'
1891
{ (eval echo "$as_me:1891: \"$ac_try\"") >&5
1894
echo "$as_me:1894: \$? = $ac_status" >&5
1895
(exit $ac_status); }; }; then
1898
echo "$as_me: failed program was:" >&5
1899
cat conftest.$ac_ext >&5
1901
rm -f conftest.$ac_objext conftest.$ac_ext
1904
if test -n "$ac_declaration"; then
1905
echo '#ifdef __cplusplus' >>confdefs.h
1906
echo $ac_declaration >>confdefs.h
1907
echo '#endif' >>confdefs.h
1911
echo "$as_me: failed program was:" >&5
1912
cat conftest.$ac_ext >&5
1914
rm -f conftest.$ac_objext conftest.$ac_ext
1916
ac_cpp='$CPP $CPPFLAGS'
1917
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1918
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1919
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1922
ac_cpp='$CPP $CPPFLAGS'
1923
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1924
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1925
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1926
echo "$as_me:1926: checking how to run the C preprocessor" >&5
1927
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1928
# On Suns, sometimes $CPP names a directory.
1929
if test -n "$CPP" && test -d "$CPP"; then
1932
if test -z "$CPP"; then
1933
if test "${ac_cv_prog_CPP+set}" = set; then
1934
echo $ECHO_N "(cached) $ECHO_C" >&6
1936
# Double quotes because CPP needs to be expanded
1937
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1940
for ac_c_preproc_warn_flag in '' yes
1942
# Use a header file that comes with gcc, so configuring glibc
1943
# with a fresh cross-compiler works.
1944
# On the NeXT, cc -E runs the code through the compiler's parser,
1945
# not just through cpp. "Syntax error" is here to catch this case.
1946
cat >conftest.$ac_ext <<_ACEOF
1947
#line 1947 "configure"
1948
#include "confdefs.h"
1952
if { (eval echo "$as_me:1952: \"$ac_cpp conftest.$ac_ext\"") >&5
1953
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1955
egrep -v '^ *\+' conftest.er1 >conftest.err
1957
cat conftest.err >&5
1958
echo "$as_me:1958: \$? = $ac_status" >&5
1959
(exit $ac_status); } >/dev/null; then
1960
if test -s conftest.err; then
1961
ac_cpp_err=$ac_c_preproc_warn_flag
1968
if test -z "$ac_cpp_err"; then
1971
echo "$as_me: failed program was:" >&5
1972
cat conftest.$ac_ext >&5
1973
# Broken: fails on valid input.
1976
rm -f conftest.err conftest.$ac_ext
1978
# OK, works on sane cases. Now check whether non-existent headers
1979
# can be detected and how.
1980
cat >conftest.$ac_ext <<_ACEOF
1981
#line 1981 "configure"
1982
#include "confdefs.h"
1983
#include <ac_nonexistent.h>
1985
if { (eval echo "$as_me:1985: \"$ac_cpp conftest.$ac_ext\"") >&5
1986
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1988
egrep -v '^ *\+' conftest.er1 >conftest.err
1990
cat conftest.err >&5
1991
echo "$as_me:1991: \$? = $ac_status" >&5
1992
(exit $ac_status); } >/dev/null; then
1993
if test -s conftest.err; then
1994
ac_cpp_err=$ac_c_preproc_warn_flag
2001
if test -z "$ac_cpp_err"; then
2002
# Broken: success on invalid input.
2005
echo "$as_me: failed program was:" >&5
2006
cat conftest.$ac_ext >&5
2007
# Passes both tests.
2011
rm -f conftest.err conftest.$ac_ext
2014
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2015
rm -f conftest.err conftest.$ac_ext
2016
if $ac_preproc_ok; then
2028
echo "$as_me:2028: result: $CPP" >&5
2029
echo "${ECHO_T}$CPP" >&6
2031
for ac_c_preproc_warn_flag in '' yes
2033
# Use a header file that comes with gcc, so configuring glibc
2034
# with a fresh cross-compiler works.
2035
# On the NeXT, cc -E runs the code through the compiler's parser,
2036
# not just through cpp. "Syntax error" is here to catch this case.
2037
cat >conftest.$ac_ext <<_ACEOF
2038
#line 2038 "configure"
2039
#include "confdefs.h"
2043
if { (eval echo "$as_me:2043: \"$ac_cpp conftest.$ac_ext\"") >&5
2044
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2046
egrep -v '^ *\+' conftest.er1 >conftest.err
2048
cat conftest.err >&5
2049
echo "$as_me:2049: \$? = $ac_status" >&5
2050
(exit $ac_status); } >/dev/null; then
2051
if test -s conftest.err; then
2052
ac_cpp_err=$ac_c_preproc_warn_flag
2059
if test -z "$ac_cpp_err"; then
2062
echo "$as_me: failed program was:" >&5
2063
cat conftest.$ac_ext >&5
2064
# Broken: fails on valid input.
2067
rm -f conftest.err conftest.$ac_ext
2069
# OK, works on sane cases. Now check whether non-existent headers
2070
# can be detected and how.
2071
cat >conftest.$ac_ext <<_ACEOF
2072
#line 2072 "configure"
2073
#include "confdefs.h"
2074
#include <ac_nonexistent.h>
2076
if { (eval echo "$as_me:2076: \"$ac_cpp conftest.$ac_ext\"") >&5
2077
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2079
egrep -v '^ *\+' conftest.er1 >conftest.err
2081
cat conftest.err >&5
2082
echo "$as_me:2082: \$? = $ac_status" >&5
2083
(exit $ac_status); } >/dev/null; then
2084
if test -s conftest.err; then
2085
ac_cpp_err=$ac_c_preproc_warn_flag
2092
if test -z "$ac_cpp_err"; then
2093
# Broken: success on invalid input.
2096
echo "$as_me: failed program was:" >&5
2097
cat conftest.$ac_ext >&5
2098
# Passes both tests.
2102
rm -f conftest.err conftest.$ac_ext
2105
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2106
rm -f conftest.err conftest.$ac_ext
2107
if $ac_preproc_ok; then
2110
{ { echo "$as_me:2110: error: C preprocessor \"$CPP\" fails sanity check" >&5
2111
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2112
{ (exit 1); exit 1; }; }
2116
ac_cpp='$CPP $CPPFLAGS'
2117
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2118
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2119
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2121
if test $ac_cv_c_compiler_gnu = yes; then
2122
echo "$as_me:2122: checking whether $CC needs -traditional" >&5
2123
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
2124
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
2125
echo $ECHO_N "(cached) $ECHO_C" >&6
2127
ac_pattern="Autoconf.*'x'"
2128
cat >conftest.$ac_ext <<_ACEOF
2129
#line 2129 "configure"
2130
#include "confdefs.h"
2134
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2135
egrep "$ac_pattern" >/dev/null 2>&1; then
2136
ac_cv_prog_gcc_traditional=yes
2138
ac_cv_prog_gcc_traditional=no
2142
if test $ac_cv_prog_gcc_traditional = no; then
2143
cat >conftest.$ac_ext <<_ACEOF
2144
#line 2144 "configure"
2145
#include "confdefs.h"
2149
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2150
egrep "$ac_pattern" >/dev/null 2>&1; then
2151
ac_cv_prog_gcc_traditional=yes
2157
echo "$as_me:2157: result: $ac_cv_prog_gcc_traditional" >&5
2158
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
2159
if test $ac_cv_prog_gcc_traditional = yes; then
2160
CC="$CC -traditional"
2164
if test $ac_cv_c_compiler_gnu = no ; then
2165
DFLAGS="$DFLAGS $NON_GNU_DFLAGS"
2166
CFLAGS="$CFLAGS $NON_GNU_CFLAGS"
2169
echo "$as_me:2169: checking for library containing crypt" >&5
2170
echo $ECHO_N "checking for library containing crypt... $ECHO_C" >&6
2171
if test "${ac_cv_search_crypt+set}" = set; then
2172
echo $ECHO_N "(cached) $ECHO_C" >&6
2174
ac_func_search_save_LIBS=$LIBS
2175
ac_cv_search_crypt=no
2176
cat >conftest.$ac_ext <<_ACEOF
2177
#line 2177 "configure"
2178
#include "confdefs.h"
2180
/* Override any gcc2 internal prototype to avoid an error. */
2184
/* We use char because int might match the return type of a gcc2
2185
builtin and then its argument prototype would still apply. */
2195
rm -f conftest.$ac_objext conftest$ac_exeext
2196
if { (eval echo "$as_me:2196: \"$ac_link\"") >&5
2197
(eval $ac_link) 2>&5
2199
echo "$as_me:2199: \$? = $ac_status" >&5
2200
(exit $ac_status); } &&
2201
{ ac_try='test -s conftest$ac_exeext'
2202
{ (eval echo "$as_me:2202: \"$ac_try\"") >&5
2205
echo "$as_me:2205: \$? = $ac_status" >&5
2206
(exit $ac_status); }; }; then
2207
ac_cv_search_crypt="none required"
2209
echo "$as_me: failed program was:" >&5
2210
cat conftest.$ac_ext >&5
2212
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2213
if test "$ac_cv_search_crypt" = no; then
2214
for ac_lib in crypt; do
2215
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2216
cat >conftest.$ac_ext <<_ACEOF
2217
#line 2217 "configure"
2218
#include "confdefs.h"
2220
/* Override any gcc2 internal prototype to avoid an error. */
2224
/* We use char because int might match the return type of a gcc2
2225
builtin and then its argument prototype would still apply. */
2235
rm -f conftest.$ac_objext conftest$ac_exeext
2236
if { (eval echo "$as_me:2236: \"$ac_link\"") >&5
2237
(eval $ac_link) 2>&5
2239
echo "$as_me:2239: \$? = $ac_status" >&5
2240
(exit $ac_status); } &&
2241
{ ac_try='test -s conftest$ac_exeext'
2242
{ (eval echo "$as_me:2242: \"$ac_try\"") >&5
2245
echo "$as_me:2245: \$? = $ac_status" >&5
2246
(exit $ac_status); }; }; then
2247
ac_cv_search_crypt="-l$ac_lib"
2250
echo "$as_me: failed program was:" >&5
2251
cat conftest.$ac_ext >&5
2253
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2256
LIBS=$ac_func_search_save_LIBS
2258
echo "$as_me:2258: result: $ac_cv_search_crypt" >&5
2259
echo "${ECHO_T}$ac_cv_search_crypt" >&6
2260
if test "$ac_cv_search_crypt" != no; then
2261
test "$ac_cv_search_crypt" = "none required" || LIBS="$ac_cv_search_crypt $LIBS"
2265
echo "$as_me:2265: checking for library containing tgetent" >&5
2266
echo $ECHO_N "checking for library containing tgetent... $ECHO_C" >&6
2267
if test "${ac_cv_search_tgetent+set}" = set; then
2268
echo $ECHO_N "(cached) $ECHO_C" >&6
2270
ac_func_search_save_LIBS=$LIBS
2271
ac_cv_search_tgetent=no
2272
cat >conftest.$ac_ext <<_ACEOF
2273
#line 2273 "configure"
2274
#include "confdefs.h"
2276
/* Override any gcc2 internal prototype to avoid an error. */
2280
/* We use char because int might match the return type of a gcc2
2281
builtin and then its argument prototype would still apply. */
2291
rm -f conftest.$ac_objext conftest$ac_exeext
2292
if { (eval echo "$as_me:2292: \"$ac_link\"") >&5
2293
(eval $ac_link) 2>&5
2295
echo "$as_me:2295: \$? = $ac_status" >&5
2296
(exit $ac_status); } &&
2297
{ ac_try='test -s conftest$ac_exeext'
2298
{ (eval echo "$as_me:2298: \"$ac_try\"") >&5
2301
echo "$as_me:2301: \$? = $ac_status" >&5
2302
(exit $ac_status); }; }; then
2303
ac_cv_search_tgetent="none required"
2305
echo "$as_me: failed program was:" >&5
2306
cat conftest.$ac_ext >&5
2308
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2309
if test "$ac_cv_search_tgetent" = no; then
2310
for ac_lib in termlib ncurses curses termcap; do
2311
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2312
cat >conftest.$ac_ext <<_ACEOF
2313
#line 2313 "configure"
2314
#include "confdefs.h"
2316
/* Override any gcc2 internal prototype to avoid an error. */
2320
/* We use char because int might match the return type of a gcc2
2321
builtin and then its argument prototype would still apply. */
2331
rm -f conftest.$ac_objext conftest$ac_exeext
2332
if { (eval echo "$as_me:2332: \"$ac_link\"") >&5
2333
(eval $ac_link) 2>&5
2335
echo "$as_me:2335: \$? = $ac_status" >&5
2336
(exit $ac_status); } &&
2337
{ ac_try='test -s conftest$ac_exeext'
2338
{ (eval echo "$as_me:2338: \"$ac_try\"") >&5
2341
echo "$as_me:2341: \$? = $ac_status" >&5
2342
(exit $ac_status); }; }; then
2343
ac_cv_search_tgetent="-l$ac_lib"
2346
echo "$as_me: failed program was:" >&5
2347
cat conftest.$ac_ext >&5
2349
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2352
LIBS=$ac_func_search_save_LIBS
2354
echo "$as_me:2354: result: $ac_cv_search_tgetent" >&5
2355
echo "${ECHO_T}$ac_cv_search_tgetent" >&6
2356
if test "$ac_cv_search_tgetent" != no; then
2357
test "$ac_cv_search_tgetent" = "none required" || LIBS="$ac_cv_search_tgetent $LIBS"
2361
echo "$as_me:2361: checking for library containing gethostbyname" >&5
2362
echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
2363
if test "${ac_cv_search_gethostbyname+set}" = set; then
2364
echo $ECHO_N "(cached) $ECHO_C" >&6
2366
ac_func_search_save_LIBS=$LIBS
2367
ac_cv_search_gethostbyname=no
2368
cat >conftest.$ac_ext <<_ACEOF
2369
#line 2369 "configure"
2370
#include "confdefs.h"
2372
/* Override any gcc2 internal prototype to avoid an error. */
2376
/* We use char because int might match the return type of a gcc2
2377
builtin and then its argument prototype would still apply. */
2378
char gethostbyname ();
2387
rm -f conftest.$ac_objext conftest$ac_exeext
2388
if { (eval echo "$as_me:2388: \"$ac_link\"") >&5
2389
(eval $ac_link) 2>&5
2391
echo "$as_me:2391: \$? = $ac_status" >&5
2392
(exit $ac_status); } &&
2393
{ ac_try='test -s conftest$ac_exeext'
2394
{ (eval echo "$as_me:2394: \"$ac_try\"") >&5
2397
echo "$as_me:2397: \$? = $ac_status" >&5
2398
(exit $ac_status); }; }; then
2399
ac_cv_search_gethostbyname="none required"
2401
echo "$as_me: failed program was:" >&5
2402
cat conftest.$ac_ext >&5
2404
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2405
if test "$ac_cv_search_gethostbyname" = no; then
2406
for ac_lib in nsl; do
2407
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2408
cat >conftest.$ac_ext <<_ACEOF
2409
#line 2409 "configure"
2410
#include "confdefs.h"
2412
/* Override any gcc2 internal prototype to avoid an error. */
2416
/* We use char because int might match the return type of a gcc2
2417
builtin and then its argument prototype would still apply. */
2418
char gethostbyname ();
2427
rm -f conftest.$ac_objext conftest$ac_exeext
2428
if { (eval echo "$as_me:2428: \"$ac_link\"") >&5
2429
(eval $ac_link) 2>&5
2431
echo "$as_me:2431: \$? = $ac_status" >&5
2432
(exit $ac_status); } &&
2433
{ ac_try='test -s conftest$ac_exeext'
2434
{ (eval echo "$as_me:2434: \"$ac_try\"") >&5
2437
echo "$as_me:2437: \$? = $ac_status" >&5
2438
(exit $ac_status); }; }; then
2439
ac_cv_search_gethostbyname="-l$ac_lib"
2442
echo "$as_me: failed program was:" >&5
2443
cat conftest.$ac_ext >&5
2445
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2448
LIBS=$ac_func_search_save_LIBS
2450
echo "$as_me:2450: result: $ac_cv_search_gethostbyname" >&5
2451
echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
2452
if test "$ac_cv_search_gethostbyname" != no; then
2453
test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
2457
echo "$as_me:2457: checking for library containing connect" >&5
2458
echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6
2459
if test "${ac_cv_search_connect+set}" = set; then
2460
echo $ECHO_N "(cached) $ECHO_C" >&6
2462
ac_func_search_save_LIBS=$LIBS
2463
ac_cv_search_connect=no
2464
cat >conftest.$ac_ext <<_ACEOF
2465
#line 2465 "configure"
2466
#include "confdefs.h"
2468
/* Override any gcc2 internal prototype to avoid an error. */
2472
/* We use char because int might match the return type of a gcc2
2473
builtin and then its argument prototype would still apply. */
2483
rm -f conftest.$ac_objext conftest$ac_exeext
2484
if { (eval echo "$as_me:2484: \"$ac_link\"") >&5
2485
(eval $ac_link) 2>&5
2487
echo "$as_me:2487: \$? = $ac_status" >&5
2488
(exit $ac_status); } &&
2489
{ ac_try='test -s conftest$ac_exeext'
2490
{ (eval echo "$as_me:2490: \"$ac_try\"") >&5
2493
echo "$as_me:2493: \$? = $ac_status" >&5
2494
(exit $ac_status); }; }; then
2495
ac_cv_search_connect="none required"
2497
echo "$as_me: failed program was:" >&5
2498
cat conftest.$ac_ext >&5
2500
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2501
if test "$ac_cv_search_connect" = no; then
2502
for ac_lib in socket; do
2503
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2504
cat >conftest.$ac_ext <<_ACEOF
2505
#line 2505 "configure"
2506
#include "confdefs.h"
2508
/* Override any gcc2 internal prototype to avoid an error. */
2512
/* We use char because int might match the return type of a gcc2
2513
builtin and then its argument prototype would still apply. */
2523
rm -f conftest.$ac_objext conftest$ac_exeext
2524
if { (eval echo "$as_me:2524: \"$ac_link\"") >&5
2525
(eval $ac_link) 2>&5
2527
echo "$as_me:2527: \$? = $ac_status" >&5
2528
(exit $ac_status); } &&
2529
{ ac_try='test -s conftest$ac_exeext'
2530
{ (eval echo "$as_me:2530: \"$ac_try\"") >&5
2533
echo "$as_me:2533: \$? = $ac_status" >&5
2534
(exit $ac_status); }; }; then
2535
ac_cv_search_connect="-l$ac_lib"
2538
echo "$as_me: failed program was:" >&5
2539
cat conftest.$ac_ext >&5
2541
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2544
LIBS=$ac_func_search_save_LIBS
2546
echo "$as_me:2546: result: $ac_cv_search_connect" >&5
2547
echo "${ECHO_T}$ac_cv_search_connect" >&6
2548
if test "$ac_cv_search_connect" != no; then
2549
test "$ac_cv_search_connect" = "none required" || LIBS="$ac_cv_search_connect $LIBS"
2553
# Check whether --with-hesiod or --without-hesiod was given.
2554
if test "${with_hesiod+set}" = set; then
2555
withval="$with_hesiod"
2560
if test "$hesiod" != no; then
2562
echo "$as_me:2562: checking for res_send" >&5
2563
echo $ECHO_N "checking for res_send... $ECHO_C" >&6
2564
if test "${ac_cv_func_res_send+set}" = set; then
2565
echo $ECHO_N "(cached) $ECHO_C" >&6
2567
cat >conftest.$ac_ext <<_ACEOF
2568
#line 2568 "configure"
2569
#include "confdefs.h"
2570
/* System header to define __stub macros and hopefully few prototypes,
2571
which can conflict with char res_send (); below. */
2573
/* Override any gcc2 internal prototype to avoid an error. */
2577
/* We use char because int might match the return type of a gcc2
2578
builtin and then its argument prototype would still apply. */
2585
/* The GNU C library defines this for functions which it implements
2586
to always fail with ENOSYS. Some functions are actually named
2587
something starting with __ and the normal name is an alias. */
2588
#if defined (__stub_res_send) || defined (__stub___res_send)
2598
rm -f conftest.$ac_objext conftest$ac_exeext
2599
if { (eval echo "$as_me:2599: \"$ac_link\"") >&5
2600
(eval $ac_link) 2>&5
2602
echo "$as_me:2602: \$? = $ac_status" >&5
2603
(exit $ac_status); } &&
2604
{ ac_try='test -s conftest$ac_exeext'
2605
{ (eval echo "$as_me:2605: \"$ac_try\"") >&5
2608
echo "$as_me:2608: \$? = $ac_status" >&5
2609
(exit $ac_status); }; }; then
2610
ac_cv_func_res_send=yes
2612
echo "$as_me: failed program was:" >&5
2613
cat conftest.$ac_ext >&5
2614
ac_cv_func_res_send=no
2616
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2618
echo "$as_me:2618: result: $ac_cv_func_res_send" >&5
2619
echo "${ECHO_T}$ac_cv_func_res_send" >&6
2620
if test $ac_cv_func_res_send = yes; then
2623
echo "$as_me:2623: checking for res_send in -lresolv" >&5
2624
echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
2625
if test "${ac_cv_lib_resolv_res_send+set}" = set; then
2626
echo $ECHO_N "(cached) $ECHO_C" >&6
2628
ac_check_lib_save_LIBS=$LIBS
2629
LIBS="-lresolv $LIBS"
2630
cat >conftest.$ac_ext <<_ACEOF
2631
#line 2631 "configure"
2632
#include "confdefs.h"
2634
/* Override any gcc2 internal prototype to avoid an error. */
2638
/* We use char because int might match the return type of a gcc2
2639
builtin and then its argument prototype would still apply. */
2649
rm -f conftest.$ac_objext conftest$ac_exeext
2650
if { (eval echo "$as_me:2650: \"$ac_link\"") >&5
2651
(eval $ac_link) 2>&5
2653
echo "$as_me:2653: \$? = $ac_status" >&5
2654
(exit $ac_status); } &&
2655
{ ac_try='test -s conftest$ac_exeext'
2656
{ (eval echo "$as_me:2656: \"$ac_try\"") >&5
2659
echo "$as_me:2659: \$? = $ac_status" >&5
2660
(exit $ac_status); }; }; then
2661
ac_cv_lib_resolv_res_send=yes
2663
echo "$as_me: failed program was:" >&5
2664
cat conftest.$ac_ext >&5
2665
ac_cv_lib_resolv_res_send=no
2667
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2668
LIBS=$ac_check_lib_save_LIBS
2670
echo "$as_me:2670: result: $ac_cv_lib_resolv_res_send" >&5
2671
echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
2672
if test $ac_cv_lib_resolv_res_send = yes; then
2673
HESLIB="$HESLIB -lresolv"
2679
if test "$hesiod" != yes; then
2680
HESDEF="$HESDEF -I$hesiod/include"
2681
HESLIB="-L$hesiod/lib $HESLIB"
2685
# Check whether --with-sge or --without-sge was given.
2686
if test "${with_sge+set}" = set; then
2692
if test "$sge" != no; then
2693
GRDDEF="-I../../../libs/gdi"
2694
GRDLIB="-L../../../$sge -R${SGE_ROOT}/lib/${SGE_ARCH} \$(SGE_LIBS) ${LDFLAGS}"
2695
CFLAGS="$CFLAGS -DPROG_NAME='\"qtcsh\"' -D$sge"
2698
ac_config_files="$ac_config_files Makefile"
2699
cat >confcache <<\_ACEOF
2700
# This file is a shell script that caches the results of configure
2701
# tests run on this system so they can be shared between configure
2702
# scripts and configure runs, see configure's option --config-cache.
2703
# It is not useful on other systems. If it contains results you don't
2704
# want to keep, you may remove or edit it.
2706
# config.status only pays attention to the cache file if you give it
2707
# the --recheck option to rerun configure.
2709
# `ac_cv_env_foo' variables (set or unset) will be overriden when
2710
# loading this file, other *unset* `ac_cv_foo' will be assigned the
2715
# The following way of writing the cache mishandles newlines in values,
2716
# but we know of no workaround that is simple, portable, and efficient.
2717
# So, don't put newlines in cache variables' values.
2718
# Ultrix sh set writes to stderr and can't be redirected directly,
2719
# and sets the high bit in the cache file unless we assign to the vars.
2722
case `(ac_space=' '; set | grep ac_space) 2>&1` in
2724
# `set' does not quote correctly, so add quotes (double-quote
2725
# substitution turns \\\\ into \\, and sed turns \\ into \).
2728
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2731
# `set' quotes correctly as required by POSIX, so do not add quotes.
2733
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2740
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2742
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2744
if cmp -s $cache_file confcache; then :; else
2745
if test -w $cache_file; then
2746
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2747
cat confcache >$cache_file
2749
echo "not updating unwritable cache $cache_file"
2754
test "x$prefix" = xNONE && prefix=$ac_default_prefix
2755
# Let make expand exec_prefix.
2756
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2758
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2759
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2760
# trailing colons and then remove the whole line if VPATH becomes empty
2761
# (actually we leave an empty line to preserve line numbers).
2762
if test "x$srcdir" = x.; then
2763
ac_vpsub='/^[ ]*VPATH[ ]*=/{
2764
s/:*\$(srcdir):*/:/;
2765
s/:*\${srcdir}:*/:/;
2767
s/^\([^=]*=[ ]*\):*/\1/;
2773
DEFS=-DHAVE_CONFIG_H
2775
: ${CONFIG_STATUS=./config.status}
2776
ac_clean_files_save=$ac_clean_files
2777
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2778
{ echo "$as_me:2778: creating $CONFIG_STATUS" >&5
2779
echo "$as_me: creating $CONFIG_STATUS" >&6;}
2780
cat >$CONFIG_STATUS <<_ACEOF
2782
# Generated automatically by configure.
2783
# Run this file to recreate the current configuration.
2784
# Compiler output produced by configure, useful for debugging
2785
# configure, is in config.log if it exists.
2788
SHELL=\${CONFIG_SHELL-$SHELL}
2789
ac_cs_invocation="\$0 \$@"
2793
cat >>$CONFIG_STATUS <<\_ACEOF
2794
# Be Bourne compatible
2795
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2798
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2802
# Name of the executable.
2803
as_me=`echo "$0" |sed 's,.*[\\/],,'`
2805
if expr a : '\(a\)' >/dev/null 2>&1; then
2811
rm -f conf$$ conf$$.exe conf$$.file
2813
if ln -s conf$$.file conf$$ 2>/dev/null; then
2814
# We could just check for DJGPP; but this test a) works b) is more generic
2815
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2816
if test -f conf$$.exe; then
2817
# Don't use ln at all; we don't have any links
2822
elif ln conf$$.file conf$$ 2>/dev/null; then
2827
rm -f conf$$ conf$$.exe conf$$.file
2829
as_executable_p="test -f"
2831
# Support unset when possible.
2832
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2839
$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
2840
$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
2841
$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
2842
$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
2843
$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
2844
$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
2845
$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
2846
$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
2849
# We need space, tab and new line, in precisely that order.
2855
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
2861
# Files that config.status was made for.
2862
if test -n "$ac_config_files"; then
2863
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2866
if test -n "$ac_config_headers"; then
2867
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2870
if test -n "$ac_config_links"; then
2871
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2874
if test -n "$ac_config_commands"; then
2875
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2878
cat >>$CONFIG_STATUS <<\EOF
2881
\`$as_me' instantiates files from templates according to the
2882
current configuration.
2884
Usage: $0 [OPTIONS] [FILE]...
2886
-h, --help print this help, then exit
2887
-V, --version print version number, then exit
2888
-d, --debug don't remove temporary files
2889
--recheck update $as_me by reconfiguring in the same conditions
2890
--file=FILE[:TEMPLATE]
2891
instantiate the configuration file FILE
2892
--header=FILE[:TEMPLATE]
2893
instantiate the configuration header FILE
2895
Configuration files:
2898
Configuration headers:
2901
Report bugs to <bug-autoconf@gnu.org>."
2904
cat >>$CONFIG_STATUS <<EOF
2907
configured by $0, generated by GNU Autoconf 2.52,
2908
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2910
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2911
Free Software Foundation, Inc.
2912
This config.status script is free software; the Free Software Foundation
2913
gives unlimited permission to copy, distribute and modify it."
2917
cat >>$CONFIG_STATUS <<\EOF
2918
# If no file are specified by the user, then we need to provide default
2919
# value. By we need to know if files were specified by the user.
2925
ac_option=`expr "x$1" : 'x\([^=]*\)='`
2926
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2928
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2932
*) # This is not an option, so the user has probably given explicit
2934
ac_need_defaults=false;;
2938
# Handling of the options.
2940
cat >>$CONFIG_STATUS <<EOF
2941
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2942
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2943
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2945
cat >>$CONFIG_STATUS <<\EOF
2946
--version | --vers* | -V )
2947
echo "$ac_cs_version"; exit 0 ;;
2949
# Conflict between --help and --header
2950
{ { echo "$as_me:2950: error: ambiguous option: $1
2951
Try \`$0 --help' for more information." >&5
2952
echo "$as_me: error: ambiguous option: $1
2953
Try \`$0 --help' for more information." >&2;}
2954
{ (exit 1); exit 1; }; };;
2955
--help | --hel | -h )
2956
echo "$ac_cs_usage"; exit 0 ;;
2957
--debug | --d* | -d )
2959
--file | --fil | --fi | --f )
2961
CONFIG_FILES="$CONFIG_FILES $1"
2962
ac_need_defaults=false;;
2963
--header | --heade | --head | --hea )
2965
CONFIG_HEADERS="$CONFIG_HEADERS $1"
2966
ac_need_defaults=false;;
2969
-*) { { echo "$as_me:2969: error: unrecognized option: $1
2970
Try \`$0 --help' for more information." >&5
2971
echo "$as_me: error: unrecognized option: $1
2972
Try \`$0 --help' for more information." >&2;}
2973
{ (exit 1); exit 1; }; } ;;
2975
*) ac_config_targets="$ac_config_targets $1" ;;
2984
## ----------------------- ##
2985
## Running config.status. ##
2986
## ----------------------- ##
2988
This file was extended by $as_me 2.52, executed with
2989
CONFIG_FILES = $CONFIG_FILES
2990
CONFIG_HEADERS = $CONFIG_HEADERS
2991
CONFIG_LINKS = $CONFIG_LINKS
2992
CONFIG_COMMANDS = $CONFIG_COMMANDS
2994
on `(hostname || uname -n) 2>/dev/null | sed 1q`
2999
cat >>$CONFIG_STATUS <<\EOF
3000
for ac_config_target in $ac_config_targets
3002
case "$ac_config_target" in
3003
# Handling of arguments.
3004
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3005
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config/${tcsh_config_file}:config.h.in" ;;
3006
*) { { echo "$as_me:3006: error: invalid argument: $ac_config_target" >&5
3007
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3008
{ (exit 1); exit 1; }; };;
3012
# If the user did not use the arguments to specify the items to instantiate,
3013
# then the envvar interface is used. Set only those that are not.
3014
# We use the long form for the default assignment because of an extremely
3015
# bizarre bug on SunOS 4.1.3.
3016
if $ac_need_defaults; then
3017
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3018
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3021
# Create a temporary directory, and hook for its removal unless debugging.
3024
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3025
trap '{ (exit 1); exit 1; }' 1 2 13 15
3028
# Create a (secure) tmp directory for tmp files.
3031
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3032
test -n "$tmp" && test -d "$tmp"
3035
tmp=$TMPDIR/cs$$-$RANDOM
3036
(umask 077 && mkdir $tmp)
3039
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3040
{ (exit 1); exit 1; }
3045
cat >>$CONFIG_STATUS <<EOF
3048
# CONFIG_FILES section.
3051
# No need to generate the scripts if there are no CONFIG_FILES.
3052
# This happens for instance when ./config.status config.h
3053
if test -n "\$CONFIG_FILES"; then
3054
# Protect against being on the right side of a sed subst in config.status.
3055
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3056
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3057
s,@SHELL@,$SHELL,;t t
3058
s,@exec_prefix@,$exec_prefix,;t t
3059
s,@prefix@,$prefix,;t t
3060
s,@program_transform_name@,$program_transform_name,;t t
3061
s,@bindir@,$bindir,;t t
3062
s,@sbindir@,$sbindir,;t t
3063
s,@libexecdir@,$libexecdir,;t t
3064
s,@datadir@,$datadir,;t t
3065
s,@sysconfdir@,$sysconfdir,;t t
3066
s,@sharedstatedir@,$sharedstatedir,;t t
3067
s,@localstatedir@,$localstatedir,;t t
3068
s,@libdir@,$libdir,;t t
3069
s,@includedir@,$includedir,;t t
3070
s,@oldincludedir@,$oldincludedir,;t t
3071
s,@infodir@,$infodir,;t t
3072
s,@mandir@,$mandir,;t t
3073
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3074
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3075
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3076
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3077
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3078
s,@build_alias@,$build_alias,;t t
3079
s,@host_alias@,$host_alias,;t t
3080
s,@target_alias@,$target_alias,;t t
3081
s,@ECHO_C@,$ECHO_C,;t t
3082
s,@ECHO_N@,$ECHO_N,;t t
3083
s,@ECHO_T@,$ECHO_T,;t t
3084
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3087
s,@build@,$build,;t t
3088
s,@build_cpu@,$build_cpu,;t t
3089
s,@build_vendor@,$build_vendor,;t t
3090
s,@build_os@,$build_os,;t t
3092
s,@host_cpu@,$host_cpu,;t t
3093
s,@host_vendor@,$host_vendor,;t t
3094
s,@host_os@,$host_os,;t t
3096
s,@CFLAGS@,$CFLAGS,;t t
3097
s,@LDFLAGS@,$LDFLAGS,;t t
3098
s,@CPPFLAGS@,$CPPFLAGS,;t t
3099
s,@ac_ct_CC@,$ac_ct_CC,;t t
3100
s,@EXEEXT@,$EXEEXT,;t t
3101
s,@OBJEXT@,$OBJEXT,;t t
3103
s,@DFLAGS@,$DFLAGS,;t t
3104
s,@HESDEF@,$HESDEF,;t t
3105
s,@HESLIB@,$HESLIB,;t t
3106
s,@GRDDEF@,$GRDDEF,;t t
3107
s,@GRDLIB@,$GRDLIB,;t t
3108
s,@PROG_NAME@,$PROG_NAME,;t t
3113
cat >>$CONFIG_STATUS <<\EOF
3114
# Split the substitutions into bite-sized pieces for seds with
3115
# small command number limits, like on Digital OSF/1 and HP-UX.
3117
ac_sed_frag=1 # Number of current file.
3118
ac_beg=1 # First line for current file.
3119
ac_end=$ac_max_sed_lines # Line after last line for current file.
3122
while $ac_more_lines; do
3123
if test $ac_beg -gt 1; then
3124
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3126
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3128
if test ! -s $tmp/subs.frag; then
3131
# The purpose of the label and of the branching condition is to
3132
# speed up the sed processing (if there are no `@' at all, there
3133
# is no need to browse any of the substitutions).
3134
# These are the two extra sed commands mentioned above.
3136
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3137
if test -z "$ac_sed_cmds"; then
3138
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3140
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3142
ac_sed_frag=`expr $ac_sed_frag + 1`
3144
ac_end=`expr $ac_end + $ac_max_sed_lines`
3147
if test -z "$ac_sed_cmds"; then
3150
fi # test -n "$CONFIG_FILES"
3153
cat >>$CONFIG_STATUS <<\EOF
3154
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3155
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3157
- | *:- | *:-:* ) # input from stdin
3159
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3160
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3161
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3162
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3163
* ) ac_file_in=$ac_file.in ;;
3166
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3167
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3168
X"$ac_file" : 'X\(//\)[^/]' \| \
3169
X"$ac_file" : 'X\(//\)$' \| \
3170
X"$ac_file" : 'X\(/\)' \| \
3171
. : '\(.\)' 2>/dev/null ||
3173
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3174
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3175
/^X\(\/\/\)$/{ s//\1/; q; }
3176
/^X\(\/\).*/{ s//\1/; q; }
3178
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3180
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
3184
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3185
case $as_mkdir_dir in
3186
# Skip DOS drivespec
3187
?:) as_incr_dir=$as_mkdir_dir ;;
3189
as_incr_dir=$as_incr_dir/$as_mkdir_dir
3190
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3195
ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
3196
# A "../" for each directory in $ac_dir_suffix.
3197
ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3199
ac_dir_suffix= ac_dots=
3204
if test -z "$ac_dots"; then
3207
ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
3210
ac_srcdir=$srcdir$ac_dir_suffix;
3211
ac_top_srcdir=$srcdir ;;
3213
ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
3214
ac_top_srcdir=$ac_dots$srcdir ;;
3217
if test x"$ac_file" != x-; then
3218
{ echo "$as_me:3218: creating $ac_file" >&5
3219
echo "$as_me: creating $ac_file" >&6;}
3222
# Let's still pretend it is `configure' which instantiates (i.e., don't
3223
# use $as_me), people would be surprised to read:
3224
# /* config.h. Generated automatically by config.status. */
3225
configure_input="Generated automatically from `echo $ac_file_in |
3226
sed 's,.*/,,'` by configure."
3228
# First look for the input files in the build tree, otherwise in the
3230
ac_file_inputs=`IFS=:
3231
for f in $ac_file_in; do
3233
-) echo $tmp/stdin ;;
3235
# Absolute (can't be DOS-style, as IFS=:)
3236
test -f "$f" || { { echo "$as_me:3236: error: cannot find input file: $f" >&5
3237
echo "$as_me: error: cannot find input file: $f" >&2;}
3238
{ (exit 1); exit 1; }; }
3241
if test -f "$f"; then
3244
elif test -f "$srcdir/$f"; then
3249
{ { echo "$as_me:3249: error: cannot find input file: $f" >&5
3250
echo "$as_me: error: cannot find input file: $f" >&2;}
3251
{ (exit 1); exit 1; }; }
3254
done` || { (exit 1); exit 1; }
3256
cat >>$CONFIG_STATUS <<EOF
3260
cat >>$CONFIG_STATUS <<\EOF
3262
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3263
s,@configure_input@,$configure_input,;t t
3264
s,@srcdir@,$ac_srcdir,;t t
3265
s,@top_srcdir@,$ac_top_srcdir,;t t
3266
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3268
if test x"$ac_file" != x-; then
3269
mv $tmp/out $ac_file
3277
cat >>$CONFIG_STATUS <<\EOF
3280
# CONFIG_HEADER section.
3283
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3284
# NAME is the cpp macro being defined and VALUE is the value it is being given.
3286
# ac_d sets the value in "#define NAME VALUE" lines.
3287
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3288
ac_dB='[ ].*$,\1#\2'
3291
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3292
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3293
ac_uB='$,\1#\2define\3'
3297
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3298
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3300
- | *:- | *:-:* ) # input from stdin
3302
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3303
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3304
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3305
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3306
* ) ac_file_in=$ac_file.in ;;
3309
test x"$ac_file" != x- && { echo "$as_me:3309: creating $ac_file" >&5
3310
echo "$as_me: creating $ac_file" >&6;}
3312
# First look for the input files in the build tree, otherwise in the
3314
ac_file_inputs=`IFS=:
3315
for f in $ac_file_in; do
3317
-) echo $tmp/stdin ;;
3319
# Absolute (can't be DOS-style, as IFS=:)
3320
test -f "$f" || { { echo "$as_me:3320: error: cannot find input file: $f" >&5
3321
echo "$as_me: error: cannot find input file: $f" >&2;}
3322
{ (exit 1); exit 1; }; }
3325
if test -f "$f"; then
3328
elif test -f "$srcdir/$f"; then
3333
{ { echo "$as_me:3333: error: cannot find input file: $f" >&5
3334
echo "$as_me: error: cannot find input file: $f" >&2;}
3335
{ (exit 1); exit 1; }; }
3338
done` || { (exit 1); exit 1; }
3339
# Remove the trailing spaces.
3340
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3344
# Transform confdefs.h into two sed scripts, `conftest.defines' and
3345
# `conftest.undefs', that substitutes the proper values into
3346
# config.h.in to produce config.h. The first handles `#define'
3347
# templates, and the second `#undef' templates.
3348
# And first: Protect against being on the right side of a sed subst in
3349
# config.status. Protect against being in an unquoted here document
3351
rm -f conftest.defines conftest.undefs
3352
# Using a here document instead of a string reduces the quoting nightmare.
3353
# Putting comments in sed scripts is not portable.
3355
# `end' is used to avoid that the second main sed command (meant for
3356
# 0-ary CPP macros) applies to n-ary macro definitions.
3357
# See the Autoconf documentation for `clear'.
3358
cat >confdef2sed.sed <<\EOF
3363
s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
3365
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3368
# If some macros were called several times there might be several times
3369
# the same #defines, which is useless. Nevertheless, we may not want to
3370
# sort them, since we want the *last* AC-DEFINE to be honored.
3371
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3372
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3373
rm -f confdef2sed.sed
3375
# This sed command replaces #undef with comments. This is necessary, for
3376
# example, in the case of _POSIX_SOURCE, which is predefined and required
3377
# on some systems where configure will not decide to define it.
3378
cat >>conftest.undefs <<\EOF
3379
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3382
# Break up conftest.defines because some shells have a limit on the size
3383
# of here documents, and old seds have small limits too (100 cmds).
3384
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3385
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3386
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3387
echo ' :' >>$CONFIG_STATUS
3389
while grep . conftest.defines >/dev/null
3391
# Write a limited-size here document to $tmp/defines.sed.
3392
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3393
# Speed up: don't consider the non `#define' lines.
3394
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3395
# Work around the forget-to-reset-the-flag bug.
3396
echo 't clr' >>$CONFIG_STATUS
3397
echo ': clr' >>$CONFIG_STATUS
3398
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3400
sed -f $tmp/defines.sed $tmp/in >$tmp/out
3404
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3405
rm -f conftest.defines
3406
mv conftest.tail conftest.defines
3408
rm -f conftest.defines
3409
echo ' fi # egrep' >>$CONFIG_STATUS
3410
echo >>$CONFIG_STATUS
3412
# Break up conftest.undefs because some shells have a limit on the size
3413
# of here documents, and old seds have small limits too (100 cmds).
3414
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3416
while grep . conftest.undefs >/dev/null
3418
# Write a limited-size here document to $tmp/undefs.sed.
3419
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3420
# Speed up: don't consider the non `#undef'
3421
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3422
# Work around the forget-to-reset-the-flag bug.
3423
echo 't clr' >>$CONFIG_STATUS
3424
echo ': clr' >>$CONFIG_STATUS
3425
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3427
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3431
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3432
rm -f conftest.undefs
3433
mv conftest.tail conftest.undefs
3435
rm -f conftest.undefs
3437
cat >>$CONFIG_STATUS <<\EOF
3438
# Let's still pretend it is `configure' which instantiates (i.e., don't
3439
# use $as_me), people would be surprised to read:
3440
# /* config.h. Generated automatically by config.status. */
3441
if test x"$ac_file" = x-; then
3442
echo "/* Generated automatically by configure. */" >$tmp/config.h
3444
echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
3446
cat $tmp/in >>$tmp/config.h
3448
if test x"$ac_file" != x-; then
3449
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
3450
{ echo "$as_me:3450: $ac_file is unchanged" >&5
3451
echo "$as_me: $ac_file is unchanged" >&6;}
3453
ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3454
X"$ac_file" : 'X\(//\)[^/]' \| \
3455
X"$ac_file" : 'X\(//\)$' \| \
3456
X"$ac_file" : 'X\(/\)' \| \
3457
. : '\(.\)' 2>/dev/null ||
3459
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3460
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3461
/^X\(\/\/\)$/{ s//\1/; q; }
3462
/^X\(\/\).*/{ s//\1/; q; }
3464
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3466
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
3470
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3471
case $as_mkdir_dir in
3472
# Skip DOS drivespec
3473
?:) as_incr_dir=$as_mkdir_dir ;;
3475
as_incr_dir=$as_incr_dir/$as_mkdir_dir
3476
test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3483
mv $tmp/config.h $ac_file
3492
cat >>$CONFIG_STATUS <<\EOF
3494
{ (exit 0); exit 0; }
3496
chmod +x $CONFIG_STATUS
3497
ac_clean_files=$ac_clean_files_save
3499
# configure is writing to config.log, and then calls config.status.
3500
# config.status does its own redirection, appending to config.log.
3501
# Unfortunately, on DOS this fails, as config.log is still kept open
3502
# by configure, so config.status won't be able to write to it; its
3503
# output is simply discarded. So we exec the FD to /dev/null,
3504
# effectively closing config.log, so it can be properly (re)opened and
3505
# appended to by config.status. When coming back to configure, we
3506
# need to make the FD available again.
3507
if test "$no_create" != yes; then
3510
$SHELL $CONFIG_STATUS || ac_cs_success=false
3512
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
3513
# would make configure fail if this is the last instruction.
3514
$ac_cs_success || { (exit 1); exit 1; }