2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.57.
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
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
162
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
174
chmod +x $as_me.lineno ||
175
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
{ (exit 1); exit 1; }; }
178
# Don't try to exec as it changes $[0], causing all sort of problems
179
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
182
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
if expr a : '\(a\)' >/dev/null 2>&1; then
200
rm -f conf$$ conf$$.exe conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
211
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
224
as_executable_p="test -f"
226
# Sed expression to map a string onto a valid CPP name.
227
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229
# Sed expression to map a string onto a valid variable name.
230
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
# We need space, tab and new line, in precisely that order.
244
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245
# so uname gets run too.
246
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253
ac_default_prefix=/usr/local
254
ac_config_libobj_dir=.
259
SHELL=${CONFIG_SHELL-/bin/sh}
261
# Maximum number of lines to put in a shell here document.
262
# This variable seems obsolete. It should probably be removed, and
263
# only ac_max_sed_lines should be used.
264
: ${ac_max_here_lines=38}
266
# Identity of this package.
273
ac_unique_file="anim-flame.c"
274
# Factoring default headers for most tests.
275
ac_includes_default="\
278
# include <sys/types.h>
281
# include <sys/stat.h>
292
# if !STDC_HEADERS && HAVE_MEMORY_H
298
# include <strings.h>
301
# include <inttypes.h>
311
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 am__leading_dot 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 CPP EGREP LIBOBJS LTLIBOBJS'
314
# Initialize some variables set by options.
316
ac_init_version=false
317
# The variables have the same names as the options, with
318
# dashes changed to underlines.
326
program_transform_name=s,x,x,
334
# Installation directory options.
335
# These are left unexpanded so users can "make install exec_prefix=/foo"
336
# and all the variables that are supposed to be based on exec_prefix
337
# by default will actually change.
338
# Use braces instead of parens because sh, perl, etc. also accept them.
339
bindir='${exec_prefix}/bin'
340
sbindir='${exec_prefix}/sbin'
341
libexecdir='${exec_prefix}/libexec'
342
datadir='${prefix}/share'
343
sysconfdir='${prefix}/etc'
344
sharedstatedir='${prefix}/com'
345
localstatedir='${prefix}/var'
346
libdir='${exec_prefix}/lib'
347
includedir='${prefix}/include'
348
oldincludedir='/usr/include'
349
infodir='${prefix}/info'
350
mandir='${prefix}/man'
355
# If the previous option needs an argument, assign it.
356
if test -n "$ac_prev"; then
357
eval "$ac_prev=\$ac_option"
362
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
# Accept the important Cygnus configure options, so we can diagnose typos.
368
-bindir | --bindir | --bindi | --bind | --bin | --bi)
370
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373
-build | --build | --buil | --bui | --bu)
374
ac_prev=build_alias ;;
375
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
376
build_alias=$ac_optarg ;;
378
-cache-file | --cache-file | --cache-fil | --cache-fi \
379
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380
ac_prev=cache_file ;;
381
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383
cache_file=$ac_optarg ;;
386
cache_file=config.cache ;;
388
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392
datadir=$ac_optarg ;;
394
-disable-* | --disable-*)
395
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396
# Reject names that are not valid shell variable names.
397
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
399
{ (exit 1); exit 1; }; }
400
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401
eval "enable_$ac_feature=no" ;;
403
-enable-* | --enable-*)
404
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405
# Reject names that are not valid shell variable names.
406
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
408
{ (exit 1); exit 1; }; }
409
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414
eval "enable_$ac_feature='$ac_optarg'" ;;
416
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418
| --exec | --exe | --ex)
419
ac_prev=exec_prefix ;;
420
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422
| --exec=* | --exe=* | --ex=*)
423
exec_prefix=$ac_optarg ;;
425
-gas | --gas | --ga | --g)
426
# Obsolete; use --with-gas.
429
-help | --help | --hel | --he | -h)
431
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432
ac_init_help=recursive ;;
433
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434
ac_init_help=short ;;
436
-host | --host | --hos | --ho)
437
ac_prev=host_alias ;;
438
-host=* | --host=* | --hos=* | --ho=*)
439
host_alias=$ac_optarg ;;
441
-includedir | --includedir | --includedi | --included | --include \
442
| --includ | --inclu | --incl | --inc)
443
ac_prev=includedir ;;
444
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445
| --includ=* | --inclu=* | --incl=* | --inc=*)
446
includedir=$ac_optarg ;;
448
-infodir | --infodir | --infodi | --infod | --info | --inf)
450
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451
infodir=$ac_optarg ;;
453
-libdir | --libdir | --libdi | --libd)
455
-libdir=* | --libdir=* | --libdi=* | --libd=*)
458
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459
| --libexe | --libex | --libe)
460
ac_prev=libexecdir ;;
461
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462
| --libexe=* | --libex=* | --libe=*)
463
libexecdir=$ac_optarg ;;
465
-localstatedir | --localstatedir | --localstatedi | --localstated \
466
| --localstate | --localstat | --localsta | --localst \
467
| --locals | --local | --loca | --loc | --lo)
468
ac_prev=localstatedir ;;
469
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
471
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472
localstatedir=$ac_optarg ;;
474
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480
# Obsolete; use --without-fp.
483
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
484
| --no-cr | --no-c | -n)
487
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
488
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493
| --oldin | --oldi | --old | --ol | --o)
494
ac_prev=oldincludedir ;;
495
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498
oldincludedir=$ac_optarg ;;
500
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505
-program-prefix | --program-prefix | --program-prefi | --program-pref \
506
| --program-pre | --program-pr | --program-p)
507
ac_prev=program_prefix ;;
508
-program-prefix=* | --program-prefix=* | --program-prefi=* \
509
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510
program_prefix=$ac_optarg ;;
512
-program-suffix | --program-suffix | --program-suffi | --program-suff \
513
| --program-suf | --program-su | --program-s)
514
ac_prev=program_suffix ;;
515
-program-suffix=* | --program-suffix=* | --program-suffi=* \
516
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517
program_suffix=$ac_optarg ;;
519
-program-transform-name | --program-transform-name \
520
| --program-transform-nam | --program-transform-na \
521
| --program-transform-n | --program-transform- \
522
| --program-transform | --program-transfor \
523
| --program-transfo | --program-transf \
524
| --program-trans | --program-tran \
525
| --progr-tra | --program-tr | --program-t)
526
ac_prev=program_transform_name ;;
527
-program-transform-name=* | --program-transform-name=* \
528
| --program-transform-nam=* | --program-transform-na=* \
529
| --program-transform-n=* | --program-transform-=* \
530
| --program-transform=* | --program-transfor=* \
531
| --program-transfo=* | --program-transf=* \
532
| --program-trans=* | --program-tran=* \
533
| --progr-tra=* | --program-tr=* | --program-t=*)
534
program_transform_name=$ac_optarg ;;
536
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
537
| -silent | --silent | --silen | --sile | --sil)
540
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544
sbindir=$ac_optarg ;;
546
-sharedstatedir | --sharedstatedir | --sharedstatedi \
547
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548
| --sharedst | --shareds | --shared | --share | --shar \
550
ac_prev=sharedstatedir ;;
551
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555
sharedstatedir=$ac_optarg ;;
557
-site | --site | --sit)
559
-site=* | --site=* | --sit=*)
562
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568
| --syscon | --sysco | --sysc | --sys | --sy)
569
ac_prev=sysconfdir ;;
570
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572
sysconfdir=$ac_optarg ;;
574
-target | --target | --targe | --targ | --tar | --ta | --t)
575
ac_prev=target_alias ;;
576
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577
target_alias=$ac_optarg ;;
579
-v | -verbose | --verbose | --verbos | --verbo | --verb)
582
-version | --version | --versio | --versi | --vers | -V)
586
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587
# Reject names that are not valid shell variable names.
588
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589
{ echo "$as_me: error: invalid package name: $ac_package" >&2
590
{ (exit 1); exit 1; }; }
591
ac_package=`echo $ac_package| sed 's/-/_/g'`
593
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596
eval "with_$ac_package='$ac_optarg'" ;;
598
-without-* | --without-*)
599
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600
# Reject names that are not valid shell variable names.
601
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602
{ echo "$as_me: error: invalid package name: $ac_package" >&2
603
{ (exit 1); exit 1; }; }
604
ac_package=`echo $ac_package | sed 's/-/_/g'`
605
eval "with_$ac_package=no" ;;
608
# Obsolete; use --with-x.
611
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612
| --x-incl | --x-inc | --x-in | --x-i)
613
ac_prev=x_includes ;;
614
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616
x_includes=$ac_optarg ;;
618
-x-libraries | --x-libraries | --x-librarie | --x-librari \
619
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620
ac_prev=x_libraries ;;
621
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623
x_libraries=$ac_optarg ;;
625
-*) { echo "$as_me: error: unrecognized option: $ac_option
626
Try \`$0 --help' for more information." >&2
627
{ (exit 1); exit 1; }; }
631
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632
# Reject names that are not valid shell variable names.
633
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635
{ (exit 1); exit 1; }; }
636
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637
eval "$ac_envvar='$ac_optarg'"
641
# FIXME: should be removed in autoconf 3.0.
642
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651
if test -n "$ac_prev"; then
652
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653
{ echo "$as_me: error: missing argument to $ac_option" >&2
654
{ (exit 1); exit 1; }; }
657
# Be sure to have absolute paths.
658
for ac_var in exec_prefix prefix
660
eval ac_val=$`echo $ac_var`
662
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664
{ (exit 1); exit 1; }; };;
668
# Be sure to have absolute paths.
669
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670
localstatedir libdir includedir oldincludedir infodir mandir
672
eval ac_val=$`echo $ac_var`
674
[\\/$]* | ?:[\\/]* ) ;;
675
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676
{ (exit 1); exit 1; }; };;
680
# There might be people who depend on the old broken behavior: `$host'
681
# used to hold the argument of --host etc.
682
# FIXME: To remove some day.
687
# FIXME: To remove some day.
688
if test "x$host_alias" != x; then
689
if test "x$build_alias" = x; then
690
cross_compiling=maybe
691
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692
If a cross compiler is detected then cross compile mode will be used." >&2
693
elif test "x$build_alias" != "x$host_alias"; then
699
test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
test "$silent" = yes && exec 6>/dev/null
704
# Find the source files, if location was not specified.
705
if test -z "$srcdir"; then
706
ac_srcdir_defaulted=yes
707
# Try the directory containing this script, then its parent.
708
ac_confdir=`(dirname "$0") 2>/dev/null ||
709
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710
X"$0" : 'X\(//\)[^/]' \| \
711
X"$0" : 'X\(//\)$' \| \
712
X"$0" : 'X\(/\)' \| \
713
. : '\(.\)' 2>/dev/null ||
715
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
717
/^X\(\/\/\)$/{ s//\1/; q; }
718
/^X\(\/\).*/{ s//\1/; q; }
721
if test ! -r $srcdir/$ac_unique_file; then
725
ac_srcdir_defaulted=no
727
if test ! -r $srcdir/$ac_unique_file; then
728
if test "$ac_srcdir_defaulted" = yes; then
729
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730
{ (exit 1); exit 1; }; }
732
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733
{ (exit 1); exit 1; }; }
736
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738
{ (exit 1); exit 1; }; }
739
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740
ac_env_build_alias_set=${build_alias+set}
741
ac_env_build_alias_value=$build_alias
742
ac_cv_env_build_alias_set=${build_alias+set}
743
ac_cv_env_build_alias_value=$build_alias
744
ac_env_host_alias_set=${host_alias+set}
745
ac_env_host_alias_value=$host_alias
746
ac_cv_env_host_alias_set=${host_alias+set}
747
ac_cv_env_host_alias_value=$host_alias
748
ac_env_target_alias_set=${target_alias+set}
749
ac_env_target_alias_value=$target_alias
750
ac_cv_env_target_alias_set=${target_alias+set}
751
ac_cv_env_target_alias_value=$target_alias
752
ac_env_CC_set=${CC+set}
754
ac_cv_env_CC_set=${CC+set}
755
ac_cv_env_CC_value=$CC
756
ac_env_CFLAGS_set=${CFLAGS+set}
757
ac_env_CFLAGS_value=$CFLAGS
758
ac_cv_env_CFLAGS_set=${CFLAGS+set}
759
ac_cv_env_CFLAGS_value=$CFLAGS
760
ac_env_LDFLAGS_set=${LDFLAGS+set}
761
ac_env_LDFLAGS_value=$LDFLAGS
762
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763
ac_cv_env_LDFLAGS_value=$LDFLAGS
764
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765
ac_env_CPPFLAGS_value=$CPPFLAGS
766
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768
ac_env_CPP_set=${CPP+set}
769
ac_env_CPP_value=$CPP
770
ac_cv_env_CPP_set=${CPP+set}
771
ac_cv_env_CPP_value=$CPP
774
# Report the --help message.
776
if test "$ac_init_help" = "long"; then
777
# Omit some internal or obsolete options to make the list less imposing.
778
# This message is too long to be a string in the A/UX 3.1 sh.
780
\`configure' configures this package to adapt to many kinds of systems.
782
Usage: $0 [OPTION]... [VAR=VALUE]...
784
To assign environment variables (e.g., CC, CFLAGS...), specify them as
785
VAR=VALUE. See below for descriptions of some of the useful variables.
787
Defaults for the options are specified in brackets.
790
-h, --help display this help and exit
791
--help=short display options specific to this package
792
--help=recursive display the short help of all the included packages
793
-V, --version display version information and exit
794
-q, --quiet, --silent do not print \`checking...' messages
795
--cache-file=FILE cache test results in FILE [disabled]
796
-C, --config-cache alias for \`--cache-file=config.cache'
797
-n, --no-create do not create output files
798
--srcdir=DIR find the sources in DIR [configure dir or \`..']
803
Installation directories:
804
--prefix=PREFIX install architecture-independent files in PREFIX
806
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809
By default, \`make install' will install all the files in
810
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812
for instance \`--prefix=\$HOME'.
814
For better control, use the options below.
816
Fine tuning of the installation directories:
817
--bindir=DIR user executables [EPREFIX/bin]
818
--sbindir=DIR system admin executables [EPREFIX/sbin]
819
--libexecdir=DIR program executables [EPREFIX/libexec]
820
--datadir=DIR read-only architecture-independent data [PREFIX/share]
821
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
824
--libdir=DIR object code libraries [EPREFIX/lib]
825
--includedir=DIR C header files [PREFIX/include]
826
--oldincludedir=DIR C header files for non-gcc [/usr/include]
827
--infodir=DIR info documentation [PREFIX/info]
828
--mandir=DIR man documentation [PREFIX/man]
834
--program-prefix=PREFIX prepend PREFIX to installed program names
835
--program-suffix=SUFFIX append SUFFIX to installed program names
836
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
840
if test -n "$ac_init_help"; then
845
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847
--disable-dependency-tracking Speeds up one-time builds
848
--enable-dependency-tracking Do not reject slow dependency extractors
850
Some influential environment variables:
851
CC C compiler command
852
CFLAGS C compiler flags
853
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
854
nonstandard directory <lib dir>
855
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
856
headers in a nonstandard directory <include dir>
859
Use these variables to override the choices made by `configure' or to help
860
it to find libraries and programs with nonstandard names/locations.
865
if test "$ac_init_help" = "recursive"; then
866
# If there are subdirs, report their specific --help.
868
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
869
test -d $ac_dir || continue
872
if test "$ac_dir" != .; then
873
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
874
# A "../" for each directory in $ac_dir_suffix.
875
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
877
ac_dir_suffix= ac_top_builddir=
881
.) # No --srcdir option. We are building in place.
883
if test -z "$ac_top_builddir"; then
886
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
888
[\\/]* | ?:[\\/]* ) # Absolute path.
889
ac_srcdir=$srcdir$ac_dir_suffix;
890
ac_top_srcdir=$srcdir ;;
892
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893
ac_top_srcdir=$ac_top_builddir$srcdir ;;
895
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
897
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
898
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
899
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
900
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
903
# Check for guested configure; otherwise get Cygnus style configure.
904
if test -f $ac_srcdir/configure.gnu; then
906
$SHELL $ac_srcdir/configure.gnu --help=recursive
907
elif test -f $ac_srcdir/configure; then
909
$SHELL $ac_srcdir/configure --help=recursive
910
elif test -f $ac_srcdir/configure.ac ||
911
test -f $ac_srcdir/configure.in; then
915
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
921
test -n "$ac_init_help" && exit 0
922
if $ac_init_version; then
925
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
926
Free Software Foundation, Inc.
927
This configure script is free software; the Free Software Foundation
928
gives unlimited permission to copy, distribute and modify it.
934
This file contains any messages produced by compilers while
935
running configure, to aid debugging if configure makes a mistake.
937
It was created by $as_me, which was
938
generated by GNU Autoconf 2.57. Invocation command line was
949
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
950
uname -m = `(uname -m) 2>/dev/null || echo unknown`
951
uname -r = `(uname -r) 2>/dev/null || echo unknown`
952
uname -s = `(uname -s) 2>/dev/null || echo unknown`
953
uname -v = `(uname -v) 2>/dev/null || echo unknown`
955
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
956
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
958
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
959
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
960
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
961
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
962
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
963
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
964
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
972
test -z "$as_dir" && as_dir=.
988
# Keep a trace of the command line.
989
# Strip out --no-create and --no-recursion so they do not pile up.
990
# Strip out --silent because we don't want to record it for future runs.
991
# Also quote any args containing shell meta-characters.
992
# Make two passes to allow for proper duplicate-argument suppression.
997
ac_must_keep_next=false
1003
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1004
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1005
| -silent | --silent | --silen | --sile | --sil)
1007
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1008
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1011
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1013
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1014
if test $ac_must_keep_next = true; then
1015
ac_must_keep_next=false # Got value, back to normal.
1018
*=* | --config-cache | -C | -disable-* | --disable-* \
1019
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1020
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1021
| -with-* | --with-* | -without-* | --without-* | --x)
1022
case "$ac_configure_args0 " in
1023
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1026
-* ) ac_must_keep_next=true ;;
1029
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1030
# Get rid of the leading space.
1036
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1037
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1039
# When interrupted or exit'd, cleanup temporary files, and complete
1040
# config.log. We remove comments because anyway the quotes in there
1041
# would cause problems or look ugly.
1042
# WARNING: Be sure not to use single quotes in there, as some shells,
1043
# such as our DU 5.0 friend, will then `close' the trap.
1044
trap 'exit_status=$?
1045
# Save into config.log some information that might help in debugging.
1050
## ---------------- ##
1051
## Cache variables. ##
1052
## ---------------- ##
1055
# The following way of writing the cache mishandles newlines in values,
1058
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1061
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1062
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1066
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1073
## ----------------- ##
1074
## Output variables. ##
1075
## ----------------- ##
1078
for ac_var in $ac_subst_vars
1080
eval ac_val=$`echo $ac_var`
1081
echo "$ac_var='"'"'$ac_val'"'"'"
1085
if test -n "$ac_subst_files"; then
1092
for ac_var in $ac_subst_files
1094
eval ac_val=$`echo $ac_var`
1095
echo "$ac_var='"'"'$ac_val'"'"'"
1100
if test -s confdefs.h; then
1107
sed "/^$/d" confdefs.h | sort
1110
test "$ac_signal" != 0 &&
1111
echo "$as_me: caught signal $ac_signal"
1112
echo "$as_me: exit $exit_status"
1114
rm -f core core.* *.core &&
1115
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1118
for ac_signal in 1 2 13 15; do
1119
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1123
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1124
rm -rf conftest* confdefs.h
1125
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1128
# Predefined preprocessor variables.
1130
cat >>confdefs.h <<_ACEOF
1131
#define PACKAGE_NAME "$PACKAGE_NAME"
1135
cat >>confdefs.h <<_ACEOF
1136
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1140
cat >>confdefs.h <<_ACEOF
1141
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1145
cat >>confdefs.h <<_ACEOF
1146
#define PACKAGE_STRING "$PACKAGE_STRING"
1150
cat >>confdefs.h <<_ACEOF
1151
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1155
# Let the site file select an alternate cache file if it wants to.
1156
# Prefer explicitly selected file to automatically selected ones.
1157
if test -z "$CONFIG_SITE"; then
1158
if test "x$prefix" != xNONE; then
1159
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1161
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1164
for ac_site_file in $CONFIG_SITE; do
1165
if test -r "$ac_site_file"; then
1166
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1167
echo "$as_me: loading site script $ac_site_file" >&6;}
1168
sed 's/^/| /' "$ac_site_file" >&5
1173
if test -r "$cache_file"; then
1174
# Some versions of bash will fail to source /dev/null (special
1175
# files actually), so we avoid doing that.
1176
if test -f "$cache_file"; then
1177
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1178
echo "$as_me: loading cache $cache_file" >&6;}
1180
[\\/]* | ?:[\\/]* ) . $cache_file;;
1181
*) . ./$cache_file;;
1185
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1186
echo "$as_me: creating cache $cache_file" >&6;}
1190
# Check that the precious variables saved in the cache have kept the same
1192
ac_cache_corrupted=false
1193
for ac_var in `(set) 2>&1 |
1194
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1195
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1196
eval ac_new_set=\$ac_env_${ac_var}_set
1197
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1198
eval ac_new_val="\$ac_env_${ac_var}_value"
1199
case $ac_old_set,$ac_new_set in
1201
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1202
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1203
ac_cache_corrupted=: ;;
1205
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1206
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1207
ac_cache_corrupted=: ;;
1210
if test "x$ac_old_val" != "x$ac_new_val"; then
1211
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1212
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1213
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1214
echo "$as_me: former value: $ac_old_val" >&2;}
1215
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1216
echo "$as_me: current value: $ac_new_val" >&2;}
1217
ac_cache_corrupted=:
1220
# Pass precious variables to config.status.
1221
if test "$ac_new_set" = set; then
1223
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1224
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1225
*) ac_arg=$ac_var=$ac_new_val ;;
1227
case " $ac_configure_args " in
1228
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1229
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1233
if $ac_cache_corrupted; then
1234
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1235
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1236
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1237
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1238
{ (exit 1); exit 1; }; }
1242
ac_cpp='$CPP $CPPFLAGS'
1243
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1244
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1245
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1265
ac_config_headers="$ac_config_headers config.h"
1267
am__api_version="1.7"
1269
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1270
if test -f $ac_dir/install-sh; then
1272
ac_install_sh="$ac_aux_dir/install-sh -c"
1274
elif test -f $ac_dir/install.sh; then
1276
ac_install_sh="$ac_aux_dir/install.sh -c"
1278
elif test -f $ac_dir/shtool; then
1280
ac_install_sh="$ac_aux_dir/shtool install -c"
1284
if test -z "$ac_aux_dir"; then
1285
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1286
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1287
{ (exit 1); exit 1; }; }
1289
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1290
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1291
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1293
# Find a good install program. We prefer a C program (faster),
1294
# so one script is as good as another. But avoid the broken or
1295
# incompatible versions:
1296
# SysV /etc/install, /usr/sbin/install
1297
# SunOS /usr/etc/install
1298
# IRIX /sbin/install
1300
# AmigaOS /C/install, which installs bootblocks on floppy discs
1301
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1302
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1303
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1304
# ./install, which can be erroneously created by make from ./install.sh.
1305
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1306
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1307
if test -z "$INSTALL"; then
1308
if test "${ac_cv_path_install+set}" = set; then
1309
echo $ECHO_N "(cached) $ECHO_C" >&6
1311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1315
test -z "$as_dir" && as_dir=.
1316
# Account for people who put trailing slashes in PATH elements.
1318
./ | .// | /cC/* | \
1319
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1322
# OSF1 and SCO ODT 3.0 have their own names for install.
1323
# Don't use installbsd from OSF since it installs stuff as root
1325
for ac_prog in ginstall scoinst install; do
1326
for ac_exec_ext in '' $ac_executable_extensions; do
1327
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1328
if test $ac_prog = install &&
1329
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1330
# AIX install. It has an incompatible calling convention.
1332
elif test $ac_prog = install &&
1333
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1334
# program-specific install script used by HP pwplus--don't use.
1337
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1349
if test "${ac_cv_path_install+set}" = set; then
1350
INSTALL=$ac_cv_path_install
1352
# As a last resort, use the slow shell script. We don't cache a
1353
# path for INSTALL within a source directory, because that will
1354
# break other packages using the cache if that directory is
1355
# removed, or if the path is relative.
1356
INSTALL=$ac_install_sh
1359
echo "$as_me:$LINENO: result: $INSTALL" >&5
1360
echo "${ECHO_T}$INSTALL" >&6
1362
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1363
# It thinks the first close brace ends the variable substitution.
1364
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1366
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1368
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1370
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1371
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1374
echo timestamp > conftest.file
1375
# Do `set' in a subshell so we don't clobber the current shell's
1376
# arguments. Must try -L first in case configure is actually a
1377
# symlink; some systems play weird games with the mod time of symlinks
1378
# (eg FreeBSD returns the mod time of the symlink's containing
1381
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1382
if test "$*" = "X"; then
1384
set X `ls -t $srcdir/configure conftest.file`
1387
if test "$*" != "X $srcdir/configure conftest.file" \
1388
&& test "$*" != "X conftest.file $srcdir/configure"; then
1390
# If neither matched, then we have a broken ls. This can happen
1391
# if, for instance, CONFIG_SHELL is bash and it inherits a
1392
# broken ls alias from the environment. This has actually
1393
# happened. Such a system could not be considered "sane".
1394
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1395
alias in your environment" >&5
1396
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1397
alias in your environment" >&2;}
1398
{ (exit 1); exit 1; }; }
1401
test "$2" = conftest.file
1407
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1408
Check your system clock" >&5
1409
echo "$as_me: error: newly created file is older than distributed files!
1410
Check your system clock" >&2;}
1411
{ (exit 1); exit 1; }; }
1413
echo "$as_me:$LINENO: result: yes" >&5
1414
echo "${ECHO_T}yes" >&6
1415
test "$program_prefix" != NONE &&
1416
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1417
# Use a double $ so make ignores it.
1418
test "$program_suffix" != NONE &&
1419
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1420
# Double any \ or $. echo might interpret backslashes.
1421
# By default was `s,x,x', remove it if useless.
1422
cat <<\_ACEOF >conftest.sed
1423
s/[\\$]/&&/g;s/;s,x,x,$//
1425
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1429
# expand $ac_aux_dir to an absolute path
1430
am_aux_dir=`cd $ac_aux_dir && pwd`
1432
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1433
# Use eval to expand $SHELL
1434
if eval "$MISSING --run true"; then
1435
am_missing_run="$MISSING --run "
1438
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1439
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1442
for ac_prog in gawk mawk nawk awk
1444
# Extract the first word of "$ac_prog", so it can be a program name with args.
1445
set dummy $ac_prog; ac_word=$2
1446
echo "$as_me:$LINENO: checking for $ac_word" >&5
1447
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1448
if test "${ac_cv_prog_AWK+set}" = set; then
1449
echo $ECHO_N "(cached) $ECHO_C" >&6
1451
if test -n "$AWK"; then
1452
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1454
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1458
test -z "$as_dir" && as_dir=.
1459
for ac_exec_ext in '' $ac_executable_extensions; do
1460
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1461
ac_cv_prog_AWK="$ac_prog"
1462
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1471
if test -n "$AWK"; then
1472
echo "$as_me:$LINENO: result: $AWK" >&5
1473
echo "${ECHO_T}$AWK" >&6
1475
echo "$as_me:$LINENO: result: no" >&5
1476
echo "${ECHO_T}no" >&6
1479
test -n "$AWK" && break
1482
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1483
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1484
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1485
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1486
echo $ECHO_N "(cached) $ECHO_C" >&6
1488
cat >conftest.make <<\_ACEOF
1490
@echo 'ac_maketemp="$(MAKE)"'
1492
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1493
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1494
if test -n "$ac_maketemp"; then
1495
eval ac_cv_prog_make_${ac_make}_set=yes
1497
eval ac_cv_prog_make_${ac_make}_set=no
1501
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1502
echo "$as_me:$LINENO: result: yes" >&5
1503
echo "${ECHO_T}yes" >&6
1506
echo "$as_me:$LINENO: result: no" >&5
1507
echo "${ECHO_T}no" >&6
1508
SET_MAKE="MAKE=${MAKE-make}"
1511
rm -rf .tst 2>/dev/null
1512
mkdir .tst 2>/dev/null
1513
if test -d .tst; then
1518
rmdir .tst 2>/dev/null
1520
# test to see if srcdir already configured
1521
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1522
test -f $srcdir/config.status; then
1523
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1524
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1525
{ (exit 1); exit 1; }; }
1528
# test whether we have cygpath
1529
if test -z "$CYGPATH_W"; then
1530
if (cygpath --version) >/dev/null 2>/dev/null; then
1531
CYGPATH_W='cygpath -w'
1538
# Define the identity of the package.
1543
cat >>confdefs.h <<_ACEOF
1544
#define PACKAGE "$PACKAGE"
1548
cat >>confdefs.h <<_ACEOF
1549
#define VERSION "$VERSION"
1552
# Some tools Automake needs.
1554
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1557
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1560
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1563
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1566
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1569
AMTAR=${AMTAR-"${am_missing_run}tar"}
1571
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1573
# Installed binaries are usually stripped using `strip' when the user
1574
# run `make install-strip'. However `strip' might not be the right
1575
# tool to use in cross-compilation environments, therefore Automake
1576
# will honor the `STRIP' environment variable to overrule this program.
1577
if test "$cross_compiling" != no; then
1578
if test -n "$ac_tool_prefix"; then
1579
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1580
set dummy ${ac_tool_prefix}strip; ac_word=$2
1581
echo "$as_me:$LINENO: checking for $ac_word" >&5
1582
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1583
if test "${ac_cv_prog_STRIP+set}" = set; then
1584
echo $ECHO_N "(cached) $ECHO_C" >&6
1586
if test -n "$STRIP"; then
1587
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1589
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1593
test -z "$as_dir" && as_dir=.
1594
for ac_exec_ext in '' $ac_executable_extensions; do
1595
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1596
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1597
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1605
STRIP=$ac_cv_prog_STRIP
1606
if test -n "$STRIP"; then
1607
echo "$as_me:$LINENO: result: $STRIP" >&5
1608
echo "${ECHO_T}$STRIP" >&6
1610
echo "$as_me:$LINENO: result: no" >&5
1611
echo "${ECHO_T}no" >&6
1615
if test -z "$ac_cv_prog_STRIP"; then
1617
# Extract the first word of "strip", so it can be a program name with args.
1618
set dummy strip; ac_word=$2
1619
echo "$as_me:$LINENO: checking for $ac_word" >&5
1620
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1621
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1622
echo $ECHO_N "(cached) $ECHO_C" >&6
1624
if test -n "$ac_ct_STRIP"; then
1625
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1627
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631
test -z "$as_dir" && as_dir=.
1632
for ac_exec_ext in '' $ac_executable_extensions; do
1633
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1634
ac_cv_prog_ac_ct_STRIP="strip"
1635
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1644
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1645
if test -n "$ac_ct_STRIP"; then
1646
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1647
echo "${ECHO_T}$ac_ct_STRIP" >&6
1649
echo "$as_me:$LINENO: result: no" >&5
1650
echo "${ECHO_T}no" >&6
1655
STRIP="$ac_cv_prog_STRIP"
1659
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1661
# We need awk for the "check" target. The system "awk" is bad on
1667
ac_cpp='$CPP $CPPFLAGS'
1668
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1669
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1670
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1671
if test -n "$ac_tool_prefix"; then
1672
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1673
set dummy ${ac_tool_prefix}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_CC+set}" = set; then
1677
echo $ECHO_N "(cached) $ECHO_C" >&6
1679
if test -n "$CC"; then
1680
ac_cv_prog_CC="$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_CC="${ac_tool_prefix}gcc"
1690
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1699
if test -n "$CC"; then
1700
echo "$as_me:$LINENO: result: $CC" >&5
1701
echo "${ECHO_T}$CC" >&6
1703
echo "$as_me:$LINENO: result: no" >&5
1704
echo "${ECHO_T}no" >&6
1708
if test -z "$ac_cv_prog_CC"; then
1710
# Extract the first word of "gcc", so it can be a program name with args.
1711
set dummy gcc; ac_word=$2
1712
echo "$as_me:$LINENO: checking for $ac_word" >&5
1713
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1715
echo $ECHO_N "(cached) $ECHO_C" >&6
1717
if test -n "$ac_ct_CC"; then
1718
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1724
test -z "$as_dir" && as_dir=.
1725
for ac_exec_ext in '' $ac_executable_extensions; do
1726
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727
ac_cv_prog_ac_ct_CC="gcc"
1728
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1736
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1737
if test -n "$ac_ct_CC"; then
1738
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1739
echo "${ECHO_T}$ac_ct_CC" >&6
1741
echo "$as_me:$LINENO: result: no" >&5
1742
echo "${ECHO_T}no" >&6
1750
if test -z "$CC"; then
1751
if test -n "$ac_tool_prefix"; then
1752
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1753
set dummy ${ac_tool_prefix}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_CC+set}" = set; then
1757
echo $ECHO_N "(cached) $ECHO_C" >&6
1759
if test -n "$CC"; then
1760
ac_cv_prog_CC="$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_CC="${ac_tool_prefix}cc"
1770
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779
if test -n "$CC"; then
1780
echo "$as_me:$LINENO: result: $CC" >&5
1781
echo "${ECHO_T}$CC" >&6
1783
echo "$as_me:$LINENO: result: no" >&5
1784
echo "${ECHO_T}no" >&6
1788
if test -z "$ac_cv_prog_CC"; then
1790
# Extract the first word of "cc", so it can be a program name with args.
1791
set dummy cc; ac_word=$2
1792
echo "$as_me:$LINENO: checking for $ac_word" >&5
1793
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1794
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1795
echo $ECHO_N "(cached) $ECHO_C" >&6
1797
if test -n "$ac_ct_CC"; then
1798
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1800
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1804
test -z "$as_dir" && as_dir=.
1805
for ac_exec_ext in '' $ac_executable_extensions; do
1806
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1807
ac_cv_prog_ac_ct_CC="cc"
1808
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1816
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1817
if test -n "$ac_ct_CC"; then
1818
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1819
echo "${ECHO_T}$ac_ct_CC" >&6
1821
echo "$as_me:$LINENO: result: no" >&5
1822
echo "${ECHO_T}no" >&6
1831
if test -z "$CC"; then
1832
# Extract the first word of "cc", so it can be a program name with args.
1833
set dummy cc; ac_word=$2
1834
echo "$as_me:$LINENO: checking for $ac_word" >&5
1835
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1836
if test "${ac_cv_prog_CC+set}" = set; then
1837
echo $ECHO_N "(cached) $ECHO_C" >&6
1839
if test -n "$CC"; then
1840
ac_cv_prog_CC="$CC" # Let the user override the test.
1843
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847
test -z "$as_dir" && as_dir=.
1848
for ac_exec_ext in '' $ac_executable_extensions; do
1849
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1851
ac_prog_rejected=yes
1855
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1861
if test $ac_prog_rejected = yes; then
1862
# We found a bogon in the path, so make sure we never use it.
1863
set dummy $ac_cv_prog_CC
1865
if test $# != 0; then
1866
# We chose a different compiler from the bogus one.
1867
# However, it has the same basename, so the bogon will be chosen
1868
# first if we set CC to just the basename; use the full file name.
1870
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1876
if test -n "$CC"; then
1877
echo "$as_me:$LINENO: result: $CC" >&5
1878
echo "${ECHO_T}$CC" >&6
1880
echo "$as_me:$LINENO: result: no" >&5
1881
echo "${ECHO_T}no" >&6
1885
if test -z "$CC"; then
1886
if test -n "$ac_tool_prefix"; then
1889
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1890
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1891
echo "$as_me:$LINENO: checking for $ac_word" >&5
1892
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893
if test "${ac_cv_prog_CC+set}" = set; then
1894
echo $ECHO_N "(cached) $ECHO_C" >&6
1896
if test -n "$CC"; then
1897
ac_cv_prog_CC="$CC" # Let the user override the test.
1899
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903
test -z "$as_dir" && as_dir=.
1904
for ac_exec_ext in '' $ac_executable_extensions; do
1905
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1907
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916
if test -n "$CC"; then
1917
echo "$as_me:$LINENO: result: $CC" >&5
1918
echo "${ECHO_T}$CC" >&6
1920
echo "$as_me:$LINENO: result: no" >&5
1921
echo "${ECHO_T}no" >&6
1924
test -n "$CC" && break
1927
if test -z "$CC"; then
1931
# Extract the first word of "$ac_prog", so it can be a program name with args.
1932
set dummy $ac_prog; ac_word=$2
1933
echo "$as_me:$LINENO: checking for $ac_word" >&5
1934
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1935
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1936
echo $ECHO_N "(cached) $ECHO_C" >&6
1938
if test -n "$ac_ct_CC"; then
1939
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1941
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945
test -z "$as_dir" && as_dir=.
1946
for ac_exec_ext in '' $ac_executable_extensions; do
1947
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1948
ac_cv_prog_ac_ct_CC="$ac_prog"
1949
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1958
if test -n "$ac_ct_CC"; then
1959
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1960
echo "${ECHO_T}$ac_ct_CC" >&6
1962
echo "$as_me:$LINENO: result: no" >&5
1963
echo "${ECHO_T}no" >&6
1966
test -n "$ac_ct_CC" && break
1975
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1976
See \`config.log' for more details." >&5
1977
echo "$as_me: error: no acceptable C compiler found in \$PATH
1978
See \`config.log' for more details." >&2;}
1979
{ (exit 1); exit 1; }; }
1981
# Provide some information about the compiler.
1982
echo "$as_me:$LINENO:" \
1983
"checking for C compiler version" >&5
1984
ac_compiler=`set X $ac_compile; echo $2`
1985
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1986
(eval $ac_compiler --version </dev/null >&5) 2>&5
1988
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989
(exit $ac_status); }
1990
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1991
(eval $ac_compiler -v </dev/null >&5) 2>&5
1993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994
(exit $ac_status); }
1995
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1996
(eval $ac_compiler -V </dev/null >&5) 2>&5
1998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999
(exit $ac_status); }
2001
cat >conftest.$ac_ext <<_ACEOF
2002
#line $LINENO "configure"
2005
cat confdefs.h >>conftest.$ac_ext
2006
cat >>conftest.$ac_ext <<_ACEOF
2007
/* end confdefs.h. */
2017
ac_clean_files_save=$ac_clean_files
2018
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2019
# Try to create an executable without -o first, disregard a.out.
2020
# It will help us diagnose broken compilers, and finding out an intuition
2022
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2023
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2024
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2025
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2026
(eval $ac_link_default) 2>&5
2028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029
(exit $ac_status); }; then
2030
# Find the output, starting from the most likely. This scheme is
2031
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2034
# Be careful to initialize this variable, since it used to be cached.
2035
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2037
# b.out is created by i960 compilers.
2038
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2040
test -f "$ac_file" || continue
2042
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2045
# This is the source file.
2048
# We found the default executable, but exeext='' is most
2052
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2053
# FIXME: I believe we export ac_cv_exeext for Libtool,
2054
# but it would be cool to find out if it's true. Does anybody
2055
# maintain Libtool? --akim.
2063
echo "$as_me: failed program was:" >&5
2064
sed 's/^/| /' conftest.$ac_ext >&5
2066
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2067
See \`config.log' for more details." >&5
2068
echo "$as_me: error: C compiler cannot create executables
2069
See \`config.log' for more details." >&2;}
2070
{ (exit 77); exit 77; }; }
2073
ac_exeext=$ac_cv_exeext
2074
echo "$as_me:$LINENO: result: $ac_file" >&5
2075
echo "${ECHO_T}$ac_file" >&6
2077
# Check the compiler produces executables we can run. If not, either
2078
# the compiler is broken, or we cross compile.
2079
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2080
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2081
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2082
# If not cross compiling, check that we can run a simple program.
2083
if test "$cross_compiling" != yes; then
2084
if { ac_try='./$ac_file'
2085
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089
(exit $ac_status); }; }; then
2092
if test "$cross_compiling" = maybe; then
2095
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2096
If you meant to cross compile, use \`--host'.
2097
See \`config.log' for more details." >&5
2098
echo "$as_me: error: cannot run C compiled programs.
2099
If you meant to cross compile, use \`--host'.
2100
See \`config.log' for more details." >&2;}
2101
{ (exit 1); exit 1; }; }
2105
echo "$as_me:$LINENO: result: yes" >&5
2106
echo "${ECHO_T}yes" >&6
2108
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2109
ac_clean_files=$ac_clean_files_save
2110
# Check the compiler produces executables we can run. If not, either
2111
# the compiler is broken, or we cross compile.
2112
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2113
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2114
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2115
echo "${ECHO_T}$cross_compiling" >&6
2117
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2118
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2119
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2120
(eval $ac_link) 2>&5
2122
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123
(exit $ac_status); }; then
2124
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2125
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2126
# work properly (i.e., refer to `conftest.exe'), while it won't with
2128
for ac_file in conftest.exe conftest conftest.*; do
2129
test -f "$ac_file" || continue
2131
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2132
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2139
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2140
See \`config.log' for more details." >&5
2141
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2142
See \`config.log' for more details." >&2;}
2143
{ (exit 1); exit 1; }; }
2146
rm -f conftest$ac_cv_exeext
2147
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2148
echo "${ECHO_T}$ac_cv_exeext" >&6
2150
rm -f conftest.$ac_ext
2151
EXEEXT=$ac_cv_exeext
2153
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2154
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2155
if test "${ac_cv_objext+set}" = set; then
2156
echo $ECHO_N "(cached) $ECHO_C" >&6
2158
cat >conftest.$ac_ext <<_ACEOF
2159
#line $LINENO "configure"
2162
cat confdefs.h >>conftest.$ac_ext
2163
cat >>conftest.$ac_ext <<_ACEOF
2164
/* end confdefs.h. */
2174
rm -f conftest.o conftest.obj
2175
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2176
(eval $ac_compile) 2>&5
2178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179
(exit $ac_status); }; then
2180
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2182
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2183
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2188
echo "$as_me: failed program was:" >&5
2189
sed 's/^/| /' conftest.$ac_ext >&5
2191
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2192
See \`config.log' for more details." >&5
2193
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2194
See \`config.log' for more details." >&2;}
2195
{ (exit 1); exit 1; }; }
2198
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2200
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2201
echo "${ECHO_T}$ac_cv_objext" >&6
2202
OBJEXT=$ac_cv_objext
2204
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2205
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2206
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2207
echo $ECHO_N "(cached) $ECHO_C" >&6
2209
cat >conftest.$ac_ext <<_ACEOF
2210
#line $LINENO "configure"
2213
cat confdefs.h >>conftest.$ac_ext
2214
cat >>conftest.$ac_ext <<_ACEOF
2215
/* end confdefs.h. */
2228
rm -f conftest.$ac_objext
2229
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2230
(eval $ac_compile) 2>&5
2232
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233
(exit $ac_status); } &&
2234
{ ac_try='test -s conftest.$ac_objext'
2235
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239
(exit $ac_status); }; }; then
2242
echo "$as_me: failed program was:" >&5
2243
sed 's/^/| /' conftest.$ac_ext >&5
2247
rm -f conftest.$ac_objext conftest.$ac_ext
2248
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2251
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2252
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2253
GCC=`test $ac_compiler_gnu = yes && echo yes`
2254
ac_test_CFLAGS=${CFLAGS+set}
2255
ac_save_CFLAGS=$CFLAGS
2257
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2258
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2259
if test "${ac_cv_prog_cc_g+set}" = set; then
2260
echo $ECHO_N "(cached) $ECHO_C" >&6
2262
cat >conftest.$ac_ext <<_ACEOF
2263
#line $LINENO "configure"
2266
cat confdefs.h >>conftest.$ac_ext
2267
cat >>conftest.$ac_ext <<_ACEOF
2268
/* end confdefs.h. */
2278
rm -f conftest.$ac_objext
2279
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2280
(eval $ac_compile) 2>&5
2282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283
(exit $ac_status); } &&
2284
{ ac_try='test -s conftest.$ac_objext'
2285
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289
(exit $ac_status); }; }; then
2292
echo "$as_me: failed program was:" >&5
2293
sed 's/^/| /' conftest.$ac_ext >&5
2297
rm -f conftest.$ac_objext conftest.$ac_ext
2299
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2300
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2301
if test "$ac_test_CFLAGS" = set; then
2302
CFLAGS=$ac_save_CFLAGS
2303
elif test $ac_cv_prog_cc_g = yes; then
2304
if test "$GCC" = yes; then
2310
if test "$GCC" = yes; then
2316
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2317
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2318
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2319
echo $ECHO_N "(cached) $ECHO_C" >&6
2321
ac_cv_prog_cc_stdc=no
2323
cat >conftest.$ac_ext <<_ACEOF
2324
#line $LINENO "configure"
2327
cat confdefs.h >>conftest.$ac_ext
2328
cat >>conftest.$ac_ext <<_ACEOF
2329
/* end confdefs.h. */
2332
#include <sys/types.h>
2333
#include <sys/stat.h>
2334
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2335
struct buf { int x; };
2336
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2337
static char *e (p, i)
2343
static char *f (char * (*g) (char **, int), char **p, ...)
2348
s = g (p, va_arg (v,int));
2352
int test (int i, double x);
2353
struct s1 {int (*f) (int a);};
2354
struct s2 {int (*f) (double a);};
2355
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2361
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2366
# Don't try gcc -ansi; that turns off useful extensions and
2367
# breaks some systems' header files.
2368
# AIX -qlanglvl=ansi
2369
# Ultrix and OSF/1 -std1
2370
# HP-UX 10.20 and later -Ae
2371
# HP-UX older versions -Aa -D_HPUX_SOURCE
2372
# SVR4 -Xc -D__EXTENSIONS__
2373
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2375
CC="$ac_save_CC $ac_arg"
2376
rm -f conftest.$ac_objext
2377
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2378
(eval $ac_compile) 2>&5
2380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381
(exit $ac_status); } &&
2382
{ ac_try='test -s conftest.$ac_objext'
2383
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387
(exit $ac_status); }; }; then
2388
ac_cv_prog_cc_stdc=$ac_arg
2391
echo "$as_me: failed program was:" >&5
2392
sed 's/^/| /' conftest.$ac_ext >&5
2395
rm -f conftest.$ac_objext
2397
rm -f conftest.$ac_ext conftest.$ac_objext
2402
case "x$ac_cv_prog_cc_stdc" in
2404
echo "$as_me:$LINENO: result: none needed" >&5
2405
echo "${ECHO_T}none needed" >&6 ;;
2407
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2408
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2409
CC="$CC $ac_cv_prog_cc_stdc" ;;
2412
# Some people use a C++ compiler to compile C. Since we use `exit',
2413
# in C++ we need to declare it. In case someone uses the same compiler
2414
# for both compiling C and C++ we need to have the C++ compiler decide
2415
# the declaration of exit, since it's the most demanding environment.
2416
cat >conftest.$ac_ext <<_ACEOF
2421
rm -f conftest.$ac_objext
2422
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2423
(eval $ac_compile) 2>&5
2425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426
(exit $ac_status); } &&
2427
{ ac_try='test -s conftest.$ac_objext'
2428
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432
(exit $ac_status); }; }; then
2433
for ac_declaration in \
2435
'#include <stdlib.h>' \
2436
'extern "C" void std::exit (int) throw (); using std::exit;' \
2437
'extern "C" void std::exit (int); using std::exit;' \
2438
'extern "C" void exit (int) throw ();' \
2439
'extern "C" void exit (int);' \
2442
cat >conftest.$ac_ext <<_ACEOF
2443
#line $LINENO "configure"
2446
cat confdefs.h >>conftest.$ac_ext
2447
cat >>conftest.$ac_ext <<_ACEOF
2448
/* end confdefs.h. */
2459
rm -f conftest.$ac_objext
2460
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2461
(eval $ac_compile) 2>&5
2463
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464
(exit $ac_status); } &&
2465
{ ac_try='test -s conftest.$ac_objext'
2466
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470
(exit $ac_status); }; }; then
2473
echo "$as_me: failed program was:" >&5
2474
sed 's/^/| /' conftest.$ac_ext >&5
2478
rm -f conftest.$ac_objext conftest.$ac_ext
2479
cat >conftest.$ac_ext <<_ACEOF
2480
#line $LINENO "configure"
2483
cat confdefs.h >>conftest.$ac_ext
2484
cat >>conftest.$ac_ext <<_ACEOF
2485
/* end confdefs.h. */
2495
rm -f conftest.$ac_objext
2496
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2497
(eval $ac_compile) 2>&5
2499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500
(exit $ac_status); } &&
2501
{ ac_try='test -s conftest.$ac_objext'
2502
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506
(exit $ac_status); }; }; then
2509
echo "$as_me: failed program was:" >&5
2510
sed 's/^/| /' conftest.$ac_ext >&5
2513
rm -f conftest.$ac_objext conftest.$ac_ext
2516
if test -n "$ac_declaration"; then
2517
echo '#ifdef __cplusplus' >>confdefs.h
2518
echo $ac_declaration >>confdefs.h
2519
echo '#endif' >>confdefs.h
2523
echo "$as_me: failed program was:" >&5
2524
sed 's/^/| /' conftest.$ac_ext >&5
2527
rm -f conftest.$ac_objext conftest.$ac_ext
2529
ac_cpp='$CPP $CPPFLAGS'
2530
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2531
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2532
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2533
DEPDIR="${am__leading_dot}deps"
2535
ac_config_commands="$ac_config_commands depfiles"
2538
am_make=${MAKE-make}
2539
cat > confinc << 'END'
2544
# If we don't find an include directive, just comment out the code.
2545
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2546
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2550
# First try GNU make style include.
2551
echo "include confinc" > confmf
2552
# We grep out `Entering directory' and `Leaving directory'
2553
# messages which can occur if `w' ends up in MAKEFLAGS.
2554
# In particular we don't look at `^make:' because GNU make might
2555
# be invoked under some other name (usually "gmake"), in which
2556
# case it prints its new name instead of `make'.
2557
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2562
# Now try BSD make style include.
2563
if test "$am__include" = "#"; then
2564
echo '.include "confinc"' > confmf
2565
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2566
am__include=.include
2573
echo "$as_me:$LINENO: result: $_am_result" >&5
2574
echo "${ECHO_T}$_am_result" >&6
2575
rm -f confinc confmf
2577
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2578
if test "${enable_dependency_tracking+set}" = set; then
2579
enableval="$enable_dependency_tracking"
2582
if test "x$enable_dependency_tracking" != xno; then
2583
am_depcomp="$ac_aux_dir/depcomp"
2588
if test "x$enable_dependency_tracking" != xno; then
2599
depcc="$CC" am_compiler_list=
2601
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2602
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2603
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2604
echo $ECHO_N "(cached) $ECHO_C" >&6
2606
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2607
# We make a subdir and do the tests there. Otherwise we can end up
2608
# making bogus files that we don't know about and never remove. For
2609
# instance it was reported that on HP-UX the gcc test will end up
2610
# making a dummy file named `D' -- because `-MD' means `put the output
2613
# Copy depcomp to subdir because otherwise we won't find it if we're
2614
# using a relative directory.
2615
cp "$am_depcomp" conftest.dir
2617
# We will build objects and dependencies in a subdirectory because
2618
# it helps to detect inapplicable dependency modes. For instance
2619
# both Tru64's cc and ICC support -MD to output dependencies as a
2620
# side effect of compilation, but ICC will put the dependencies in
2621
# the current directory while Tru64 will put them in the object
2625
am_cv_CC_dependencies_compiler_type=none
2626
if test "$am_compiler_list" = ""; then
2627
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2629
for depmode in $am_compiler_list; do
2630
# Setup a source with many dependencies, because some compilers
2631
# like to wrap large dependency lists on column 80 (with \), and
2632
# we should not choose a depcomp mode which is confused by this.
2634
# We need to recreate these files for each test, as the compiler may
2635
# overwrite some of them when testing with obscure command lines.
2636
# This happens at least with the AIX C compiler.
2638
for i in 1 2 3 4 5 6; do
2639
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2642
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2646
# after this tag, mechanisms are not by side-effect, so they'll
2647
# only be used when explicitly requested
2648
if test "x$enable_dependency_tracking" = xyes; then
2656
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2657
# mode. It turns out that the SunPro C++ compiler does not properly
2658
# handle `-M -o', and we need to detect this.
2659
if depmode=$depmode \
2660
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2661
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2662
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2663
>/dev/null 2>conftest.err &&
2664
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2665
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2666
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2667
# icc doesn't choke on unknown options, it will just issue warnings
2668
# (even with -Werror). So we grep stderr for any message
2669
# that says an option was ignored.
2670
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2671
am_cv_CC_dependencies_compiler_type=$depmode
2680
am_cv_CC_dependencies_compiler_type=none
2684
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2685
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2686
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2691
test "x$enable_dependency_tracking" != xno \
2692
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2694
am__fastdepCC_FALSE='#'
2696
am__fastdepCC_TRUE='#'
2697
am__fastdepCC_FALSE=
2701
# Find a good install program. We prefer a C program (faster),
2702
# so one script is as good as another. But avoid the broken or
2703
# incompatible versions:
2704
# SysV /etc/install, /usr/sbin/install
2705
# SunOS /usr/etc/install
2706
# IRIX /sbin/install
2708
# AmigaOS /C/install, which installs bootblocks on floppy discs
2709
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2710
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2711
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2712
# ./install, which can be erroneously created by make from ./install.sh.
2713
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2714
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2715
if test -z "$INSTALL"; then
2716
if test "${ac_cv_path_install+set}" = set; then
2717
echo $ECHO_N "(cached) $ECHO_C" >&6
2719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723
test -z "$as_dir" && as_dir=.
2724
# Account for people who put trailing slashes in PATH elements.
2726
./ | .// | /cC/* | \
2727
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2730
# OSF1 and SCO ODT 3.0 have their own names for install.
2731
# Don't use installbsd from OSF since it installs stuff as root
2733
for ac_prog in ginstall scoinst install; do
2734
for ac_exec_ext in '' $ac_executable_extensions; do
2735
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2736
if test $ac_prog = install &&
2737
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2738
# AIX install. It has an incompatible calling convention.
2740
elif test $ac_prog = install &&
2741
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2742
# program-specific install script used by HP pwplus--don't use.
2745
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2757
if test "${ac_cv_path_install+set}" = set; then
2758
INSTALL=$ac_cv_path_install
2760
# As a last resort, use the slow shell script. We don't cache a
2761
# path for INSTALL within a source directory, because that will
2762
# break other packages using the cache if that directory is
2763
# removed, or if the path is relative.
2764
INSTALL=$ac_install_sh
2767
echo "$as_me:$LINENO: result: $INSTALL" >&5
2768
echo "${ECHO_T}$INSTALL" >&6
2770
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2771
# It thinks the first close brace ends the variable substitution.
2772
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2774
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2776
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2778
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2779
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2780
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
2781
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2782
echo $ECHO_N "(cached) $ECHO_C" >&6
2784
cat >conftest.make <<\_ACEOF
2786
@echo 'ac_maketemp="$(MAKE)"'
2788
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2789
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2790
if test -n "$ac_maketemp"; then
2791
eval ac_cv_prog_make_${ac_make}_set=yes
2793
eval ac_cv_prog_make_${ac_make}_set=no
2797
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2798
echo "$as_me:$LINENO: result: yes" >&5
2799
echo "${ECHO_T}yes" >&6
2802
echo "$as_me:$LINENO: result: no" >&5
2803
echo "${ECHO_T}no" >&6
2804
SET_MAKE="MAKE=${MAKE-make}"
2809
ac_cpp='$CPP $CPPFLAGS'
2810
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2813
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2814
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2815
# On Suns, sometimes $CPP names a directory.
2816
if test -n "$CPP" && test -d "$CPP"; then
2819
if test -z "$CPP"; then
2820
if test "${ac_cv_prog_CPP+set}" = set; then
2821
echo $ECHO_N "(cached) $ECHO_C" >&6
2823
# Double quotes because CPP needs to be expanded
2824
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2827
for ac_c_preproc_warn_flag in '' yes
2829
# Use a header file that comes with gcc, so configuring glibc
2830
# with a fresh cross-compiler works.
2831
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2832
# <limits.h> exists even on freestanding compilers.
2833
# On the NeXT, cc -E runs the code through the compiler's parser,
2834
# not just through cpp. "Syntax error" is here to catch this case.
2835
cat >conftest.$ac_ext <<_ACEOF
2836
#line $LINENO "configure"
2839
cat confdefs.h >>conftest.$ac_ext
2840
cat >>conftest.$ac_ext <<_ACEOF
2841
/* end confdefs.h. */
2843
# include <limits.h>
2845
# include <assert.h>
2849
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2850
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2852
grep -v '^ *+' conftest.er1 >conftest.err
2854
cat conftest.err >&5
2855
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856
(exit $ac_status); } >/dev/null; then
2857
if test -s conftest.err; then
2858
ac_cpp_err=$ac_c_preproc_warn_flag
2865
if test -z "$ac_cpp_err"; then
2868
echo "$as_me: failed program was:" >&5
2869
sed 's/^/| /' conftest.$ac_ext >&5
2871
# Broken: fails on valid input.
2874
rm -f conftest.err conftest.$ac_ext
2876
# OK, works on sane cases. Now check whether non-existent headers
2877
# can be detected and how.
2878
cat >conftest.$ac_ext <<_ACEOF
2879
#line $LINENO "configure"
2882
cat confdefs.h >>conftest.$ac_ext
2883
cat >>conftest.$ac_ext <<_ACEOF
2884
/* end confdefs.h. */
2885
#include <ac_nonexistent.h>
2887
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2888
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2890
grep -v '^ *+' conftest.er1 >conftest.err
2892
cat conftest.err >&5
2893
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894
(exit $ac_status); } >/dev/null; then
2895
if test -s conftest.err; then
2896
ac_cpp_err=$ac_c_preproc_warn_flag
2903
if test -z "$ac_cpp_err"; then
2904
# Broken: success on invalid input.
2907
echo "$as_me: failed program was:" >&5
2908
sed 's/^/| /' conftest.$ac_ext >&5
2910
# Passes both tests.
2914
rm -f conftest.err conftest.$ac_ext
2917
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2918
rm -f conftest.err conftest.$ac_ext
2919
if $ac_preproc_ok; then
2931
echo "$as_me:$LINENO: result: $CPP" >&5
2932
echo "${ECHO_T}$CPP" >&6
2934
for ac_c_preproc_warn_flag in '' yes
2936
# Use a header file that comes with gcc, so configuring glibc
2937
# with a fresh cross-compiler works.
2938
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2939
# <limits.h> exists even on freestanding compilers.
2940
# On the NeXT, cc -E runs the code through the compiler's parser,
2941
# not just through cpp. "Syntax error" is here to catch this case.
2942
cat >conftest.$ac_ext <<_ACEOF
2943
#line $LINENO "configure"
2946
cat confdefs.h >>conftest.$ac_ext
2947
cat >>conftest.$ac_ext <<_ACEOF
2948
/* end confdefs.h. */
2950
# include <limits.h>
2952
# include <assert.h>
2956
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2957
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2959
grep -v '^ *+' conftest.er1 >conftest.err
2961
cat conftest.err >&5
2962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963
(exit $ac_status); } >/dev/null; then
2964
if test -s conftest.err; then
2965
ac_cpp_err=$ac_c_preproc_warn_flag
2972
if test -z "$ac_cpp_err"; then
2975
echo "$as_me: failed program was:" >&5
2976
sed 's/^/| /' conftest.$ac_ext >&5
2978
# Broken: fails on valid input.
2981
rm -f conftest.err conftest.$ac_ext
2983
# OK, works on sane cases. Now check whether non-existent headers
2984
# can be detected and how.
2985
cat >conftest.$ac_ext <<_ACEOF
2986
#line $LINENO "configure"
2989
cat confdefs.h >>conftest.$ac_ext
2990
cat >>conftest.$ac_ext <<_ACEOF
2991
/* end confdefs.h. */
2992
#include <ac_nonexistent.h>
2994
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2995
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2997
grep -v '^ *+' conftest.er1 >conftest.err
2999
cat conftest.err >&5
3000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001
(exit $ac_status); } >/dev/null; then
3002
if test -s conftest.err; then
3003
ac_cpp_err=$ac_c_preproc_warn_flag
3010
if test -z "$ac_cpp_err"; then
3011
# Broken: success on invalid input.
3014
echo "$as_me: failed program was:" >&5
3015
sed 's/^/| /' conftest.$ac_ext >&5
3017
# Passes both tests.
3021
rm -f conftest.err conftest.$ac_ext
3024
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3025
rm -f conftest.err conftest.$ac_ext
3026
if $ac_preproc_ok; then
3029
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3030
See \`config.log' for more details." >&5
3031
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3032
See \`config.log' for more details." >&2;}
3033
{ (exit 1); exit 1; }; }
3037
ac_cpp='$CPP $CPPFLAGS'
3038
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3043
echo "$as_me:$LINENO: checking for egrep" >&5
3044
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3045
if test "${ac_cv_prog_egrep+set}" = set; then
3046
echo $ECHO_N "(cached) $ECHO_C" >&6
3048
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3049
then ac_cv_prog_egrep='grep -E'
3050
else ac_cv_prog_egrep='egrep'
3053
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3054
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3055
EGREP=$ac_cv_prog_egrep
3058
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3059
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3060
if test "${ac_cv_header_stdc+set}" = set; then
3061
echo $ECHO_N "(cached) $ECHO_C" >&6
3063
cat >conftest.$ac_ext <<_ACEOF
3064
#line $LINENO "configure"
3067
cat confdefs.h >>conftest.$ac_ext
3068
cat >>conftest.$ac_ext <<_ACEOF
3069
/* end confdefs.h. */
3083
rm -f conftest.$ac_objext
3084
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3085
(eval $ac_compile) 2>&5
3087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088
(exit $ac_status); } &&
3089
{ ac_try='test -s conftest.$ac_objext'
3090
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094
(exit $ac_status); }; }; then
3095
ac_cv_header_stdc=yes
3097
echo "$as_me: failed program was:" >&5
3098
sed 's/^/| /' conftest.$ac_ext >&5
3100
ac_cv_header_stdc=no
3102
rm -f conftest.$ac_objext conftest.$ac_ext
3104
if test $ac_cv_header_stdc = yes; then
3105
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3106
cat >conftest.$ac_ext <<_ACEOF
3107
#line $LINENO "configure"
3110
cat confdefs.h >>conftest.$ac_ext
3111
cat >>conftest.$ac_ext <<_ACEOF
3112
/* end confdefs.h. */
3116
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3117
$EGREP "memchr" >/dev/null 2>&1; then
3120
ac_cv_header_stdc=no
3126
if test $ac_cv_header_stdc = yes; then
3127
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3128
cat >conftest.$ac_ext <<_ACEOF
3129
#line $LINENO "configure"
3132
cat confdefs.h >>conftest.$ac_ext
3133
cat >>conftest.$ac_ext <<_ACEOF
3134
/* end confdefs.h. */
3138
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3139
$EGREP "free" >/dev/null 2>&1; then
3142
ac_cv_header_stdc=no
3148
if test $ac_cv_header_stdc = yes; then
3149
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3150
if test "$cross_compiling" = yes; then
3153
cat >conftest.$ac_ext <<_ACEOF
3154
#line $LINENO "configure"
3157
cat confdefs.h >>conftest.$ac_ext
3158
cat >>conftest.$ac_ext <<_ACEOF
3159
/* end confdefs.h. */
3161
#if ((' ' & 0x0FF) == 0x020)
3162
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3163
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3165
# define ISLOWER(c) \
3166
(('a' <= (c) && (c) <= 'i') \
3167
|| ('j' <= (c) && (c) <= 'r') \
3168
|| ('s' <= (c) && (c) <= 'z'))
3169
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3172
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3177
for (i = 0; i < 256; i++)
3178
if (XOR (islower (i), ISLOWER (i))
3179
|| toupper (i) != TOUPPER (i))
3184
rm -f conftest$ac_exeext
3185
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3186
(eval $ac_link) 2>&5
3188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3190
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194
(exit $ac_status); }; }; then
3197
echo "$as_me: program exited with status $ac_status" >&5
3198
echo "$as_me: failed program was:" >&5
3199
sed 's/^/| /' conftest.$ac_ext >&5
3202
ac_cv_header_stdc=no
3204
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3208
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3209
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3210
if test $ac_cv_header_stdc = yes; then
3212
cat >>confdefs.h <<\_ACEOF
3213
#define STDC_HEADERS 1
3218
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3219
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3220
if test "${ac_cv_c_const+set}" = set; then
3221
echo $ECHO_N "(cached) $ECHO_C" >&6
3223
cat >conftest.$ac_ext <<_ACEOF
3224
#line $LINENO "configure"
3227
cat confdefs.h >>conftest.$ac_ext
3228
cat >>conftest.$ac_ext <<_ACEOF
3229
/* end confdefs.h. */
3234
/* FIXME: Include the comments suggested by Paul. */
3236
/* Ultrix mips cc rejects this. */
3237
typedef int charset[2];
3239
/* SunOS 4.1.1 cc rejects this. */
3240
char const *const *ccp;
3242
/* NEC SVR4.0.2 mips cc rejects this. */
3243
struct point {int x, y;};
3244
static struct point const zero = {0,0};
3245
/* AIX XL C 1.02.0.0 rejects this.
3246
It does not let you subtract one const X* pointer from another in
3247
an arm of an if-expression whose if-part is not a constant
3249
const char *g = "string";
3250
ccp = &g + (g ? g-g : 0);
3251
/* HPUX 7.0 cc rejects these. */
3254
ccp = (char const *const *) p;
3255
{ /* SCO 3.2v4 cc rejects this. */
3257
char const *s = 0 ? (char *) 0 : (char const *) 0;
3261
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3263
const int *foo = &x[0];
3266
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3267
typedef const int *iptr;
3271
{ /* AIX XL C 1.02.0.0 rejects this saying
3272
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3273
struct s { int j; const int *ap[3]; };
3274
struct s *b; b->j = 5;
3276
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3285
rm -f conftest.$ac_objext
3286
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3287
(eval $ac_compile) 2>&5
3289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290
(exit $ac_status); } &&
3291
{ ac_try='test -s conftest.$ac_objext'
3292
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296
(exit $ac_status); }; }; then
3299
echo "$as_me: failed program was:" >&5
3300
sed 's/^/| /' conftest.$ac_ext >&5
3304
rm -f conftest.$ac_objext conftest.$ac_ext
3306
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3307
echo "${ECHO_T}$ac_cv_c_const" >&6
3308
if test $ac_cv_c_const = no; then
3310
cat >>confdefs.h <<\_ACEOF
3316
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3326
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3327
inttypes.h stdint.h unistd.h
3329
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3330
echo "$as_me:$LINENO: checking for $ac_header" >&5
3331
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3332
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3333
echo $ECHO_N "(cached) $ECHO_C" >&6
3335
cat >conftest.$ac_ext <<_ACEOF
3336
#line $LINENO "configure"
3339
cat confdefs.h >>conftest.$ac_ext
3340
cat >>conftest.$ac_ext <<_ACEOF
3341
/* end confdefs.h. */
3342
$ac_includes_default
3344
#include <$ac_header>
3346
rm -f conftest.$ac_objext
3347
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3348
(eval $ac_compile) 2>&5
3350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351
(exit $ac_status); } &&
3352
{ ac_try='test -s conftest.$ac_objext'
3353
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3356
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357
(exit $ac_status); }; }; then
3358
eval "$as_ac_Header=yes"
3360
echo "$as_me: failed program was:" >&5
3361
sed 's/^/| /' conftest.$ac_ext >&5
3363
eval "$as_ac_Header=no"
3365
rm -f conftest.$ac_objext conftest.$ac_ext
3367
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3368
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3369
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3370
cat >>confdefs.h <<_ACEOF
3371
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3379
echo "$as_me:$LINENO: checking for size_t" >&5
3380
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3381
if test "${ac_cv_type_size_t+set}" = set; then
3382
echo $ECHO_N "(cached) $ECHO_C" >&6
3384
cat >conftest.$ac_ext <<_ACEOF
3385
#line $LINENO "configure"
3388
cat confdefs.h >>conftest.$ac_ext
3389
cat >>conftest.$ac_ext <<_ACEOF
3390
/* end confdefs.h. */
3391
$ac_includes_default
3397
if (sizeof (size_t))
3403
rm -f conftest.$ac_objext
3404
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3405
(eval $ac_compile) 2>&5
3407
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408
(exit $ac_status); } &&
3409
{ ac_try='test -s conftest.$ac_objext'
3410
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414
(exit $ac_status); }; }; then
3415
ac_cv_type_size_t=yes
3417
echo "$as_me: failed program was:" >&5
3418
sed 's/^/| /' conftest.$ac_ext >&5
3420
ac_cv_type_size_t=no
3422
rm -f conftest.$ac_objext conftest.$ac_ext
3424
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3425
echo "${ECHO_T}$ac_cv_type_size_t" >&6
3426
if test $ac_cv_type_size_t = yes; then
3430
cat >>confdefs.h <<_ACEOF
3431
#define size_t unsigned
3436
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3437
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3438
if test "${ac_cv_header_time+set}" = set; then
3439
echo $ECHO_N "(cached) $ECHO_C" >&6
3441
cat >conftest.$ac_ext <<_ACEOF
3442
#line $LINENO "configure"
3445
cat confdefs.h >>conftest.$ac_ext
3446
cat >>conftest.$ac_ext <<_ACEOF
3447
/* end confdefs.h. */
3448
#include <sys/types.h>
3449
#include <sys/time.h>
3455
if ((struct tm *) 0)
3461
rm -f conftest.$ac_objext
3462
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3463
(eval $ac_compile) 2>&5
3465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466
(exit $ac_status); } &&
3467
{ ac_try='test -s conftest.$ac_objext'
3468
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472
(exit $ac_status); }; }; then
3473
ac_cv_header_time=yes
3475
echo "$as_me: failed program was:" >&5
3476
sed 's/^/| /' conftest.$ac_ext >&5
3478
ac_cv_header_time=no
3480
rm -f conftest.$ac_objext conftest.$ac_ext
3482
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3483
echo "${ECHO_T}$ac_cv_header_time" >&6
3484
if test $ac_cv_header_time = yes; then
3486
cat >>confdefs.h <<\_ACEOF
3487
#define TIME_WITH_SYS_TIME 1
3493
echo "$as_me:$LINENO: checking for deflateInit_ in -lz" >&5
3494
echo $ECHO_N "checking for deflateInit_ in -lz... $ECHO_C" >&6
3495
if test "${ac_cv_lib_z_deflateInit_+set}" = set; then
3496
echo $ECHO_N "(cached) $ECHO_C" >&6
3498
ac_check_lib_save_LIBS=$LIBS
3500
cat >conftest.$ac_ext <<_ACEOF
3501
#line $LINENO "configure"
3504
cat confdefs.h >>conftest.$ac_ext
3505
cat >>conftest.$ac_ext <<_ACEOF
3506
/* end confdefs.h. */
3508
/* Override any gcc2 internal prototype to avoid an error. */
3512
/* We use char because int might match the return type of a gcc2
3513
builtin and then its argument prototype would still apply. */
3514
char deflateInit_ ();
3523
rm -f conftest.$ac_objext conftest$ac_exeext
3524
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3525
(eval $ac_link) 2>&5
3527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528
(exit $ac_status); } &&
3529
{ ac_try='test -s conftest$ac_exeext'
3530
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3533
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534
(exit $ac_status); }; }; then
3535
ac_cv_lib_z_deflateInit_=yes
3537
echo "$as_me: failed program was:" >&5
3538
sed 's/^/| /' conftest.$ac_ext >&5
3540
ac_cv_lib_z_deflateInit_=no
3542
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3543
LIBS=$ac_check_lib_save_LIBS
3545
echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflateInit_" >&5
3546
echo "${ECHO_T}$ac_cv_lib_z_deflateInit_" >&6
3547
if test $ac_cv_lib_z_deflateInit_ = yes; then
3548
cat >>confdefs.h <<_ACEOF
3555
{ { echo "$as_me:$LINENO: error: zlib is required." >&5
3556
echo "$as_me: error: zlib is required." >&2;}
3557
{ (exit 1); exit 1; }; }
3561
echo "$as_me:$LINENO: checking for png_write_image in -lpng" >&5
3562
echo $ECHO_N "checking for png_write_image in -lpng... $ECHO_C" >&6
3563
if test "${ac_cv_lib_png_png_write_image+set}" = set; then
3564
echo $ECHO_N "(cached) $ECHO_C" >&6
3566
ac_check_lib_save_LIBS=$LIBS
3568
cat >conftest.$ac_ext <<_ACEOF
3569
#line $LINENO "configure"
3572
cat confdefs.h >>conftest.$ac_ext
3573
cat >>conftest.$ac_ext <<_ACEOF
3574
/* end confdefs.h. */
3576
/* Override any gcc2 internal prototype to avoid an error. */
3580
/* We use char because int might match the return type of a gcc2
3581
builtin and then its argument prototype would still apply. */
3582
char png_write_image ();
3591
rm -f conftest.$ac_objext conftest$ac_exeext
3592
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3593
(eval $ac_link) 2>&5
3595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596
(exit $ac_status); } &&
3597
{ ac_try='test -s conftest$ac_exeext'
3598
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602
(exit $ac_status); }; }; then
3603
ac_cv_lib_png_png_write_image=yes
3605
echo "$as_me: failed program was:" >&5
3606
sed 's/^/| /' conftest.$ac_ext >&5
3608
ac_cv_lib_png_png_write_image=no
3610
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3611
LIBS=$ac_check_lib_save_LIBS
3613
echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_write_image" >&5
3614
echo "${ECHO_T}$ac_cv_lib_png_png_write_image" >&6
3615
if test $ac_cv_lib_png_png_write_image = yes; then
3616
cat >>confdefs.h <<_ACEOF
3617
#define HAVE_LIBPNG 1
3623
{ { echo "$as_me:$LINENO: error: The png library is required." >&5
3624
echo "$as_me: error: The png library is required." >&2;}
3625
{ (exit 1); exit 1; }; }
3629
echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
3630
echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
3631
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
3632
echo $ECHO_N "(cached) $ECHO_C" >&6
3634
ac_check_lib_save_LIBS=$LIBS
3635
LIBS="-lexpat $LIBS"
3636
cat >conftest.$ac_ext <<_ACEOF
3637
#line $LINENO "configure"
3640
cat confdefs.h >>conftest.$ac_ext
3641
cat >>conftest.$ac_ext <<_ACEOF
3642
/* end confdefs.h. */
3644
/* Override any gcc2 internal prototype to avoid an error. */
3648
/* We use char because int might match the return type of a gcc2
3649
builtin and then its argument prototype would still apply. */
3650
char XML_ParserCreate ();
3654
XML_ParserCreate ();
3659
rm -f conftest.$ac_objext conftest$ac_exeext
3660
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3661
(eval $ac_link) 2>&5
3663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664
(exit $ac_status); } &&
3665
{ ac_try='test -s conftest$ac_exeext'
3666
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670
(exit $ac_status); }; }; then
3671
ac_cv_lib_expat_XML_ParserCreate=yes
3673
echo "$as_me: failed program was:" >&5
3674
sed 's/^/| /' conftest.$ac_ext >&5
3676
ac_cv_lib_expat_XML_ParserCreate=no
3678
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3679
LIBS=$ac_check_lib_save_LIBS
3681
echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
3682
echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
3683
if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
3684
cat >>confdefs.h <<_ACEOF
3685
#define HAVE_LIBEXPAT 1
3688
LIBS="-lexpat $LIBS"
3691
{ { echo "$as_me:$LINENO: error: The expat xml library is required." >&5
3692
echo "$as_me: error: The expat xml library is required." >&2;}
3693
{ (exit 1); exit 1; }; }
3697
echo "$as_me:$LINENO: checking for jpeg_start_compress in -ljpeg" >&5
3698
echo $ECHO_N "checking for jpeg_start_compress in -ljpeg... $ECHO_C" >&6
3699
if test "${ac_cv_lib_jpeg_jpeg_start_compress+set}" = set; then
3700
echo $ECHO_N "(cached) $ECHO_C" >&6
3702
ac_check_lib_save_LIBS=$LIBS
3704
cat >conftest.$ac_ext <<_ACEOF
3705
#line $LINENO "configure"
3708
cat confdefs.h >>conftest.$ac_ext
3709
cat >>conftest.$ac_ext <<_ACEOF
3710
/* end confdefs.h. */
3712
/* Override any gcc2 internal prototype to avoid an error. */
3716
/* We use char because int might match the return type of a gcc2
3717
builtin and then its argument prototype would still apply. */
3718
char jpeg_start_compress ();
3722
jpeg_start_compress ();
3727
rm -f conftest.$ac_objext conftest$ac_exeext
3728
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3729
(eval $ac_link) 2>&5
3731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732
(exit $ac_status); } &&
3733
{ ac_try='test -s conftest$ac_exeext'
3734
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
(exit $ac_status); }; }; then
3739
ac_cv_lib_jpeg_jpeg_start_compress=yes
3741
echo "$as_me: failed program was:" >&5
3742
sed 's/^/| /' conftest.$ac_ext >&5
3744
ac_cv_lib_jpeg_jpeg_start_compress=no
3746
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3747
LIBS=$ac_check_lib_save_LIBS
3749
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_compress" >&5
3750
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_compress" >&6
3751
if test $ac_cv_lib_jpeg_jpeg_start_compress = yes; then
3752
cat >>confdefs.h <<_ACEOF
3753
#define HAVE_LIBJPEG 1
3759
{ { echo "$as_me:$LINENO: error: The jpeg library is required." >&5
3760
echo "$as_me: error: The jpeg library is required." >&2;}
3761
{ (exit 1); exit 1; }; }
3764
ac_config_files="$ac_config_files Makefile"
3765
cat >confcache <<\_ACEOF
3766
# This file is a shell script that caches the results of configure
3767
# tests run on this system so they can be shared between configure
3768
# scripts and configure runs, see configure's option --config-cache.
3769
# It is not useful on other systems. If it contains results you don't
3770
# want to keep, you may remove or edit it.
3772
# config.status only pays attention to the cache file if you give it
3773
# the --recheck option to rerun configure.
3775
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3776
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3781
# The following way of writing the cache mishandles newlines in values,
3782
# but we know of no workaround that is simple, portable, and efficient.
3783
# So, don't put newlines in cache variables' values.
3784
# Ultrix sh set writes to stderr and can't be redirected directly,
3785
# and sets the high bit in the cache file unless we assign to the vars.
3788
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3790
# `set' does not quote correctly, so add quotes (double-quote
3791
# substitution turns \\\\ into \\, and sed turns \\ into \).
3794
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3797
# `set' quotes correctly as required by POSIX, so do not add quotes.
3799
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3806
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3808
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3810
if diff $cache_file confcache >/dev/null 2>&1; then :; else
3811
if test -w $cache_file; then
3812
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3813
cat confcache >$cache_file
3815
echo "not updating unwritable cache $cache_file"
3820
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3821
# Let make expand exec_prefix.
3822
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3824
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3825
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3826
# trailing colons and then remove the whole line if VPATH becomes empty
3827
# (actually we leave an empty line to preserve line numbers).
3828
if test "x$srcdir" = x.; then
3829
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3830
s/:*\$(srcdir):*/:/;
3831
s/:*\${srcdir}:*/:/;
3833
s/^\([^=]*=[ ]*\):*/\1/;
3839
DEFS=-DHAVE_CONFIG_H
3843
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3844
# 1. Remove the extension, and $U if already installed.
3845
ac_i=`echo "$ac_i" |
3846
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3848
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3849
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3853
LTLIBOBJS=$ac_ltlibobjs
3856
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3857
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3858
Usually this means the macro was only invoked conditionally." >&5
3859
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3860
Usually this means the macro was only invoked conditionally." >&2;}
3861
{ (exit 1); exit 1; }; }
3863
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3864
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3865
Usually this means the macro was only invoked conditionally." >&5
3866
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3867
Usually this means the macro was only invoked conditionally." >&2;}
3868
{ (exit 1); exit 1; }; }
3871
: ${CONFIG_STATUS=./config.status}
3872
ac_clean_files_save=$ac_clean_files
3873
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3874
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3875
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3876
cat >$CONFIG_STATUS <<_ACEOF
3878
# Generated by $as_me.
3879
# Run this file to recreate the current configuration.
3880
# Compiler output produced by configure, useful for debugging
3881
# configure, is in config.log if it exists.
3886
SHELL=\${CONFIG_SHELL-$SHELL}
3889
cat >>$CONFIG_STATUS <<\_ACEOF
3890
## --------------------- ##
3891
## M4sh Initialization. ##
3892
## --------------------- ##
3894
# Be Bourne compatible
3895
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3898
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3899
# is contrary to our usage. Disable this feature.
3900
alias -g '${1+"$@"}'='"$@"'
3901
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3905
# Support unset when possible.
3906
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3913
# Work around bugs in pre-3.0 UWIN ksh.
3914
$as_unset ENV MAIL MAILPATH
3921
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3922
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3923
LC_TELEPHONE LC_TIME
3925
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3926
eval $as_var=C; export $as_var
3932
# Required to use basename.
3933
if expr a : '\(a\)' >/dev/null 2>&1; then
3939
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3940
as_basename=basename
3946
# Name of the executable.
3947
as_me=`$as_basename "$0" ||
3948
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3949
X"$0" : 'X\(//\)$' \| \
3950
X"$0" : 'X\(/\)$' \| \
3951
. : '\(.\)' 2>/dev/null ||
3953
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3954
/^X\/\(\/\/\)$/{ s//\1/; q; }
3955
/^X\/\(\/\).*/{ s//\1/; q; }
3959
# PATH needs CR, and LINENO needs CR and PATH.
3960
# Avoid depending upon Character Ranges.
3961
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3962
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3963
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3964
as_cr_digits='0123456789'
3965
as_cr_alnum=$as_cr_Letters$as_cr_digits
3967
# The user is always right.
3968
if test "${PATH_SEPARATOR+set}" != set; then
3969
echo "#! /bin/sh" >conf$$.sh
3970
echo "exit 0" >>conf$$.sh
3972
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3983
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3984
test "x$as_lineno_1" != "x$as_lineno_2" &&
3985
test "x$as_lineno_3" = "x$as_lineno_2" || {
3986
# Find who we are. Look in the path if we contain no path at all
3989
*[\\/]* ) as_myself=$0 ;;
3990
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994
test -z "$as_dir" && as_dir=.
3995
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4000
# We did not find ourselves, most probably we were run as `sh COMMAND'
4001
# in which case we are not to be found in the path.
4002
if test "x$as_myself" = x; then
4005
if test ! -f "$as_myself"; then
4006
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4007
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4008
{ (exit 1); exit 1; }; }
4010
case $CONFIG_SHELL in
4012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4016
test -z "$as_dir" && as_dir=.
4017
for as_base in sh bash ksh sh5; do
4020
if ("$as_dir/$as_base" -c '
4023
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4024
test "x$as_lineno_1" != "x$as_lineno_2" &&
4025
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4026
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4027
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4028
CONFIG_SHELL=$as_dir/$as_base
4030
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4038
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4039
# uniformly replaced by the line number. The first 'sed' inserts a
4040
# line-number line before each line; the second 'sed' does the real
4041
# work. The second script uses 'N' to pair each line-number line
4042
# with the numbered line, and appends trailing '-' during
4043
# substitution so that $LINENO is not a special case at line end.
4044
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4045
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4046
sed '=' <$as_myself |
4051
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4054
s,^['$as_cr_digits']*\n,,
4056
chmod +x $as_me.lineno ||
4057
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4058
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4059
{ (exit 1); exit 1; }; }
4061
# Don't try to exec as it changes $[0], causing all sort of problems
4062
# (the dirname of $[0] is not the place where we might find the
4063
# original and so on. Autoconf is especially sensible to this).
4065
# Exit status is that of the last command.
4070
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4071
*c*,-n*) ECHO_N= ECHO_C='
4073
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4074
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4077
if expr a : '\(a\)' >/dev/null 2>&1; then
4083
rm -f conf$$ conf$$.exe conf$$.file
4085
if ln -s conf$$.file conf$$ 2>/dev/null; then
4086
# We could just check for DJGPP; but this test a) works b) is more generic
4087
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4088
if test -f conf$$.exe; then
4089
# Don't use ln at all; we don't have any links
4094
elif ln conf$$.file conf$$ 2>/dev/null; then
4099
rm -f conf$$ conf$$.exe conf$$.file
4101
if mkdir -p . 2>/dev/null; then
4107
as_executable_p="test -f"
4109
# Sed expression to map a string onto a valid CPP name.
4110
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4112
# Sed expression to map a string onto a valid variable name.
4113
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4117
# We need space, tab and new line, in precisely that order.
4127
# Open the log real soon, to keep \$[0] and so on meaningful, and to
4128
# report actual input values of CONFIG_FILES etc. instead of their
4129
# values after options handling. Logging --version etc. is OK.
4133
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4134
## Running $as_me. ##
4139
This file was extended by $as_me, which was
4140
generated by GNU Autoconf 2.57. Invocation command line was
4142
CONFIG_FILES = $CONFIG_FILES
4143
CONFIG_HEADERS = $CONFIG_HEADERS
4144
CONFIG_LINKS = $CONFIG_LINKS
4145
CONFIG_COMMANDS = $CONFIG_COMMANDS
4149
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4153
# Files that config.status was made for.
4154
if test -n "$ac_config_files"; then
4155
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4158
if test -n "$ac_config_headers"; then
4159
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4162
if test -n "$ac_config_links"; then
4163
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4166
if test -n "$ac_config_commands"; then
4167
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4170
cat >>$CONFIG_STATUS <<\_ACEOF
4173
\`$as_me' instantiates files from templates according to the
4174
current configuration.
4176
Usage: $0 [OPTIONS] [FILE]...
4178
-h, --help print this help, then exit
4179
-V, --version print version number, then exit
4180
-q, --quiet do not print progress messages
4181
-d, --debug don't remove temporary files
4182
--recheck update $as_me by reconfiguring in the same conditions
4183
--file=FILE[:TEMPLATE]
4184
instantiate the configuration file FILE
4185
--header=FILE[:TEMPLATE]
4186
instantiate the configuration header FILE
4188
Configuration files:
4191
Configuration headers:
4194
Configuration commands:
4197
Report bugs to <bug-autoconf@gnu.org>."
4200
cat >>$CONFIG_STATUS <<_ACEOF
4203
configured by $0, generated by GNU Autoconf 2.57,
4204
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4206
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4207
Free Software Foundation, Inc.
4208
This config.status script is free software; the Free Software Foundation
4209
gives unlimited permission to copy, distribute and modify it."
4214
cat >>$CONFIG_STATUS <<\_ACEOF
4215
# If no file are specified by the user, then we need to provide default
4216
# value. By we need to know if files were specified by the user.
4222
ac_option=`expr "x$1" : 'x\([^=]*\)='`
4223
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4231
*) # This is not an option, so the user has probably given explicit
4234
ac_need_defaults=false;;
4238
# Handling of the options.
4240
cat >>$CONFIG_STATUS <<\_ACEOF
4241
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4243
--version | --vers* | -V )
4244
echo "$ac_cs_version"; exit 0 ;;
4246
# Conflict between --help and --header
4247
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
4248
Try \`$0 --help' for more information." >&5
4249
echo "$as_me: error: ambiguous option: $1
4250
Try \`$0 --help' for more information." >&2;}
4251
{ (exit 1); exit 1; }; };;
4252
--help | --hel | -h )
4253
echo "$ac_cs_usage"; exit 0 ;;
4254
--debug | --d* | -d )
4256
--file | --fil | --fi | --f )
4258
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4259
ac_need_defaults=false;;
4260
--header | --heade | --head | --hea )
4262
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4263
ac_need_defaults=false;;
4264
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4265
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4269
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4270
Try \`$0 --help' for more information." >&5
4271
echo "$as_me: error: unrecognized option: $1
4272
Try \`$0 --help' for more information." >&2;}
4273
{ (exit 1); exit 1; }; } ;;
4275
*) ac_config_targets="$ac_config_targets $1" ;;
4281
ac_configure_extra_args=
4283
if $ac_cs_silent; then
4285
ac_configure_extra_args="$ac_configure_extra_args --silent"
4289
cat >>$CONFIG_STATUS <<_ACEOF
4290
if \$ac_cs_recheck; then
4291
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4292
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4297
cat >>$CONFIG_STATUS <<_ACEOF
4299
# INIT-COMMANDS section.
4302
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4308
cat >>$CONFIG_STATUS <<\_ACEOF
4309
for ac_config_target in $ac_config_targets
4311
case "$ac_config_target" in
4312
# Handling of arguments.
4313
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4314
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4315
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4316
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4317
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4318
{ (exit 1); exit 1; }; };;
4322
# If the user did not use the arguments to specify the items to instantiate,
4323
# then the envvar interface is used. Set only those that are not.
4324
# We use the long form for the default assignment because of an extremely
4325
# bizarre bug on SunOS 4.1.3.
4326
if $ac_need_defaults; then
4327
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4328
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4329
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4332
# Have a temporary directory for convenience. Make it in the build tree
4333
# simply because there is no reason to put it here, and in addition,
4334
# creating and moving files from /tmp can sometimes cause problems.
4335
# Create a temporary directory, and hook for its removal unless debugging.
4338
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4339
trap '{ (exit 1); exit 1; }' 1 2 13 15
4342
# Create a (secure) tmp directory for tmp files.
4345
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4346
test -n "$tmp" && test -d "$tmp"
4349
tmp=./confstat$$-$RANDOM
4350
(umask 077 && mkdir $tmp)
4353
echo "$me: cannot create a temporary directory in ." >&2
4354
{ (exit 1); exit 1; }
4359
cat >>$CONFIG_STATUS <<_ACEOF
4362
# CONFIG_FILES section.
4365
# No need to generate the scripts if there are no CONFIG_FILES.
4366
# This happens for instance when ./config.status config.h
4367
if test -n "\$CONFIG_FILES"; then
4368
# Protect against being on the right side of a sed subst in config.status.
4369
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4370
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4371
s,@SHELL@,$SHELL,;t t
4372
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4373
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4374
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4375
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4376
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4377
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4378
s,@exec_prefix@,$exec_prefix,;t t
4379
s,@prefix@,$prefix,;t t
4380
s,@program_transform_name@,$program_transform_name,;t t
4381
s,@bindir@,$bindir,;t t
4382
s,@sbindir@,$sbindir,;t t
4383
s,@libexecdir@,$libexecdir,;t t
4384
s,@datadir@,$datadir,;t t
4385
s,@sysconfdir@,$sysconfdir,;t t
4386
s,@sharedstatedir@,$sharedstatedir,;t t
4387
s,@localstatedir@,$localstatedir,;t t
4388
s,@libdir@,$libdir,;t t
4389
s,@includedir@,$includedir,;t t
4390
s,@oldincludedir@,$oldincludedir,;t t
4391
s,@infodir@,$infodir,;t t
4392
s,@mandir@,$mandir,;t t
4393
s,@build_alias@,$build_alias,;t t
4394
s,@host_alias@,$host_alias,;t t
4395
s,@target_alias@,$target_alias,;t t
4397
s,@ECHO_C@,$ECHO_C,;t t
4398
s,@ECHO_N@,$ECHO_N,;t t
4399
s,@ECHO_T@,$ECHO_T,;t t
4401
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4402
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4403
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4404
s,@CYGPATH_W@,$CYGPATH_W,;t t
4405
s,@PACKAGE@,$PACKAGE,;t t
4406
s,@VERSION@,$VERSION,;t t
4407
s,@ACLOCAL@,$ACLOCAL,;t t
4408
s,@AUTOCONF@,$AUTOCONF,;t t
4409
s,@AUTOMAKE@,$AUTOMAKE,;t t
4410
s,@AUTOHEADER@,$AUTOHEADER,;t t
4411
s,@MAKEINFO@,$MAKEINFO,;t t
4412
s,@AMTAR@,$AMTAR,;t t
4413
s,@install_sh@,$install_sh,;t t
4414
s,@STRIP@,$STRIP,;t t
4415
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4416
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4418
s,@SET_MAKE@,$SET_MAKE,;t t
4419
s,@am__leading_dot@,$am__leading_dot,;t t
4421
s,@CFLAGS@,$CFLAGS,;t t
4422
s,@LDFLAGS@,$LDFLAGS,;t t
4423
s,@CPPFLAGS@,$CPPFLAGS,;t t
4424
s,@ac_ct_CC@,$ac_ct_CC,;t t
4425
s,@EXEEXT@,$EXEEXT,;t t
4426
s,@OBJEXT@,$OBJEXT,;t t
4427
s,@DEPDIR@,$DEPDIR,;t t
4428
s,@am__include@,$am__include,;t t
4429
s,@am__quote@,$am__quote,;t t
4430
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4431
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4432
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4433
s,@CCDEPMODE@,$CCDEPMODE,;t t
4434
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4435
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4437
s,@EGREP@,$EGREP,;t t
4438
s,@LIBOBJS@,$LIBOBJS,;t t
4439
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4444
cat >>$CONFIG_STATUS <<\_ACEOF
4445
# Split the substitutions into bite-sized pieces for seds with
4446
# small command number limits, like on Digital OSF/1 and HP-UX.
4448
ac_sed_frag=1 # Number of current file.
4449
ac_beg=1 # First line for current file.
4450
ac_end=$ac_max_sed_lines # Line after last line for current file.
4453
while $ac_more_lines; do
4454
if test $ac_beg -gt 1; then
4455
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4457
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4459
if test ! -s $tmp/subs.frag; then
4462
# The purpose of the label and of the branching condition is to
4463
# speed up the sed processing (if there are no `@' at all, there
4464
# is no need to browse any of the substitutions).
4465
# These are the two extra sed commands mentioned above.
4467
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4468
if test -z "$ac_sed_cmds"; then
4469
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4471
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4473
ac_sed_frag=`expr $ac_sed_frag + 1`
4475
ac_end=`expr $ac_end + $ac_max_sed_lines`
4478
if test -z "$ac_sed_cmds"; then
4481
fi # test -n "$CONFIG_FILES"
4484
cat >>$CONFIG_STATUS <<\_ACEOF
4485
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4486
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4488
- | *:- | *:-:* ) # input from stdin
4490
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4491
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4492
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4493
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4494
* ) ac_file_in=$ac_file.in ;;
4497
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4498
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4499
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4500
X"$ac_file" : 'X\(//\)[^/]' \| \
4501
X"$ac_file" : 'X\(//\)$' \| \
4502
X"$ac_file" : 'X\(/\)' \| \
4503
. : '\(.\)' 2>/dev/null ||
4505
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4506
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4507
/^X\(\/\/\)$/{ s//\1/; q; }
4508
/^X\(\/\).*/{ s//\1/; q; }
4510
{ if $as_mkdir_p; then
4515
while test ! -d "$as_dir"; do
4516
as_dirs="$as_dir $as_dirs"
4517
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4518
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4519
X"$as_dir" : 'X\(//\)[^/]' \| \
4520
X"$as_dir" : 'X\(//\)$' \| \
4521
X"$as_dir" : 'X\(/\)' \| \
4522
. : '\(.\)' 2>/dev/null ||
4524
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4525
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4526
/^X\(\/\/\)$/{ s//\1/; q; }
4527
/^X\(\/\).*/{ s//\1/; q; }
4530
test ! -n "$as_dirs" || mkdir $as_dirs
4531
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4532
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4533
{ (exit 1); exit 1; }; }; }
4537
if test "$ac_dir" != .; then
4538
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4539
# A "../" for each directory in $ac_dir_suffix.
4540
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4542
ac_dir_suffix= ac_top_builddir=
4546
.) # No --srcdir option. We are building in place.
4548
if test -z "$ac_top_builddir"; then
4551
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4553
[\\/]* | ?:[\\/]* ) # Absolute path.
4554
ac_srcdir=$srcdir$ac_dir_suffix;
4555
ac_top_srcdir=$srcdir ;;
4557
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4558
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4560
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4562
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4563
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4564
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4565
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4569
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4570
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4573
if test x"$ac_file" != x-; then
4574
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4575
echo "$as_me: creating $ac_file" >&6;}
4578
# Let's still pretend it is `configure' which instantiates (i.e., don't
4579
# use $as_me), people would be surprised to read:
4580
# /* config.h. Generated by config.status. */
4581
if test x"$ac_file" = x-; then
4584
configure_input="$ac_file. "
4586
configure_input=$configure_input"Generated from `echo $ac_file_in |
4587
sed 's,.*/,,'` by configure."
4589
# First look for the input files in the build tree, otherwise in the
4591
ac_file_inputs=`IFS=:
4592
for f in $ac_file_in; do
4594
-) echo $tmp/stdin ;;
4596
# Absolute (can't be DOS-style, as IFS=:)
4597
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4598
echo "$as_me: error: cannot find input file: $f" >&2;}
4599
{ (exit 1); exit 1; }; }
4602
if test -f "$f"; then
4605
elif test -f "$srcdir/$f"; then
4610
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4611
echo "$as_me: error: cannot find input file: $f" >&2;}
4612
{ (exit 1); exit 1; }; }
4615
done` || { (exit 1); exit 1; }
4617
cat >>$CONFIG_STATUS <<_ACEOF
4621
cat >>$CONFIG_STATUS <<\_ACEOF
4623
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4624
s,@configure_input@,$configure_input,;t t
4625
s,@srcdir@,$ac_srcdir,;t t
4626
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4627
s,@top_srcdir@,$ac_top_srcdir,;t t
4628
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4629
s,@builddir@,$ac_builddir,;t t
4630
s,@abs_builddir@,$ac_abs_builddir,;t t
4631
s,@top_builddir@,$ac_top_builddir,;t t
4632
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4633
s,@INSTALL@,$ac_INSTALL,;t t
4634
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4636
if test x"$ac_file" != x-; then
4637
mv $tmp/out $ac_file
4645
cat >>$CONFIG_STATUS <<\_ACEOF
4648
# CONFIG_HEADER section.
4651
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4652
# NAME is the cpp macro being defined and VALUE is the value it is being given.
4654
# ac_d sets the value in "#define NAME VALUE" lines.
4655
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4656
ac_dB='[ ].*$,\1#\2'
4659
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4660
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4661
ac_uB='$,\1#\2define\3'
4665
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4666
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4668
- | *:- | *:-:* ) # input from stdin
4670
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4671
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4672
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4673
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4674
* ) ac_file_in=$ac_file.in ;;
4677
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4678
echo "$as_me: creating $ac_file" >&6;}
4680
# First look for the input files in the build tree, otherwise in the
4682
ac_file_inputs=`IFS=:
4683
for f in $ac_file_in; do
4685
-) echo $tmp/stdin ;;
4687
# Absolute (can't be DOS-style, as IFS=:)
4688
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4689
echo "$as_me: error: cannot find input file: $f" >&2;}
4690
{ (exit 1); exit 1; }; }
4693
if test -f "$f"; then
4696
elif test -f "$srcdir/$f"; then
4701
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4702
echo "$as_me: error: cannot find input file: $f" >&2;}
4703
{ (exit 1); exit 1; }; }
4706
done` || { (exit 1); exit 1; }
4707
# Remove the trailing spaces.
4708
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4712
# Transform confdefs.h into two sed scripts, `conftest.defines' and
4713
# `conftest.undefs', that substitutes the proper values into
4714
# config.h.in to produce config.h. The first handles `#define'
4715
# templates, and the second `#undef' templates.
4716
# And first: Protect against being on the right side of a sed subst in
4717
# config.status. Protect against being in an unquoted here document
4719
rm -f conftest.defines conftest.undefs
4720
# Using a here document instead of a string reduces the quoting nightmare.
4721
# Putting comments in sed scripts is not portable.
4723
# `end' is used to avoid that the second main sed command (meant for
4724
# 0-ary CPP macros) applies to n-ary macro definitions.
4725
# See the Autoconf documentation for `clear'.
4726
cat >confdef2sed.sed <<\_ACEOF
4731
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4733
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4736
# If some macros were called several times there might be several times
4737
# the same #defines, which is useless. Nevertheless, we may not want to
4738
# sort them, since we want the *last* AC-DEFINE to be honored.
4739
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4740
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4741
rm -f confdef2sed.sed
4743
# This sed command replaces #undef with comments. This is necessary, for
4744
# example, in the case of _POSIX_SOURCE, which is predefined and required
4745
# on some systems where configure will not decide to define it.
4746
cat >>conftest.undefs <<\_ACEOF
4747
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4750
# Break up conftest.defines because some shells have a limit on the size
4751
# of here documents, and old seds have small limits too (100 cmds).
4752
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4753
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4754
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4755
echo ' :' >>$CONFIG_STATUS
4757
while grep . conftest.defines >/dev/null
4759
# Write a limited-size here document to $tmp/defines.sed.
4760
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4761
# Speed up: don't consider the non `#define' lines.
4762
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4763
# Work around the forget-to-reset-the-flag bug.
4764
echo 't clr' >>$CONFIG_STATUS
4765
echo ': clr' >>$CONFIG_STATUS
4766
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4768
sed -f $tmp/defines.sed $tmp/in >$tmp/out
4772
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4773
rm -f conftest.defines
4774
mv conftest.tail conftest.defines
4776
rm -f conftest.defines
4777
echo ' fi # grep' >>$CONFIG_STATUS
4778
echo >>$CONFIG_STATUS
4780
# Break up conftest.undefs because some shells have a limit on the size
4781
# of here documents, and old seds have small limits too (100 cmds).
4782
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4784
while grep . conftest.undefs >/dev/null
4786
# Write a limited-size here document to $tmp/undefs.sed.
4787
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4788
# Speed up: don't consider the non `#undef'
4789
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4790
# Work around the forget-to-reset-the-flag bug.
4791
echo 't clr' >>$CONFIG_STATUS
4792
echo ': clr' >>$CONFIG_STATUS
4793
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4795
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4799
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4800
rm -f conftest.undefs
4801
mv conftest.tail conftest.undefs
4803
rm -f conftest.undefs
4805
cat >>$CONFIG_STATUS <<\_ACEOF
4806
# Let's still pretend it is `configure' which instantiates (i.e., don't
4807
# use $as_me), people would be surprised to read:
4808
# /* config.h. Generated by config.status. */
4809
if test x"$ac_file" = x-; then
4810
echo "/* Generated by configure. */" >$tmp/config.h
4812
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4814
cat $tmp/in >>$tmp/config.h
4816
if test x"$ac_file" != x-; then
4817
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4818
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4819
echo "$as_me: $ac_file is unchanged" >&6;}
4821
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4822
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4823
X"$ac_file" : 'X\(//\)[^/]' \| \
4824
X"$ac_file" : 'X\(//\)$' \| \
4825
X"$ac_file" : 'X\(/\)' \| \
4826
. : '\(.\)' 2>/dev/null ||
4828
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4829
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4830
/^X\(\/\/\)$/{ s//\1/; q; }
4831
/^X\(\/\).*/{ s//\1/; q; }
4833
{ if $as_mkdir_p; then
4838
while test ! -d "$as_dir"; do
4839
as_dirs="$as_dir $as_dirs"
4840
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4841
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4842
X"$as_dir" : 'X\(//\)[^/]' \| \
4843
X"$as_dir" : 'X\(//\)$' \| \
4844
X"$as_dir" : 'X\(/\)' \| \
4845
. : '\(.\)' 2>/dev/null ||
4847
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4848
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4849
/^X\(\/\/\)$/{ s//\1/; q; }
4850
/^X\(\/\).*/{ s//\1/; q; }
4853
test ! -n "$as_dirs" || mkdir $as_dirs
4854
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4855
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4856
{ (exit 1); exit 1; }; }; }
4859
mv $tmp/config.h $ac_file
4865
# Compute $ac_file's index in $config_headers.
4867
for _am_header in $config_headers :; do
4869
$ac_file | $ac_file:* )
4872
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
4875
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4876
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4877
X$ac_file : 'X\(//\)[^/]' \| \
4878
X$ac_file : 'X\(//\)$' \| \
4879
X$ac_file : 'X\(/\)' \| \
4880
. : '\(.\)' 2>/dev/null ||
4882
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4883
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4884
/^X\(\/\/\)$/{ s//\1/; q; }
4885
/^X\(\/\).*/{ s//\1/; q; }
4886
s/.*/./; q'`/stamp-h$_am_stamp_count
4889
cat >>$CONFIG_STATUS <<\_ACEOF
4892
# CONFIG_COMMANDS section.
4894
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4895
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4896
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4897
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4898
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4899
X"$ac_dest" : 'X\(//\)[^/]' \| \
4900
X"$ac_dest" : 'X\(//\)$' \| \
4901
X"$ac_dest" : 'X\(/\)' \| \
4902
. : '\(.\)' 2>/dev/null ||
4904
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4905
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4906
/^X\(\/\/\)$/{ s//\1/; q; }
4907
/^X\(\/\).*/{ s//\1/; q; }
4911
if test "$ac_dir" != .; then
4912
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4913
# A "../" for each directory in $ac_dir_suffix.
4914
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4916
ac_dir_suffix= ac_top_builddir=
4920
.) # No --srcdir option. We are building in place.
4922
if test -z "$ac_top_builddir"; then
4925
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4927
[\\/]* | ?:[\\/]* ) # Absolute path.
4928
ac_srcdir=$srcdir$ac_dir_suffix;
4929
ac_top_srcdir=$srcdir ;;
4931
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4932
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4934
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4936
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4937
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4938
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4939
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4942
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4943
echo "$as_me: executing $ac_dest commands" >&6;}
4945
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4946
# Strip MF so we end up with the name of the file.
4947
mf=`echo "$mf" | sed -e 's/:.*$//'`
4948
# Check whether this is an Automake generated Makefile or not.
4949
# We used to match only the files named `Makefile.in', but
4950
# some people rename them; so instead we look at the file content.
4951
# Grep'ing the first line is not enough: some people post-process
4952
# each Makefile.in and add a new line on top of each file to say so.
4953
# So let's grep whole file.
4954
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4955
dirpart=`(dirname "$mf") 2>/dev/null ||
4956
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4957
X"$mf" : 'X\(//\)[^/]' \| \
4958
X"$mf" : 'X\(//\)$' \| \
4959
X"$mf" : 'X\(/\)' \| \
4960
. : '\(.\)' 2>/dev/null ||
4962
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4963
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4964
/^X\(\/\/\)$/{ s//\1/; q; }
4965
/^X\(\/\).*/{ s//\1/; q; }
4970
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4971
# Extract the definition of DEP_FILES from the Makefile without
4973
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4974
test -z "$DEPDIR" && continue
4975
# When using ansi2knr, U may be empty or an underscore; expand it
4976
U=`sed -n -e '/^U = / s///p' < "$mf"`
4977
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4978
# We invoke sed twice because it is the simplest approach to
4979
# changing $(DEPDIR) to its actual value in the expansion.
4980
for file in `sed -n -e '
4981
/^DEP_FILES = .*\\\\$/ {
4990
/^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4991
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4992
# Make sure the directory exists.
4993
test -f "$dirpart/$file" && continue
4994
fdir=`(dirname "$file") 2>/dev/null ||
4995
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4996
X"$file" : 'X\(//\)[^/]' \| \
4997
X"$file" : 'X\(//\)$' \| \
4998
X"$file" : 'X\(/\)' \| \
4999
. : '\(.\)' 2>/dev/null ||
5001
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5002
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5003
/^X\(\/\/\)$/{ s//\1/; q; }
5004
/^X\(\/\).*/{ s//\1/; q; }
5006
{ if $as_mkdir_p; then
5007
mkdir -p $dirpart/$fdir
5009
as_dir=$dirpart/$fdir
5011
while test ! -d "$as_dir"; do
5012
as_dirs="$as_dir $as_dirs"
5013
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5014
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5015
X"$as_dir" : 'X\(//\)[^/]' \| \
5016
X"$as_dir" : 'X\(//\)$' \| \
5017
X"$as_dir" : 'X\(/\)' \| \
5018
. : '\(.\)' 2>/dev/null ||
5020
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5021
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5022
/^X\(\/\/\)$/{ s//\1/; q; }
5023
/^X\(\/\).*/{ s//\1/; q; }
5026
test ! -n "$as_dirs" || mkdir $as_dirs
5027
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5028
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5029
{ (exit 1); exit 1; }; }; }
5031
# echo "creating $dirpart/$file"
5032
echo '# dummy' > "$dirpart/$file"
5040
cat >>$CONFIG_STATUS <<\_ACEOF
5042
{ (exit 0); exit 0; }
5044
chmod +x $CONFIG_STATUS
5045
ac_clean_files=$ac_clean_files_save
5048
# configure is writing to config.log, and then calls config.status.
5049
# config.status does its own redirection, appending to config.log.
5050
# Unfortunately, on DOS this fails, as config.log is still kept open
5051
# by configure, so config.status won't be able to write to it; its
5052
# output is simply discarded. So we exec the FD to /dev/null,
5053
# effectively closing config.log, so it can be properly (re)opened and
5054
# appended to by config.status. When coming back to configure, we
5055
# need to make the FD available again.
5056
if test "$no_create" != yes; then
5058
ac_config_status_args=
5059
test "$silent" = yes &&
5060
ac_config_status_args="$ac_config_status_args --quiet"
5062
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5064
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5065
# would make configure fail if this is the last instruction.
5066
$ac_cs_success || { (exit 1); exit 1; }