2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.54.
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
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.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be Bourne compatible
14
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
# is contrary to our usage. Disable this feature.
19
alias -g '${1+"$@"}'='"$@"'
20
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
# Support unset when possible.
25
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
39
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
41
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
42
eval $as_var=C; export $as_var
48
# Required to use basename.
49
if expr a : '\(a\)' >/dev/null 2>&1; then
55
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62
# Name of the executable.
63
as_me=`$as_basename "$0" ||
64
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
65
X"$0" : 'X\(//\)$' \| \
66
X"$0" : 'X\(/\)$' \| \
67
. : '\(.\)' 2>/dev/null ||
69
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
70
/^X\/\(\/\/\)$/{ s//\1/; q; }
71
/^X\/\(\/\).*/{ s//\1/; q; }
75
# PATH needs CR, and LINENO needs CR and PATH.
76
# Avoid depending upon Character Ranges.
77
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80
as_cr_digits='0123456789'
81
as_cr_alnum=$as_cr_Letters$as_cr_digits
83
# The user is always right.
84
if test "${PATH_SEPARATOR+set}" != set; then
85
echo "#! /bin/sh" >conftest.sh
86
echo "exit 0" >>conftest.sh
88
if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
99
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100
test "x$as_lineno_1" != "x$as_lineno_2" &&
101
test "x$as_lineno_3" = "x$as_lineno_2" || {
102
# Find who we are. Look in the path if we contain no path at all
105
*[\\/]* ) as_myself=$0 ;;
106
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
test -z "$as_dir" && as_dir=.
111
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116
# We did not find ourselves, most probably we were run as `sh COMMAND'
117
# in which case we are not to be found in the path.
118
if test "x$as_myself" = x; then
121
if test ! -f "$as_myself"; then
122
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123
{ (exit 1); exit 1; }; }
125
case $CONFIG_SHELL in
127
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
131
test -z "$as_dir" && as_dir=.
132
for as_base in sh bash ksh sh5; do
135
if ("$as_dir/$as_base" -c '
138
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139
test "x$as_lineno_1" != "x$as_lineno_2" &&
140
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
142
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
143
CONFIG_SHELL=$as_dir/$as_base
145
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
153
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
154
# uniformly replaced by the line number. The first 'sed' inserts a
155
# line-number line before each line; the second 'sed' does the real
156
# work. The second script uses 'N' to pair each line-number line
157
# with the numbered line, and appends trailing '-' during
158
# substitution so that $LINENO is not a special case at line end.
159
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
160
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
161
sed '=' <$as_myself |
166
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
169
s,^['$as_cr_digits']*\n,,
171
chmod +x $as_me.lineno ||
172
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
173
{ (exit 1); exit 1; }; }
175
# Don't try to exec as it changes $[0], causing all sort of problems
176
# (the dirname of $[0] is not the place where we might find the
177
# original and so on. Autoconf is especially sensible to this).
179
# Exit status is that of the last command.
184
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
185
*c*,-n*) ECHO_N= ECHO_C='
187
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
188
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
191
if expr a : '\(a\)' >/dev/null 2>&1; then
197
rm -f conf$$ conf$$.exe conf$$.file
199
if ln -s conf$$.file conf$$ 2>/dev/null; then
200
# We could just check for DJGPP; but this test a) works b) is more generic
201
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
202
if test -f conf$$.exe; then
203
# Don't use ln at all; we don't have any links
208
elif ln conf$$.file conf$$ 2>/dev/null; then
213
rm -f conf$$ conf$$.exe conf$$.file
215
if mkdir -p . 2>/dev/null; then
221
as_executable_p="test -f"
223
# Sed expression to map a string onto a valid CPP name.
224
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
226
# Sed expression to map a string onto a valid variable name.
227
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
# We need space, tab and new line, in precisely that order.
241
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
242
# so uname gets run too.
243
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
ac_default_prefix=/usr/local
251
ac_config_libobj_dir=.
256
SHELL=${CONFIG_SHELL-/bin/sh}
258
# Maximum number of lines to put in a shell here document.
259
# This variable seems obsolete. It should probably be removed, and
260
# only ac_max_sed_lines should be used.
261
: ${ac_max_here_lines=38}
263
# Identity of this package.
270
ac_unique_file="game.c"
271
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S CPP EGREP LIBOBJS LTLIBOBJS'
274
# Initialize some variables set by options.
276
ac_init_version=false
277
# The variables have the same names as the options, with
278
# dashes changed to underlines.
286
program_transform_name=s,x,x,
294
# Installation directory options.
295
# These are left unexpanded so users can "make install exec_prefix=/foo"
296
# and all the variables that are supposed to be based on exec_prefix
297
# by default will actually change.
298
# Use braces instead of parens because sh, perl, etc. also accept them.
299
bindir='${exec_prefix}/bin'
300
sbindir='${exec_prefix}/sbin'
301
libexecdir='${exec_prefix}/libexec'
302
datadir='${prefix}/share'
303
sysconfdir='${prefix}/etc'
304
sharedstatedir='${prefix}/com'
305
localstatedir='${prefix}/var'
306
libdir='${exec_prefix}/lib'
307
includedir='${prefix}/include'
308
oldincludedir='/usr/include'
309
infodir='${prefix}/info'
310
mandir='${prefix}/man'
315
# If the previous option needs an argument, assign it.
316
if test -n "$ac_prev"; then
317
eval "$ac_prev=\$ac_option"
322
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
324
# Accept the important Cygnus configure options, so we can diagnose typos.
328
-bindir | --bindir | --bindi | --bind | --bin | --bi)
330
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
333
-build | --build | --buil | --bui | --bu)
334
ac_prev=build_alias ;;
335
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
336
build_alias=$ac_optarg ;;
338
-cache-file | --cache-file | --cache-fil | --cache-fi \
339
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
340
ac_prev=cache_file ;;
341
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
342
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
343
cache_file=$ac_optarg ;;
346
cache_file=config.cache ;;
348
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
350
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
352
datadir=$ac_optarg ;;
354
-disable-* | --disable-*)
355
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
356
# Reject names that are not valid shell variable names.
357
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
358
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
359
{ (exit 1); exit 1; }; }
360
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
361
eval "enable_$ac_feature=no" ;;
363
-enable-* | --enable-*)
364
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
365
# Reject names that are not valid shell variable names.
366
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
367
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
368
{ (exit 1); exit 1; }; }
369
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
371
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
374
eval "enable_$ac_feature='$ac_optarg'" ;;
376
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
377
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
378
| --exec | --exe | --ex)
379
ac_prev=exec_prefix ;;
380
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
381
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
382
| --exec=* | --exe=* | --ex=*)
383
exec_prefix=$ac_optarg ;;
385
-gas | --gas | --ga | --g)
386
# Obsolete; use --with-gas.
389
-help | --help | --hel | --he | -h)
391
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
392
ac_init_help=recursive ;;
393
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
394
ac_init_help=short ;;
396
-host | --host | --hos | --ho)
397
ac_prev=host_alias ;;
398
-host=* | --host=* | --hos=* | --ho=*)
399
host_alias=$ac_optarg ;;
401
-includedir | --includedir | --includedi | --included | --include \
402
| --includ | --inclu | --incl | --inc)
403
ac_prev=includedir ;;
404
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
405
| --includ=* | --inclu=* | --incl=* | --inc=*)
406
includedir=$ac_optarg ;;
408
-infodir | --infodir | --infodi | --infod | --info | --inf)
410
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
411
infodir=$ac_optarg ;;
413
-libdir | --libdir | --libdi | --libd)
415
-libdir=* | --libdir=* | --libdi=* | --libd=*)
418
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
419
| --libexe | --libex | --libe)
420
ac_prev=libexecdir ;;
421
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
422
| --libexe=* | --libex=* | --libe=*)
423
libexecdir=$ac_optarg ;;
425
-localstatedir | --localstatedir | --localstatedi | --localstated \
426
| --localstate | --localstat | --localsta | --localst \
427
| --locals | --local | --loca | --loc | --lo)
428
ac_prev=localstatedir ;;
429
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
430
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
431
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
432
localstatedir=$ac_optarg ;;
434
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
436
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
440
# Obsolete; use --without-fp.
443
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
444
| --no-cr | --no-c | -n)
447
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
448
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
451
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
452
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
453
| --oldin | --oldi | --old | --ol | --o)
454
ac_prev=oldincludedir ;;
455
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
456
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
457
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
458
oldincludedir=$ac_optarg ;;
460
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
462
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
465
-program-prefix | --program-prefix | --program-prefi | --program-pref \
466
| --program-pre | --program-pr | --program-p)
467
ac_prev=program_prefix ;;
468
-program-prefix=* | --program-prefix=* | --program-prefi=* \
469
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
470
program_prefix=$ac_optarg ;;
472
-program-suffix | --program-suffix | --program-suffi | --program-suff \
473
| --program-suf | --program-su | --program-s)
474
ac_prev=program_suffix ;;
475
-program-suffix=* | --program-suffix=* | --program-suffi=* \
476
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
477
program_suffix=$ac_optarg ;;
479
-program-transform-name | --program-transform-name \
480
| --program-transform-nam | --program-transform-na \
481
| --program-transform-n | --program-transform- \
482
| --program-transform | --program-transfor \
483
| --program-transfo | --program-transf \
484
| --program-trans | --program-tran \
485
| --progr-tra | --program-tr | --program-t)
486
ac_prev=program_transform_name ;;
487
-program-transform-name=* | --program-transform-name=* \
488
| --program-transform-nam=* | --program-transform-na=* \
489
| --program-transform-n=* | --program-transform-=* \
490
| --program-transform=* | --program-transfor=* \
491
| --program-transfo=* | --program-transf=* \
492
| --program-trans=* | --program-tran=* \
493
| --progr-tra=* | --program-tr=* | --program-t=*)
494
program_transform_name=$ac_optarg ;;
496
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
497
| -silent | --silent | --silen | --sile | --sil)
500
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
502
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
504
sbindir=$ac_optarg ;;
506
-sharedstatedir | --sharedstatedir | --sharedstatedi \
507
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
508
| --sharedst | --shareds | --shared | --share | --shar \
510
ac_prev=sharedstatedir ;;
511
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
512
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
513
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
515
sharedstatedir=$ac_optarg ;;
517
-site | --site | --sit)
519
-site=* | --site=* | --sit=*)
522
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
524
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
527
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
528
| --syscon | --sysco | --sysc | --sys | --sy)
529
ac_prev=sysconfdir ;;
530
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
531
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
532
sysconfdir=$ac_optarg ;;
534
-target | --target | --targe | --targ | --tar | --ta | --t)
535
ac_prev=target_alias ;;
536
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
537
target_alias=$ac_optarg ;;
539
-v | -verbose | --verbose | --verbos | --verbo | --verb)
542
-version | --version | --versio | --versi | --vers | -V)
546
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
547
# Reject names that are not valid shell variable names.
548
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549
{ echo "$as_me: error: invalid package name: $ac_package" >&2
550
{ (exit 1); exit 1; }; }
551
ac_package=`echo $ac_package| sed 's/-/_/g'`
553
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
556
eval "with_$ac_package='$ac_optarg'" ;;
558
-without-* | --without-*)
559
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
560
# Reject names that are not valid shell variable names.
561
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
562
{ echo "$as_me: error: invalid package name: $ac_package" >&2
563
{ (exit 1); exit 1; }; }
564
ac_package=`echo $ac_package | sed 's/-/_/g'`
565
eval "with_$ac_package=no" ;;
568
# Obsolete; use --with-x.
571
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
572
| --x-incl | --x-inc | --x-in | --x-i)
573
ac_prev=x_includes ;;
574
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
575
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
576
x_includes=$ac_optarg ;;
578
-x-libraries | --x-libraries | --x-librarie | --x-librari \
579
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
580
ac_prev=x_libraries ;;
581
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
582
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
583
x_libraries=$ac_optarg ;;
585
-*) { echo "$as_me: error: unrecognized option: $ac_option
586
Try \`$0 --help' for more information." >&2
587
{ (exit 1); exit 1; }; }
591
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
592
# Reject names that are not valid shell variable names.
593
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
594
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
595
{ (exit 1); exit 1; }; }
596
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
597
eval "$ac_envvar='$ac_optarg'"
601
# FIXME: should be removed in autoconf 3.0.
602
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
603
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
604
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
605
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611
if test -n "$ac_prev"; then
612
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
613
{ echo "$as_me: error: missing argument to $ac_option" >&2
614
{ (exit 1); exit 1; }; }
617
# Be sure to have absolute paths.
618
for ac_var in exec_prefix prefix
620
eval ac_val=$`echo $ac_var`
622
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
623
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
624
{ (exit 1); exit 1; }; };;
628
# Be sure to have absolute paths.
629
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
630
localstatedir libdir includedir oldincludedir infodir mandir
632
eval ac_val=$`echo $ac_var`
634
[\\/$]* | ?:[\\/]* ) ;;
635
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
636
{ (exit 1); exit 1; }; };;
640
# There might be people who depend on the old broken behavior: `$host'
641
# used to hold the argument of --host etc.
642
# FIXME: To remove some day.
647
# FIXME: To remove some day.
648
if test "x$host_alias" != x; then
649
if test "x$build_alias" = x; then
650
cross_compiling=maybe
651
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
652
If a cross compiler is detected then cross compile mode will be used." >&2
653
elif test "x$build_alias" != "x$host_alias"; then
659
test -n "$host_alias" && ac_tool_prefix=$host_alias-
661
test "$silent" = yes && exec 6>/dev/null
664
# Find the source files, if location was not specified.
665
if test -z "$srcdir"; then
666
ac_srcdir_defaulted=yes
667
# Try the directory containing this script, then its parent.
668
ac_confdir=`(dirname "$0") 2>/dev/null ||
669
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
670
X"$0" : 'X\(//\)[^/]' \| \
671
X"$0" : 'X\(//\)$' \| \
672
X"$0" : 'X\(/\)' \| \
673
. : '\(.\)' 2>/dev/null ||
675
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
676
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
677
/^X\(\/\/\)$/{ s//\1/; q; }
678
/^X\(\/\).*/{ s//\1/; q; }
681
if test ! -r $srcdir/$ac_unique_file; then
685
ac_srcdir_defaulted=no
687
if test ! -r $srcdir/$ac_unique_file; then
688
if test "$ac_srcdir_defaulted" = yes; then
689
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
690
{ (exit 1); exit 1; }; }
692
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
693
{ (exit 1); exit 1; }; }
696
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
697
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
698
{ (exit 1); exit 1; }; }
699
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
700
ac_env_build_alias_set=${build_alias+set}
701
ac_env_build_alias_value=$build_alias
702
ac_cv_env_build_alias_set=${build_alias+set}
703
ac_cv_env_build_alias_value=$build_alias
704
ac_env_host_alias_set=${host_alias+set}
705
ac_env_host_alias_value=$host_alias
706
ac_cv_env_host_alias_set=${host_alias+set}
707
ac_cv_env_host_alias_value=$host_alias
708
ac_env_target_alias_set=${target_alias+set}
709
ac_env_target_alias_value=$target_alias
710
ac_cv_env_target_alias_set=${target_alias+set}
711
ac_cv_env_target_alias_value=$target_alias
712
ac_env_CC_set=${CC+set}
714
ac_cv_env_CC_set=${CC+set}
715
ac_cv_env_CC_value=$CC
716
ac_env_CFLAGS_set=${CFLAGS+set}
717
ac_env_CFLAGS_value=$CFLAGS
718
ac_cv_env_CFLAGS_set=${CFLAGS+set}
719
ac_cv_env_CFLAGS_value=$CFLAGS
720
ac_env_LDFLAGS_set=${LDFLAGS+set}
721
ac_env_LDFLAGS_value=$LDFLAGS
722
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
723
ac_cv_env_LDFLAGS_value=$LDFLAGS
724
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
725
ac_env_CPPFLAGS_value=$CPPFLAGS
726
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
727
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
728
ac_env_CPP_set=${CPP+set}
729
ac_env_CPP_value=$CPP
730
ac_cv_env_CPP_set=${CPP+set}
731
ac_cv_env_CPP_value=$CPP
734
# Report the --help message.
736
if test "$ac_init_help" = "long"; then
737
# Omit some internal or obsolete options to make the list less imposing.
738
# This message is too long to be a string in the A/UX 3.1 sh.
740
\`configure' configures this package to adapt to many kinds of systems.
742
Usage: $0 [OPTION]... [VAR=VALUE]...
744
To assign environment variables (e.g., CC, CFLAGS...), specify them as
745
VAR=VALUE. See below for descriptions of some of the useful variables.
747
Defaults for the options are specified in brackets.
750
-h, --help display this help and exit
751
--help=short display options specific to this package
752
--help=recursive display the short help of all the included packages
753
-V, --version display version information and exit
754
-q, --quiet, --silent do not print \`checking...' messages
755
--cache-file=FILE cache test results in FILE [disabled]
756
-C, --config-cache alias for \`--cache-file=config.cache'
757
-n, --no-create do not create output files
758
--srcdir=DIR find the sources in DIR [configure dir or \`..']
763
Installation directories:
764
--prefix=PREFIX install architecture-independent files in PREFIX
766
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
769
By default, \`make install' will install all the files in
770
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772
for instance \`--prefix=\$HOME'.
774
For better control, use the options below.
776
Fine tuning of the installation directories:
777
--bindir=DIR user executables [EPREFIX/bin]
778
--sbindir=DIR system admin executables [EPREFIX/sbin]
779
--libexecdir=DIR program executables [EPREFIX/libexec]
780
--datadir=DIR read-only architecture-independent data [PREFIX/share]
781
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
784
--libdir=DIR object code libraries [EPREFIX/lib]
785
--includedir=DIR C header files [PREFIX/include]
786
--oldincludedir=DIR C header files for non-gcc [/usr/include]
787
--infodir=DIR info documentation [PREFIX/info]
788
--mandir=DIR man documentation [PREFIX/man]
794
--program-prefix=PREFIX prepend PREFIX to installed program names
795
--program-suffix=SUFFIX append SUFFIX to installed program names
796
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
800
if test -n "$ac_init_help"; then
805
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
806
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
807
--disable-dependency-tracking Speeds up one-time builds
808
--enable-dependency-tracking Do not reject slow dependency extractors
810
Some influential environment variables:
811
CC C compiler command
812
CFLAGS C compiler flags
813
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
814
nonstandard directory <lib dir>
815
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
816
headers in a nonstandard directory <include dir>
819
Use these variables to override the choices made by `configure' or to help
820
it to find libraries and programs with nonstandard names/locations.
825
if test "$ac_init_help" = "recursive"; then
826
# If there are subdirs, report their specific --help.
828
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
829
test -d $ac_dir || continue
832
if test "$ac_dir" != .; then
833
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
834
# A "../" for each directory in $ac_dir_suffix.
835
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
837
ac_dir_suffix= ac_top_builddir=
841
.) # No --srcdir option. We are building in place.
843
if test -z "$ac_top_builddir"; then
846
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
848
[\\/]* | ?:[\\/]* ) # Absolute path.
849
ac_srcdir=$srcdir$ac_dir_suffix;
850
ac_top_srcdir=$srcdir ;;
852
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
853
ac_top_srcdir=$ac_top_builddir$srcdir ;;
855
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
857
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
858
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
859
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
860
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
863
# Check for guested configure; otherwise get Cygnus style configure.
864
if test -f $ac_srcdir/configure.gnu; then
866
$SHELL $ac_srcdir/configure.gnu --help=recursive
867
elif test -f $ac_srcdir/configure; then
869
$SHELL $ac_srcdir/configure --help=recursive
870
elif test -f $ac_srcdir/configure.ac ||
871
test -f $ac_srcdir/configure.in; then
875
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
881
test -n "$ac_init_help" && exit 0
882
if $ac_init_version; then
885
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
886
Free Software Foundation, Inc.
887
This configure script is free software; the Free Software Foundation
888
gives unlimited permission to copy, distribute and modify it.
894
This file contains any messages produced by compilers while
895
running configure, to aid debugging if configure makes a mistake.
897
It was created by $as_me, which was
898
generated by GNU Autoconf 2.54. Invocation command line was
909
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
910
uname -m = `(uname -m) 2>/dev/null || echo unknown`
911
uname -r = `(uname -r) 2>/dev/null || echo unknown`
912
uname -s = `(uname -s) 2>/dev/null || echo unknown`
913
uname -v = `(uname -v) 2>/dev/null || echo unknown`
915
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
916
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
918
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
919
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
920
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
921
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
922
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
923
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
924
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
928
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
932
test -z "$as_dir" && as_dir=.
948
# Keep a trace of the command line.
949
# Strip out --no-create and --no-recursion so they do not pile up.
950
# Also quote any args containing shell meta-characters.
956
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
957
| --no-cr | --no-c | -n ) continue ;;
958
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
959
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
961
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
962
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
964
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
965
# Get rid of the leading space.
969
# When interrupted or exit'd, cleanup temporary files, and complete
970
# config.log. We remove comments because anyway the quotes in there
971
# would cause problems or look ugly.
972
# WARNING: Be sure not to use single quotes in there, as some shells,
973
# such as our DU 5.0 friend, will then `close' the trap.
975
# Save into config.log some information that might help in debugging.
980
## ---------------- ##
981
## Cache variables. ##
982
## ---------------- ##
985
# The following way of writing the cache mishandles newlines in values,
988
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
991
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
992
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
996
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1003
## ----------------- ##
1004
## Output variables. ##
1005
## ----------------- ##
1008
for ac_var in $ac_subst_vars
1010
eval ac_val=$`echo $ac_var`
1011
echo "$ac_var='"'"'$ac_val'"'"'"
1015
if test -n "$ac_subst_files"; then
1022
for ac_var in $ac_subst_files
1024
eval ac_val=$`echo $ac_var`
1025
echo "$ac_var='"'"'$ac_val'"'"'"
1030
if test -s confdefs.h; then
1037
sed "/^$/d" confdefs.h | sort
1040
test "$ac_signal" != 0 &&
1041
echo "$as_me: caught signal $ac_signal"
1042
echo "$as_me: exit $exit_status"
1044
rm -f core core.* *.core &&
1045
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1048
for ac_signal in 1 2 13 15; do
1049
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1053
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1054
rm -rf conftest* confdefs.h
1055
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1058
# Predefined preprocessor variables.
1060
cat >>confdefs.h <<_ACEOF
1061
#define PACKAGE_NAME "$PACKAGE_NAME"
1065
cat >>confdefs.h <<_ACEOF
1066
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1070
cat >>confdefs.h <<_ACEOF
1071
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1075
cat >>confdefs.h <<_ACEOF
1076
#define PACKAGE_STRING "$PACKAGE_STRING"
1080
cat >>confdefs.h <<_ACEOF
1081
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1085
# Let the site file select an alternate cache file if it wants to.
1086
# Prefer explicitly selected file to automatically selected ones.
1087
if test -z "$CONFIG_SITE"; then
1088
if test "x$prefix" != xNONE; then
1089
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1091
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1094
for ac_site_file in $CONFIG_SITE; do
1095
if test -r "$ac_site_file"; then
1096
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1097
echo "$as_me: loading site script $ac_site_file" >&6;}
1098
sed 's/^/| /' "$ac_site_file" >&5
1103
if test -r "$cache_file"; then
1104
# Some versions of bash will fail to source /dev/null (special
1105
# files actually), so we avoid doing that.
1106
if test -f "$cache_file"; then
1107
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1108
echo "$as_me: loading cache $cache_file" >&6;}
1110
[\\/]* | ?:[\\/]* ) . $cache_file;;
1111
*) . ./$cache_file;;
1115
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1116
echo "$as_me: creating cache $cache_file" >&6;}
1120
# Check that the precious variables saved in the cache have kept the same
1122
ac_cache_corrupted=false
1123
for ac_var in `(set) 2>&1 |
1124
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1125
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1126
eval ac_new_set=\$ac_env_${ac_var}_set
1127
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1128
eval ac_new_val="\$ac_env_${ac_var}_value"
1129
case $ac_old_set,$ac_new_set in
1131
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1132
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1133
ac_cache_corrupted=: ;;
1135
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1136
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1137
ac_cache_corrupted=: ;;
1140
if test "x$ac_old_val" != "x$ac_new_val"; then
1141
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1142
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1143
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1144
echo "$as_me: former value: $ac_old_val" >&2;}
1145
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1146
echo "$as_me: current value: $ac_new_val" >&2;}
1147
ac_cache_corrupted=:
1150
# Pass precious variables to config.status.
1151
if test "$ac_new_set" = set; then
1153
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1154
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1155
*) ac_arg=$ac_var=$ac_new_val ;;
1157
case " $ac_configure_args " in
1158
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1159
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1163
if $ac_cache_corrupted; then
1164
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1165
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1166
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1167
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1168
{ (exit 1); exit 1; }; }
1172
ac_cpp='$CPP $CPPFLAGS'
1173
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1174
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1175
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1195
am__api_version="1.7"
1197
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1198
if test -f $ac_dir/install-sh; then
1200
ac_install_sh="$ac_aux_dir/install-sh -c"
1202
elif test -f $ac_dir/install.sh; then
1204
ac_install_sh="$ac_aux_dir/install.sh -c"
1206
elif test -f $ac_dir/shtool; then
1208
ac_install_sh="$ac_aux_dir/shtool install -c"
1212
if test -z "$ac_aux_dir"; then
1213
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1214
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1215
{ (exit 1); exit 1; }; }
1217
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1218
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1219
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1221
# Find a good install program. We prefer a C program (faster),
1222
# so one script is as good as another. But avoid the broken or
1223
# incompatible versions:
1224
# SysV /etc/install, /usr/sbin/install
1225
# SunOS /usr/etc/install
1226
# IRIX /sbin/install
1228
# AmigaOS /C/install, which installs bootblocks on floppy discs
1229
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1230
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1231
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1232
# ./install, which can be erroneously created by make from ./install.sh.
1233
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1234
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1235
if test -z "$INSTALL"; then
1236
if test "${ac_cv_path_install+set}" = set; then
1237
echo $ECHO_N "(cached) $ECHO_C" >&6
1239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1243
test -z "$as_dir" && as_dir=.
1244
# Account for people who put trailing slashes in PATH elements.
1246
./ | .// | /cC/* | \
1247
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1250
# OSF1 and SCO ODT 3.0 have their own names for install.
1251
# Don't use installbsd from OSF since it installs stuff as root
1253
for ac_prog in ginstall scoinst install; do
1254
for ac_exec_ext in '' $ac_executable_extensions; do
1255
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1256
if test $ac_prog = install &&
1257
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1258
# AIX install. It has an incompatible calling convention.
1260
elif test $ac_prog = install &&
1261
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1262
# program-specific install script used by HP pwplus--don't use.
1265
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1277
if test "${ac_cv_path_install+set}" = set; then
1278
INSTALL=$ac_cv_path_install
1280
# As a last resort, use the slow shell script. We don't cache a
1281
# path for INSTALL within a source directory, because that will
1282
# break other packages using the cache if that directory is
1283
# removed, or if the path is relative.
1284
INSTALL=$ac_install_sh
1287
echo "$as_me:$LINENO: result: $INSTALL" >&5
1288
echo "${ECHO_T}$INSTALL" >&6
1290
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1291
# It thinks the first close brace ends the variable substitution.
1292
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1294
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1296
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1298
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1299
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1302
echo timestamp > conftest.file
1303
# Do `set' in a subshell so we don't clobber the current shell's
1304
# arguments. Must try -L first in case configure is actually a
1305
# symlink; some systems play weird games with the mod time of symlinks
1306
# (eg FreeBSD returns the mod time of the symlink's containing
1309
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1310
if test "$*" = "X"; then
1312
set X `ls -t $srcdir/configure conftest.file`
1315
if test "$*" != "X $srcdir/configure conftest.file" \
1316
&& test "$*" != "X conftest.file $srcdir/configure"; then
1318
# If neither matched, then we have a broken ls. This can happen
1319
# if, for instance, CONFIG_SHELL is bash and it inherits a
1320
# broken ls alias from the environment. This has actually
1321
# happened. Such a system could not be considered "sane".
1322
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1323
alias in your environment" >&5
1324
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1325
alias in your environment" >&2;}
1326
{ (exit 1); exit 1; }; }
1329
test "$2" = conftest.file
1335
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1336
Check your system clock" >&5
1337
echo "$as_me: error: newly created file is older than distributed files!
1338
Check your system clock" >&2;}
1339
{ (exit 1); exit 1; }; }
1341
echo "$as_me:$LINENO: result: yes" >&5
1342
echo "${ECHO_T}yes" >&6
1343
test "$program_prefix" != NONE &&
1344
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1345
# Use a double $ so make ignores it.
1346
test "$program_suffix" != NONE &&
1347
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1348
# Double any \ or $. echo might interpret backslashes.
1349
# By default was `s,x,x', remove it if useless.
1350
cat <<\_ACEOF >conftest.sed
1351
s/[\\$]/&&/g;s/;s,x,x,$//
1353
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1357
# expand $ac_aux_dir to an absolute path
1358
am_aux_dir=`cd $ac_aux_dir && pwd`
1360
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1361
# Use eval to expand $SHELL
1362
if eval "$MISSING --run true"; then
1363
am_missing_run="$MISSING --run "
1366
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1367
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1370
for ac_prog in gawk mawk nawk awk
1372
# Extract the first word of "$ac_prog", so it can be a program name with args.
1373
set dummy $ac_prog; ac_word=$2
1374
echo "$as_me:$LINENO: checking for $ac_word" >&5
1375
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1376
if test "${ac_cv_prog_AWK+set}" = set; then
1377
echo $ECHO_N "(cached) $ECHO_C" >&6
1379
if test -n "$AWK"; then
1380
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1382
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386
test -z "$as_dir" && as_dir=.
1387
for ac_exec_ext in '' $ac_executable_extensions; do
1388
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1389
ac_cv_prog_AWK="$ac_prog"
1390
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1399
if test -n "$AWK"; then
1400
echo "$as_me:$LINENO: result: $AWK" >&5
1401
echo "${ECHO_T}$AWK" >&6
1403
echo "$as_me:$LINENO: result: no" >&5
1404
echo "${ECHO_T}no" >&6
1407
test -n "$AWK" && break
1410
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1411
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1412
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1413
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1414
echo $ECHO_N "(cached) $ECHO_C" >&6
1416
cat >conftest.make <<\_ACEOF
1418
@echo 'ac_maketemp="${MAKE}"'
1420
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1421
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1422
if test -n "$ac_maketemp"; then
1423
eval ac_cv_prog_make_${ac_make}_set=yes
1425
eval ac_cv_prog_make_${ac_make}_set=no
1429
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1430
echo "$as_me:$LINENO: result: yes" >&5
1431
echo "${ECHO_T}yes" >&6
1434
echo "$as_me:$LINENO: result: no" >&5
1435
echo "${ECHO_T}no" >&6
1436
SET_MAKE="MAKE=${MAKE-make}"
1439
# test to see if srcdir already configured
1440
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1441
test -f $srcdir/config.status; then
1442
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1443
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1444
{ (exit 1); exit 1; }; }
1447
# test whether we have cygpath
1448
if test -z "$CYGPATH_W"; then
1449
if (cygpath --version) >/dev/null 2>/dev/null; then
1450
CYGPATH_W='cygpath -w'
1457
# Define the identity of the package.
1462
cat >>confdefs.h <<_ACEOF
1463
#define PACKAGE "$PACKAGE"
1467
cat >>confdefs.h <<_ACEOF
1468
#define VERSION "$VERSION"
1471
# Some tools Automake needs.
1473
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1476
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1479
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1482
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1485
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1488
AMTAR=${AMTAR-"${am_missing_run}tar"}
1490
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1492
# Installed binaries are usually stripped using `strip' when the user
1493
# run `make install-strip'. However `strip' might not be the right
1494
# tool to use in cross-compilation environments, therefore Automake
1495
# will honor the `STRIP' environment variable to overrule this program.
1496
if test "$cross_compiling" != no; then
1497
if test -n "$ac_tool_prefix"; then
1498
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1499
set dummy ${ac_tool_prefix}strip; ac_word=$2
1500
echo "$as_me:$LINENO: checking for $ac_word" >&5
1501
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1502
if test "${ac_cv_prog_STRIP+set}" = set; then
1503
echo $ECHO_N "(cached) $ECHO_C" >&6
1505
if test -n "$STRIP"; then
1506
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1512
test -z "$as_dir" && as_dir=.
1513
for ac_exec_ext in '' $ac_executable_extensions; do
1514
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1515
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1516
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1524
STRIP=$ac_cv_prog_STRIP
1525
if test -n "$STRIP"; then
1526
echo "$as_me:$LINENO: result: $STRIP" >&5
1527
echo "${ECHO_T}$STRIP" >&6
1529
echo "$as_me:$LINENO: result: no" >&5
1530
echo "${ECHO_T}no" >&6
1534
if test -z "$ac_cv_prog_STRIP"; then
1536
# Extract the first word of "strip", so it can be a program name with args.
1537
set dummy strip; ac_word=$2
1538
echo "$as_me:$LINENO: checking for $ac_word" >&5
1539
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1540
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1541
echo $ECHO_N "(cached) $ECHO_C" >&6
1543
if test -n "$ac_ct_STRIP"; then
1544
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1546
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1550
test -z "$as_dir" && as_dir=.
1551
for ac_exec_ext in '' $ac_executable_extensions; do
1552
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1553
ac_cv_prog_ac_ct_STRIP="strip"
1554
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1560
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1563
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1564
if test -n "$ac_ct_STRIP"; then
1565
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1566
echo "${ECHO_T}$ac_ct_STRIP" >&6
1568
echo "$as_me:$LINENO: result: no" >&5
1569
echo "${ECHO_T}no" >&6
1574
STRIP="$ac_cv_prog_STRIP"
1578
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1580
# We need awk for the "check" target. The system "awk" is bad on
1585
ac_config_headers="$ac_config_headers config.h"
1588
for ac_prog in gawk mawk nawk awk
1590
# Extract the first word of "$ac_prog", so it can be a program name with args.
1591
set dummy $ac_prog; ac_word=$2
1592
echo "$as_me:$LINENO: checking for $ac_word" >&5
1593
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1594
if test "${ac_cv_prog_AWK+set}" = set; then
1595
echo $ECHO_N "(cached) $ECHO_C" >&6
1597
if test -n "$AWK"; then
1598
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604
test -z "$as_dir" && as_dir=.
1605
for ac_exec_ext in '' $ac_executable_extensions; do
1606
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1607
ac_cv_prog_AWK="$ac_prog"
1608
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1617
if test -n "$AWK"; then
1618
echo "$as_me:$LINENO: result: $AWK" >&5
1619
echo "${ECHO_T}$AWK" >&6
1621
echo "$as_me:$LINENO: result: no" >&5
1622
echo "${ECHO_T}no" >&6
1625
test -n "$AWK" && break
1629
ac_cpp='$CPP $CPPFLAGS'
1630
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1631
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1632
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1633
if test -n "$ac_tool_prefix"; then
1634
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1635
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1636
echo "$as_me:$LINENO: checking for $ac_word" >&5
1637
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638
if test "${ac_cv_prog_CC+set}" = set; then
1639
echo $ECHO_N "(cached) $ECHO_C" >&6
1641
if test -n "$CC"; then
1642
ac_cv_prog_CC="$CC" # Let the user override the test.
1644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648
test -z "$as_dir" && as_dir=.
1649
for ac_exec_ext in '' $ac_executable_extensions; do
1650
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1652
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1661
if test -n "$CC"; then
1662
echo "$as_me:$LINENO: result: $CC" >&5
1663
echo "${ECHO_T}$CC" >&6
1665
echo "$as_me:$LINENO: result: no" >&5
1666
echo "${ECHO_T}no" >&6
1670
if test -z "$ac_cv_prog_CC"; then
1672
# Extract the first word of "gcc", so it can be a program name with args.
1673
set dummy gcc; ac_word=$2
1674
echo "$as_me:$LINENO: checking for $ac_word" >&5
1675
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1676
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1677
echo $ECHO_N "(cached) $ECHO_C" >&6
1679
if test -n "$ac_ct_CC"; then
1680
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1682
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1686
test -z "$as_dir" && as_dir=.
1687
for ac_exec_ext in '' $ac_executable_extensions; do
1688
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1689
ac_cv_prog_ac_ct_CC="gcc"
1690
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1698
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1699
if test -n "$ac_ct_CC"; then
1700
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1701
echo "${ECHO_T}$ac_ct_CC" >&6
1703
echo "$as_me:$LINENO: result: no" >&5
1704
echo "${ECHO_T}no" >&6
1712
if test -z "$CC"; then
1713
if test -n "$ac_tool_prefix"; then
1714
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1715
set dummy ${ac_tool_prefix}cc; ac_word=$2
1716
echo "$as_me:$LINENO: checking for $ac_word" >&5
1717
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1718
if test "${ac_cv_prog_CC+set}" = set; then
1719
echo $ECHO_N "(cached) $ECHO_C" >&6
1721
if test -n "$CC"; then
1722
ac_cv_prog_CC="$CC" # Let the user override the test.
1724
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728
test -z "$as_dir" && as_dir=.
1729
for ac_exec_ext in '' $ac_executable_extensions; do
1730
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1731
ac_cv_prog_CC="${ac_tool_prefix}cc"
1732
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1741
if test -n "$CC"; then
1742
echo "$as_me:$LINENO: result: $CC" >&5
1743
echo "${ECHO_T}$CC" >&6
1745
echo "$as_me:$LINENO: result: no" >&5
1746
echo "${ECHO_T}no" >&6
1750
if test -z "$ac_cv_prog_CC"; then
1752
# Extract the first word of "cc", so it can be a program name with args.
1753
set dummy cc; ac_word=$2
1754
echo "$as_me:$LINENO: checking for $ac_word" >&5
1755
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1756
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1757
echo $ECHO_N "(cached) $ECHO_C" >&6
1759
if test -n "$ac_ct_CC"; then
1760
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1762
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1766
test -z "$as_dir" && as_dir=.
1767
for ac_exec_ext in '' $ac_executable_extensions; do
1768
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1769
ac_cv_prog_ac_ct_CC="cc"
1770
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1778
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1779
if test -n "$ac_ct_CC"; then
1780
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1781
echo "${ECHO_T}$ac_ct_CC" >&6
1783
echo "$as_me:$LINENO: result: no" >&5
1784
echo "${ECHO_T}no" >&6
1793
if test -z "$CC"; then
1794
# Extract the first word of "cc", so it can be a program name with args.
1795
set dummy cc; ac_word=$2
1796
echo "$as_me:$LINENO: checking for $ac_word" >&5
1797
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1798
if test "${ac_cv_prog_CC+set}" = set; then
1799
echo $ECHO_N "(cached) $ECHO_C" >&6
1801
if test -n "$CC"; then
1802
ac_cv_prog_CC="$CC" # Let the user override the test.
1805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809
test -z "$as_dir" && as_dir=.
1810
for ac_exec_ext in '' $ac_executable_extensions; do
1811
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1813
ac_prog_rejected=yes
1817
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823
if test $ac_prog_rejected = yes; then
1824
# We found a bogon in the path, so make sure we never use it.
1825
set dummy $ac_cv_prog_CC
1827
if test $# != 0; then
1828
# We chose a different compiler from the bogus one.
1829
# However, it has the same basename, so the bogon will be chosen
1830
# first if we set CC to just the basename; use the full file name.
1832
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1838
if test -n "$CC"; then
1839
echo "$as_me:$LINENO: result: $CC" >&5
1840
echo "${ECHO_T}$CC" >&6
1842
echo "$as_me:$LINENO: result: no" >&5
1843
echo "${ECHO_T}no" >&6
1847
if test -z "$CC"; then
1848
if test -n "$ac_tool_prefix"; then
1851
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1852
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1853
echo "$as_me:$LINENO: checking for $ac_word" >&5
1854
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1855
if test "${ac_cv_prog_CC+set}" = set; then
1856
echo $ECHO_N "(cached) $ECHO_C" >&6
1858
if test -n "$CC"; then
1859
ac_cv_prog_CC="$CC" # Let the user override the test.
1861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1865
test -z "$as_dir" && as_dir=.
1866
for ac_exec_ext in '' $ac_executable_extensions; do
1867
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1868
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1869
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878
if test -n "$CC"; then
1879
echo "$as_me:$LINENO: result: $CC" >&5
1880
echo "${ECHO_T}$CC" >&6
1882
echo "$as_me:$LINENO: result: no" >&5
1883
echo "${ECHO_T}no" >&6
1886
test -n "$CC" && break
1889
if test -z "$CC"; then
1893
# Extract the first word of "$ac_prog", so it can be a program name with args.
1894
set dummy $ac_prog; ac_word=$2
1895
echo "$as_me:$LINENO: checking for $ac_word" >&5
1896
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1897
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1898
echo $ECHO_N "(cached) $ECHO_C" >&6
1900
if test -n "$ac_ct_CC"; then
1901
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1903
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907
test -z "$as_dir" && as_dir=.
1908
for ac_exec_ext in '' $ac_executable_extensions; do
1909
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910
ac_cv_prog_ac_ct_CC="$ac_prog"
1911
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1920
if test -n "$ac_ct_CC"; then
1921
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1922
echo "${ECHO_T}$ac_ct_CC" >&6
1924
echo "$as_me:$LINENO: result: no" >&5
1925
echo "${ECHO_T}no" >&6
1928
test -n "$ac_ct_CC" && break
1937
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1938
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1939
{ (exit 1); exit 1; }; }
1941
# Provide some information about the compiler.
1942
echo "$as_me:$LINENO:" \
1943
"checking for C compiler version" >&5
1944
ac_compiler=`set X $ac_compile; echo $2`
1945
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1946
(eval $ac_compiler --version </dev/null >&5) 2>&5
1948
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949
(exit $ac_status); }
1950
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1951
(eval $ac_compiler -v </dev/null >&5) 2>&5
1953
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954
(exit $ac_status); }
1955
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1956
(eval $ac_compiler -V </dev/null >&5) 2>&5
1958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1959
(exit $ac_status); }
1961
cat >conftest.$ac_ext <<_ACEOF
1962
#line $LINENO "configure"
1963
#include "confdefs.h"
1973
ac_clean_files_save=$ac_clean_files
1974
ac_clean_files="$ac_clean_files a.out a.exe"
1975
# Try to create an executable without -o first, disregard a.out.
1976
# It will help us diagnose broken compilers, and finding out an intuition
1978
echo "$as_me:$LINENO: checking for C compiler default output" >&5
1979
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1980
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1981
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1982
(eval $ac_link_default) 2>&5
1984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1985
(exit $ac_status); }; then
1986
# Find the output, starting from the most likely. This scheme is
1987
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1990
# Be careful to initialize this variable, since it used to be cached.
1991
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1993
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
1994
test -f "$ac_file" || continue
1996
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1997
a.out ) # We found the default executable, but exeext='' is most
2000
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2001
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2008
echo "$as_me: failed program was:" >&5
2009
cat conftest.$ac_ext >&5
2010
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2011
check \`config.log' for details." >&5
2012
echo "$as_me: error: C compiler cannot create executables
2013
check \`config.log' for details." >&2;}
2014
{ (exit 77); exit 77; }; }
2017
ac_exeext=$ac_cv_exeext
2018
echo "$as_me:$LINENO: result: $ac_file" >&5
2019
echo "${ECHO_T}$ac_file" >&6
2021
# Check the compiler produces executables we can run. If not, either
2022
# the compiler is broken, or we cross compile.
2023
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2024
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2025
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2026
# If not cross compiling, check that we can run a simple program.
2027
if test "$cross_compiling" != yes; then
2028
if { ac_try='./$ac_file'
2029
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033
(exit $ac_status); }; }; then
2036
if test "$cross_compiling" = maybe; then
2039
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2040
If you meant to cross compile, use \`--host'." >&5
2041
echo "$as_me: error: cannot run C compiled programs.
2042
If you meant to cross compile, use \`--host'." >&2;}
2043
{ (exit 1); exit 1; }; }
2047
echo "$as_me:$LINENO: result: yes" >&5
2048
echo "${ECHO_T}yes" >&6
2050
rm -f a.out a.exe conftest$ac_cv_exeext
2051
ac_clean_files=$ac_clean_files_save
2052
# Check the compiler produces executables we can run. If not, either
2053
# the compiler is broken, or we cross compile.
2054
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2055
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2056
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2057
echo "${ECHO_T}$cross_compiling" >&6
2059
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2060
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2061
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2062
(eval $ac_link) 2>&5
2064
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065
(exit $ac_status); }; then
2066
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2067
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2068
# work properly (i.e., refer to `conftest.exe'), while it won't with
2070
for ac_file in conftest.exe conftest conftest.*; do
2071
test -f "$ac_file" || continue
2073
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2074
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2081
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2082
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2083
{ (exit 1); exit 1; }; }
2086
rm -f conftest$ac_cv_exeext
2087
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2088
echo "${ECHO_T}$ac_cv_exeext" >&6
2090
rm -f conftest.$ac_ext
2091
EXEEXT=$ac_cv_exeext
2093
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2094
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2095
if test "${ac_cv_objext+set}" = set; then
2096
echo $ECHO_N "(cached) $ECHO_C" >&6
2098
cat >conftest.$ac_ext <<_ACEOF
2099
#line $LINENO "configure"
2100
#include "confdefs.h"
2110
rm -f conftest.o conftest.obj
2111
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2112
(eval $ac_compile) 2>&5
2114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115
(exit $ac_status); }; then
2116
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2118
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2119
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2124
echo "$as_me: failed program was:" >&5
2125
cat conftest.$ac_ext >&5
2126
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2127
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2128
{ (exit 1); exit 1; }; }
2131
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2133
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2134
echo "${ECHO_T}$ac_cv_objext" >&6
2135
OBJEXT=$ac_cv_objext
2137
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2138
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2139
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2140
echo $ECHO_N "(cached) $ECHO_C" >&6
2142
cat >conftest.$ac_ext <<_ACEOF
2143
#line $LINENO "configure"
2144
#include "confdefs.h"
2157
rm -f conftest.$ac_objext
2158
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2159
(eval $ac_compile) 2>&5
2161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162
(exit $ac_status); } &&
2163
{ ac_try='test -s conftest.$ac_objext'
2164
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168
(exit $ac_status); }; }; then
2171
echo "$as_me: failed program was:" >&5
2172
cat conftest.$ac_ext >&5
2175
rm -f conftest.$ac_objext conftest.$ac_ext
2176
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2179
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2180
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2181
GCC=`test $ac_compiler_gnu = yes && echo yes`
2182
ac_test_CFLAGS=${CFLAGS+set}
2183
ac_save_CFLAGS=$CFLAGS
2185
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2186
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2187
if test "${ac_cv_prog_cc_g+set}" = set; then
2188
echo $ECHO_N "(cached) $ECHO_C" >&6
2190
cat >conftest.$ac_ext <<_ACEOF
2191
#line $LINENO "configure"
2192
#include "confdefs.h"
2202
rm -f conftest.$ac_objext
2203
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2204
(eval $ac_compile) 2>&5
2206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207
(exit $ac_status); } &&
2208
{ ac_try='test -s conftest.$ac_objext'
2209
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2212
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213
(exit $ac_status); }; }; then
2216
echo "$as_me: failed program was:" >&5
2217
cat conftest.$ac_ext >&5
2220
rm -f conftest.$ac_objext conftest.$ac_ext
2222
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2223
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2224
if test "$ac_test_CFLAGS" = set; then
2225
CFLAGS=$ac_save_CFLAGS
2226
elif test $ac_cv_prog_cc_g = yes; then
2227
if test "$GCC" = yes; then
2233
if test "$GCC" = yes; then
2239
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2240
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2241
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2242
echo $ECHO_N "(cached) $ECHO_C" >&6
2244
ac_cv_prog_cc_stdc=no
2246
cat >conftest.$ac_ext <<_ACEOF
2247
#line $LINENO "configure"
2248
#include "confdefs.h"
2251
#include <sys/types.h>
2252
#include <sys/stat.h>
2253
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2254
struct buf { int x; };
2255
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2256
static char *e (p, i)
2262
static char *f (char * (*g) (char **, int), char **p, ...)
2267
s = g (p, va_arg (v,int));
2271
int test (int i, double x);
2272
struct s1 {int (*f) (int a);};
2273
struct s2 {int (*f) (double a);};
2274
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2280
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2285
# Don't try gcc -ansi; that turns off useful extensions and
2286
# breaks some systems' header files.
2287
# AIX -qlanglvl=ansi
2288
# Ultrix and OSF/1 -std1
2289
# HP-UX 10.20 and later -Ae
2290
# HP-UX older versions -Aa -D_HPUX_SOURCE
2291
# SVR4 -Xc -D__EXTENSIONS__
2292
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2294
CC="$ac_save_CC $ac_arg"
2295
rm -f conftest.$ac_objext
2296
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2297
(eval $ac_compile) 2>&5
2299
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300
(exit $ac_status); } &&
2301
{ ac_try='test -s conftest.$ac_objext'
2302
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306
(exit $ac_status); }; }; then
2307
ac_cv_prog_cc_stdc=$ac_arg
2310
echo "$as_me: failed program was:" >&5
2311
cat conftest.$ac_ext >&5
2313
rm -f conftest.$ac_objext
2315
rm -f conftest.$ac_ext conftest.$ac_objext
2320
case "x$ac_cv_prog_cc_stdc" in
2322
echo "$as_me:$LINENO: result: none needed" >&5
2323
echo "${ECHO_T}none needed" >&6 ;;
2325
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2326
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2327
CC="$CC $ac_cv_prog_cc_stdc" ;;
2330
# Some people use a C++ compiler to compile C. Since we use `exit',
2331
# in C++ we need to declare it. In case someone uses the same compiler
2332
# for both compiling C and C++ we need to have the C++ compiler decide
2333
# the declaration of exit, since it's the most demanding environment.
2334
cat >conftest.$ac_ext <<_ACEOF
2339
rm -f conftest.$ac_objext
2340
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341
(eval $ac_compile) 2>&5
2343
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344
(exit $ac_status); } &&
2345
{ ac_try='test -s conftest.$ac_objext'
2346
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2349
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350
(exit $ac_status); }; }; then
2351
for ac_declaration in \
2353
'#include <stdlib.h>' \
2354
'extern "C" void std::exit (int) throw (); using std::exit;' \
2355
'extern "C" void std::exit (int); using std::exit;' \
2356
'extern "C" void exit (int) throw ();' \
2357
'extern "C" void exit (int);' \
2360
cat >conftest.$ac_ext <<_ACEOF
2361
#line $LINENO "configure"
2362
#include "confdefs.h"
2373
rm -f conftest.$ac_objext
2374
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2375
(eval $ac_compile) 2>&5
2377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378
(exit $ac_status); } &&
2379
{ ac_try='test -s conftest.$ac_objext'
2380
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384
(exit $ac_status); }; }; then
2387
echo "$as_me: failed program was:" >&5
2388
cat conftest.$ac_ext >&5
2391
rm -f conftest.$ac_objext conftest.$ac_ext
2392
cat >conftest.$ac_ext <<_ACEOF
2393
#line $LINENO "configure"
2394
#include "confdefs.h"
2404
rm -f conftest.$ac_objext
2405
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2406
(eval $ac_compile) 2>&5
2408
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409
(exit $ac_status); } &&
2410
{ ac_try='test -s conftest.$ac_objext'
2411
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2414
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415
(exit $ac_status); }; }; then
2418
echo "$as_me: failed program was:" >&5
2419
cat conftest.$ac_ext >&5
2421
rm -f conftest.$ac_objext conftest.$ac_ext
2424
if test -n "$ac_declaration"; then
2425
echo '#ifdef __cplusplus' >>confdefs.h
2426
echo $ac_declaration >>confdefs.h
2427
echo '#endif' >>confdefs.h
2431
echo "$as_me: failed program was:" >&5
2432
cat conftest.$ac_ext >&5
2434
rm -f conftest.$ac_objext conftest.$ac_ext
2436
ac_cpp='$CPP $CPPFLAGS'
2437
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2438
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2439
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2440
rm -f .deps 2>/dev/null
2441
mkdir .deps 2>/dev/null
2442
if test -d .deps; then
2445
# MS-DOS does not allow filenames that begin with a dot.
2448
rmdir .deps 2>/dev/null
2451
ac_config_commands="$ac_config_commands depfiles"
2454
am_make=${MAKE-make}
2455
cat > confinc << 'END'
2459
# If we don't find an include directive, just comment out the code.
2460
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2461
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2465
# First try GNU make style include.
2466
echo "include confinc" > confmf
2467
# We grep out `Entering directory' and `Leaving directory'
2468
# messages which can occur if `w' ends up in MAKEFLAGS.
2469
# In particular we don't look at `^make:' because GNU make might
2470
# be invoked under some other name (usually "gmake"), in which
2471
# case it prints its new name instead of `make'.
2472
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2477
# Now try BSD make style include.
2478
if test "$am__include" = "#"; then
2479
echo '.include "confinc"' > confmf
2480
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2481
am__include=.include
2488
echo "$as_me:$LINENO: result: $_am_result" >&5
2489
echo "${ECHO_T}$_am_result" >&6
2490
rm -f confinc confmf
2492
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2493
if test "${enable_dependency_tracking+set}" = set; then
2494
enableval="$enable_dependency_tracking"
2497
if test "x$enable_dependency_tracking" != xno; then
2498
am_depcomp="$ac_aux_dir/depcomp"
2503
if test "x$enable_dependency_tracking" != xno; then
2514
depcc="$CC" am_compiler_list=
2516
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2517
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2518
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2519
echo $ECHO_N "(cached) $ECHO_C" >&6
2521
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2522
# We make a subdir and do the tests there. Otherwise we can end up
2523
# making bogus files that we don't know about and never remove. For
2524
# instance it was reported that on HP-UX the gcc test will end up
2525
# making a dummy file named `D' -- because `-MD' means `put the output
2528
# Copy depcomp to subdir because otherwise we won't find it if we're
2529
# using a relative directory.
2530
cp "$am_depcomp" conftest.dir
2533
am_cv_CC_dependencies_compiler_type=none
2534
if test "$am_compiler_list" = ""; then
2535
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2537
for depmode in $am_compiler_list; do
2538
# We need to recreate these files for each test, as the compiler may
2539
# overwrite some of them when testing with obscure command lines.
2540
# This happens at least with the AIX C compiler.
2541
echo '#include "conftest.h"' > conftest.c
2542
echo 'int i;' > conftest.h
2543
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2547
# after this tag, mechanisms are not by side-effect, so they'll
2548
# only be used when explicitly requested
2549
if test "x$enable_dependency_tracking" = xyes; then
2557
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2558
# mode. It turns out that the SunPro C++ compiler does not properly
2559
# handle `-M -o', and we need to detect this.
2560
if depmode=$depmode \
2561
source=conftest.c object=conftest.o \
2562
depfile=conftest.Po tmpdepfile=conftest.TPo \
2563
$SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
2564
grep conftest.h conftest.Po > /dev/null 2>&1 &&
2565
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2566
am_cv_CC_dependencies_compiler_type=$depmode
2574
am_cv_CC_dependencies_compiler_type=none
2578
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2579
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2580
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2585
test "x$enable_dependency_tracking" != xno \
2586
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2588
am__fastdepCC_FALSE='#'
2590
am__fastdepCC_TRUE='#'
2591
am__fastdepCC_FALSE=
2595
# Find a good install program. We prefer a C program (faster),
2596
# so one script is as good as another. But avoid the broken or
2597
# incompatible versions:
2598
# SysV /etc/install, /usr/sbin/install
2599
# SunOS /usr/etc/install
2600
# IRIX /sbin/install
2602
# AmigaOS /C/install, which installs bootblocks on floppy discs
2603
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2604
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2605
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2606
# ./install, which can be erroneously created by make from ./install.sh.
2607
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2608
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2609
if test -z "$INSTALL"; then
2610
if test "${ac_cv_path_install+set}" = set; then
2611
echo $ECHO_N "(cached) $ECHO_C" >&6
2613
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617
test -z "$as_dir" && as_dir=.
2618
# Account for people who put trailing slashes in PATH elements.
2620
./ | .// | /cC/* | \
2621
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2624
# OSF1 and SCO ODT 3.0 have their own names for install.
2625
# Don't use installbsd from OSF since it installs stuff as root
2627
for ac_prog in ginstall scoinst install; do
2628
for ac_exec_ext in '' $ac_executable_extensions; do
2629
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2630
if test $ac_prog = install &&
2631
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2632
# AIX install. It has an incompatible calling convention.
2634
elif test $ac_prog = install &&
2635
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2636
# program-specific install script used by HP pwplus--don't use.
2639
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2651
if test "${ac_cv_path_install+set}" = set; then
2652
INSTALL=$ac_cv_path_install
2654
# As a last resort, use the slow shell script. We don't cache a
2655
# path for INSTALL within a source directory, because that will
2656
# break other packages using the cache if that directory is
2657
# removed, or if the path is relative.
2658
INSTALL=$ac_install_sh
2661
echo "$as_me:$LINENO: result: $INSTALL" >&5
2662
echo "${ECHO_T}$INSTALL" >&6
2664
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2665
# It thinks the first close brace ends the variable substitution.
2666
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2668
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2670
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2672
echo "$as_me:$LINENO: checking whether ln -s works" >&5
2673
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2675
if test "$LN_S" = "ln -s"; then
2676
echo "$as_me:$LINENO: result: yes" >&5
2677
echo "${ECHO_T}yes" >&6
2679
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2680
echo "${ECHO_T}no, using $LN_S" >&6
2685
ac_cpp='$CPP $CPPFLAGS'
2686
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2687
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2688
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2689
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2690
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2691
# On Suns, sometimes $CPP names a directory.
2692
if test -n "$CPP" && test -d "$CPP"; then
2695
if test -z "$CPP"; then
2696
if test "${ac_cv_prog_CPP+set}" = set; then
2697
echo $ECHO_N "(cached) $ECHO_C" >&6
2699
# Double quotes because CPP needs to be expanded
2700
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2703
for ac_c_preproc_warn_flag in '' yes
2705
# Use a header file that comes with gcc, so configuring glibc
2706
# with a fresh cross-compiler works.
2707
# On the NeXT, cc -E runs the code through the compiler's parser,
2708
# not just through cpp. "Syntax error" is here to catch this case.
2709
cat >conftest.$ac_ext <<_ACEOF
2710
#line $LINENO "configure"
2711
#include "confdefs.h"
2715
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2716
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2718
grep -v '^ *+' conftest.er1 >conftest.err
2720
cat conftest.err >&5
2721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722
(exit $ac_status); } >/dev/null; then
2723
if test -s conftest.err; then
2724
ac_cpp_err=$ac_c_preproc_warn_flag
2731
if test -z "$ac_cpp_err"; then
2734
echo "$as_me: failed program was:" >&5
2735
cat conftest.$ac_ext >&5
2736
# Broken: fails on valid input.
2739
rm -f conftest.err conftest.$ac_ext
2741
# OK, works on sane cases. Now check whether non-existent headers
2742
# can be detected and how.
2743
cat >conftest.$ac_ext <<_ACEOF
2744
#line $LINENO "configure"
2745
#include "confdefs.h"
2746
#include <ac_nonexistent.h>
2748
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2749
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2751
grep -v '^ *+' conftest.er1 >conftest.err
2753
cat conftest.err >&5
2754
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755
(exit $ac_status); } >/dev/null; then
2756
if test -s conftest.err; then
2757
ac_cpp_err=$ac_c_preproc_warn_flag
2764
if test -z "$ac_cpp_err"; then
2765
# Broken: success on invalid input.
2768
echo "$as_me: failed program was:" >&5
2769
cat conftest.$ac_ext >&5
2770
# Passes both tests.
2774
rm -f conftest.err conftest.$ac_ext
2777
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2778
rm -f conftest.err conftest.$ac_ext
2779
if $ac_preproc_ok; then
2791
echo "$as_me:$LINENO: result: $CPP" >&5
2792
echo "${ECHO_T}$CPP" >&6
2794
for ac_c_preproc_warn_flag in '' yes
2796
# Use a header file that comes with gcc, so configuring glibc
2797
# with a fresh cross-compiler works.
2798
# On the NeXT, cc -E runs the code through the compiler's parser,
2799
# not just through cpp. "Syntax error" is here to catch this case.
2800
cat >conftest.$ac_ext <<_ACEOF
2801
#line $LINENO "configure"
2802
#include "confdefs.h"
2806
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2807
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2809
grep -v '^ *+' conftest.er1 >conftest.err
2811
cat conftest.err >&5
2812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813
(exit $ac_status); } >/dev/null; then
2814
if test -s conftest.err; then
2815
ac_cpp_err=$ac_c_preproc_warn_flag
2822
if test -z "$ac_cpp_err"; then
2825
echo "$as_me: failed program was:" >&5
2826
cat conftest.$ac_ext >&5
2827
# Broken: fails on valid input.
2830
rm -f conftest.err conftest.$ac_ext
2832
# OK, works on sane cases. Now check whether non-existent headers
2833
# can be detected and how.
2834
cat >conftest.$ac_ext <<_ACEOF
2835
#line $LINENO "configure"
2836
#include "confdefs.h"
2837
#include <ac_nonexistent.h>
2839
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2840
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2842
grep -v '^ *+' conftest.er1 >conftest.err
2844
cat conftest.err >&5
2845
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846
(exit $ac_status); } >/dev/null; then
2847
if test -s conftest.err; then
2848
ac_cpp_err=$ac_c_preproc_warn_flag
2855
if test -z "$ac_cpp_err"; then
2856
# Broken: success on invalid input.
2859
echo "$as_me: failed program was:" >&5
2860
cat conftest.$ac_ext >&5
2861
# Passes both tests.
2865
rm -f conftest.err conftest.$ac_ext
2868
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2869
rm -f conftest.err conftest.$ac_ext
2870
if $ac_preproc_ok; then
2873
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2874
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2875
{ (exit 1); exit 1; }; }
2879
ac_cpp='$CPP $CPPFLAGS'
2880
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2881
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2882
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2885
echo "$as_me:$LINENO: checking for egrep" >&5
2886
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2887
if test "${ac_cv_prog_egrep+set}" = set; then
2888
echo $ECHO_N "(cached) $ECHO_C" >&6
2890
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2891
then ac_cv_prog_egrep='grep -E'
2892
else ac_cv_prog_egrep='egrep'
2895
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2896
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2897
EGREP=$ac_cv_prog_egrep
2900
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2901
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2902
if test "${ac_cv_header_stdc+set}" = set; then
2903
echo $ECHO_N "(cached) $ECHO_C" >&6
2905
cat >conftest.$ac_ext <<_ACEOF
2906
#line $LINENO "configure"
2907
#include "confdefs.h"
2914
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2915
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2917
grep -v '^ *+' conftest.er1 >conftest.err
2919
cat conftest.err >&5
2920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921
(exit $ac_status); } >/dev/null; then
2922
if test -s conftest.err; then
2923
ac_cpp_err=$ac_c_preproc_warn_flag
2930
if test -z "$ac_cpp_err"; then
2931
ac_cv_header_stdc=yes
2933
echo "$as_me: failed program was:" >&5
2934
cat conftest.$ac_ext >&5
2935
ac_cv_header_stdc=no
2937
rm -f conftest.err conftest.$ac_ext
2939
if test $ac_cv_header_stdc = yes; then
2940
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2941
cat >conftest.$ac_ext <<_ACEOF
2942
#line $LINENO "configure"
2943
#include "confdefs.h"
2947
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2948
$EGREP "memchr" >/dev/null 2>&1; then
2951
ac_cv_header_stdc=no
2957
if test $ac_cv_header_stdc = yes; then
2958
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2959
cat >conftest.$ac_ext <<_ACEOF
2960
#line $LINENO "configure"
2961
#include "confdefs.h"
2965
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2966
$EGREP "free" >/dev/null 2>&1; then
2969
ac_cv_header_stdc=no
2975
if test $ac_cv_header_stdc = yes; then
2976
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2977
if test "$cross_compiling" = yes; then
2980
cat >conftest.$ac_ext <<_ACEOF
2981
#line $LINENO "configure"
2982
#include "confdefs.h"
2984
#if ((' ' & 0x0FF) == 0x020)
2985
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2986
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2988
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2989
|| ('j' <= (c) && (c) <= 'r') \
2990
|| ('s' <= (c) && (c) <= 'z'))
2991
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2994
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2999
for (i = 0; i < 256; i++)
3000
if (XOR (islower (i), ISLOWER (i))
3001
|| toupper (i) != TOUPPER (i))
3006
rm -f conftest$ac_exeext
3007
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3008
(eval $ac_link) 2>&5
3010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3012
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016
(exit $ac_status); }; }; then
3019
echo "$as_me: program exited with status $ac_status" >&5
3020
echo "$as_me: failed program was:" >&5
3021
cat conftest.$ac_ext >&5
3023
ac_cv_header_stdc=no
3025
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3029
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3030
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3031
if test $ac_cv_header_stdc = yes; then
3033
cat >>confdefs.h <<\_ACEOF
3034
#define STDC_HEADERS 1
3041
echo "$as_me:$LINENO: checking for main in -lSDL" >&5
3042
echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6
3043
if test "${ac_cv_lib_SDL_main+set}" = set; then
3044
echo $ECHO_N "(cached) $ECHO_C" >&6
3046
ac_check_lib_save_LIBS=$LIBS
3048
cat >conftest.$ac_ext <<_ACEOF
3049
#line $LINENO "configure"
3050
#include "confdefs.h"
3061
rm -f conftest.$ac_objext conftest$ac_exeext
3062
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3063
(eval $ac_link) 2>&5
3065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066
(exit $ac_status); } &&
3067
{ ac_try='test -s conftest$ac_exeext'
3068
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3071
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072
(exit $ac_status); }; }; then
3073
ac_cv_lib_SDL_main=yes
3075
echo "$as_me: failed program was:" >&5
3076
cat conftest.$ac_ext >&5
3077
ac_cv_lib_SDL_main=no
3079
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3080
LIBS=$ac_check_lib_save_LIBS
3082
echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5
3083
echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6
3084
if test $ac_cv_lib_SDL_main = yes; then
3085
cat >>confdefs.h <<_ACEOF
3086
#define HAVE_LIBSDL 1
3094
echo "$as_me:$LINENO: checking for main in -lSDL_ttf" >&5
3095
echo $ECHO_N "checking for main in -lSDL_ttf... $ECHO_C" >&6
3096
if test "${ac_cv_lib_SDL_ttf_main+set}" = set; then
3097
echo $ECHO_N "(cached) $ECHO_C" >&6
3099
ac_check_lib_save_LIBS=$LIBS
3100
LIBS="-lSDL_ttf $LIBS"
3101
cat >conftest.$ac_ext <<_ACEOF
3102
#line $LINENO "configure"
3103
#include "confdefs.h"
3114
rm -f conftest.$ac_objext conftest$ac_exeext
3115
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3116
(eval $ac_link) 2>&5
3118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119
(exit $ac_status); } &&
3120
{ ac_try='test -s conftest$ac_exeext'
3121
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125
(exit $ac_status); }; }; then
3126
ac_cv_lib_SDL_ttf_main=yes
3128
echo "$as_me: failed program was:" >&5
3129
cat conftest.$ac_ext >&5
3130
ac_cv_lib_SDL_ttf_main=no
3132
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3133
LIBS=$ac_check_lib_save_LIBS
3135
echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_ttf_main" >&5
3136
echo "${ECHO_T}$ac_cv_lib_SDL_ttf_main" >&6
3137
if test $ac_cv_lib_SDL_ttf_main = yes; then
3138
cat >>confdefs.h <<_ACEOF
3139
#define HAVE_LIBSDL_TTF 1
3142
LIBS="-lSDL_ttf $LIBS"
3147
echo "$as_me:$LINENO: checking for main in -lpthread" >&5
3148
echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6
3149
if test "${ac_cv_lib_pthread_main+set}" = set; then
3150
echo $ECHO_N "(cached) $ECHO_C" >&6
3152
ac_check_lib_save_LIBS=$LIBS
3153
LIBS="-lpthread $LIBS"
3154
cat >conftest.$ac_ext <<_ACEOF
3155
#line $LINENO "configure"
3156
#include "confdefs.h"
3167
rm -f conftest.$ac_objext conftest$ac_exeext
3168
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3169
(eval $ac_link) 2>&5
3171
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172
(exit $ac_status); } &&
3173
{ ac_try='test -s conftest$ac_exeext'
3174
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178
(exit $ac_status); }; }; then
3179
ac_cv_lib_pthread_main=yes
3181
echo "$as_me: failed program was:" >&5
3182
cat conftest.$ac_ext >&5
3183
ac_cv_lib_pthread_main=no
3185
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3186
LIBS=$ac_check_lib_save_LIBS
3188
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
3189
echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6
3190
if test $ac_cv_lib_pthread_main = yes; then
3191
cat >>confdefs.h <<_ACEOF
3192
#define HAVE_LIBPTHREAD 1
3195
LIBS="-lpthread $LIBS"
3200
if test "x${prefix}" = "xNONE"; then
3203
cat >>confdefs.h <<_ACEOF
3204
#define PACKAGE_DATA_DIR "${ac_default_prefix}/share/${PACKAGE}/"
3209
cat >>confdefs.h <<_ACEOF
3210
#define PACKAGE_DATA_DIR "${prefix}/share/${PACKAGE}/"
3218
for ac_func in atexit
3220
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3221
echo "$as_me:$LINENO: checking for $ac_func" >&5
3222
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3223
if eval "test \"\${$as_ac_var+set}\" = set"; then
3224
echo $ECHO_N "(cached) $ECHO_C" >&6
3226
cat >conftest.$ac_ext <<_ACEOF
3227
#line $LINENO "configure"
3228
#include "confdefs.h"
3229
/* System header to define __stub macros and hopefully few prototypes,
3230
which can conflict with char $ac_func (); below. */
3232
/* Override any gcc2 internal prototype to avoid an error. */
3236
/* We use char because int might match the return type of a gcc2
3237
builtin and then its argument prototype would still apply. */
3244
/* The GNU C library defines this for functions which it implements
3245
to always fail with ENOSYS. Some functions are actually named
3246
something starting with __ and the normal name is an alias. */
3247
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3257
rm -f conftest.$ac_objext conftest$ac_exeext
3258
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3259
(eval $ac_link) 2>&5
3261
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262
(exit $ac_status); } &&
3263
{ ac_try='test -s conftest$ac_exeext'
3264
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268
(exit $ac_status); }; }; then
3269
eval "$as_ac_var=yes"
3271
echo "$as_me: failed program was:" >&5
3272
cat conftest.$ac_ext >&5
3273
eval "$as_ac_var=no"
3275
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3277
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3278
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3279
if test `eval echo '${'$as_ac_var'}'` = yes; then
3280
cat >>confdefs.h <<_ACEOF
3281
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3288
ac_config_files="$ac_config_files Makefile"
3290
cat >confcache <<\_ACEOF
3291
# This file is a shell script that caches the results of configure
3292
# tests run on this system so they can be shared between configure
3293
# scripts and configure runs, see configure's option --config-cache.
3294
# It is not useful on other systems. If it contains results you don't
3295
# want to keep, you may remove or edit it.
3297
# config.status only pays attention to the cache file if you give it
3298
# the --recheck option to rerun configure.
3300
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3301
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3306
# The following way of writing the cache mishandles newlines in values,
3307
# but we know of no workaround that is simple, portable, and efficient.
3308
# So, don't put newlines in cache variables' values.
3309
# Ultrix sh set writes to stderr and can't be redirected directly,
3310
# and sets the high bit in the cache file unless we assign to the vars.
3313
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3315
# `set' does not quote correctly, so add quotes (double-quote
3316
# substitution turns \\\\ into \\, and sed turns \\ into \).
3319
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3322
# `set' quotes correctly as required by POSIX, so do not add quotes.
3324
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3331
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3333
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3335
if cmp -s $cache_file confcache; then :; else
3336
if test -w $cache_file; then
3337
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3338
cat confcache >$cache_file
3340
echo "not updating unwritable cache $cache_file"
3345
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3346
# Let make expand exec_prefix.
3347
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3349
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3350
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3351
# trailing colons and then remove the whole line if VPATH becomes empty
3352
# (actually we leave an empty line to preserve line numbers).
3353
if test "x$srcdir" = x.; then
3354
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3355
s/:*\$(srcdir):*/:/;
3356
s/:*\${srcdir}:*/:/;
3358
s/^\([^=]*=[ ]*\):*/\1/;
3364
DEFS=-DHAVE_CONFIG_H
3368
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3369
# 1. Remove the extension, and $U if already installed.
3370
ac_i=`echo "$ac_i" |
3371
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3373
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3374
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3378
LTLIBOBJS=$ac_ltlibobjs
3381
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3382
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3383
Usually this means the macro was only invoked conditionally." >&5
3384
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3385
Usually this means the macro was only invoked conditionally." >&2;}
3386
{ (exit 1); exit 1; }; }
3388
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3389
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3390
Usually this means the macro was only invoked conditionally." >&5
3391
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3392
Usually this means the macro was only invoked conditionally." >&2;}
3393
{ (exit 1); exit 1; }; }
3396
: ${CONFIG_STATUS=./config.status}
3397
ac_clean_files_save=$ac_clean_files
3398
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3399
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3400
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3401
cat >$CONFIG_STATUS <<_ACEOF
3403
# Generated by $as_me.
3404
# Run this file to recreate the current configuration.
3405
# Compiler output produced by configure, useful for debugging
3406
# configure, is in config.log if it exists.
3409
SHELL=\${CONFIG_SHELL-$SHELL}
3412
cat >>$CONFIG_STATUS <<\_ACEOF
3413
## --------------------- ##
3414
## M4sh Initialization. ##
3415
## --------------------- ##
3417
# Be Bourne compatible
3418
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3421
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3422
# is contrary to our usage. Disable this feature.
3423
alias -g '${1+"$@"}'='"$@"'
3424
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3428
# Support unset when possible.
3429
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3436
# Work around bugs in pre-3.0 UWIN ksh.
3437
$as_unset ENV MAIL MAILPATH
3443
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
3445
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3446
eval $as_var=C; export $as_var
3452
# Required to use basename.
3453
if expr a : '\(a\)' >/dev/null 2>&1; then
3459
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3460
as_basename=basename
3466
# Name of the executable.
3467
as_me=`$as_basename "$0" ||
3468
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3469
X"$0" : 'X\(//\)$' \| \
3470
X"$0" : 'X\(/\)$' \| \
3471
. : '\(.\)' 2>/dev/null ||
3473
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3474
/^X\/\(\/\/\)$/{ s//\1/; q; }
3475
/^X\/\(\/\).*/{ s//\1/; q; }
3479
# PATH needs CR, and LINENO needs CR and PATH.
3480
# Avoid depending upon Character Ranges.
3481
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3482
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3483
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3484
as_cr_digits='0123456789'
3485
as_cr_alnum=$as_cr_Letters$as_cr_digits
3487
# The user is always right.
3488
if test "${PATH_SEPARATOR+set}" != set; then
3489
echo "#! /bin/sh" >conftest.sh
3490
echo "exit 0" >>conftest.sh
3491
chmod +x conftest.sh
3492
if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
3503
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3504
test "x$as_lineno_1" != "x$as_lineno_2" &&
3505
test "x$as_lineno_3" = "x$as_lineno_2" || {
3506
# Find who we are. Look in the path if we contain no path at all
3509
*[\\/]* ) as_myself=$0 ;;
3510
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514
test -z "$as_dir" && as_dir=.
3515
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3520
# We did not find ourselves, most probably we were run as `sh COMMAND'
3521
# in which case we are not to be found in the path.
3522
if test "x$as_myself" = x; then
3525
if test ! -f "$as_myself"; then
3526
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3527
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3528
{ (exit 1); exit 1; }; }
3530
case $CONFIG_SHELL in
3532
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3536
test -z "$as_dir" && as_dir=.
3537
for as_base in sh bash ksh sh5; do
3540
if ("$as_dir/$as_base" -c '
3543
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3544
test "x$as_lineno_1" != "x$as_lineno_2" &&
3545
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3546
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3547
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3548
CONFIG_SHELL=$as_dir/$as_base
3550
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3558
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3559
# uniformly replaced by the line number. The first 'sed' inserts a
3560
# line-number line before each line; the second 'sed' does the real
3561
# work. The second script uses 'N' to pair each line-number line
3562
# with the numbered line, and appends trailing '-' during
3563
# substitution so that $LINENO is not a special case at line end.
3564
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3565
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3566
sed '=' <$as_myself |
3571
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3574
s,^['$as_cr_digits']*\n,,
3576
chmod +x $as_me.lineno ||
3577
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3578
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3579
{ (exit 1); exit 1; }; }
3581
# Don't try to exec as it changes $[0], causing all sort of problems
3582
# (the dirname of $[0] is not the place where we might find the
3583
# original and so on. Autoconf is especially sensible to this).
3585
# Exit status is that of the last command.
3590
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3591
*c*,-n*) ECHO_N= ECHO_C='
3593
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3594
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3597
if expr a : '\(a\)' >/dev/null 2>&1; then
3603
rm -f conf$$ conf$$.exe conf$$.file
3605
if ln -s conf$$.file conf$$ 2>/dev/null; then
3606
# We could just check for DJGPP; but this test a) works b) is more generic
3607
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3608
if test -f conf$$.exe; then
3609
# Don't use ln at all; we don't have any links
3614
elif ln conf$$.file conf$$ 2>/dev/null; then
3619
rm -f conf$$ conf$$.exe conf$$.file
3621
if mkdir -p . 2>/dev/null; then
3627
as_executable_p="test -f"
3629
# Sed expression to map a string onto a valid CPP name.
3630
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3632
# Sed expression to map a string onto a valid variable name.
3633
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3637
# We need space, tab and new line, in precisely that order.
3647
# Open the log real soon, to keep \$[0] and so on meaningful, and to
3648
# report actual input values of CONFIG_FILES etc. instead of their
3649
# values after options handling. Logging --version etc. is OK.
3653
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3654
## Running $as_me. ##
3659
This file was extended by $as_me, which was
3660
generated by GNU Autoconf 2.54. Invocation command line was
3662
CONFIG_FILES = $CONFIG_FILES
3663
CONFIG_HEADERS = $CONFIG_HEADERS
3664
CONFIG_LINKS = $CONFIG_LINKS
3665
CONFIG_COMMANDS = $CONFIG_COMMANDS
3669
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3673
# Files that config.status was made for.
3674
if test -n "$ac_config_files"; then
3675
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3678
if test -n "$ac_config_headers"; then
3679
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3682
if test -n "$ac_config_links"; then
3683
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3686
if test -n "$ac_config_commands"; then
3687
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3690
cat >>$CONFIG_STATUS <<\_ACEOF
3693
\`$as_me' instantiates files from templates according to the
3694
current configuration.
3696
Usage: $0 [OPTIONS] [FILE]...
3698
-h, --help print this help, then exit
3699
-V, --version print version number, then exit
3700
-d, --debug don't remove temporary files
3701
--recheck update $as_me by reconfiguring in the same conditions
3702
--file=FILE[:TEMPLATE]
3703
instantiate the configuration file FILE
3704
--header=FILE[:TEMPLATE]
3705
instantiate the configuration header FILE
3707
Configuration files:
3710
Configuration headers:
3713
Configuration commands:
3716
Report bugs to <bug-autoconf@gnu.org>."
3719
cat >>$CONFIG_STATUS <<_ACEOF
3722
configured by $0, generated by GNU Autoconf 2.54,
3723
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3725
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3726
Free Software Foundation, Inc.
3727
This config.status script is free software; the Free Software Foundation
3728
gives unlimited permission to copy, distribute and modify it."
3733
cat >>$CONFIG_STATUS <<\_ACEOF
3734
# If no file are specified by the user, then we need to provide default
3735
# value. By we need to know if files were specified by the user.
3741
ac_option=`expr "x$1" : 'x\([^=]*\)='`
3742
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3750
*) # This is not an option, so the user has probably given explicit
3753
ac_need_defaults=false;;
3757
# Handling of the options.
3759
cat >>$CONFIG_STATUS <<_ACEOF
3760
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3761
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3762
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3764
cat >>$CONFIG_STATUS <<\_ACEOF
3765
--version | --vers* | -V )
3766
echo "$ac_cs_version"; exit 0 ;;
3768
# Conflict between --help and --header
3769
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
3770
Try \`$0 --help' for more information." >&5
3771
echo "$as_me: error: ambiguous option: $1
3772
Try \`$0 --help' for more information." >&2;}
3773
{ (exit 1); exit 1; }; };;
3774
--help | --hel | -h )
3775
echo "$ac_cs_usage"; exit 0 ;;
3776
--debug | --d* | -d )
3778
--file | --fil | --fi | --f )
3780
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3781
ac_need_defaults=false;;
3782
--header | --heade | --head | --hea )
3784
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3785
ac_need_defaults=false;;
3788
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3789
Try \`$0 --help' for more information." >&5
3790
echo "$as_me: error: unrecognized option: $1
3791
Try \`$0 --help' for more information." >&2;}
3792
{ (exit 1); exit 1; }; } ;;
3794
*) ac_config_targets="$ac_config_targets $1" ;;
3802
cat >>$CONFIG_STATUS <<_ACEOF
3804
# INIT-COMMANDS section.
3807
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3813
cat >>$CONFIG_STATUS <<\_ACEOF
3814
for ac_config_target in $ac_config_targets
3816
case "$ac_config_target" in
3817
# Handling of arguments.
3818
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3819
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3820
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3821
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3822
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3823
{ (exit 1); exit 1; }; };;
3827
# If the user did not use the arguments to specify the items to instantiate,
3828
# then the envvar interface is used. Set only those that are not.
3829
# We use the long form for the default assignment because of an extremely
3830
# bizarre bug on SunOS 4.1.3.
3831
if $ac_need_defaults; then
3832
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3833
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3834
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3837
# Create a temporary directory, and hook for its removal unless debugging.
3840
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3841
trap '{ (exit 1); exit 1; }' 1 2 13 15
3844
# Create a (secure) tmp directory for tmp files.
3847
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3848
test -n "$tmp" && test -d "$tmp"
3851
tmp=$TMPDIR/cs$$-$RANDOM
3852
(umask 077 && mkdir $tmp)
3855
echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3856
{ (exit 1); exit 1; }
3861
cat >>$CONFIG_STATUS <<_ACEOF
3864
# CONFIG_FILES section.
3867
# No need to generate the scripts if there are no CONFIG_FILES.
3868
# This happens for instance when ./config.status config.h
3869
if test -n "\$CONFIG_FILES"; then
3870
# Protect against being on the right side of a sed subst in config.status.
3871
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3872
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3873
s,@SHELL@,$SHELL,;t t
3874
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3875
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3876
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3877
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3878
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3879
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3880
s,@exec_prefix@,$exec_prefix,;t t
3881
s,@prefix@,$prefix,;t t
3882
s,@program_transform_name@,$program_transform_name,;t t
3883
s,@bindir@,$bindir,;t t
3884
s,@sbindir@,$sbindir,;t t
3885
s,@libexecdir@,$libexecdir,;t t
3886
s,@datadir@,$datadir,;t t
3887
s,@sysconfdir@,$sysconfdir,;t t
3888
s,@sharedstatedir@,$sharedstatedir,;t t
3889
s,@localstatedir@,$localstatedir,;t t
3890
s,@libdir@,$libdir,;t t
3891
s,@includedir@,$includedir,;t t
3892
s,@oldincludedir@,$oldincludedir,;t t
3893
s,@infodir@,$infodir,;t t
3894
s,@mandir@,$mandir,;t t
3895
s,@build_alias@,$build_alias,;t t
3896
s,@host_alias@,$host_alias,;t t
3897
s,@target_alias@,$target_alias,;t t
3899
s,@ECHO_C@,$ECHO_C,;t t
3900
s,@ECHO_N@,$ECHO_N,;t t
3901
s,@ECHO_T@,$ECHO_T,;t t
3903
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3904
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3905
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3906
s,@CYGPATH_W@,$CYGPATH_W,;t t
3907
s,@PACKAGE@,$PACKAGE,;t t
3908
s,@VERSION@,$VERSION,;t t
3909
s,@ACLOCAL@,$ACLOCAL,;t t
3910
s,@AUTOCONF@,$AUTOCONF,;t t
3911
s,@AUTOMAKE@,$AUTOMAKE,;t t
3912
s,@AUTOHEADER@,$AUTOHEADER,;t t
3913
s,@MAKEINFO@,$MAKEINFO,;t t
3914
s,@AMTAR@,$AMTAR,;t t
3915
s,@install_sh@,$install_sh,;t t
3916
s,@STRIP@,$STRIP,;t t
3917
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3918
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3920
s,@SET_MAKE@,$SET_MAKE,;t t
3922
s,@CFLAGS@,$CFLAGS,;t t
3923
s,@LDFLAGS@,$LDFLAGS,;t t
3924
s,@CPPFLAGS@,$CPPFLAGS,;t t
3925
s,@ac_ct_CC@,$ac_ct_CC,;t t
3926
s,@EXEEXT@,$EXEEXT,;t t
3927
s,@OBJEXT@,$OBJEXT,;t t
3928
s,@DEPDIR@,$DEPDIR,;t t
3929
s,@am__include@,$am__include,;t t
3930
s,@am__quote@,$am__quote,;t t
3931
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3932
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3933
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3934
s,@CCDEPMODE@,$CCDEPMODE,;t t
3935
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3936
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3939
s,@EGREP@,$EGREP,;t t
3940
s,@LIBOBJS@,$LIBOBJS,;t t
3941
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3946
cat >>$CONFIG_STATUS <<\_ACEOF
3947
# Split the substitutions into bite-sized pieces for seds with
3948
# small command number limits, like on Digital OSF/1 and HP-UX.
3950
ac_sed_frag=1 # Number of current file.
3951
ac_beg=1 # First line for current file.
3952
ac_end=$ac_max_sed_lines # Line after last line for current file.
3955
while $ac_more_lines; do
3956
if test $ac_beg -gt 1; then
3957
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3959
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3961
if test ! -s $tmp/subs.frag; then
3964
# The purpose of the label and of the branching condition is to
3965
# speed up the sed processing (if there are no `@' at all, there
3966
# is no need to browse any of the substitutions).
3967
# These are the two extra sed commands mentioned above.
3969
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3970
if test -z "$ac_sed_cmds"; then
3971
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3973
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3975
ac_sed_frag=`expr $ac_sed_frag + 1`
3977
ac_end=`expr $ac_end + $ac_max_sed_lines`
3980
if test -z "$ac_sed_cmds"; then
3983
fi # test -n "$CONFIG_FILES"
3986
cat >>$CONFIG_STATUS <<\_ACEOF
3987
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3988
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3990
- | *:- | *:-:* ) # input from stdin
3992
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3993
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3994
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3995
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3996
* ) ac_file_in=$ac_file.in ;;
3999
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4000
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4001
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4002
X"$ac_file" : 'X\(//\)[^/]' \| \
4003
X"$ac_file" : 'X\(//\)$' \| \
4004
X"$ac_file" : 'X\(/\)' \| \
4005
. : '\(.\)' 2>/dev/null ||
4007
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4008
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4009
/^X\(\/\/\)$/{ s//\1/; q; }
4010
/^X\(\/\).*/{ s//\1/; q; }
4012
{ if $as_mkdir_p; then
4017
while test ! -d "$as_dir"; do
4018
as_dirs="$as_dir $as_dirs"
4019
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4020
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4021
X"$as_dir" : 'X\(//\)[^/]' \| \
4022
X"$as_dir" : 'X\(//\)$' \| \
4023
X"$as_dir" : 'X\(/\)' \| \
4024
. : '\(.\)' 2>/dev/null ||
4026
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4027
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4028
/^X\(\/\/\)$/{ s//\1/; q; }
4029
/^X\(\/\).*/{ s//\1/; q; }
4032
test ! -n "$as_dirs" || mkdir $as_dirs
4033
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4034
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4035
{ (exit 1); exit 1; }; }; }
4039
if test "$ac_dir" != .; then
4040
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4041
# A "../" for each directory in $ac_dir_suffix.
4042
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4044
ac_dir_suffix= ac_top_builddir=
4048
.) # No --srcdir option. We are building in place.
4050
if test -z "$ac_top_builddir"; then
4053
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4055
[\\/]* | ?:[\\/]* ) # Absolute path.
4056
ac_srcdir=$srcdir$ac_dir_suffix;
4057
ac_top_srcdir=$srcdir ;;
4059
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4060
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4062
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4064
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4065
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4066
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4067
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4071
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4072
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4075
if test x"$ac_file" != x-; then
4076
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4077
echo "$as_me: creating $ac_file" >&6;}
4080
# Let's still pretend it is `configure' which instantiates (i.e., don't
4081
# use $as_me), people would be surprised to read:
4082
# /* config.h. Generated by config.status. */
4083
if test x"$ac_file" = x-; then
4086
configure_input="$ac_file. "
4088
configure_input=$configure_input"Generated from `echo $ac_file_in |
4089
sed 's,.*/,,'` by configure."
4091
# First look for the input files in the build tree, otherwise in the
4093
ac_file_inputs=`IFS=:
4094
for f in $ac_file_in; do
4096
-) echo $tmp/stdin ;;
4098
# Absolute (can't be DOS-style, as IFS=:)
4099
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4100
echo "$as_me: error: cannot find input file: $f" >&2;}
4101
{ (exit 1); exit 1; }; }
4104
if test -f "$f"; then
4107
elif test -f "$srcdir/$f"; then
4112
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4113
echo "$as_me: error: cannot find input file: $f" >&2;}
4114
{ (exit 1); exit 1; }; }
4117
done` || { (exit 1); exit 1; }
4119
cat >>$CONFIG_STATUS <<_ACEOF
4123
cat >>$CONFIG_STATUS <<\_ACEOF
4125
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4126
s,@configure_input@,$configure_input,;t t
4127
s,@srcdir@,$ac_srcdir,;t t
4128
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4129
s,@top_srcdir@,$ac_top_srcdir,;t t
4130
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4131
s,@builddir@,$ac_builddir,;t t
4132
s,@abs_builddir@,$ac_abs_builddir,;t t
4133
s,@top_builddir@,$ac_top_builddir,;t t
4134
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4135
s,@INSTALL@,$ac_INSTALL,;t t
4136
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4138
if test x"$ac_file" != x-; then
4139
mv $tmp/out $ac_file
4147
cat >>$CONFIG_STATUS <<\_ACEOF
4150
# CONFIG_HEADER section.
4153
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4154
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4156
# ac_d sets the value in "#define NAME VALUE" lines.
4157
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4158
ac_dB='[ ].*$,\1#\2'
4161
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4162
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4163
ac_uB='$,\1#\2define\3'
4167
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4168
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4170
- | *:- | *:-:* ) # input from stdin
4172
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4173
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4174
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4175
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4176
* ) ac_file_in=$ac_file.in ;;
4179
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4180
echo "$as_me: creating $ac_file" >&6;}
4182
# First look for the input files in the build tree, otherwise in the
4184
ac_file_inputs=`IFS=:
4185
for f in $ac_file_in; do
4187
-) echo $tmp/stdin ;;
4189
# Absolute (can't be DOS-style, as IFS=:)
4190
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4191
echo "$as_me: error: cannot find input file: $f" >&2;}
4192
{ (exit 1); exit 1; }; }
4195
if test -f "$f"; then
4198
elif test -f "$srcdir/$f"; then
4203
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4204
echo "$as_me: error: cannot find input file: $f" >&2;}
4205
{ (exit 1); exit 1; }; }
4208
done` || { (exit 1); exit 1; }
4209
# Remove the trailing spaces.
4210
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4214
# Transform confdefs.h into two sed scripts, `conftest.defines' and
4215
# `conftest.undefs', that substitutes the proper values into
4216
# config.h.in to produce config.h. The first handles `#define'
4217
# templates, and the second `#undef' templates.
4218
# And first: Protect against being on the right side of a sed subst in
4219
# config.status. Protect against being in an unquoted here document
4221
rm -f conftest.defines conftest.undefs
4222
# Using a here document instead of a string reduces the quoting nightmare.
4223
# Putting comments in sed scripts is not portable.
4225
# `end' is used to avoid that the second main sed command (meant for
4226
# 0-ary CPP macros) applies to n-ary macro definitions.
4227
# See the Autoconf documentation for `clear'.
4228
cat >confdef2sed.sed <<\_ACEOF
4233
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4235
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4238
# If some macros were called several times there might be several times
4239
# the same #defines, which is useless. Nevertheless, we may not want to
4240
# sort them, since we want the *last* AC-DEFINE to be honored.
4241
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4242
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4243
rm -f confdef2sed.sed
4245
# This sed command replaces #undef with comments. This is necessary, for
4246
# example, in the case of _POSIX_SOURCE, which is predefined and required
4247
# on some systems where configure will not decide to define it.
4248
cat >>conftest.undefs <<\_ACEOF
4249
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4252
# Break up conftest.defines because some shells have a limit on the size
4253
# of here documents, and old seds have small limits too (100 cmds).
4254
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4255
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4256
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4257
echo ' :' >>$CONFIG_STATUS
4259
while grep . conftest.defines >/dev/null
4261
# Write a limited-size here document to $tmp/defines.sed.
4262
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4263
# Speed up: don't consider the non `#define' lines.
4264
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4265
# Work around the forget-to-reset-the-flag bug.
4266
echo 't clr' >>$CONFIG_STATUS
4267
echo ': clr' >>$CONFIG_STATUS
4268
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4270
sed -f $tmp/defines.sed $tmp/in >$tmp/out
4274
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4275
rm -f conftest.defines
4276
mv conftest.tail conftest.defines
4278
rm -f conftest.defines
4279
echo ' fi # grep' >>$CONFIG_STATUS
4280
echo >>$CONFIG_STATUS
4282
# Break up conftest.undefs because some shells have a limit on the size
4283
# of here documents, and old seds have small limits too (100 cmds).
4284
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4286
while grep . conftest.undefs >/dev/null
4288
# Write a limited-size here document to $tmp/undefs.sed.
4289
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4290
# Speed up: don't consider the non `#undef'
4291
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4292
# Work around the forget-to-reset-the-flag bug.
4293
echo 't clr' >>$CONFIG_STATUS
4294
echo ': clr' >>$CONFIG_STATUS
4295
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4297
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4301
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4302
rm -f conftest.undefs
4303
mv conftest.tail conftest.undefs
4305
rm -f conftest.undefs
4307
cat >>$CONFIG_STATUS <<\_ACEOF
4308
# Let's still pretend it is `configure' which instantiates (i.e., don't
4309
# use $as_me), people would be surprised to read:
4310
# /* config.h. Generated by config.status. */
4311
if test x"$ac_file" = x-; then
4312
echo "/* Generated by configure. */" >$tmp/config.h
4314
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4316
cat $tmp/in >>$tmp/config.h
4318
if test x"$ac_file" != x-; then
4319
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4320
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4321
echo "$as_me: $ac_file is unchanged" >&6;}
4323
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4324
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4325
X"$ac_file" : 'X\(//\)[^/]' \| \
4326
X"$ac_file" : 'X\(//\)$' \| \
4327
X"$ac_file" : 'X\(/\)' \| \
4328
. : '\(.\)' 2>/dev/null ||
4330
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4331
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4332
/^X\(\/\/\)$/{ s//\1/; q; }
4333
/^X\(\/\).*/{ s//\1/; q; }
4335
{ if $as_mkdir_p; then
4340
while test ! -d "$as_dir"; do
4341
as_dirs="$as_dir $as_dirs"
4342
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4343
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4344
X"$as_dir" : 'X\(//\)[^/]' \| \
4345
X"$as_dir" : 'X\(//\)$' \| \
4346
X"$as_dir" : 'X\(/\)' \| \
4347
. : '\(.\)' 2>/dev/null ||
4349
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4350
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4351
/^X\(\/\/\)$/{ s//\1/; q; }
4352
/^X\(\/\).*/{ s//\1/; q; }
4355
test ! -n "$as_dirs" || mkdir $as_dirs
4356
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4357
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4358
{ (exit 1); exit 1; }; }; }
4361
mv $tmp/config.h $ac_file
4367
_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
4368
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4369
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4370
X$ac_file : 'X\(//\)[^/]' \| \
4371
X$ac_file : 'X\(//\)$' \| \
4372
X$ac_file : 'X\(/\)' \| \
4373
. : '\(.\)' 2>/dev/null ||
4375
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4376
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4377
/^X\(\/\/\)$/{ s//\1/; q; }
4378
/^X\(\/\).*/{ s//\1/; q; }
4379
s/.*/./; q'`/stamp-h$_am_stamp_count
4382
cat >>$CONFIG_STATUS <<\_ACEOF
4385
# CONFIG_COMMANDS section.
4387
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4388
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4389
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4390
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4391
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4392
X"$ac_dest" : 'X\(//\)[^/]' \| \
4393
X"$ac_dest" : 'X\(//\)$' \| \
4394
X"$ac_dest" : 'X\(/\)' \| \
4395
. : '\(.\)' 2>/dev/null ||
4397
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4398
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4399
/^X\(\/\/\)$/{ s//\1/; q; }
4400
/^X\(\/\).*/{ s//\1/; q; }
4404
if test "$ac_dir" != .; then
4405
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4406
# A "../" for each directory in $ac_dir_suffix.
4407
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4409
ac_dir_suffix= ac_top_builddir=
4413
.) # No --srcdir option. We are building in place.
4415
if test -z "$ac_top_builddir"; then
4418
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4420
[\\/]* | ?:[\\/]* ) # Absolute path.
4421
ac_srcdir=$srcdir$ac_dir_suffix;
4422
ac_top_srcdir=$srcdir ;;
4424
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4425
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4427
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4429
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4430
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4431
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4432
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4435
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4436
echo "$as_me: executing $ac_dest commands" >&6;}
4438
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4439
# Strip MF so we end up with the name of the file.
4440
mf=`echo "$mf" | sed -e 's/:.*$//'`
4441
# Check whether this is an Automake generated Makefile or not.
4442
# We used to match only the files named `Makefile.in', but
4443
# some people rename them; so instead we look at the file content.
4444
# Grep'ing the first line is not enough: some people post-process
4445
# each Makefile.in and add a new line on top of each file to say so.
4446
# So let's grep whole file.
4447
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4448
dirpart=`(dirname "$mf") 2>/dev/null ||
4449
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4450
X"$mf" : 'X\(//\)[^/]' \| \
4451
X"$mf" : 'X\(//\)$' \| \
4452
X"$mf" : 'X\(/\)' \| \
4453
. : '\(.\)' 2>/dev/null ||
4455
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4456
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4457
/^X\(\/\/\)$/{ s//\1/; q; }
4458
/^X\(\/\).*/{ s//\1/; q; }
4463
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4464
# Extract the definition of DEP_FILES from the Makefile without
4466
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4467
test -z "$DEPDIR" && continue
4468
# When using ansi2knr, U may be empty or an underscore; expand it
4469
U=`sed -n -e '/^U = / s///p' < "$mf"`
4470
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4471
# We invoke sed twice because it is the simplest approach to
4472
# changing $(DEPDIR) to its actual value in the expansion.
4473
for file in `sed -n -e '
4474
/^DEP_FILES = .*\\\\$/ {
4483
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4484
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4485
# Make sure the directory exists.
4486
test -f "$dirpart/$file" && continue
4487
fdir=`(dirname "$file") 2>/dev/null ||
4488
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4489
X"$file" : 'X\(//\)[^/]' \| \
4490
X"$file" : 'X\(//\)$' \| \
4491
X"$file" : 'X\(/\)' \| \
4492
. : '\(.\)' 2>/dev/null ||
4494
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4495
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4496
/^X\(\/\/\)$/{ s//\1/; q; }
4497
/^X\(\/\).*/{ s//\1/; q; }
4499
{ if $as_mkdir_p; then
4500
mkdir -p $dirpart/$fdir
4502
as_dir=$dirpart/$fdir
4504
while test ! -d "$as_dir"; do
4505
as_dirs="$as_dir $as_dirs"
4506
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4507
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4508
X"$as_dir" : 'X\(//\)[^/]' \| \
4509
X"$as_dir" : 'X\(//\)$' \| \
4510
X"$as_dir" : 'X\(/\)' \| \
4511
. : '\(.\)' 2>/dev/null ||
4513
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4514
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4515
/^X\(\/\/\)$/{ s//\1/; q; }
4516
/^X\(\/\).*/{ s//\1/; q; }
4519
test ! -n "$as_dirs" || mkdir $as_dirs
4520
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4521
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4522
{ (exit 1); exit 1; }; }; }
4524
# echo "creating $dirpart/$file"
4525
echo '# dummy' > "$dirpart/$file"
4533
cat >>$CONFIG_STATUS <<\_ACEOF
4535
{ (exit 0); exit 0; }
4537
chmod +x $CONFIG_STATUS
4538
ac_clean_files=$ac_clean_files_save
4541
# configure is writing to config.log, and then calls config.status.
4542
# config.status does its own redirection, appending to config.log.
4543
# Unfortunately, on DOS this fails, as config.log is still kept open
4544
# by configure, so config.status won't be able to write to it; its
4545
# output is simply discarded. So we exec the FD to /dev/null,
4546
# effectively closing config.log, so it can be properly (re)opened and
4547
# appended to by config.status. When coming back to configure, we
4548
# need to make the FD available again.
4549
if test "$no_create" != yes; then
4552
$SHELL $CONFIG_STATUS || ac_cs_success=false
4554
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
4555
# would make configure fail if this is the last instruction.
4556
$ac_cs_success || { (exit 1); exit 1; }