2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for AdvanceCOMP 1.15.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
6
# This configure script is free software; the Free Software Foundation
7
# gives unlimited permission to copy, distribute and modify it.
8
## --------------------- ##
9
## M4sh Initialization. ##
10
## --------------------- ##
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
# is contrary to our usage. Disable this feature.
18
alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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
221
test -d ./-p && rmdir ./-p
225
as_executable_p="test -f"
227
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
# We need space, tab and new line, in precisely that order.
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
# so uname gets run too.
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254
ac_default_prefix=/usr/local
255
ac_config_libobj_dir=.
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Maximum number of lines to put in a shell here document.
263
# This variable seems obsolete. It should probably be removed, and
264
# only ac_max_sed_lines should be used.
265
: ${ac_max_here_lines=38}
267
# Identity of this package.
268
PACKAGE_NAME='AdvanceCOMP'
269
PACKAGE_TARNAME='advancecomp'
270
PACKAGE_VERSION='1.15'
271
PACKAGE_STRING='AdvanceCOMP 1.15'
274
ac_unique_file="rezip.cc"
275
# Factoring default headers for most tests.
276
ac_includes_default="\
279
# include <sys/types.h>
282
# include <sys/stat.h>
293
# if !STDC_HEADERS && HAVE_MEMORY_H
299
# include <strings.h>
302
# include <inttypes.h>
312
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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX TAR GZIP GROFF COL CPP EGREP LIBOBJS LTLIBOBJS'
315
# Initialize some variables set by options.
317
ac_init_version=false
318
# The variables have the same names as the options, with
319
# dashes changed to underlines.
327
program_transform_name=s,x,x,
335
# Installation directory options.
336
# These are left unexpanded so users can "make install exec_prefix=/foo"
337
# and all the variables that are supposed to be based on exec_prefix
338
# by default will actually change.
339
# Use braces instead of parens because sh, perl, etc. also accept them.
340
bindir='${exec_prefix}/bin'
341
sbindir='${exec_prefix}/sbin'
342
libexecdir='${exec_prefix}/libexec'
343
datadir='${prefix}/share'
344
sysconfdir='${prefix}/etc'
345
sharedstatedir='${prefix}/com'
346
localstatedir='${prefix}/var'
347
libdir='${exec_prefix}/lib'
348
includedir='${prefix}/include'
349
oldincludedir='/usr/include'
350
infodir='${prefix}/info'
351
mandir='${prefix}/man'
356
# If the previous option needs an argument, assign it.
357
if test -n "$ac_prev"; then
358
eval "$ac_prev=\$ac_option"
363
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365
# Accept the important Cygnus configure options, so we can diagnose typos.
369
-bindir | --bindir | --bindi | --bind | --bin | --bi)
371
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374
-build | --build | --buil | --bui | --bu)
375
ac_prev=build_alias ;;
376
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
377
build_alias=$ac_optarg ;;
379
-cache-file | --cache-file | --cache-fil | --cache-fi \
380
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381
ac_prev=cache_file ;;
382
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384
cache_file=$ac_optarg ;;
387
cache_file=config.cache ;;
389
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393
datadir=$ac_optarg ;;
395
-disable-* | --disable-*)
396
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397
# Reject names that are not valid shell variable names.
398
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
400
{ (exit 1); exit 1; }; }
401
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402
eval "enable_$ac_feature=no" ;;
404
-enable-* | --enable-*)
405
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406
# Reject names that are not valid shell variable names.
407
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
409
{ (exit 1); exit 1; }; }
410
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415
eval "enable_$ac_feature='$ac_optarg'" ;;
417
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419
| --exec | --exe | --ex)
420
ac_prev=exec_prefix ;;
421
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423
| --exec=* | --exe=* | --ex=*)
424
exec_prefix=$ac_optarg ;;
426
-gas | --gas | --ga | --g)
427
# Obsolete; use --with-gas.
430
-help | --help | --hel | --he | -h)
432
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433
ac_init_help=recursive ;;
434
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435
ac_init_help=short ;;
437
-host | --host | --hos | --ho)
438
ac_prev=host_alias ;;
439
-host=* | --host=* | --hos=* | --ho=*)
440
host_alias=$ac_optarg ;;
442
-includedir | --includedir | --includedi | --included | --include \
443
| --includ | --inclu | --incl | --inc)
444
ac_prev=includedir ;;
445
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446
| --includ=* | --inclu=* | --incl=* | --inc=*)
447
includedir=$ac_optarg ;;
449
-infodir | --infodir | --infodi | --infod | --info | --inf)
451
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452
infodir=$ac_optarg ;;
454
-libdir | --libdir | --libdi | --libd)
456
-libdir=* | --libdir=* | --libdi=* | --libd=*)
459
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460
| --libexe | --libex | --libe)
461
ac_prev=libexecdir ;;
462
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463
| --libexe=* | --libex=* | --libe=*)
464
libexecdir=$ac_optarg ;;
466
-localstatedir | --localstatedir | --localstatedi | --localstated \
467
| --localstate | --localstat | --localsta | --localst \
468
| --locals | --local | --loca | --loc | --lo)
469
ac_prev=localstatedir ;;
470
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
472
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473
localstatedir=$ac_optarg ;;
475
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481
# Obsolete; use --without-fp.
484
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
485
| --no-cr | --no-c | -n)
488
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
489
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494
| --oldin | --oldi | --old | --ol | --o)
495
ac_prev=oldincludedir ;;
496
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499
oldincludedir=$ac_optarg ;;
501
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506
-program-prefix | --program-prefix | --program-prefi | --program-pref \
507
| --program-pre | --program-pr | --program-p)
508
ac_prev=program_prefix ;;
509
-program-prefix=* | --program-prefix=* | --program-prefi=* \
510
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511
program_prefix=$ac_optarg ;;
513
-program-suffix | --program-suffix | --program-suffi | --program-suff \
514
| --program-suf | --program-su | --program-s)
515
ac_prev=program_suffix ;;
516
-program-suffix=* | --program-suffix=* | --program-suffi=* \
517
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518
program_suffix=$ac_optarg ;;
520
-program-transform-name | --program-transform-name \
521
| --program-transform-nam | --program-transform-na \
522
| --program-transform-n | --program-transform- \
523
| --program-transform | --program-transfor \
524
| --program-transfo | --program-transf \
525
| --program-trans | --program-tran \
526
| --progr-tra | --program-tr | --program-t)
527
ac_prev=program_transform_name ;;
528
-program-transform-name=* | --program-transform-name=* \
529
| --program-transform-nam=* | --program-transform-na=* \
530
| --program-transform-n=* | --program-transform-=* \
531
| --program-transform=* | --program-transfor=* \
532
| --program-transfo=* | --program-transf=* \
533
| --program-trans=* | --program-tran=* \
534
| --progr-tra=* | --program-tr=* | --program-t=*)
535
program_transform_name=$ac_optarg ;;
537
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
538
| -silent | --silent | --silen | --sile | --sil)
541
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545
sbindir=$ac_optarg ;;
547
-sharedstatedir | --sharedstatedir | --sharedstatedi \
548
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549
| --sharedst | --shareds | --shared | --share | --shar \
551
ac_prev=sharedstatedir ;;
552
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556
sharedstatedir=$ac_optarg ;;
558
-site | --site | --sit)
560
-site=* | --site=* | --sit=*)
563
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569
| --syscon | --sysco | --sysc | --sys | --sy)
570
ac_prev=sysconfdir ;;
571
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573
sysconfdir=$ac_optarg ;;
575
-target | --target | --targe | --targ | --tar | --ta | --t)
576
ac_prev=target_alias ;;
577
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578
target_alias=$ac_optarg ;;
580
-v | -verbose | --verbose | --verbos | --verbo | --verb)
583
-version | --version | --versio | --versi | --vers | -V)
587
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588
# Reject names that are not valid shell variable names.
589
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590
{ echo "$as_me: error: invalid package name: $ac_package" >&2
591
{ (exit 1); exit 1; }; }
592
ac_package=`echo $ac_package| sed 's/-/_/g'`
594
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597
eval "with_$ac_package='$ac_optarg'" ;;
599
-without-* | --without-*)
600
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601
# Reject names that are not valid shell variable names.
602
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603
{ echo "$as_me: error: invalid package name: $ac_package" >&2
604
{ (exit 1); exit 1; }; }
605
ac_package=`echo $ac_package | sed 's/-/_/g'`
606
eval "with_$ac_package=no" ;;
609
# Obsolete; use --with-x.
612
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613
| --x-incl | --x-inc | --x-in | --x-i)
614
ac_prev=x_includes ;;
615
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617
x_includes=$ac_optarg ;;
619
-x-libraries | --x-libraries | --x-librarie | --x-librari \
620
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621
ac_prev=x_libraries ;;
622
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624
x_libraries=$ac_optarg ;;
626
-*) { echo "$as_me: error: unrecognized option: $ac_option
627
Try \`$0 --help' for more information." >&2
628
{ (exit 1); exit 1; }; }
632
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633
# Reject names that are not valid shell variable names.
634
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636
{ (exit 1); exit 1; }; }
637
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638
eval "$ac_envvar='$ac_optarg'"
642
# FIXME: should be removed in autoconf 3.0.
643
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652
if test -n "$ac_prev"; then
653
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654
{ echo "$as_me: error: missing argument to $ac_option" >&2
655
{ (exit 1); exit 1; }; }
658
# Be sure to have absolute paths.
659
for ac_var in exec_prefix prefix
661
eval ac_val=$`echo $ac_var`
663
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665
{ (exit 1); exit 1; }; };;
669
# Be sure to have absolute paths.
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
localstatedir libdir includedir oldincludedir infodir mandir
673
eval ac_val=$`echo $ac_var`
675
[\\/$]* | ?:[\\/]* ) ;;
676
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677
{ (exit 1); exit 1; }; };;
681
# There might be people who depend on the old broken behavior: `$host'
682
# used to hold the argument of --host etc.
683
# FIXME: To remove some day.
688
# FIXME: To remove some day.
689
if test "x$host_alias" != x; then
690
if test "x$build_alias" = x; then
691
cross_compiling=maybe
692
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693
If a cross compiler is detected then cross compile mode will be used." >&2
694
elif test "x$build_alias" != "x$host_alias"; then
700
test -n "$host_alias" && ac_tool_prefix=$host_alias-
702
test "$silent" = yes && exec 6>/dev/null
705
# Find the source files, if location was not specified.
706
if test -z "$srcdir"; then
707
ac_srcdir_defaulted=yes
708
# Try the directory containing this script, then its parent.
709
ac_confdir=`(dirname "$0") 2>/dev/null ||
710
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711
X"$0" : 'X\(//\)[^/]' \| \
712
X"$0" : 'X\(//\)$' \| \
713
X"$0" : 'X\(/\)' \| \
714
. : '\(.\)' 2>/dev/null ||
716
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
718
/^X\(\/\/\)$/{ s//\1/; q; }
719
/^X\(\/\).*/{ s//\1/; q; }
722
if test ! -r $srcdir/$ac_unique_file; then
726
ac_srcdir_defaulted=no
728
if test ! -r $srcdir/$ac_unique_file; then
729
if test "$ac_srcdir_defaulted" = yes; then
730
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731
{ (exit 1); exit 1; }; }
733
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734
{ (exit 1); exit 1; }; }
737
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739
{ (exit 1); exit 1; }; }
740
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741
ac_env_build_alias_set=${build_alias+set}
742
ac_env_build_alias_value=$build_alias
743
ac_cv_env_build_alias_set=${build_alias+set}
744
ac_cv_env_build_alias_value=$build_alias
745
ac_env_host_alias_set=${host_alias+set}
746
ac_env_host_alias_value=$host_alias
747
ac_cv_env_host_alias_set=${host_alias+set}
748
ac_cv_env_host_alias_value=$host_alias
749
ac_env_target_alias_set=${target_alias+set}
750
ac_env_target_alias_value=$target_alias
751
ac_cv_env_target_alias_set=${target_alias+set}
752
ac_cv_env_target_alias_value=$target_alias
753
ac_env_CC_set=${CC+set}
755
ac_cv_env_CC_set=${CC+set}
756
ac_cv_env_CC_value=$CC
757
ac_env_CFLAGS_set=${CFLAGS+set}
758
ac_env_CFLAGS_value=$CFLAGS
759
ac_cv_env_CFLAGS_set=${CFLAGS+set}
760
ac_cv_env_CFLAGS_value=$CFLAGS
761
ac_env_LDFLAGS_set=${LDFLAGS+set}
762
ac_env_LDFLAGS_value=$LDFLAGS
763
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764
ac_cv_env_LDFLAGS_value=$LDFLAGS
765
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766
ac_env_CPPFLAGS_value=$CPPFLAGS
767
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769
ac_env_CXX_set=${CXX+set}
770
ac_env_CXX_value=$CXX
771
ac_cv_env_CXX_set=${CXX+set}
772
ac_cv_env_CXX_value=$CXX
773
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
774
ac_env_CXXFLAGS_value=$CXXFLAGS
775
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
776
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
777
ac_env_CPP_set=${CPP+set}
778
ac_env_CPP_value=$CPP
779
ac_cv_env_CPP_set=${CPP+set}
780
ac_cv_env_CPP_value=$CPP
783
# Report the --help message.
785
if test "$ac_init_help" = "long"; then
786
# Omit some internal or obsolete options to make the list less imposing.
787
# This message is too long to be a string in the A/UX 3.1 sh.
789
\`configure' configures AdvanceCOMP 1.15 to adapt to many kinds of systems.
791
Usage: $0 [OPTION]... [VAR=VALUE]...
793
To assign environment variables (e.g., CC, CFLAGS...), specify them as
794
VAR=VALUE. See below for descriptions of some of the useful variables.
796
Defaults for the options are specified in brackets.
799
-h, --help display this help and exit
800
--help=short display options specific to this package
801
--help=recursive display the short help of all the included packages
802
-V, --version display version information and exit
803
-q, --quiet, --silent do not print \`checking...' messages
804
--cache-file=FILE cache test results in FILE [disabled]
805
-C, --config-cache alias for \`--cache-file=config.cache'
806
-n, --no-create do not create output files
807
--srcdir=DIR find the sources in DIR [configure dir or \`..']
812
Installation directories:
813
--prefix=PREFIX install architecture-independent files in PREFIX
815
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818
By default, \`make install' will install all the files in
819
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821
for instance \`--prefix=\$HOME'.
823
For better control, use the options below.
825
Fine tuning of the installation directories:
826
--bindir=DIR user executables [EPREFIX/bin]
827
--sbindir=DIR system admin executables [EPREFIX/sbin]
828
--libexecdir=DIR program executables [EPREFIX/libexec]
829
--datadir=DIR read-only architecture-independent data [PREFIX/share]
830
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
833
--libdir=DIR object code libraries [EPREFIX/lib]
834
--includedir=DIR C header files [PREFIX/include]
835
--oldincludedir=DIR C header files for non-gcc [/usr/include]
836
--infodir=DIR info documentation [PREFIX/info]
837
--mandir=DIR man documentation [PREFIX/man]
843
--program-prefix=PREFIX prepend PREFIX to installed program names
844
--program-suffix=SUFFIX append SUFFIX to installed program names
845
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
848
--build=BUILD configure for building on BUILD [guessed]
849
--host=HOST cross-compile to build programs to run on HOST [BUILD]
853
if test -n "$ac_init_help"; then
854
case $ac_init_help in
855
short | recursive ) echo "Configuration of AdvanceCOMP 1.15:";;
860
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
861
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
862
--enable-bzip2 Use the bzip2 compression
864
Some influential environment variables:
865
CC C compiler command
866
CFLAGS C compiler flags
867
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
868
nonstandard directory <lib dir>
869
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
870
headers in a nonstandard directory <include dir>
871
CXX C++ compiler command
872
CXXFLAGS C++ compiler flags
875
Use these variables to override the choices made by `configure' or to help
876
it to find libraries and programs with nonstandard names/locations.
881
if test "$ac_init_help" = "recursive"; then
882
# If there are subdirs, report their specific --help.
884
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
885
test -d $ac_dir || continue
888
if test "$ac_dir" != .; then
889
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
890
# A "../" for each directory in $ac_dir_suffix.
891
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
893
ac_dir_suffix= ac_top_builddir=
897
.) # No --srcdir option. We are building in place.
899
if test -z "$ac_top_builddir"; then
902
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
904
[\\/]* | ?:[\\/]* ) # Absolute path.
905
ac_srcdir=$srcdir$ac_dir_suffix;
906
ac_top_srcdir=$srcdir ;;
908
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
909
ac_top_srcdir=$ac_top_builddir$srcdir ;;
912
# Do not use `cd foo && pwd` to compute absolute paths, because
913
# the directories may not exist.
915
.) ac_abs_builddir="$ac_dir";;
918
.) ac_abs_builddir=`pwd`;;
919
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
920
*) ac_abs_builddir=`pwd`/"$ac_dir";;
923
case $ac_abs_builddir in
924
.) ac_abs_top_builddir=${ac_top_builddir}.;;
926
case ${ac_top_builddir}. in
927
.) ac_abs_top_builddir=$ac_abs_builddir;;
928
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
929
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
932
case $ac_abs_builddir in
933
.) ac_abs_srcdir=$ac_srcdir;;
936
.) ac_abs_srcdir=$ac_abs_builddir;;
937
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
938
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
941
case $ac_abs_builddir in
942
.) ac_abs_top_srcdir=$ac_top_srcdir;;
944
case $ac_top_srcdir in
945
.) ac_abs_top_srcdir=$ac_abs_builddir;;
946
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
947
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
952
# Check for guested configure; otherwise get Cygnus style configure.
953
if test -f $ac_srcdir/configure.gnu; then
955
$SHELL $ac_srcdir/configure.gnu --help=recursive
956
elif test -f $ac_srcdir/configure; then
958
$SHELL $ac_srcdir/configure --help=recursive
959
elif test -f $ac_srcdir/configure.ac ||
960
test -f $ac_srcdir/configure.in; then
964
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
970
test -n "$ac_init_help" && exit 0
971
if $ac_init_version; then
973
AdvanceCOMP configure 1.15
974
generated by GNU Autoconf 2.59
976
Copyright (C) 2003 Free Software Foundation, Inc.
977
This configure script is free software; the Free Software Foundation
978
gives unlimited permission to copy, distribute and modify it.
984
This file contains any messages produced by compilers while
985
running configure, to aid debugging if configure makes a mistake.
987
It was created by AdvanceCOMP $as_me 1.15, which was
988
generated by GNU Autoconf 2.59. Invocation command line was
999
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1000
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1001
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1002
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1003
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1005
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1006
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1008
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1009
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1010
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1011
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1012
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1013
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1014
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1018
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022
test -z "$as_dir" && as_dir=.
1023
echo "PATH: $as_dir"
1038
# Keep a trace of the command line.
1039
# Strip out --no-create and --no-recursion so they do not pile up.
1040
# Strip out --silent because we don't want to record it for future runs.
1041
# Also quote any args containing shell meta-characters.
1042
# Make two passes to allow for proper duplicate-argument suppression.
1047
ac_must_keep_next=false
1053
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1054
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055
| -silent | --silent | --silen | --sile | --sil)
1057
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1061
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1063
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1064
if test $ac_must_keep_next = true; then
1065
ac_must_keep_next=false # Got value, back to normal.
1068
*=* | --config-cache | -C | -disable-* | --disable-* \
1069
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1070
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1071
| -with-* | --with-* | -without-* | --without-* | --x)
1072
case "$ac_configure_args0 " in
1073
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076
-* ) ac_must_keep_next=true ;;
1079
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1080
# Get rid of the leading space.
1086
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1087
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1089
# When interrupted or exit'd, cleanup temporary files, and complete
1090
# config.log. We remove comments because anyway the quotes in there
1091
# would cause problems or look ugly.
1092
# WARNING: Be sure not to use single quotes in there, as some shells,
1093
# such as our DU 5.0 friend, will then `close' the trap.
1094
trap 'exit_status=$?
1095
# Save into config.log some information that might help in debugging.
1100
## ---------------- ##
1101
## Cache variables. ##
1102
## ---------------- ##
1105
# The following way of writing the cache mishandles newlines in values,
1108
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1116
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123
## ----------------- ##
1124
## Output variables. ##
1125
## ----------------- ##
1128
for ac_var in $ac_subst_vars
1130
eval ac_val=$`echo $ac_var`
1131
echo "$ac_var='"'"'$ac_val'"'"'"
1135
if test -n "$ac_subst_files"; then
1142
for ac_var in $ac_subst_files
1144
eval ac_val=$`echo $ac_var`
1145
echo "$ac_var='"'"'$ac_val'"'"'"
1150
if test -s confdefs.h; then
1157
sed "/^$/d" confdefs.h | sort
1160
test "$ac_signal" != 0 &&
1161
echo "$as_me: caught signal $ac_signal"
1162
echo "$as_me: exit $exit_status"
1164
rm -f core *.core &&
1165
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1168
for ac_signal in 1 2 13 15; do
1169
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1173
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1174
rm -rf conftest* confdefs.h
1175
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178
# Predefined preprocessor variables.
1180
cat >>confdefs.h <<_ACEOF
1181
#define PACKAGE_NAME "$PACKAGE_NAME"
1185
cat >>confdefs.h <<_ACEOF
1186
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1190
cat >>confdefs.h <<_ACEOF
1191
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1195
cat >>confdefs.h <<_ACEOF
1196
#define PACKAGE_STRING "$PACKAGE_STRING"
1200
cat >>confdefs.h <<_ACEOF
1201
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1205
# Let the site file select an alternate cache file if it wants to.
1206
# Prefer explicitly selected file to automatically selected ones.
1207
if test -z "$CONFIG_SITE"; then
1208
if test "x$prefix" != xNONE; then
1209
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1211
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214
for ac_site_file in $CONFIG_SITE; do
1215
if test -r "$ac_site_file"; then
1216
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1217
echo "$as_me: loading site script $ac_site_file" >&6;}
1218
sed 's/^/| /' "$ac_site_file" >&5
1223
if test -r "$cache_file"; then
1224
# Some versions of bash will fail to source /dev/null (special
1225
# files actually), so we avoid doing that.
1226
if test -f "$cache_file"; then
1227
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1228
echo "$as_me: loading cache $cache_file" >&6;}
1230
[\\/]* | ?:[\\/]* ) . $cache_file;;
1231
*) . ./$cache_file;;
1235
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236
echo "$as_me: creating cache $cache_file" >&6;}
1240
# Check that the precious variables saved in the cache have kept the same
1242
ac_cache_corrupted=false
1243
for ac_var in `(set) 2>&1 |
1244
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1245
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1246
eval ac_new_set=\$ac_env_${ac_var}_set
1247
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1248
eval ac_new_val="\$ac_env_${ac_var}_value"
1249
case $ac_old_set,$ac_new_set in
1251
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1252
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1253
ac_cache_corrupted=: ;;
1255
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1256
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257
ac_cache_corrupted=: ;;
1260
if test "x$ac_old_val" != "x$ac_new_val"; then
1261
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1262
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1263
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1264
echo "$as_me: former value: $ac_old_val" >&2;}
1265
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1266
echo "$as_me: current value: $ac_new_val" >&2;}
1267
ac_cache_corrupted=:
1270
# Pass precious variables to config.status.
1271
if test "$ac_new_set" = set; then
1273
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1275
*) ac_arg=$ac_var=$ac_new_val ;;
1277
case " $ac_configure_args " in
1278
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1279
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1283
if $ac_cache_corrupted; then
1284
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1285
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1286
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1287
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1288
{ (exit 1); exit 1; }; }
1292
ac_cpp='$CPP $CPPFLAGS'
1293
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1294
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1295
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324
am__api_version="1.9"
1326
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1327
if test -f $ac_dir/install-sh; then
1329
ac_install_sh="$ac_aux_dir/install-sh -c"
1331
elif test -f $ac_dir/install.sh; then
1333
ac_install_sh="$ac_aux_dir/install.sh -c"
1335
elif test -f $ac_dir/shtool; then
1337
ac_install_sh="$ac_aux_dir/shtool install -c"
1341
if test -z "$ac_aux_dir"; then
1342
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1343
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1344
{ (exit 1); exit 1; }; }
1346
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1347
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1348
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1350
# Find a good install program. We prefer a C program (faster),
1351
# so one script is as good as another. But avoid the broken or
1352
# incompatible versions:
1353
# SysV /etc/install, /usr/sbin/install
1354
# SunOS /usr/etc/install
1355
# IRIX /sbin/install
1357
# AmigaOS /C/install, which installs bootblocks on floppy discs
1358
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1359
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1360
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1361
# OS/2's system install, which has a completely different semantic
1362
# ./install, which can be erroneously created by make from ./install.sh.
1363
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1364
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1365
if test -z "$INSTALL"; then
1366
if test "${ac_cv_path_install+set}" = set; then
1367
echo $ECHO_N "(cached) $ECHO_C" >&6
1369
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373
test -z "$as_dir" && as_dir=.
1374
# Account for people who put trailing slashes in PATH elements.
1376
./ | .// | /cC/* | \
1377
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1378
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1381
# OSF1 and SCO ODT 3.0 have their own names for install.
1382
# Don't use installbsd from OSF since it installs stuff as root
1384
for ac_prog in ginstall scoinst install; do
1385
for ac_exec_ext in '' $ac_executable_extensions; do
1386
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1387
if test $ac_prog = install &&
1388
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1389
# AIX install. It has an incompatible calling convention.
1391
elif test $ac_prog = install &&
1392
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1393
# program-specific install script used by HP pwplus--don't use.
1396
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1408
if test "${ac_cv_path_install+set}" = set; then
1409
INSTALL=$ac_cv_path_install
1411
# As a last resort, use the slow shell script. We don't cache a
1412
# path for INSTALL within a source directory, because that will
1413
# break other packages using the cache if that directory is
1414
# removed, or if the path is relative.
1415
INSTALL=$ac_install_sh
1418
echo "$as_me:$LINENO: result: $INSTALL" >&5
1419
echo "${ECHO_T}$INSTALL" >&6
1421
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1422
# It thinks the first close brace ends the variable substitution.
1423
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1425
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1427
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1429
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1430
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1433
echo timestamp > conftest.file
1434
# Do `set' in a subshell so we don't clobber the current shell's
1435
# arguments. Must try -L first in case configure is actually a
1436
# symlink; some systems play weird games with the mod time of symlinks
1437
# (eg FreeBSD returns the mod time of the symlink's containing
1440
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1441
if test "$*" = "X"; then
1443
set X `ls -t $srcdir/configure conftest.file`
1446
if test "$*" != "X $srcdir/configure conftest.file" \
1447
&& test "$*" != "X conftest.file $srcdir/configure"; then
1449
# If neither matched, then we have a broken ls. This can happen
1450
# if, for instance, CONFIG_SHELL is bash and it inherits a
1451
# broken ls alias from the environment. This has actually
1452
# happened. Such a system could not be considered "sane".
1453
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1454
alias in your environment" >&5
1455
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1456
alias in your environment" >&2;}
1457
{ (exit 1); exit 1; }; }
1460
test "$2" = conftest.file
1466
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1467
Check your system clock" >&5
1468
echo "$as_me: error: newly created file is older than distributed files!
1469
Check your system clock" >&2;}
1470
{ (exit 1); exit 1; }; }
1472
echo "$as_me:$LINENO: result: yes" >&5
1473
echo "${ECHO_T}yes" >&6
1474
test "$program_prefix" != NONE &&
1475
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1476
# Use a double $ so make ignores it.
1477
test "$program_suffix" != NONE &&
1478
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1479
# Double any \ or $. echo might interpret backslashes.
1480
# By default was `s,x,x', remove it if useless.
1481
cat <<\_ACEOF >conftest.sed
1482
s/[\\$]/&&/g;s/;s,x,x,$//
1484
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1487
# expand $ac_aux_dir to an absolute path
1488
am_aux_dir=`cd $ac_aux_dir && pwd`
1490
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1491
# Use eval to expand $SHELL
1492
if eval "$MISSING --run true"; then
1493
am_missing_run="$MISSING --run "
1496
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1497
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1500
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1501
# We used to keeping the `.' as first argument, in order to
1502
# allow $(mkdir_p) to be used without argument. As in
1503
# $(mkdir_p) $(somedir)
1504
# where $(somedir) is conditionally defined. However this is wrong
1506
# 1. if the package is installed by a user who cannot write `.'
1507
# make install will fail,
1508
# 2. the above comment should most certainly read
1509
# $(mkdir_p) $(DESTDIR)$(somedir)
1510
# so it does not work when $(somedir) is undefined and
1511
# $(DESTDIR) is not.
1512
# To support the latter case, we have to write
1513
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1514
# so the `.' trick is pointless.
1515
mkdir_p='mkdir -p --'
1517
# On NextStep and OpenStep, the `mkdir' command does not
1518
# recognize any option. It will interpret all options as
1519
# directories to create, and then abort because `.' already
1521
for d in ./-p ./--version;
1523
test -d $d && rmdir $d
1525
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1526
if test -f "$ac_aux_dir/mkinstalldirs"; then
1527
mkdir_p='$(mkinstalldirs)'
1529
mkdir_p='$(install_sh) -d'
1533
for ac_prog in gawk mawk nawk awk
1535
# Extract the first word of "$ac_prog", so it can be a program name with args.
1536
set dummy $ac_prog; ac_word=$2
1537
echo "$as_me:$LINENO: checking for $ac_word" >&5
1538
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539
if test "${ac_cv_prog_AWK+set}" = set; then
1540
echo $ECHO_N "(cached) $ECHO_C" >&6
1542
if test -n "$AWK"; then
1543
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1545
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549
test -z "$as_dir" && as_dir=.
1550
for ac_exec_ext in '' $ac_executable_extensions; do
1551
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552
ac_cv_prog_AWK="$ac_prog"
1553
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1562
if test -n "$AWK"; then
1563
echo "$as_me:$LINENO: result: $AWK" >&5
1564
echo "${ECHO_T}$AWK" >&6
1566
echo "$as_me:$LINENO: result: no" >&5
1567
echo "${ECHO_T}no" >&6
1570
test -n "$AWK" && break
1573
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1574
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1575
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1576
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1577
echo $ECHO_N "(cached) $ECHO_C" >&6
1579
cat >conftest.make <<\_ACEOF
1581
@echo 'ac_maketemp="$(MAKE)"'
1583
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1584
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1585
if test -n "$ac_maketemp"; then
1586
eval ac_cv_prog_make_${ac_make}_set=yes
1588
eval ac_cv_prog_make_${ac_make}_set=no
1592
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1593
echo "$as_me:$LINENO: result: yes" >&5
1594
echo "${ECHO_T}yes" >&6
1597
echo "$as_me:$LINENO: result: no" >&5
1598
echo "${ECHO_T}no" >&6
1599
SET_MAKE="MAKE=${MAKE-make}"
1602
rm -rf .tst 2>/dev/null
1603
mkdir .tst 2>/dev/null
1604
if test -d .tst; then
1609
rmdir .tst 2>/dev/null
1611
# test to see if srcdir already configured
1612
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1613
test -f $srcdir/config.status; then
1614
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1615
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1616
{ (exit 1); exit 1; }; }
1619
# test whether we have cygpath
1620
if test -z "$CYGPATH_W"; then
1621
if (cygpath --version) >/dev/null 2>/dev/null; then
1622
CYGPATH_W='cygpath -w'
1629
# Define the identity of the package.
1630
PACKAGE='advancecomp'
1634
cat >>confdefs.h <<_ACEOF
1635
#define PACKAGE "$PACKAGE"
1639
cat >>confdefs.h <<_ACEOF
1640
#define VERSION "$VERSION"
1643
# Some tools Automake needs.
1645
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1648
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1651
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1654
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1657
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1659
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1661
# Installed binaries are usually stripped using `strip' when the user
1662
# run `make install-strip'. However `strip' might not be the right
1663
# tool to use in cross-compilation environments, therefore Automake
1664
# will honor the `STRIP' environment variable to overrule this program.
1665
if test "$cross_compiling" != no; then
1666
if test -n "$ac_tool_prefix"; then
1667
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1668
set dummy ${ac_tool_prefix}strip; ac_word=$2
1669
echo "$as_me:$LINENO: checking for $ac_word" >&5
1670
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1671
if test "${ac_cv_prog_STRIP+set}" = set; then
1672
echo $ECHO_N "(cached) $ECHO_C" >&6
1674
if test -n "$STRIP"; then
1675
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681
test -z "$as_dir" && as_dir=.
1682
for ac_exec_ext in '' $ac_executable_extensions; do
1683
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1684
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1685
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1693
STRIP=$ac_cv_prog_STRIP
1694
if test -n "$STRIP"; then
1695
echo "$as_me:$LINENO: result: $STRIP" >&5
1696
echo "${ECHO_T}$STRIP" >&6
1698
echo "$as_me:$LINENO: result: no" >&5
1699
echo "${ECHO_T}no" >&6
1703
if test -z "$ac_cv_prog_STRIP"; then
1705
# Extract the first word of "strip", so it can be a program name with args.
1706
set dummy strip; ac_word=$2
1707
echo "$as_me:$LINENO: checking for $ac_word" >&5
1708
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1709
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1710
echo $ECHO_N "(cached) $ECHO_C" >&6
1712
if test -n "$ac_ct_STRIP"; then
1713
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719
test -z "$as_dir" && as_dir=.
1720
for ac_exec_ext in '' $ac_executable_extensions; do
1721
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1722
ac_cv_prog_ac_ct_STRIP="strip"
1723
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1732
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1733
if test -n "$ac_ct_STRIP"; then
1734
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1735
echo "${ECHO_T}$ac_ct_STRIP" >&6
1737
echo "$as_me:$LINENO: result: no" >&5
1738
echo "${ECHO_T}no" >&6
1743
STRIP="$ac_cv_prog_STRIP"
1747
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1749
# We need awk for the "check" target. The system "awk" is bad on
1751
# Always define AMTAR for backward compatibility.
1753
AMTAR=${AMTAR-"${am_missing_run}tar"}
1755
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1761
ac_config_headers="$ac_config_headers config.h"
1763
# Make sure we can run config.sub.
1764
$ac_config_sub sun4 >/dev/null 2>&1 ||
1765
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1766
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1767
{ (exit 1); exit 1; }; }
1769
echo "$as_me:$LINENO: checking build system type" >&5
1770
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1771
if test "${ac_cv_build+set}" = set; then
1772
echo $ECHO_N "(cached) $ECHO_C" >&6
1774
ac_cv_build_alias=$build_alias
1775
test -z "$ac_cv_build_alias" &&
1776
ac_cv_build_alias=`$ac_config_guess`
1777
test -z "$ac_cv_build_alias" &&
1778
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1779
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1780
{ (exit 1); exit 1; }; }
1781
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1782
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1783
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1784
{ (exit 1); exit 1; }; }
1787
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1788
echo "${ECHO_T}$ac_cv_build" >&6
1790
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1791
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1792
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1795
echo "$as_me:$LINENO: checking host system type" >&5
1796
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1797
if test "${ac_cv_host+set}" = set; then
1798
echo $ECHO_N "(cached) $ECHO_C" >&6
1800
ac_cv_host_alias=$host_alias
1801
test -z "$ac_cv_host_alias" &&
1802
ac_cv_host_alias=$ac_cv_build_alias
1803
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1804
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1805
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1806
{ (exit 1); exit 1; }; }
1809
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1810
echo "${ECHO_T}$ac_cv_host" >&6
1812
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1813
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1814
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1818
# Checks for programs.
1820
ac_cpp='$CPP $CPPFLAGS'
1821
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1822
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1823
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824
if test -n "$ac_tool_prefix"; then
1825
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1826
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1827
echo "$as_me:$LINENO: checking for $ac_word" >&5
1828
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1829
if test "${ac_cv_prog_CC+set}" = set; then
1830
echo $ECHO_N "(cached) $ECHO_C" >&6
1832
if test -n "$CC"; then
1833
ac_cv_prog_CC="$CC" # Let the user override the test.
1835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839
test -z "$as_dir" && as_dir=.
1840
for ac_exec_ext in '' $ac_executable_extensions; do
1841
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1842
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1843
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852
if test -n "$CC"; then
1853
echo "$as_me:$LINENO: result: $CC" >&5
1854
echo "${ECHO_T}$CC" >&6
1856
echo "$as_me:$LINENO: result: no" >&5
1857
echo "${ECHO_T}no" >&6
1861
if test -z "$ac_cv_prog_CC"; then
1863
# Extract the first word of "gcc", so it can be a program name with args.
1864
set dummy gcc; ac_word=$2
1865
echo "$as_me:$LINENO: checking for $ac_word" >&5
1866
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1868
echo $ECHO_N "(cached) $ECHO_C" >&6
1870
if test -n "$ac_ct_CC"; then
1871
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877
test -z "$as_dir" && as_dir=.
1878
for ac_exec_ext in '' $ac_executable_extensions; do
1879
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1880
ac_cv_prog_ac_ct_CC="gcc"
1881
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1890
if test -n "$ac_ct_CC"; then
1891
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1892
echo "${ECHO_T}$ac_ct_CC" >&6
1894
echo "$as_me:$LINENO: result: no" >&5
1895
echo "${ECHO_T}no" >&6
1903
if test -z "$CC"; then
1904
if test -n "$ac_tool_prefix"; then
1905
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1906
set dummy ${ac_tool_prefix}cc; ac_word=$2
1907
echo "$as_me:$LINENO: checking for $ac_word" >&5
1908
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1909
if test "${ac_cv_prog_CC+set}" = set; then
1910
echo $ECHO_N "(cached) $ECHO_C" >&6
1912
if test -n "$CC"; then
1913
ac_cv_prog_CC="$CC" # Let the user override the test.
1915
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919
test -z "$as_dir" && as_dir=.
1920
for ac_exec_ext in '' $ac_executable_extensions; do
1921
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1922
ac_cv_prog_CC="${ac_tool_prefix}cc"
1923
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1932
if test -n "$CC"; then
1933
echo "$as_me:$LINENO: result: $CC" >&5
1934
echo "${ECHO_T}$CC" >&6
1936
echo "$as_me:$LINENO: result: no" >&5
1937
echo "${ECHO_T}no" >&6
1941
if test -z "$ac_cv_prog_CC"; then
1943
# Extract the first word of "cc", so it can be a program name with args.
1944
set dummy cc; ac_word=$2
1945
echo "$as_me:$LINENO: checking for $ac_word" >&5
1946
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1948
echo $ECHO_N "(cached) $ECHO_C" >&6
1950
if test -n "$ac_ct_CC"; then
1951
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1953
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957
test -z "$as_dir" && as_dir=.
1958
for ac_exec_ext in '' $ac_executable_extensions; do
1959
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1960
ac_cv_prog_ac_ct_CC="cc"
1961
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1970
if test -n "$ac_ct_CC"; then
1971
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1972
echo "${ECHO_T}$ac_ct_CC" >&6
1974
echo "$as_me:$LINENO: result: no" >&5
1975
echo "${ECHO_T}no" >&6
1984
if test -z "$CC"; then
1985
# Extract the first word of "cc", so it can be a program name with args.
1986
set dummy cc; ac_word=$2
1987
echo "$as_me:$LINENO: checking for $ac_word" >&5
1988
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1989
if test "${ac_cv_prog_CC+set}" = set; then
1990
echo $ECHO_N "(cached) $ECHO_C" >&6
1992
if test -n "$CC"; then
1993
ac_cv_prog_CC="$CC" # Let the user override the test.
1996
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000
test -z "$as_dir" && as_dir=.
2001
for ac_exec_ext in '' $ac_executable_extensions; do
2002
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2003
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2004
ac_prog_rejected=yes
2008
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2014
if test $ac_prog_rejected = yes; then
2015
# We found a bogon in the path, so make sure we never use it.
2016
set dummy $ac_cv_prog_CC
2018
if test $# != 0; then
2019
# We chose a different compiler from the bogus one.
2020
# However, it has the same basename, so the bogon will be chosen
2021
# first if we set CC to just the basename; use the full file name.
2023
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2029
if test -n "$CC"; then
2030
echo "$as_me:$LINENO: result: $CC" >&5
2031
echo "${ECHO_T}$CC" >&6
2033
echo "$as_me:$LINENO: result: no" >&5
2034
echo "${ECHO_T}no" >&6
2038
if test -z "$CC"; then
2039
if test -n "$ac_tool_prefix"; then
2042
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2043
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2044
echo "$as_me:$LINENO: checking for $ac_word" >&5
2045
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046
if test "${ac_cv_prog_CC+set}" = set; then
2047
echo $ECHO_N "(cached) $ECHO_C" >&6
2049
if test -n "$CC"; then
2050
ac_cv_prog_CC="$CC" # Let the user override the test.
2052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056
test -z "$as_dir" && as_dir=.
2057
for ac_exec_ext in '' $ac_executable_extensions; do
2058
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2060
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069
if test -n "$CC"; then
2070
echo "$as_me:$LINENO: result: $CC" >&5
2071
echo "${ECHO_T}$CC" >&6
2073
echo "$as_me:$LINENO: result: no" >&5
2074
echo "${ECHO_T}no" >&6
2077
test -n "$CC" && break
2080
if test -z "$CC"; then
2084
# Extract the first word of "$ac_prog", so it can be a program name with args.
2085
set dummy $ac_prog; ac_word=$2
2086
echo "$as_me:$LINENO: checking for $ac_word" >&5
2087
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2088
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089
echo $ECHO_N "(cached) $ECHO_C" >&6
2091
if test -n "$ac_ct_CC"; then
2092
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098
test -z "$as_dir" && as_dir=.
2099
for ac_exec_ext in '' $ac_executable_extensions; do
2100
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2101
ac_cv_prog_ac_ct_CC="$ac_prog"
2102
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2111
if test -n "$ac_ct_CC"; then
2112
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2113
echo "${ECHO_T}$ac_ct_CC" >&6
2115
echo "$as_me:$LINENO: result: no" >&5
2116
echo "${ECHO_T}no" >&6
2119
test -n "$ac_ct_CC" && break
2128
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2129
See \`config.log' for more details." >&5
2130
echo "$as_me: error: no acceptable C compiler found in \$PATH
2131
See \`config.log' for more details." >&2;}
2132
{ (exit 1); exit 1; }; }
2134
# Provide some information about the compiler.
2135
echo "$as_me:$LINENO:" \
2136
"checking for C compiler version" >&5
2137
ac_compiler=`set X $ac_compile; echo $2`
2138
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2139
(eval $ac_compiler --version </dev/null >&5) 2>&5
2141
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142
(exit $ac_status); }
2143
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2144
(eval $ac_compiler -v </dev/null >&5) 2>&5
2146
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147
(exit $ac_status); }
2148
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2149
(eval $ac_compiler -V </dev/null >&5) 2>&5
2151
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152
(exit $ac_status); }
2154
cat >conftest.$ac_ext <<_ACEOF
2157
cat confdefs.h >>conftest.$ac_ext
2158
cat >>conftest.$ac_ext <<_ACEOF
2159
/* end confdefs.h. */
2169
ac_clean_files_save=$ac_clean_files
2170
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2171
# Try to create an executable without -o first, disregard a.out.
2172
# It will help us diagnose broken compilers, and finding out an intuition
2174
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2175
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2176
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2177
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2178
(eval $ac_link_default) 2>&5
2180
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181
(exit $ac_status); }; then
2182
# Find the output, starting from the most likely. This scheme is
2183
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2186
# Be careful to initialize this variable, since it used to be cached.
2187
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2189
# b.out is created by i960 compilers.
2190
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2192
test -f "$ac_file" || continue
2194
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2197
# This is the source file.
2200
# We found the default executable, but exeext='' is most
2204
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2205
# FIXME: I believe we export ac_cv_exeext for Libtool,
2206
# but it would be cool to find out if it's true. Does anybody
2207
# maintain Libtool? --akim.
2215
echo "$as_me: failed program was:" >&5
2216
sed 's/^/| /' conftest.$ac_ext >&5
2218
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2219
See \`config.log' for more details." >&5
2220
echo "$as_me: error: C compiler cannot create executables
2221
See \`config.log' for more details." >&2;}
2222
{ (exit 77); exit 77; }; }
2225
ac_exeext=$ac_cv_exeext
2226
echo "$as_me:$LINENO: result: $ac_file" >&5
2227
echo "${ECHO_T}$ac_file" >&6
2229
# Check the compiler produces executables we can run. If not, either
2230
# the compiler is broken, or we cross compile.
2231
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2232
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2233
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2234
# If not cross compiling, check that we can run a simple program.
2235
if test "$cross_compiling" != yes; then
2236
if { ac_try='./$ac_file'
2237
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241
(exit $ac_status); }; }; then
2244
if test "$cross_compiling" = maybe; then
2247
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2248
If you meant to cross compile, use \`--host'.
2249
See \`config.log' for more details." >&5
2250
echo "$as_me: error: cannot run C compiled programs.
2251
If you meant to cross compile, use \`--host'.
2252
See \`config.log' for more details." >&2;}
2253
{ (exit 1); exit 1; }; }
2257
echo "$as_me:$LINENO: result: yes" >&5
2258
echo "${ECHO_T}yes" >&6
2260
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2261
ac_clean_files=$ac_clean_files_save
2262
# Check the compiler produces executables we can run. If not, either
2263
# the compiler is broken, or we cross compile.
2264
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2265
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2266
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2267
echo "${ECHO_T}$cross_compiling" >&6
2269
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2270
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2271
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2272
(eval $ac_link) 2>&5
2274
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275
(exit $ac_status); }; then
2276
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2277
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2278
# work properly (i.e., refer to `conftest.exe'), while it won't with
2280
for ac_file in conftest.exe conftest conftest.*; do
2281
test -f "$ac_file" || continue
2283
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2284
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2291
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2292
See \`config.log' for more details." >&5
2293
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2294
See \`config.log' for more details." >&2;}
2295
{ (exit 1); exit 1; }; }
2298
rm -f conftest$ac_cv_exeext
2299
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2300
echo "${ECHO_T}$ac_cv_exeext" >&6
2302
rm -f conftest.$ac_ext
2303
EXEEXT=$ac_cv_exeext
2305
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2306
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2307
if test "${ac_cv_objext+set}" = set; then
2308
echo $ECHO_N "(cached) $ECHO_C" >&6
2310
cat >conftest.$ac_ext <<_ACEOF
2313
cat confdefs.h >>conftest.$ac_ext
2314
cat >>conftest.$ac_ext <<_ACEOF
2315
/* end confdefs.h. */
2325
rm -f conftest.o conftest.obj
2326
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2327
(eval $ac_compile) 2>&5
2329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330
(exit $ac_status); }; then
2331
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2333
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2334
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2339
echo "$as_me: failed program was:" >&5
2340
sed 's/^/| /' conftest.$ac_ext >&5
2342
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2343
See \`config.log' for more details." >&5
2344
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2345
See \`config.log' for more details." >&2;}
2346
{ (exit 1); exit 1; }; }
2349
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2351
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2352
echo "${ECHO_T}$ac_cv_objext" >&6
2353
OBJEXT=$ac_cv_objext
2355
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2356
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2357
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2358
echo $ECHO_N "(cached) $ECHO_C" >&6
2360
cat >conftest.$ac_ext <<_ACEOF
2363
cat confdefs.h >>conftest.$ac_ext
2364
cat >>conftest.$ac_ext <<_ACEOF
2365
/* end confdefs.h. */
2378
rm -f conftest.$ac_objext
2379
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2380
(eval $ac_compile) 2>conftest.er1
2382
grep -v '^ *+' conftest.er1 >conftest.err
2384
cat conftest.err >&5
2385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386
(exit $ac_status); } &&
2387
{ ac_try='test -z "$ac_c_werror_flag"
2388
|| test ! -s conftest.err'
2389
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393
(exit $ac_status); }; } &&
2394
{ ac_try='test -s conftest.$ac_objext'
2395
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399
(exit $ac_status); }; }; then
2402
echo "$as_me: failed program was:" >&5
2403
sed 's/^/| /' conftest.$ac_ext >&5
2407
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2408
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2411
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2412
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2413
GCC=`test $ac_compiler_gnu = yes && echo yes`
2414
ac_test_CFLAGS=${CFLAGS+set}
2415
ac_save_CFLAGS=$CFLAGS
2417
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2418
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2419
if test "${ac_cv_prog_cc_g+set}" = set; then
2420
echo $ECHO_N "(cached) $ECHO_C" >&6
2422
cat >conftest.$ac_ext <<_ACEOF
2425
cat confdefs.h >>conftest.$ac_ext
2426
cat >>conftest.$ac_ext <<_ACEOF
2427
/* end confdefs.h. */
2437
rm -f conftest.$ac_objext
2438
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2439
(eval $ac_compile) 2>conftest.er1
2441
grep -v '^ *+' conftest.er1 >conftest.err
2443
cat conftest.err >&5
2444
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445
(exit $ac_status); } &&
2446
{ ac_try='test -z "$ac_c_werror_flag"
2447
|| test ! -s conftest.err'
2448
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452
(exit $ac_status); }; } &&
2453
{ ac_try='test -s conftest.$ac_objext'
2454
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458
(exit $ac_status); }; }; then
2461
echo "$as_me: failed program was:" >&5
2462
sed 's/^/| /' conftest.$ac_ext >&5
2466
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2468
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2469
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2470
if test "$ac_test_CFLAGS" = set; then
2471
CFLAGS=$ac_save_CFLAGS
2472
elif test $ac_cv_prog_cc_g = yes; then
2473
if test "$GCC" = yes; then
2479
if test "$GCC" = yes; then
2485
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2486
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2487
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2488
echo $ECHO_N "(cached) $ECHO_C" >&6
2490
ac_cv_prog_cc_stdc=no
2492
cat >conftest.$ac_ext <<_ACEOF
2495
cat confdefs.h >>conftest.$ac_ext
2496
cat >>conftest.$ac_ext <<_ACEOF
2497
/* end confdefs.h. */
2500
#include <sys/types.h>
2501
#include <sys/stat.h>
2502
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2503
struct buf { int x; };
2504
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2505
static char *e (p, i)
2511
static char *f (char * (*g) (char **, int), char **p, ...)
2516
s = g (p, va_arg (v,int));
2521
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2522
function prototypes and stuff, but not '\xHH' hex character constants.
2523
These don't provoke an error unfortunately, instead are silently treated
2524
as 'x'. The following induces an error, until -std1 is added to get
2525
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2526
array size at least. It's necessary to write '\x00'==0 to get something
2527
that's true only with -std1. */
2528
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2530
int test (int i, double x);
2531
struct s1 {int (*f) (int a);};
2532
struct s2 {int (*f) (double a);};
2533
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2539
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2544
# Don't try gcc -ansi; that turns off useful extensions and
2545
# breaks some systems' header files.
2546
# AIX -qlanglvl=ansi
2547
# Ultrix and OSF/1 -std1
2548
# HP-UX 10.20 and later -Ae
2549
# HP-UX older versions -Aa -D_HPUX_SOURCE
2550
# SVR4 -Xc -D__EXTENSIONS__
2551
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2553
CC="$ac_save_CC $ac_arg"
2554
rm -f conftest.$ac_objext
2555
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2556
(eval $ac_compile) 2>conftest.er1
2558
grep -v '^ *+' conftest.er1 >conftest.err
2560
cat conftest.err >&5
2561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562
(exit $ac_status); } &&
2563
{ ac_try='test -z "$ac_c_werror_flag"
2564
|| test ! -s conftest.err'
2565
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569
(exit $ac_status); }; } &&
2570
{ ac_try='test -s conftest.$ac_objext'
2571
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575
(exit $ac_status); }; }; then
2576
ac_cv_prog_cc_stdc=$ac_arg
2579
echo "$as_me: failed program was:" >&5
2580
sed 's/^/| /' conftest.$ac_ext >&5
2583
rm -f conftest.err conftest.$ac_objext
2585
rm -f conftest.$ac_ext conftest.$ac_objext
2590
case "x$ac_cv_prog_cc_stdc" in
2592
echo "$as_me:$LINENO: result: none needed" >&5
2593
echo "${ECHO_T}none needed" >&6 ;;
2595
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2596
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2597
CC="$CC $ac_cv_prog_cc_stdc" ;;
2600
# Some people use a C++ compiler to compile C. Since we use `exit',
2601
# in C++ we need to declare it. In case someone uses the same compiler
2602
# for both compiling C and C++ we need to have the C++ compiler decide
2603
# the declaration of exit, since it's the most demanding environment.
2604
cat >conftest.$ac_ext <<_ACEOF
2609
rm -f conftest.$ac_objext
2610
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2611
(eval $ac_compile) 2>conftest.er1
2613
grep -v '^ *+' conftest.er1 >conftest.err
2615
cat conftest.err >&5
2616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617
(exit $ac_status); } &&
2618
{ ac_try='test -z "$ac_c_werror_flag"
2619
|| test ! -s conftest.err'
2620
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624
(exit $ac_status); }; } &&
2625
{ ac_try='test -s conftest.$ac_objext'
2626
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630
(exit $ac_status); }; }; then
2631
for ac_declaration in \
2633
'extern "C" void std::exit (int) throw (); using std::exit;' \
2634
'extern "C" void std::exit (int); using std::exit;' \
2635
'extern "C" void exit (int) throw ();' \
2636
'extern "C" void exit (int);' \
2639
cat >conftest.$ac_ext <<_ACEOF
2642
cat confdefs.h >>conftest.$ac_ext
2643
cat >>conftest.$ac_ext <<_ACEOF
2644
/* end confdefs.h. */
2655
rm -f conftest.$ac_objext
2656
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2657
(eval $ac_compile) 2>conftest.er1
2659
grep -v '^ *+' conftest.er1 >conftest.err
2661
cat conftest.err >&5
2662
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663
(exit $ac_status); } &&
2664
{ ac_try='test -z "$ac_c_werror_flag"
2665
|| test ! -s conftest.err'
2666
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670
(exit $ac_status); }; } &&
2671
{ ac_try='test -s conftest.$ac_objext'
2672
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676
(exit $ac_status); }; }; then
2679
echo "$as_me: failed program was:" >&5
2680
sed 's/^/| /' conftest.$ac_ext >&5
2684
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2685
cat >conftest.$ac_ext <<_ACEOF
2688
cat confdefs.h >>conftest.$ac_ext
2689
cat >>conftest.$ac_ext <<_ACEOF
2690
/* end confdefs.h. */
2700
rm -f conftest.$ac_objext
2701
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2702
(eval $ac_compile) 2>conftest.er1
2704
grep -v '^ *+' conftest.er1 >conftest.err
2706
cat conftest.err >&5
2707
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708
(exit $ac_status); } &&
2709
{ ac_try='test -z "$ac_c_werror_flag"
2710
|| test ! -s conftest.err'
2711
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2714
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715
(exit $ac_status); }; } &&
2716
{ ac_try='test -s conftest.$ac_objext'
2717
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721
(exit $ac_status); }; }; then
2724
echo "$as_me: failed program was:" >&5
2725
sed 's/^/| /' conftest.$ac_ext >&5
2728
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2731
if test -n "$ac_declaration"; then
2732
echo '#ifdef __cplusplus' >>confdefs.h
2733
echo $ac_declaration >>confdefs.h
2734
echo '#endif' >>confdefs.h
2738
echo "$as_me: failed program was:" >&5
2739
sed 's/^/| /' conftest.$ac_ext >&5
2742
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2744
ac_cpp='$CPP $CPPFLAGS'
2745
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2746
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2747
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2750
ac_cpp='$CXXCPP $CPPFLAGS'
2751
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2752
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2753
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2754
if test -n "$ac_tool_prefix"; then
2755
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2757
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2758
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2759
echo "$as_me:$LINENO: checking for $ac_word" >&5
2760
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2761
if test "${ac_cv_prog_CXX+set}" = set; then
2762
echo $ECHO_N "(cached) $ECHO_C" >&6
2764
if test -n "$CXX"; then
2765
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771
test -z "$as_dir" && as_dir=.
2772
for ac_exec_ext in '' $ac_executable_extensions; do
2773
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2775
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2784
if test -n "$CXX"; then
2785
echo "$as_me:$LINENO: result: $CXX" >&5
2786
echo "${ECHO_T}$CXX" >&6
2788
echo "$as_me:$LINENO: result: no" >&5
2789
echo "${ECHO_T}no" >&6
2792
test -n "$CXX" && break
2795
if test -z "$CXX"; then
2797
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2799
# Extract the first word of "$ac_prog", so it can be a program name with args.
2800
set dummy $ac_prog; ac_word=$2
2801
echo "$as_me:$LINENO: checking for $ac_word" >&5
2802
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2803
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2804
echo $ECHO_N "(cached) $ECHO_C" >&6
2806
if test -n "$ac_ct_CXX"; then
2807
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813
test -z "$as_dir" && as_dir=.
2814
for ac_exec_ext in '' $ac_executable_extensions; do
2815
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816
ac_cv_prog_ac_ct_CXX="$ac_prog"
2817
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2826
if test -n "$ac_ct_CXX"; then
2827
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2828
echo "${ECHO_T}$ac_ct_CXX" >&6
2830
echo "$as_me:$LINENO: result: no" >&5
2831
echo "${ECHO_T}no" >&6
2834
test -n "$ac_ct_CXX" && break
2836
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2842
# Provide some information about the compiler.
2843
echo "$as_me:$LINENO:" \
2844
"checking for C++ compiler version" >&5
2845
ac_compiler=`set X $ac_compile; echo $2`
2846
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2847
(eval $ac_compiler --version </dev/null >&5) 2>&5
2849
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850
(exit $ac_status); }
2851
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2852
(eval $ac_compiler -v </dev/null >&5) 2>&5
2854
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855
(exit $ac_status); }
2856
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2857
(eval $ac_compiler -V </dev/null >&5) 2>&5
2859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860
(exit $ac_status); }
2862
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2863
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2864
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2865
echo $ECHO_N "(cached) $ECHO_C" >&6
2867
cat >conftest.$ac_ext <<_ACEOF
2870
cat confdefs.h >>conftest.$ac_ext
2871
cat >>conftest.$ac_ext <<_ACEOF
2872
/* end confdefs.h. */
2885
rm -f conftest.$ac_objext
2886
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2887
(eval $ac_compile) 2>conftest.er1
2889
grep -v '^ *+' conftest.er1 >conftest.err
2891
cat conftest.err >&5
2892
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893
(exit $ac_status); } &&
2894
{ ac_try='test -z "$ac_cxx_werror_flag"
2895
|| test ! -s conftest.err'
2896
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900
(exit $ac_status); }; } &&
2901
{ ac_try='test -s conftest.$ac_objext'
2902
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906
(exit $ac_status); }; }; then
2909
echo "$as_me: failed program was:" >&5
2910
sed 's/^/| /' conftest.$ac_ext >&5
2914
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2915
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2918
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2919
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2920
GXX=`test $ac_compiler_gnu = yes && echo yes`
2921
ac_test_CXXFLAGS=${CXXFLAGS+set}
2922
ac_save_CXXFLAGS=$CXXFLAGS
2924
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2925
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2926
if test "${ac_cv_prog_cxx_g+set}" = set; then
2927
echo $ECHO_N "(cached) $ECHO_C" >&6
2929
cat >conftest.$ac_ext <<_ACEOF
2932
cat confdefs.h >>conftest.$ac_ext
2933
cat >>conftest.$ac_ext <<_ACEOF
2934
/* end confdefs.h. */
2944
rm -f conftest.$ac_objext
2945
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946
(eval $ac_compile) 2>conftest.er1
2948
grep -v '^ *+' conftest.er1 >conftest.err
2950
cat conftest.err >&5
2951
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952
(exit $ac_status); } &&
2953
{ ac_try='test -z "$ac_cxx_werror_flag"
2954
|| test ! -s conftest.err'
2955
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959
(exit $ac_status); }; } &&
2960
{ ac_try='test -s conftest.$ac_objext'
2961
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965
(exit $ac_status); }; }; then
2966
ac_cv_prog_cxx_g=yes
2968
echo "$as_me: failed program was:" >&5
2969
sed 's/^/| /' conftest.$ac_ext >&5
2973
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2975
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2976
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2977
if test "$ac_test_CXXFLAGS" = set; then
2978
CXXFLAGS=$ac_save_CXXFLAGS
2979
elif test $ac_cv_prog_cxx_g = yes; then
2980
if test "$GXX" = yes; then
2986
if test "$GXX" = yes; then
2992
for ac_declaration in \
2994
'extern "C" void std::exit (int) throw (); using std::exit;' \
2995
'extern "C" void std::exit (int); using std::exit;' \
2996
'extern "C" void exit (int) throw ();' \
2997
'extern "C" void exit (int);' \
3000
cat >conftest.$ac_ext <<_ACEOF
3003
cat confdefs.h >>conftest.$ac_ext
3004
cat >>conftest.$ac_ext <<_ACEOF
3005
/* end confdefs.h. */
3016
rm -f conftest.$ac_objext
3017
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3018
(eval $ac_compile) 2>conftest.er1
3020
grep -v '^ *+' conftest.er1 >conftest.err
3022
cat conftest.err >&5
3023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024
(exit $ac_status); } &&
3025
{ ac_try='test -z "$ac_cxx_werror_flag"
3026
|| test ! -s conftest.err'
3027
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031
(exit $ac_status); }; } &&
3032
{ ac_try='test -s conftest.$ac_objext'
3033
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037
(exit $ac_status); }; }; then
3040
echo "$as_me: failed program was:" >&5
3041
sed 's/^/| /' conftest.$ac_ext >&5
3045
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3046
cat >conftest.$ac_ext <<_ACEOF
3049
cat confdefs.h >>conftest.$ac_ext
3050
cat >>conftest.$ac_ext <<_ACEOF
3051
/* end confdefs.h. */
3061
rm -f conftest.$ac_objext
3062
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3063
(eval $ac_compile) 2>conftest.er1
3065
grep -v '^ *+' conftest.er1 >conftest.err
3067
cat conftest.err >&5
3068
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069
(exit $ac_status); } &&
3070
{ ac_try='test -z "$ac_cxx_werror_flag"
3071
|| test ! -s conftest.err'
3072
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3075
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076
(exit $ac_status); }; } &&
3077
{ ac_try='test -s conftest.$ac_objext'
3078
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082
(exit $ac_status); }; }; then
3085
echo "$as_me: failed program was:" >&5
3086
sed 's/^/| /' conftest.$ac_ext >&5
3089
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3092
if test -n "$ac_declaration"; then
3093
echo '#ifdef __cplusplus' >>confdefs.h
3094
echo $ac_declaration >>confdefs.h
3095
echo '#endif' >>confdefs.h
3099
ac_cpp='$CPP $CPPFLAGS'
3100
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3101
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3102
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3104
# Find a good install program. We prefer a C program (faster),
3105
# so one script is as good as another. But avoid the broken or
3106
# incompatible versions:
3107
# SysV /etc/install, /usr/sbin/install
3108
# SunOS /usr/etc/install
3109
# IRIX /sbin/install
3111
# AmigaOS /C/install, which installs bootblocks on floppy discs
3112
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3113
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3114
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3115
# OS/2's system install, which has a completely different semantic
3116
# ./install, which can be erroneously created by make from ./install.sh.
3117
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3118
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3119
if test -z "$INSTALL"; then
3120
if test "${ac_cv_path_install+set}" = set; then
3121
echo $ECHO_N "(cached) $ECHO_C" >&6
3123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127
test -z "$as_dir" && as_dir=.
3128
# Account for people who put trailing slashes in PATH elements.
3130
./ | .// | /cC/* | \
3131
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3132
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3135
# OSF1 and SCO ODT 3.0 have their own names for install.
3136
# Don't use installbsd from OSF since it installs stuff as root
3138
for ac_prog in ginstall scoinst install; do
3139
for ac_exec_ext in '' $ac_executable_extensions; do
3140
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3141
if test $ac_prog = install &&
3142
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3143
# AIX install. It has an incompatible calling convention.
3145
elif test $ac_prog = install &&
3146
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3147
# program-specific install script used by HP pwplus--don't use.
3150
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3162
if test "${ac_cv_path_install+set}" = set; then
3163
INSTALL=$ac_cv_path_install
3165
# As a last resort, use the slow shell script. We don't cache a
3166
# path for INSTALL within a source directory, because that will
3167
# break other packages using the cache if that directory is
3168
# removed, or if the path is relative.
3169
INSTALL=$ac_install_sh
3172
echo "$as_me:$LINENO: result: $INSTALL" >&5
3173
echo "${ECHO_T}$INSTALL" >&6
3175
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3176
# It thinks the first close brace ends the variable substitution.
3177
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3179
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3181
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3183
for ac_prog in gawk mawk nawk awk
3185
# Extract the first word of "$ac_prog", so it can be a program name with args.
3186
set dummy $ac_prog; ac_word=$2
3187
echo "$as_me:$LINENO: checking for $ac_word" >&5
3188
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3189
if test "${ac_cv_prog_AWK+set}" = set; then
3190
echo $ECHO_N "(cached) $ECHO_C" >&6
3192
if test -n "$AWK"; then
3193
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3195
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199
test -z "$as_dir" && as_dir=.
3200
for ac_exec_ext in '' $ac_executable_extensions; do
3201
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3202
ac_cv_prog_AWK="$ac_prog"
3203
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3212
if test -n "$AWK"; then
3213
echo "$as_me:$LINENO: result: $AWK" >&5
3214
echo "${ECHO_T}$AWK" >&6
3216
echo "$as_me:$LINENO: result: no" >&5
3217
echo "${ECHO_T}no" >&6
3220
test -n "$AWK" && break
3225
# Extract the first word of "$ac_prog", so it can be a program name with args.
3226
set dummy $ac_prog; ac_word=$2
3227
echo "$as_me:$LINENO: checking for $ac_word" >&5
3228
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3229
if test "${ac_cv_prog_TAR+set}" = set; then
3230
echo $ECHO_N "(cached) $ECHO_C" >&6
3232
if test -n "$TAR"; then
3233
ac_cv_prog_TAR="$TAR" # Let the user override the test.
3235
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239
test -z "$as_dir" && as_dir=.
3240
for ac_exec_ext in '' $ac_executable_extensions; do
3241
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3242
ac_cv_prog_TAR="$ac_prog"
3243
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3252
if test -n "$TAR"; then
3253
echo "$as_me:$LINENO: result: $TAR" >&5
3254
echo "${ECHO_T}$TAR" >&6
3256
echo "$as_me:$LINENO: result: no" >&5
3257
echo "${ECHO_T}no" >&6
3260
test -n "$TAR" && break
3265
# Extract the first word of "$ac_prog", so it can be a program name with args.
3266
set dummy $ac_prog; ac_word=$2
3267
echo "$as_me:$LINENO: checking for $ac_word" >&5
3268
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3269
if test "${ac_cv_prog_GZIP+set}" = set; then
3270
echo $ECHO_N "(cached) $ECHO_C" >&6
3272
if test -n "$GZIP"; then
3273
ac_cv_prog_GZIP="$GZIP" # Let the user override the test.
3275
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3279
test -z "$as_dir" && as_dir=.
3280
for ac_exec_ext in '' $ac_executable_extensions; do
3281
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3282
ac_cv_prog_GZIP="$ac_prog"
3283
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3291
GZIP=$ac_cv_prog_GZIP
3292
if test -n "$GZIP"; then
3293
echo "$as_me:$LINENO: result: $GZIP" >&5
3294
echo "${ECHO_T}$GZIP" >&6
3296
echo "$as_me:$LINENO: result: no" >&5
3297
echo "${ECHO_T}no" >&6
3300
test -n "$GZIP" && break
3303
for ac_prog in groff
3305
# Extract the first word of "$ac_prog", so it can be a program name with args.
3306
set dummy $ac_prog; ac_word=$2
3307
echo "$as_me:$LINENO: checking for $ac_word" >&5
3308
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3309
if test "${ac_cv_prog_GROFF+set}" = set; then
3310
echo $ECHO_N "(cached) $ECHO_C" >&6
3312
if test -n "$GROFF"; then
3313
ac_cv_prog_GROFF="$GROFF" # Let the user override the test.
3315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3319
test -z "$as_dir" && as_dir=.
3320
for ac_exec_ext in '' $ac_executable_extensions; do
3321
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3322
ac_cv_prog_GROFF="$ac_prog"
3323
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3331
GROFF=$ac_cv_prog_GROFF
3332
if test -n "$GROFF"; then
3333
echo "$as_me:$LINENO: result: $GROFF" >&5
3334
echo "${ECHO_T}$GROFF" >&6
3336
echo "$as_me:$LINENO: result: no" >&5
3337
echo "${ECHO_T}no" >&6
3340
test -n "$GROFF" && break
3345
# Extract the first word of "$ac_prog", so it can be a program name with args.
3346
set dummy $ac_prog; ac_word=$2
3347
echo "$as_me:$LINENO: checking for $ac_word" >&5
3348
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3349
if test "${ac_cv_prog_COL+set}" = set; then
3350
echo $ECHO_N "(cached) $ECHO_C" >&6
3352
if test -n "$COL"; then
3353
ac_cv_prog_COL="$COL" # Let the user override the test.
3355
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359
test -z "$as_dir" && as_dir=.
3360
for ac_exec_ext in '' $ac_executable_extensions; do
3361
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3362
ac_cv_prog_COL="$ac_prog"
3363
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3372
if test -n "$COL"; then
3373
echo "$as_me:$LINENO: result: $COL" >&5
3374
echo "${ECHO_T}$COL" >&6
3376
echo "$as_me:$LINENO: result: no" >&5
3377
echo "${ECHO_T}no" >&6
3380
test -n "$COL" && break
3384
# Checks for libraries.
3387
echo "$as_me:$LINENO: checking for adler32 in -lz" >&5
3388
echo $ECHO_N "checking for adler32 in -lz... $ECHO_C" >&6
3389
if test "${ac_cv_lib_z_adler32+set}" = set; then
3390
echo $ECHO_N "(cached) $ECHO_C" >&6
3392
ac_check_lib_save_LIBS=$LIBS
3394
cat >conftest.$ac_ext <<_ACEOF
3397
cat confdefs.h >>conftest.$ac_ext
3398
cat >>conftest.$ac_ext <<_ACEOF
3399
/* end confdefs.h. */
3401
/* Override any gcc2 internal prototype to avoid an error. */
3405
/* We use char because int might match the return type of a gcc2
3406
builtin and then its argument prototype would still apply. */
3416
rm -f conftest.$ac_objext conftest$ac_exeext
3417
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3418
(eval $ac_link) 2>conftest.er1
3420
grep -v '^ *+' conftest.er1 >conftest.err
3422
cat conftest.err >&5
3423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424
(exit $ac_status); } &&
3425
{ ac_try='test -z "$ac_c_werror_flag"
3426
|| test ! -s conftest.err'
3427
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3430
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431
(exit $ac_status); }; } &&
3432
{ ac_try='test -s conftest$ac_exeext'
3433
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437
(exit $ac_status); }; }; then
3438
ac_cv_lib_z_adler32=yes
3440
echo "$as_me: failed program was:" >&5
3441
sed 's/^/| /' conftest.$ac_ext >&5
3443
ac_cv_lib_z_adler32=no
3445
rm -f conftest.err conftest.$ac_objext \
3446
conftest$ac_exeext conftest.$ac_ext
3447
LIBS=$ac_check_lib_save_LIBS
3449
echo "$as_me:$LINENO: result: $ac_cv_lib_z_adler32" >&5
3450
echo "${ECHO_T}$ac_cv_lib_z_adler32" >&6
3451
if test $ac_cv_lib_z_adler32 = yes; then
3452
cat >>confdefs.h <<_ACEOF
3460
{ { echo "$as_me:$LINENO: error: the zlib library is required" >&5
3461
echo "$as_me: error: the zlib library is required" >&2;}
3462
{ (exit 1); exit 1; }; }
3467
# Checks for header files.
3469
ac_cpp='$CPP $CPPFLAGS'
3470
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3471
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3472
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3474
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3475
# On Suns, sometimes $CPP names a directory.
3476
if test -n "$CPP" && test -d "$CPP"; then
3479
if test -z "$CPP"; then
3480
if test "${ac_cv_prog_CPP+set}" = set; then
3481
echo $ECHO_N "(cached) $ECHO_C" >&6
3483
# Double quotes because CPP needs to be expanded
3484
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3487
for ac_c_preproc_warn_flag in '' yes
3489
# Use a header file that comes with gcc, so configuring glibc
3490
# with a fresh cross-compiler works.
3491
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3492
# <limits.h> exists even on freestanding compilers.
3493
# On the NeXT, cc -E runs the code through the compiler's parser,
3494
# not just through cpp. "Syntax error" is here to catch this case.
3495
cat >conftest.$ac_ext <<_ACEOF
3498
cat confdefs.h >>conftest.$ac_ext
3499
cat >>conftest.$ac_ext <<_ACEOF
3500
/* end confdefs.h. */
3502
# include <limits.h>
3504
# include <assert.h>
3508
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3509
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3511
grep -v '^ *+' conftest.er1 >conftest.err
3513
cat conftest.err >&5
3514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515
(exit $ac_status); } >/dev/null; then
3516
if test -s conftest.err; then
3517
ac_cpp_err=$ac_c_preproc_warn_flag
3518
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3525
if test -z "$ac_cpp_err"; then
3528
echo "$as_me: failed program was:" >&5
3529
sed 's/^/| /' conftest.$ac_ext >&5
3531
# Broken: fails on valid input.
3534
rm -f conftest.err conftest.$ac_ext
3536
# OK, works on sane cases. Now check whether non-existent headers
3537
# can be detected and how.
3538
cat >conftest.$ac_ext <<_ACEOF
3541
cat confdefs.h >>conftest.$ac_ext
3542
cat >>conftest.$ac_ext <<_ACEOF
3543
/* end confdefs.h. */
3544
#include <ac_nonexistent.h>
3546
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3547
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3549
grep -v '^ *+' conftest.er1 >conftest.err
3551
cat conftest.err >&5
3552
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553
(exit $ac_status); } >/dev/null; then
3554
if test -s conftest.err; then
3555
ac_cpp_err=$ac_c_preproc_warn_flag
3556
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3563
if test -z "$ac_cpp_err"; then
3564
# Broken: success on invalid input.
3567
echo "$as_me: failed program was:" >&5
3568
sed 's/^/| /' conftest.$ac_ext >&5
3570
# Passes both tests.
3574
rm -f conftest.err conftest.$ac_ext
3577
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578
rm -f conftest.err conftest.$ac_ext
3579
if $ac_preproc_ok; then
3591
echo "$as_me:$LINENO: result: $CPP" >&5
3592
echo "${ECHO_T}$CPP" >&6
3594
for ac_c_preproc_warn_flag in '' yes
3596
# Use a header file that comes with gcc, so configuring glibc
3597
# with a fresh cross-compiler works.
3598
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3599
# <limits.h> exists even on freestanding compilers.
3600
# On the NeXT, cc -E runs the code through the compiler's parser,
3601
# not just through cpp. "Syntax error" is here to catch this case.
3602
cat >conftest.$ac_ext <<_ACEOF
3605
cat confdefs.h >>conftest.$ac_ext
3606
cat >>conftest.$ac_ext <<_ACEOF
3607
/* end confdefs.h. */
3609
# include <limits.h>
3611
# include <assert.h>
3615
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3616
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3618
grep -v '^ *+' conftest.er1 >conftest.err
3620
cat conftest.err >&5
3621
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622
(exit $ac_status); } >/dev/null; then
3623
if test -s conftest.err; then
3624
ac_cpp_err=$ac_c_preproc_warn_flag
3625
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3632
if test -z "$ac_cpp_err"; then
3635
echo "$as_me: failed program was:" >&5
3636
sed 's/^/| /' conftest.$ac_ext >&5
3638
# Broken: fails on valid input.
3641
rm -f conftest.err conftest.$ac_ext
3643
# OK, works on sane cases. Now check whether non-existent headers
3644
# can be detected and how.
3645
cat >conftest.$ac_ext <<_ACEOF
3648
cat confdefs.h >>conftest.$ac_ext
3649
cat >>conftest.$ac_ext <<_ACEOF
3650
/* end confdefs.h. */
3651
#include <ac_nonexistent.h>
3653
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3654
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3656
grep -v '^ *+' conftest.er1 >conftest.err
3658
cat conftest.err >&5
3659
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660
(exit $ac_status); } >/dev/null; then
3661
if test -s conftest.err; then
3662
ac_cpp_err=$ac_c_preproc_warn_flag
3663
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3670
if test -z "$ac_cpp_err"; then
3671
# Broken: success on invalid input.
3674
echo "$as_me: failed program was:" >&5
3675
sed 's/^/| /' conftest.$ac_ext >&5
3677
# Passes both tests.
3681
rm -f conftest.err conftest.$ac_ext
3684
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3685
rm -f conftest.err conftest.$ac_ext
3686
if $ac_preproc_ok; then
3689
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3690
See \`config.log' for more details." >&5
3691
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3692
See \`config.log' for more details." >&2;}
3693
{ (exit 1); exit 1; }; }
3697
ac_cpp='$CPP $CPPFLAGS'
3698
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3703
echo "$as_me:$LINENO: checking for egrep" >&5
3704
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3705
if test "${ac_cv_prog_egrep+set}" = set; then
3706
echo $ECHO_N "(cached) $ECHO_C" >&6
3708
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3709
then ac_cv_prog_egrep='grep -E'
3710
else ac_cv_prog_egrep='egrep'
3713
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3714
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3715
EGREP=$ac_cv_prog_egrep
3718
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3719
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3720
if test "${ac_cv_header_stdc+set}" = set; then
3721
echo $ECHO_N "(cached) $ECHO_C" >&6
3723
cat >conftest.$ac_ext <<_ACEOF
3726
cat confdefs.h >>conftest.$ac_ext
3727
cat >>conftest.$ac_ext <<_ACEOF
3728
/* end confdefs.h. */
3742
rm -f conftest.$ac_objext
3743
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3744
(eval $ac_compile) 2>conftest.er1
3746
grep -v '^ *+' conftest.er1 >conftest.err
3748
cat conftest.err >&5
3749
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750
(exit $ac_status); } &&
3751
{ ac_try='test -z "$ac_c_werror_flag"
3752
|| test ! -s conftest.err'
3753
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3756
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757
(exit $ac_status); }; } &&
3758
{ ac_try='test -s conftest.$ac_objext'
3759
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3762
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763
(exit $ac_status); }; }; then
3764
ac_cv_header_stdc=yes
3766
echo "$as_me: failed program was:" >&5
3767
sed 's/^/| /' conftest.$ac_ext >&5
3769
ac_cv_header_stdc=no
3771
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3773
if test $ac_cv_header_stdc = yes; then
3774
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3775
cat >conftest.$ac_ext <<_ACEOF
3778
cat confdefs.h >>conftest.$ac_ext
3779
cat >>conftest.$ac_ext <<_ACEOF
3780
/* end confdefs.h. */
3784
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3785
$EGREP "memchr" >/dev/null 2>&1; then
3788
ac_cv_header_stdc=no
3794
if test $ac_cv_header_stdc = yes; then
3795
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3796
cat >conftest.$ac_ext <<_ACEOF
3799
cat confdefs.h >>conftest.$ac_ext
3800
cat >>conftest.$ac_ext <<_ACEOF
3801
/* end confdefs.h. */
3805
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3806
$EGREP "free" >/dev/null 2>&1; then
3809
ac_cv_header_stdc=no
3815
if test $ac_cv_header_stdc = yes; then
3816
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3817
if test "$cross_compiling" = yes; then
3820
cat >conftest.$ac_ext <<_ACEOF
3823
cat confdefs.h >>conftest.$ac_ext
3824
cat >>conftest.$ac_ext <<_ACEOF
3825
/* end confdefs.h. */
3827
#if ((' ' & 0x0FF) == 0x020)
3828
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3829
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3831
# define ISLOWER(c) \
3832
(('a' <= (c) && (c) <= 'i') \
3833
|| ('j' <= (c) && (c) <= 'r') \
3834
|| ('s' <= (c) && (c) <= 'z'))
3835
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3838
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3843
for (i = 0; i < 256; i++)
3844
if (XOR (islower (i), ISLOWER (i))
3845
|| toupper (i) != TOUPPER (i))
3850
rm -f conftest$ac_exeext
3851
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3852
(eval $ac_link) 2>&5
3854
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3856
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860
(exit $ac_status); }; }; then
3863
echo "$as_me: program exited with status $ac_status" >&5
3864
echo "$as_me: failed program was:" >&5
3865
sed 's/^/| /' conftest.$ac_ext >&5
3868
ac_cv_header_stdc=no
3870
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3874
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3875
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3876
if test $ac_cv_header_stdc = yes; then
3878
cat >>confdefs.h <<\_ACEOF
3879
#define STDC_HEADERS 1
3884
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3885
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
3886
if test "${ac_cv_header_sys_wait_h+set}" = set; then
3887
echo $ECHO_N "(cached) $ECHO_C" >&6
3889
cat >conftest.$ac_ext <<_ACEOF
3892
cat confdefs.h >>conftest.$ac_ext
3893
cat >>conftest.$ac_ext <<_ACEOF
3894
/* end confdefs.h. */
3895
#include <sys/types.h>
3896
#include <sys/wait.h>
3898
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3901
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3909
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3914
rm -f conftest.$ac_objext
3915
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3916
(eval $ac_compile) 2>conftest.er1
3918
grep -v '^ *+' conftest.er1 >conftest.err
3920
cat conftest.err >&5
3921
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922
(exit $ac_status); } &&
3923
{ ac_try='test -z "$ac_c_werror_flag"
3924
|| test ! -s conftest.err'
3925
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929
(exit $ac_status); }; } &&
3930
{ ac_try='test -s conftest.$ac_objext'
3931
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935
(exit $ac_status); }; }; then
3936
ac_cv_header_sys_wait_h=yes
3938
echo "$as_me: failed program was:" >&5
3939
sed 's/^/| /' conftest.$ac_ext >&5
3941
ac_cv_header_sys_wait_h=no
3943
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3945
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3946
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
3947
if test $ac_cv_header_sys_wait_h = yes; then
3949
cat >>confdefs.h <<\_ACEOF
3950
#define HAVE_SYS_WAIT_H 1
3961
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3962
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3963
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3964
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3965
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3966
echo $ECHO_N "(cached) $ECHO_C" >&6
3968
cat >conftest.$ac_ext <<_ACEOF
3971
cat confdefs.h >>conftest.$ac_ext
3972
cat >>conftest.$ac_ext <<_ACEOF
3973
/* end confdefs.h. */
3974
#include <sys/types.h>
3986
rm -f conftest.$ac_objext
3987
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3988
(eval $ac_compile) 2>conftest.er1
3990
grep -v '^ *+' conftest.er1 >conftest.err
3992
cat conftest.err >&5
3993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994
(exit $ac_status); } &&
3995
{ ac_try='test -z "$ac_c_werror_flag"
3996
|| test ! -s conftest.err'
3997
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001
(exit $ac_status); }; } &&
4002
{ ac_try='test -s conftest.$ac_objext'
4003
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007
(exit $ac_status); }; }; then
4008
eval "$as_ac_Header=yes"
4010
echo "$as_me: failed program was:" >&5
4011
sed 's/^/| /' conftest.$ac_ext >&5
4013
eval "$as_ac_Header=no"
4015
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4017
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4018
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4019
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4020
cat >>confdefs.h <<_ACEOF
4021
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4024
ac_header_dirent=$ac_hdr; break
4028
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4029
if test $ac_header_dirent = dirent.h; then
4030
echo "$as_me:$LINENO: checking for library containing opendir" >&5
4031
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4032
if test "${ac_cv_search_opendir+set}" = set; then
4033
echo $ECHO_N "(cached) $ECHO_C" >&6
4035
ac_func_search_save_LIBS=$LIBS
4036
ac_cv_search_opendir=no
4037
cat >conftest.$ac_ext <<_ACEOF
4040
cat confdefs.h >>conftest.$ac_ext
4041
cat >>conftest.$ac_ext <<_ACEOF
4042
/* end confdefs.h. */
4044
/* Override any gcc2 internal prototype to avoid an error. */
4048
/* We use char because int might match the return type of a gcc2
4049
builtin and then its argument prototype would still apply. */
4059
rm -f conftest.$ac_objext conftest$ac_exeext
4060
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4061
(eval $ac_link) 2>conftest.er1
4063
grep -v '^ *+' conftest.er1 >conftest.err
4065
cat conftest.err >&5
4066
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067
(exit $ac_status); } &&
4068
{ ac_try='test -z "$ac_c_werror_flag"
4069
|| test ! -s conftest.err'
4070
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074
(exit $ac_status); }; } &&
4075
{ ac_try='test -s conftest$ac_exeext'
4076
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080
(exit $ac_status); }; }; then
4081
ac_cv_search_opendir="none required"
4083
echo "$as_me: failed program was:" >&5
4084
sed 's/^/| /' conftest.$ac_ext >&5
4087
rm -f conftest.err conftest.$ac_objext \
4088
conftest$ac_exeext conftest.$ac_ext
4089
if test "$ac_cv_search_opendir" = no; then
4090
for ac_lib in dir; do
4091
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4092
cat >conftest.$ac_ext <<_ACEOF
4095
cat confdefs.h >>conftest.$ac_ext
4096
cat >>conftest.$ac_ext <<_ACEOF
4097
/* end confdefs.h. */
4099
/* Override any gcc2 internal prototype to avoid an error. */
4103
/* We use char because int might match the return type of a gcc2
4104
builtin and then its argument prototype would still apply. */
4114
rm -f conftest.$ac_objext conftest$ac_exeext
4115
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4116
(eval $ac_link) 2>conftest.er1
4118
grep -v '^ *+' conftest.er1 >conftest.err
4120
cat conftest.err >&5
4121
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122
(exit $ac_status); } &&
4123
{ ac_try='test -z "$ac_c_werror_flag"
4124
|| test ! -s conftest.err'
4125
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4128
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129
(exit $ac_status); }; } &&
4130
{ ac_try='test -s conftest$ac_exeext'
4131
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4134
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135
(exit $ac_status); }; }; then
4136
ac_cv_search_opendir="-l$ac_lib"
4139
echo "$as_me: failed program was:" >&5
4140
sed 's/^/| /' conftest.$ac_ext >&5
4143
rm -f conftest.err conftest.$ac_objext \
4144
conftest$ac_exeext conftest.$ac_ext
4147
LIBS=$ac_func_search_save_LIBS
4149
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4150
echo "${ECHO_T}$ac_cv_search_opendir" >&6
4151
if test "$ac_cv_search_opendir" != no; then
4152
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4157
echo "$as_me:$LINENO: checking for library containing opendir" >&5
4158
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4159
if test "${ac_cv_search_opendir+set}" = set; then
4160
echo $ECHO_N "(cached) $ECHO_C" >&6
4162
ac_func_search_save_LIBS=$LIBS
4163
ac_cv_search_opendir=no
4164
cat >conftest.$ac_ext <<_ACEOF
4167
cat confdefs.h >>conftest.$ac_ext
4168
cat >>conftest.$ac_ext <<_ACEOF
4169
/* end confdefs.h. */
4171
/* Override any gcc2 internal prototype to avoid an error. */
4175
/* We use char because int might match the return type of a gcc2
4176
builtin and then its argument prototype would still apply. */
4186
rm -f conftest.$ac_objext conftest$ac_exeext
4187
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4188
(eval $ac_link) 2>conftest.er1
4190
grep -v '^ *+' conftest.er1 >conftest.err
4192
cat conftest.err >&5
4193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194
(exit $ac_status); } &&
4195
{ ac_try='test -z "$ac_c_werror_flag"
4196
|| test ! -s conftest.err'
4197
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201
(exit $ac_status); }; } &&
4202
{ ac_try='test -s conftest$ac_exeext'
4203
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207
(exit $ac_status); }; }; then
4208
ac_cv_search_opendir="none required"
4210
echo "$as_me: failed program was:" >&5
4211
sed 's/^/| /' conftest.$ac_ext >&5
4214
rm -f conftest.err conftest.$ac_objext \
4215
conftest$ac_exeext conftest.$ac_ext
4216
if test "$ac_cv_search_opendir" = no; then
4218
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4219
cat >conftest.$ac_ext <<_ACEOF
4222
cat confdefs.h >>conftest.$ac_ext
4223
cat >>conftest.$ac_ext <<_ACEOF
4224
/* end confdefs.h. */
4226
/* Override any gcc2 internal prototype to avoid an error. */
4230
/* We use char because int might match the return type of a gcc2
4231
builtin and then its argument prototype would still apply. */
4241
rm -f conftest.$ac_objext conftest$ac_exeext
4242
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4243
(eval $ac_link) 2>conftest.er1
4245
grep -v '^ *+' conftest.er1 >conftest.err
4247
cat conftest.err >&5
4248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249
(exit $ac_status); } &&
4250
{ ac_try='test -z "$ac_c_werror_flag"
4251
|| test ! -s conftest.err'
4252
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256
(exit $ac_status); }; } &&
4257
{ ac_try='test -s conftest$ac_exeext'
4258
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262
(exit $ac_status); }; }; then
4263
ac_cv_search_opendir="-l$ac_lib"
4266
echo "$as_me: failed program was:" >&5
4267
sed 's/^/| /' conftest.$ac_ext >&5
4270
rm -f conftest.err conftest.$ac_objext \
4271
conftest$ac_exeext conftest.$ac_ext
4274
LIBS=$ac_func_search_save_LIBS
4276
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4277
echo "${ECHO_T}$ac_cv_search_opendir" >&6
4278
if test "$ac_cv_search_opendir" != no; then
4279
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4285
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4286
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4287
if test "${ac_cv_header_time+set}" = set; then
4288
echo $ECHO_N "(cached) $ECHO_C" >&6
4290
cat >conftest.$ac_ext <<_ACEOF
4293
cat confdefs.h >>conftest.$ac_ext
4294
cat >>conftest.$ac_ext <<_ACEOF
4295
/* end confdefs.h. */
4296
#include <sys/types.h>
4297
#include <sys/time.h>
4303
if ((struct tm *) 0)
4309
rm -f conftest.$ac_objext
4310
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4311
(eval $ac_compile) 2>conftest.er1
4313
grep -v '^ *+' conftest.er1 >conftest.err
4315
cat conftest.err >&5
4316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317
(exit $ac_status); } &&
4318
{ ac_try='test -z "$ac_c_werror_flag"
4319
|| test ! -s conftest.err'
4320
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324
(exit $ac_status); }; } &&
4325
{ ac_try='test -s conftest.$ac_objext'
4326
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330
(exit $ac_status); }; }; then
4331
ac_cv_header_time=yes
4333
echo "$as_me: failed program was:" >&5
4334
sed 's/^/| /' conftest.$ac_ext >&5
4336
ac_cv_header_time=no
4338
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4340
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4341
echo "${ECHO_T}$ac_cv_header_time" >&6
4342
if test $ac_cv_header_time = yes; then
4344
cat >>confdefs.h <<\_ACEOF
4345
#define TIME_WITH_SYS_TIME 1
4350
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4360
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4361
inttypes.h stdint.h unistd.h
4363
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4364
echo "$as_me:$LINENO: checking for $ac_header" >&5
4365
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4366
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4367
echo $ECHO_N "(cached) $ECHO_C" >&6
4369
cat >conftest.$ac_ext <<_ACEOF
4372
cat confdefs.h >>conftest.$ac_ext
4373
cat >>conftest.$ac_ext <<_ACEOF
4374
/* end confdefs.h. */
4375
$ac_includes_default
4377
#include <$ac_header>
4379
rm -f conftest.$ac_objext
4380
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4381
(eval $ac_compile) 2>conftest.er1
4383
grep -v '^ *+' conftest.er1 >conftest.err
4385
cat conftest.err >&5
4386
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387
(exit $ac_status); } &&
4388
{ ac_try='test -z "$ac_c_werror_flag"
4389
|| test ! -s conftest.err'
4390
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394
(exit $ac_status); }; } &&
4395
{ ac_try='test -s conftest.$ac_objext'
4396
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400
(exit $ac_status); }; }; then
4401
eval "$as_ac_Header=yes"
4403
echo "$as_me: failed program was:" >&5
4404
sed 's/^/| /' conftest.$ac_ext >&5
4406
eval "$as_ac_Header=no"
4408
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4410
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4411
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4412
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4413
cat >>confdefs.h <<_ACEOF
4414
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4428
for ac_header in unistd.h getopt.h utime.h stdarg.h varargs.h stdint.h
4430
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4431
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4432
echo "$as_me:$LINENO: checking for $ac_header" >&5
4433
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4434
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4435
echo $ECHO_N "(cached) $ECHO_C" >&6
4437
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4438
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4440
# Is the header compilable?
4441
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4442
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4443
cat >conftest.$ac_ext <<_ACEOF
4446
cat confdefs.h >>conftest.$ac_ext
4447
cat >>conftest.$ac_ext <<_ACEOF
4448
/* end confdefs.h. */
4449
$ac_includes_default
4450
#include <$ac_header>
4452
rm -f conftest.$ac_objext
4453
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4454
(eval $ac_compile) 2>conftest.er1
4456
grep -v '^ *+' conftest.er1 >conftest.err
4458
cat conftest.err >&5
4459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460
(exit $ac_status); } &&
4461
{ ac_try='test -z "$ac_c_werror_flag"
4462
|| test ! -s conftest.err'
4463
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467
(exit $ac_status); }; } &&
4468
{ ac_try='test -s conftest.$ac_objext'
4469
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473
(exit $ac_status); }; }; then
4474
ac_header_compiler=yes
4476
echo "$as_me: failed program was:" >&5
4477
sed 's/^/| /' conftest.$ac_ext >&5
4479
ac_header_compiler=no
4481
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4482
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4483
echo "${ECHO_T}$ac_header_compiler" >&6
4485
# Is the header present?
4486
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4487
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4488
cat >conftest.$ac_ext <<_ACEOF
4491
cat confdefs.h >>conftest.$ac_ext
4492
cat >>conftest.$ac_ext <<_ACEOF
4493
/* end confdefs.h. */
4494
#include <$ac_header>
4496
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4497
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4499
grep -v '^ *+' conftest.er1 >conftest.err
4501
cat conftest.err >&5
4502
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503
(exit $ac_status); } >/dev/null; then
4504
if test -s conftest.err; then
4505
ac_cpp_err=$ac_c_preproc_warn_flag
4506
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4513
if test -z "$ac_cpp_err"; then
4514
ac_header_preproc=yes
4516
echo "$as_me: failed program was:" >&5
4517
sed 's/^/| /' conftest.$ac_ext >&5
4519
ac_header_preproc=no
4521
rm -f conftest.err conftest.$ac_ext
4522
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4523
echo "${ECHO_T}$ac_header_preproc" >&6
4525
# So? What about this header?
4526
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4528
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4529
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4530
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4531
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4532
ac_header_preproc=yes
4535
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4536
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4537
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4538
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4539
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4540
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4541
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4542
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4543
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4544
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4545
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4546
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4549
## -------------------------------------- ##
4550
## Report this to the AdvanceCOMP lists. ##
4551
## -------------------------------------- ##
4554
sed "s/^/$as_me: WARNING: /" >&2
4557
echo "$as_me:$LINENO: checking for $ac_header" >&5
4558
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4559
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4560
echo $ECHO_N "(cached) $ECHO_C" >&6
4562
eval "$as_ac_Header=\$ac_header_preproc"
4564
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4565
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4568
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4569
cat >>confdefs.h <<_ACEOF
4570
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4581
for ac_header in sys/types.h sys/stat.h sys/time.h sys/utime.h
4583
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4584
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4585
echo "$as_me:$LINENO: checking for $ac_header" >&5
4586
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4587
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4588
echo $ECHO_N "(cached) $ECHO_C" >&6
4590
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4591
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4593
# Is the header compilable?
4594
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4595
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4596
cat >conftest.$ac_ext <<_ACEOF
4599
cat confdefs.h >>conftest.$ac_ext
4600
cat >>conftest.$ac_ext <<_ACEOF
4601
/* end confdefs.h. */
4602
$ac_includes_default
4603
#include <$ac_header>
4605
rm -f conftest.$ac_objext
4606
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4607
(eval $ac_compile) 2>conftest.er1
4609
grep -v '^ *+' conftest.er1 >conftest.err
4611
cat conftest.err >&5
4612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613
(exit $ac_status); } &&
4614
{ ac_try='test -z "$ac_c_werror_flag"
4615
|| test ! -s conftest.err'
4616
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620
(exit $ac_status); }; } &&
4621
{ ac_try='test -s conftest.$ac_objext'
4622
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4625
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626
(exit $ac_status); }; }; then
4627
ac_header_compiler=yes
4629
echo "$as_me: failed program was:" >&5
4630
sed 's/^/| /' conftest.$ac_ext >&5
4632
ac_header_compiler=no
4634
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4635
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4636
echo "${ECHO_T}$ac_header_compiler" >&6
4638
# Is the header present?
4639
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4640
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4641
cat >conftest.$ac_ext <<_ACEOF
4644
cat confdefs.h >>conftest.$ac_ext
4645
cat >>conftest.$ac_ext <<_ACEOF
4646
/* end confdefs.h. */
4647
#include <$ac_header>
4649
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4650
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4652
grep -v '^ *+' conftest.er1 >conftest.err
4654
cat conftest.err >&5
4655
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656
(exit $ac_status); } >/dev/null; then
4657
if test -s conftest.err; then
4658
ac_cpp_err=$ac_c_preproc_warn_flag
4659
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4666
if test -z "$ac_cpp_err"; then
4667
ac_header_preproc=yes
4669
echo "$as_me: failed program was:" >&5
4670
sed 's/^/| /' conftest.$ac_ext >&5
4672
ac_header_preproc=no
4674
rm -f conftest.err conftest.$ac_ext
4675
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4676
echo "${ECHO_T}$ac_header_preproc" >&6
4678
# So? What about this header?
4679
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4681
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4682
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4683
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4684
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4685
ac_header_preproc=yes
4688
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4689
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4690
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4691
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4692
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4693
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4694
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4695
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4696
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4697
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4698
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4699
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4702
## -------------------------------------- ##
4703
## Report this to the AdvanceCOMP lists. ##
4704
## -------------------------------------- ##
4707
sed "s/^/$as_me: WARNING: /" >&2
4710
echo "$as_me:$LINENO: checking for $ac_header" >&5
4711
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4712
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4713
echo $ECHO_N "(cached) $ECHO_C" >&6
4715
eval "$as_ac_Header=\$ac_header_preproc"
4717
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4718
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4721
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4722
cat >>confdefs.h <<_ACEOF
4723
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4731
# Checks for typedefs, structures, and compiler characteristics.
4732
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4733
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4734
if test "${ac_cv_c_const+set}" = set; then
4735
echo $ECHO_N "(cached) $ECHO_C" >&6
4737
cat >conftest.$ac_ext <<_ACEOF
4740
cat confdefs.h >>conftest.$ac_ext
4741
cat >>conftest.$ac_ext <<_ACEOF
4742
/* end confdefs.h. */
4747
/* FIXME: Include the comments suggested by Paul. */
4749
/* Ultrix mips cc rejects this. */
4750
typedef int charset[2];
4752
/* SunOS 4.1.1 cc rejects this. */
4753
char const *const *ccp;
4755
/* NEC SVR4.0.2 mips cc rejects this. */
4756
struct point {int x, y;};
4757
static struct point const zero = {0,0};
4758
/* AIX XL C 1.02.0.0 rejects this.
4759
It does not let you subtract one const X* pointer from another in
4760
an arm of an if-expression whose if-part is not a constant
4762
const char *g = "string";
4763
ccp = &g + (g ? g-g : 0);
4764
/* HPUX 7.0 cc rejects these. */
4767
ccp = (char const *const *) p;
4768
{ /* SCO 3.2v4 cc rejects this. */
4770
char const *s = 0 ? (char *) 0 : (char const *) 0;
4774
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4776
const int *foo = &x[0];
4779
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4780
typedef const int *iptr;
4784
{ /* AIX XL C 1.02.0.0 rejects this saying
4785
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4786
struct s { int j; const int *ap[3]; };
4787
struct s *b; b->j = 5;
4789
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4798
rm -f conftest.$ac_objext
4799
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4800
(eval $ac_compile) 2>conftest.er1
4802
grep -v '^ *+' conftest.er1 >conftest.err
4804
cat conftest.err >&5
4805
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806
(exit $ac_status); } &&
4807
{ ac_try='test -z "$ac_c_werror_flag"
4808
|| test ! -s conftest.err'
4809
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813
(exit $ac_status); }; } &&
4814
{ ac_try='test -s conftest.$ac_objext'
4815
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819
(exit $ac_status); }; }; then
4822
echo "$as_me: failed program was:" >&5
4823
sed 's/^/| /' conftest.$ac_ext >&5
4827
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4829
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4830
echo "${ECHO_T}$ac_cv_c_const" >&6
4831
if test $ac_cv_c_const = no; then
4833
cat >>confdefs.h <<\_ACEOF
4839
echo "$as_me:$LINENO: checking for inline" >&5
4840
echo $ECHO_N "checking for inline... $ECHO_C" >&6
4841
if test "${ac_cv_c_inline+set}" = set; then
4842
echo $ECHO_N "(cached) $ECHO_C" >&6
4845
for ac_kw in inline __inline__ __inline; do
4846
cat >conftest.$ac_ext <<_ACEOF
4849
cat confdefs.h >>conftest.$ac_ext
4850
cat >>conftest.$ac_ext <<_ACEOF
4851
/* end confdefs.h. */
4854
static $ac_kw foo_t static_foo () {return 0; }
4855
$ac_kw foo_t foo () {return 0; }
4859
rm -f conftest.$ac_objext
4860
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4861
(eval $ac_compile) 2>conftest.er1
4863
grep -v '^ *+' conftest.er1 >conftest.err
4865
cat conftest.err >&5
4866
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867
(exit $ac_status); } &&
4868
{ ac_try='test -z "$ac_c_werror_flag"
4869
|| test ! -s conftest.err'
4870
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874
(exit $ac_status); }; } &&
4875
{ ac_try='test -s conftest.$ac_objext'
4876
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880
(exit $ac_status); }; }; then
4881
ac_cv_c_inline=$ac_kw; break
4883
echo "$as_me: failed program was:" >&5
4884
sed 's/^/| /' conftest.$ac_ext >&5
4887
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4891
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4892
echo "${ECHO_T}$ac_cv_c_inline" >&6
4895
case $ac_cv_c_inline in
4898
case $ac_cv_c_inline in
4900
*) ac_val=$ac_cv_c_inline;;
4902
cat >>confdefs.h <<_ACEOF
4904
#define inline $ac_val
4911
# Checks for library functions.
4916
for ac_func in getopt getopt_long snprintf vsnprintf
4918
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4919
echo "$as_me:$LINENO: checking for $ac_func" >&5
4920
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4921
if eval "test \"\${$as_ac_var+set}\" = set"; then
4922
echo $ECHO_N "(cached) $ECHO_C" >&6
4924
cat >conftest.$ac_ext <<_ACEOF
4927
cat confdefs.h >>conftest.$ac_ext
4928
cat >>conftest.$ac_ext <<_ACEOF
4929
/* end confdefs.h. */
4930
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4931
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4932
#define $ac_func innocuous_$ac_func
4934
/* System header to define __stub macros and hopefully few prototypes,
4935
which can conflict with char $ac_func (); below.
4936
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4937
<limits.h> exists even on freestanding compilers. */
4940
# include <limits.h>
4942
# include <assert.h>
4947
/* Override any gcc2 internal prototype to avoid an error. */
4952
/* We use char because int might match the return type of a gcc2
4953
builtin and then its argument prototype would still apply. */
4955
/* The GNU C library defines this for functions which it implements
4956
to always fail with ENOSYS. Some functions are actually named
4957
something starting with __ and the normal name is an alias. */
4958
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4961
char (*f) () = $ac_func;
4970
return f != $ac_func;
4975
rm -f conftest.$ac_objext conftest$ac_exeext
4976
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4977
(eval $ac_link) 2>conftest.er1
4979
grep -v '^ *+' conftest.er1 >conftest.err
4981
cat conftest.err >&5
4982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983
(exit $ac_status); } &&
4984
{ ac_try='test -z "$ac_c_werror_flag"
4985
|| test ! -s conftest.err'
4986
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990
(exit $ac_status); }; } &&
4991
{ ac_try='test -s conftest$ac_exeext'
4992
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4995
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996
(exit $ac_status); }; }; then
4997
eval "$as_ac_var=yes"
4999
echo "$as_me: failed program was:" >&5
5000
sed 's/^/| /' conftest.$ac_ext >&5
5002
eval "$as_ac_var=no"
5004
rm -f conftest.err conftest.$ac_objext \
5005
conftest$ac_exeext conftest.$ac_ext
5007
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5008
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5009
if test `eval echo '${'$as_ac_var'}'` = yes; then
5010
cat >>confdefs.h <<_ACEOF
5011
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5019
cat >>confdefs.h <<\_ACEOF
5024
cat >>confdefs.h <<\_ACEOF
5029
# Check whether --enable-bzip2 or --disable-bzip2 was given.
5030
if test "${enable_bzip2+set}" = set; then
5031
enableval="$enable_bzip2"
5033
cat >>confdefs.h <<\_ACEOF
5038
echo "$as_me:$LINENO: checking for BZ2_bzBuffToBuffCompress in -lbz2" >&5
5039
echo $ECHO_N "checking for BZ2_bzBuffToBuffCompress in -lbz2... $ECHO_C" >&6
5040
if test "${ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress+set}" = set; then
5041
echo $ECHO_N "(cached) $ECHO_C" >&6
5043
ac_check_lib_save_LIBS=$LIBS
5045
cat >conftest.$ac_ext <<_ACEOF
5048
cat confdefs.h >>conftest.$ac_ext
5049
cat >>conftest.$ac_ext <<_ACEOF
5050
/* end confdefs.h. */
5052
/* Override any gcc2 internal prototype to avoid an error. */
5056
/* We use char because int might match the return type of a gcc2
5057
builtin and then its argument prototype would still apply. */
5058
char BZ2_bzBuffToBuffCompress ();
5062
BZ2_bzBuffToBuffCompress ();
5067
rm -f conftest.$ac_objext conftest$ac_exeext
5068
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5069
(eval $ac_link) 2>conftest.er1
5071
grep -v '^ *+' conftest.er1 >conftest.err
5073
cat conftest.err >&5
5074
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075
(exit $ac_status); } &&
5076
{ ac_try='test -z "$ac_c_werror_flag"
5077
|| test ! -s conftest.err'
5078
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082
(exit $ac_status); }; } &&
5083
{ ac_try='test -s conftest$ac_exeext'
5084
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088
(exit $ac_status); }; }; then
5089
ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress=yes
5091
echo "$as_me: failed program was:" >&5
5092
sed 's/^/| /' conftest.$ac_ext >&5
5094
ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress=no
5096
rm -f conftest.err conftest.$ac_objext \
5097
conftest$ac_exeext conftest.$ac_ext
5098
LIBS=$ac_check_lib_save_LIBS
5100
echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&5
5101
echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&6
5102
if test $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress = yes; then
5103
cat >>confdefs.h <<_ACEOF
5104
#define HAVE_LIBBZ2 1
5114
# Configure the library
5115
CFLAGS="$CFLAGS -DUSE_ERROR_SILENT -DUSE_COMPRESS"
5116
CXXFLAGS="$CXXFLAGS -DUSE_ERROR_SILENT -DUSE_COMPRESS"
5118
ac_config_files="$ac_config_files Makefile"
5120
cat >confcache <<\_ACEOF
5121
# This file is a shell script that caches the results of configure
5122
# tests run on this system so they can be shared between configure
5123
# scripts and configure runs, see configure's option --config-cache.
5124
# It is not useful on other systems. If it contains results you don't
5125
# want to keep, you may remove or edit it.
5127
# config.status only pays attention to the cache file if you give it
5128
# the --recheck option to rerun configure.
5130
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5131
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5136
# The following way of writing the cache mishandles newlines in values,
5137
# but we know of no workaround that is simple, portable, and efficient.
5138
# So, don't put newlines in cache variables' values.
5139
# Ultrix sh set writes to stderr and can't be redirected directly,
5140
# and sets the high bit in the cache file unless we assign to the vars.
5143
case `(ac_space=' '; set | grep ac_space) 2>&1` in
5145
# `set' does not quote correctly, so add quotes (double-quote
5146
# substitution turns \\\\ into \\, and sed turns \\ into \).
5149
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5152
# `set' quotes correctly as required by POSIX, so do not add quotes.
5154
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5161
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5163
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5165
if diff $cache_file confcache >/dev/null 2>&1; then :; else
5166
if test -w $cache_file; then
5167
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5168
cat confcache >$cache_file
5170
echo "not updating unwritable cache $cache_file"
5175
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5176
# Let make expand exec_prefix.
5177
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5179
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5180
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5181
# trailing colons and then remove the whole line if VPATH becomes empty
5182
# (actually we leave an empty line to preserve line numbers).
5183
if test "x$srcdir" = x.; then
5184
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5185
s/:*\$(srcdir):*/:/;
5186
s/:*\${srcdir}:*/:/;
5188
s/^\([^=]*=[ ]*\):*/\1/;
5194
DEFS=-DHAVE_CONFIG_H
5198
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5199
# 1. Remove the extension, and $U if already installed.
5200
ac_i=`echo "$ac_i" |
5201
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5203
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5204
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5208
LTLIBOBJS=$ac_ltlibobjs
5212
: ${CONFIG_STATUS=./config.status}
5213
ac_clean_files_save=$ac_clean_files
5214
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5215
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5216
echo "$as_me: creating $CONFIG_STATUS" >&6;}
5217
cat >$CONFIG_STATUS <<_ACEOF
5219
# Generated by $as_me.
5220
# Run this file to recreate the current configuration.
5221
# Compiler output produced by configure, useful for debugging
5222
# configure, is in config.log if it exists.
5227
SHELL=\${CONFIG_SHELL-$SHELL}
5230
cat >>$CONFIG_STATUS <<\_ACEOF
5231
## --------------------- ##
5232
## M4sh Initialization. ##
5233
## --------------------- ##
5235
# Be Bourne compatible
5236
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5239
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5240
# is contrary to our usage. Disable this feature.
5241
alias -g '${1+"$@"}'='"$@"'
5242
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5245
DUALCASE=1; export DUALCASE # for MKS sh
5247
# Support unset when possible.
5248
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5255
# Work around bugs in pre-3.0 UWIN ksh.
5256
$as_unset ENV MAIL MAILPATH
5263
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5264
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5265
LC_TELEPHONE LC_TIME
5267
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5268
eval $as_var=C; export $as_var
5274
# Required to use basename.
5275
if expr a : '\(a\)' >/dev/null 2>&1; then
5281
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5282
as_basename=basename
5288
# Name of the executable.
5289
as_me=`$as_basename "$0" ||
5290
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5291
X"$0" : 'X\(//\)$' \| \
5292
X"$0" : 'X\(/\)$' \| \
5293
. : '\(.\)' 2>/dev/null ||
5295
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5296
/^X\/\(\/\/\)$/{ s//\1/; q; }
5297
/^X\/\(\/\).*/{ s//\1/; q; }
5301
# PATH needs CR, and LINENO needs CR and PATH.
5302
# Avoid depending upon Character Ranges.
5303
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5304
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5305
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5306
as_cr_digits='0123456789'
5307
as_cr_alnum=$as_cr_Letters$as_cr_digits
5309
# The user is always right.
5310
if test "${PATH_SEPARATOR+set}" != set; then
5311
echo "#! /bin/sh" >conf$$.sh
5312
echo "exit 0" >>conf$$.sh
5314
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5325
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5326
test "x$as_lineno_1" != "x$as_lineno_2" &&
5327
test "x$as_lineno_3" = "x$as_lineno_2" || {
5328
# Find who we are. Look in the path if we contain no path at all
5331
*[\\/]* ) as_myself=$0 ;;
5332
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336
test -z "$as_dir" && as_dir=.
5337
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5342
# We did not find ourselves, most probably we were run as `sh COMMAND'
5343
# in which case we are not to be found in the path.
5344
if test "x$as_myself" = x; then
5347
if test ! -f "$as_myself"; then
5348
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5349
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5350
{ (exit 1); exit 1; }; }
5352
case $CONFIG_SHELL in
5354
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5355
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5358
test -z "$as_dir" && as_dir=.
5359
for as_base in sh bash ksh sh5; do
5362
if ("$as_dir/$as_base" -c '
5365
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5366
test "x$as_lineno_1" != "x$as_lineno_2" &&
5367
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5368
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5369
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5370
CONFIG_SHELL=$as_dir/$as_base
5372
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5380
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5381
# uniformly replaced by the line number. The first 'sed' inserts a
5382
# line-number line before each line; the second 'sed' does the real
5383
# work. The second script uses 'N' to pair each line-number line
5384
# with the numbered line, and appends trailing '-' during
5385
# substitution so that $LINENO is not a special case at line end.
5386
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5387
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5388
sed '=' <$as_myself |
5393
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5396
s,^['$as_cr_digits']*\n,,
5398
chmod +x $as_me.lineno ||
5399
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5400
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5401
{ (exit 1); exit 1; }; }
5403
# Don't try to exec as it changes $[0], causing all sort of problems
5404
# (the dirname of $[0] is not the place where we might find the
5405
# original and so on. Autoconf is especially sensible to this).
5407
# Exit status is that of the last command.
5412
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5413
*c*,-n*) ECHO_N= ECHO_C='
5415
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5416
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5419
if expr a : '\(a\)' >/dev/null 2>&1; then
5425
rm -f conf$$ conf$$.exe conf$$.file
5427
if ln -s conf$$.file conf$$ 2>/dev/null; then
5428
# We could just check for DJGPP; but this test a) works b) is more generic
5429
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5430
if test -f conf$$.exe; then
5431
# Don't use ln at all; we don't have any links
5436
elif ln conf$$.file conf$$ 2>/dev/null; then
5441
rm -f conf$$ conf$$.exe conf$$.file
5443
if mkdir -p . 2>/dev/null; then
5446
test -d ./-p && rmdir ./-p
5450
as_executable_p="test -f"
5452
# Sed expression to map a string onto a valid CPP name.
5453
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5455
# Sed expression to map a string onto a valid variable name.
5456
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5460
# We need space, tab and new line, in precisely that order.
5470
# Open the log real soon, to keep \$[0] and so on meaningful, and to
5471
# report actual input values of CONFIG_FILES etc. instead of their
5472
# values after options handling. Logging --version etc. is OK.
5476
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5477
## Running $as_me. ##
5482
This file was extended by AdvanceCOMP $as_me 1.15, which was
5483
generated by GNU Autoconf 2.59. Invocation command line was
5485
CONFIG_FILES = $CONFIG_FILES
5486
CONFIG_HEADERS = $CONFIG_HEADERS
5487
CONFIG_LINKS = $CONFIG_LINKS
5488
CONFIG_COMMANDS = $CONFIG_COMMANDS
5492
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5496
# Files that config.status was made for.
5497
if test -n "$ac_config_files"; then
5498
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5501
if test -n "$ac_config_headers"; then
5502
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5505
if test -n "$ac_config_links"; then
5506
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5509
if test -n "$ac_config_commands"; then
5510
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5513
cat >>$CONFIG_STATUS <<\_ACEOF
5516
\`$as_me' instantiates files from templates according to the
5517
current configuration.
5519
Usage: $0 [OPTIONS] [FILE]...
5521
-h, --help print this help, then exit
5522
-V, --version print version number, then exit
5523
-q, --quiet do not print progress messages
5524
-d, --debug don't remove temporary files
5525
--recheck update $as_me by reconfiguring in the same conditions
5526
--file=FILE[:TEMPLATE]
5527
instantiate the configuration file FILE
5528
--header=FILE[:TEMPLATE]
5529
instantiate the configuration header FILE
5531
Configuration files:
5534
Configuration headers:
5537
Report bugs to <bug-autoconf@gnu.org>."
5540
cat >>$CONFIG_STATUS <<_ACEOF
5542
AdvanceCOMP config.status 1.15
5543
configured by $0, generated by GNU Autoconf 2.59,
5544
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5546
Copyright (C) 2003 Free Software Foundation, Inc.
5547
This config.status script is free software; the Free Software Foundation
5548
gives unlimited permission to copy, distribute and modify it."
5553
cat >>$CONFIG_STATUS <<\_ACEOF
5554
# If no file are specified by the user, then we need to provide default
5555
# value. By we need to know if files were specified by the user.
5561
ac_option=`expr "x$1" : 'x\([^=]*\)='`
5562
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5570
*) # This is not an option, so the user has probably given explicit
5573
ac_need_defaults=false;;
5577
# Handling of the options.
5579
cat >>$CONFIG_STATUS <<\_ACEOF
5580
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5582
--version | --vers* | -V )
5583
echo "$ac_cs_version"; exit 0 ;;
5585
# Conflict between --help and --header
5586
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
5587
Try \`$0 --help' for more information." >&5
5588
echo "$as_me: error: ambiguous option: $1
5589
Try \`$0 --help' for more information." >&2;}
5590
{ (exit 1); exit 1; }; };;
5591
--help | --hel | -h )
5592
echo "$ac_cs_usage"; exit 0 ;;
5593
--debug | --d* | -d )
5595
--file | --fil | --fi | --f )
5597
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5598
ac_need_defaults=false;;
5599
--header | --heade | --head | --hea )
5601
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5602
ac_need_defaults=false;;
5603
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5604
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5608
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5609
Try \`$0 --help' for more information." >&5
5610
echo "$as_me: error: unrecognized option: $1
5611
Try \`$0 --help' for more information." >&2;}
5612
{ (exit 1); exit 1; }; } ;;
5614
*) ac_config_targets="$ac_config_targets $1" ;;
5620
ac_configure_extra_args=
5622
if $ac_cs_silent; then
5624
ac_configure_extra_args="$ac_configure_extra_args --silent"
5628
cat >>$CONFIG_STATUS <<_ACEOF
5629
if \$ac_cs_recheck; then
5630
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5631
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5640
cat >>$CONFIG_STATUS <<\_ACEOF
5641
for ac_config_target in $ac_config_targets
5643
case "$ac_config_target" in
5644
# Handling of arguments.
5645
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5646
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5647
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5648
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5649
{ (exit 1); exit 1; }; };;
5653
# If the user did not use the arguments to specify the items to instantiate,
5654
# then the envvar interface is used. Set only those that are not.
5655
# We use the long form for the default assignment because of an extremely
5656
# bizarre bug on SunOS 4.1.3.
5657
if $ac_need_defaults; then
5658
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5659
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5662
# Have a temporary directory for convenience. Make it in the build tree
5663
# simply because there is no reason to put it here, and in addition,
5664
# creating and moving files from /tmp can sometimes cause problems.
5665
# Create a temporary directory, and hook for its removal unless debugging.
5668
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5669
trap '{ (exit 1); exit 1; }' 1 2 13 15
5672
# Create a (secure) tmp directory for tmp files.
5675
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5676
test -n "$tmp" && test -d "$tmp"
5679
tmp=./confstat$$-$RANDOM
5680
(umask 077 && mkdir $tmp)
5683
echo "$me: cannot create a temporary directory in ." >&2
5684
{ (exit 1); exit 1; }
5689
cat >>$CONFIG_STATUS <<_ACEOF
5692
# CONFIG_FILES section.
5695
# No need to generate the scripts if there are no CONFIG_FILES.
5696
# This happens for instance when ./config.status config.h
5697
if test -n "\$CONFIG_FILES"; then
5698
# Protect against being on the right side of a sed subst in config.status.
5699
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5700
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5701
s,@SHELL@,$SHELL,;t t
5702
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5703
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5704
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5705
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5706
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5707
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5708
s,@exec_prefix@,$exec_prefix,;t t
5709
s,@prefix@,$prefix,;t t
5710
s,@program_transform_name@,$program_transform_name,;t t
5711
s,@bindir@,$bindir,;t t
5712
s,@sbindir@,$sbindir,;t t
5713
s,@libexecdir@,$libexecdir,;t t
5714
s,@datadir@,$datadir,;t t
5715
s,@sysconfdir@,$sysconfdir,;t t
5716
s,@sharedstatedir@,$sharedstatedir,;t t
5717
s,@localstatedir@,$localstatedir,;t t
5718
s,@libdir@,$libdir,;t t
5719
s,@includedir@,$includedir,;t t
5720
s,@oldincludedir@,$oldincludedir,;t t
5721
s,@infodir@,$infodir,;t t
5722
s,@mandir@,$mandir,;t t
5723
s,@build_alias@,$build_alias,;t t
5724
s,@host_alias@,$host_alias,;t t
5725
s,@target_alias@,$target_alias,;t t
5727
s,@ECHO_C@,$ECHO_C,;t t
5728
s,@ECHO_N@,$ECHO_N,;t t
5729
s,@ECHO_T@,$ECHO_T,;t t
5731
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5732
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5733
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5734
s,@CYGPATH_W@,$CYGPATH_W,;t t
5735
s,@PACKAGE@,$PACKAGE,;t t
5736
s,@VERSION@,$VERSION,;t t
5737
s,@ACLOCAL@,$ACLOCAL,;t t
5738
s,@AUTOCONF@,$AUTOCONF,;t t
5739
s,@AUTOMAKE@,$AUTOMAKE,;t t
5740
s,@AUTOHEADER@,$AUTOHEADER,;t t
5741
s,@MAKEINFO@,$MAKEINFO,;t t
5742
s,@install_sh@,$install_sh,;t t
5743
s,@STRIP@,$STRIP,;t t
5744
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5745
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5746
s,@mkdir_p@,$mkdir_p,;t t
5748
s,@SET_MAKE@,$SET_MAKE,;t t
5749
s,@am__leading_dot@,$am__leading_dot,;t t
5750
s,@AMTAR@,$AMTAR,;t t
5751
s,@am__tar@,$am__tar,;t t
5752
s,@am__untar@,$am__untar,;t t
5753
s,@build@,$build,;t t
5754
s,@build_cpu@,$build_cpu,;t t
5755
s,@build_vendor@,$build_vendor,;t t
5756
s,@build_os@,$build_os,;t t
5758
s,@host_cpu@,$host_cpu,;t t
5759
s,@host_vendor@,$host_vendor,;t t
5760
s,@host_os@,$host_os,;t t
5762
s,@CFLAGS@,$CFLAGS,;t t
5763
s,@LDFLAGS@,$LDFLAGS,;t t
5764
s,@CPPFLAGS@,$CPPFLAGS,;t t
5765
s,@ac_ct_CC@,$ac_ct_CC,;t t
5766
s,@EXEEXT@,$EXEEXT,;t t
5767
s,@OBJEXT@,$OBJEXT,;t t
5769
s,@CXXFLAGS@,$CXXFLAGS,;t t
5770
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
5773
s,@GROFF@,$GROFF,;t t
5776
s,@EGREP@,$EGREP,;t t
5777
s,@LIBOBJS@,$LIBOBJS,;t t
5778
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5783
cat >>$CONFIG_STATUS <<\_ACEOF
5784
# Split the substitutions into bite-sized pieces for seds with
5785
# small command number limits, like on Digital OSF/1 and HP-UX.
5787
ac_sed_frag=1 # Number of current file.
5788
ac_beg=1 # First line for current file.
5789
ac_end=$ac_max_sed_lines # Line after last line for current file.
5792
while $ac_more_lines; do
5793
if test $ac_beg -gt 1; then
5794
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5796
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5798
if test ! -s $tmp/subs.frag; then
5801
# The purpose of the label and of the branching condition is to
5802
# speed up the sed processing (if there are no `@' at all, there
5803
# is no need to browse any of the substitutions).
5804
# These are the two extra sed commands mentioned above.
5806
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5807
if test -z "$ac_sed_cmds"; then
5808
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5810
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5812
ac_sed_frag=`expr $ac_sed_frag + 1`
5814
ac_end=`expr $ac_end + $ac_max_sed_lines`
5817
if test -z "$ac_sed_cmds"; then
5820
fi # test -n "$CONFIG_FILES"
5823
cat >>$CONFIG_STATUS <<\_ACEOF
5824
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5825
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5827
- | *:- | *:-:* ) # input from stdin
5829
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5830
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5831
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5832
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5833
* ) ac_file_in=$ac_file.in ;;
5836
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5837
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5838
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5839
X"$ac_file" : 'X\(//\)[^/]' \| \
5840
X"$ac_file" : 'X\(//\)$' \| \
5841
X"$ac_file" : 'X\(/\)' \| \
5842
. : '\(.\)' 2>/dev/null ||
5844
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5845
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5846
/^X\(\/\/\)$/{ s//\1/; q; }
5847
/^X\(\/\).*/{ s//\1/; q; }
5849
{ if $as_mkdir_p; then
5854
while test ! -d "$as_dir"; do
5855
as_dirs="$as_dir $as_dirs"
5856
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5857
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5858
X"$as_dir" : 'X\(//\)[^/]' \| \
5859
X"$as_dir" : 'X\(//\)$' \| \
5860
X"$as_dir" : 'X\(/\)' \| \
5861
. : '\(.\)' 2>/dev/null ||
5863
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5864
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5865
/^X\(\/\/\)$/{ s//\1/; q; }
5866
/^X\(\/\).*/{ s//\1/; q; }
5869
test ! -n "$as_dirs" || mkdir $as_dirs
5870
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5871
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5872
{ (exit 1); exit 1; }; }; }
5876
if test "$ac_dir" != .; then
5877
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5878
# A "../" for each directory in $ac_dir_suffix.
5879
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5881
ac_dir_suffix= ac_top_builddir=
5885
.) # No --srcdir option. We are building in place.
5887
if test -z "$ac_top_builddir"; then
5890
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5892
[\\/]* | ?:[\\/]* ) # Absolute path.
5893
ac_srcdir=$srcdir$ac_dir_suffix;
5894
ac_top_srcdir=$srcdir ;;
5896
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5897
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5900
# Do not use `cd foo && pwd` to compute absolute paths, because
5901
# the directories may not exist.
5903
.) ac_abs_builddir="$ac_dir";;
5906
.) ac_abs_builddir=`pwd`;;
5907
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5908
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5911
case $ac_abs_builddir in
5912
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5914
case ${ac_top_builddir}. in
5915
.) ac_abs_top_builddir=$ac_abs_builddir;;
5916
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5917
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5920
case $ac_abs_builddir in
5921
.) ac_abs_srcdir=$ac_srcdir;;
5924
.) ac_abs_srcdir=$ac_abs_builddir;;
5925
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5926
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5929
case $ac_abs_builddir in
5930
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5932
case $ac_top_srcdir in
5933
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5934
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5935
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5941
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5942
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5945
if test x"$ac_file" != x-; then
5946
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5947
echo "$as_me: creating $ac_file" >&6;}
5950
# Let's still pretend it is `configure' which instantiates (i.e., don't
5951
# use $as_me), people would be surprised to read:
5952
# /* config.h. Generated by config.status. */
5953
if test x"$ac_file" = x-; then
5956
configure_input="$ac_file. "
5958
configure_input=$configure_input"Generated from `echo $ac_file_in |
5959
sed 's,.*/,,'` by configure."
5961
# First look for the input files in the build tree, otherwise in the
5963
ac_file_inputs=`IFS=:
5964
for f in $ac_file_in; do
5966
-) echo $tmp/stdin ;;
5968
# Absolute (can't be DOS-style, as IFS=:)
5969
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5970
echo "$as_me: error: cannot find input file: $f" >&2;}
5971
{ (exit 1); exit 1; }; }
5974
if test -f "$f"; then
5977
elif test -f "$srcdir/$f"; then
5982
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5983
echo "$as_me: error: cannot find input file: $f" >&2;}
5984
{ (exit 1); exit 1; }; }
5987
done` || { (exit 1); exit 1; }
5989
cat >>$CONFIG_STATUS <<_ACEOF
5993
cat >>$CONFIG_STATUS <<\_ACEOF
5995
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5996
s,@configure_input@,$configure_input,;t t
5997
s,@srcdir@,$ac_srcdir,;t t
5998
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5999
s,@top_srcdir@,$ac_top_srcdir,;t t
6000
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6001
s,@builddir@,$ac_builddir,;t t
6002
s,@abs_builddir@,$ac_abs_builddir,;t t
6003
s,@top_builddir@,$ac_top_builddir,;t t
6004
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6005
s,@INSTALL@,$ac_INSTALL,;t t
6006
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6008
if test x"$ac_file" != x-; then
6009
mv $tmp/out $ac_file
6017
cat >>$CONFIG_STATUS <<\_ACEOF
6020
# CONFIG_HEADER section.
6023
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6024
# NAME is the cpp macro being defined and VALUE is the value it is being given.
6026
# ac_d sets the value in "#define NAME VALUE" lines.
6027
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6028
ac_dB='[ ].*$,\1#\2'
6031
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6032
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6033
ac_uB='$,\1#\2define\3'
6037
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6038
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6040
- | *:- | *:-:* ) # input from stdin
6042
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6043
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6044
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6045
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6046
* ) ac_file_in=$ac_file.in ;;
6049
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6050
echo "$as_me: creating $ac_file" >&6;}
6052
# First look for the input files in the build tree, otherwise in the
6054
ac_file_inputs=`IFS=:
6055
for f in $ac_file_in; do
6057
-) echo $tmp/stdin ;;
6059
# Absolute (can't be DOS-style, as IFS=:)
6060
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6061
echo "$as_me: error: cannot find input file: $f" >&2;}
6062
{ (exit 1); exit 1; }; }
6063
# Do quote $f, to prevent DOS paths from being IFS'd.
6066
if test -f "$f"; then
6069
elif test -f "$srcdir/$f"; then
6074
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6075
echo "$as_me: error: cannot find input file: $f" >&2;}
6076
{ (exit 1); exit 1; }; }
6079
done` || { (exit 1); exit 1; }
6080
# Remove the trailing spaces.
6081
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6085
# Transform confdefs.h into two sed scripts, `conftest.defines' and
6086
# `conftest.undefs', that substitutes the proper values into
6087
# config.h.in to produce config.h. The first handles `#define'
6088
# templates, and the second `#undef' templates.
6089
# And first: Protect against being on the right side of a sed subst in
6090
# config.status. Protect against being in an unquoted here document
6092
rm -f conftest.defines conftest.undefs
6093
# Using a here document instead of a string reduces the quoting nightmare.
6094
# Putting comments in sed scripts is not portable.
6096
# `end' is used to avoid that the second main sed command (meant for
6097
# 0-ary CPP macros) applies to n-ary macro definitions.
6098
# See the Autoconf documentation for `clear'.
6099
cat >confdef2sed.sed <<\_ACEOF
6104
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6106
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6109
# If some macros were called several times there might be several times
6110
# the same #defines, which is useless. Nevertheless, we may not want to
6111
# sort them, since we want the *last* AC-DEFINE to be honored.
6112
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6113
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6114
rm -f confdef2sed.sed
6116
# This sed command replaces #undef with comments. This is necessary, for
6117
# example, in the case of _POSIX_SOURCE, which is predefined and required
6118
# on some systems where configure will not decide to define it.
6119
cat >>conftest.undefs <<\_ACEOF
6120
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6123
# Break up conftest.defines because some shells have a limit on the size
6124
# of here documents, and old seds have small limits too (100 cmds).
6125
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6126
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6127
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6128
echo ' :' >>$CONFIG_STATUS
6130
while grep . conftest.defines >/dev/null
6132
# Write a limited-size here document to $tmp/defines.sed.
6133
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6134
# Speed up: don't consider the non `#define' lines.
6135
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6136
# Work around the forget-to-reset-the-flag bug.
6137
echo 't clr' >>$CONFIG_STATUS
6138
echo ': clr' >>$CONFIG_STATUS
6139
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6141
sed -f $tmp/defines.sed $tmp/in >$tmp/out
6145
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6146
rm -f conftest.defines
6147
mv conftest.tail conftest.defines
6149
rm -f conftest.defines
6150
echo ' fi # grep' >>$CONFIG_STATUS
6151
echo >>$CONFIG_STATUS
6153
# Break up conftest.undefs because some shells have a limit on the size
6154
# of here documents, and old seds have small limits too (100 cmds).
6155
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6157
while grep . conftest.undefs >/dev/null
6159
# Write a limited-size here document to $tmp/undefs.sed.
6160
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6161
# Speed up: don't consider the non `#undef'
6162
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6163
# Work around the forget-to-reset-the-flag bug.
6164
echo 't clr' >>$CONFIG_STATUS
6165
echo ': clr' >>$CONFIG_STATUS
6166
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6168
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6172
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6173
rm -f conftest.undefs
6174
mv conftest.tail conftest.undefs
6176
rm -f conftest.undefs
6178
cat >>$CONFIG_STATUS <<\_ACEOF
6179
# Let's still pretend it is `configure' which instantiates (i.e., don't
6180
# use $as_me), people would be surprised to read:
6181
# /* config.h. Generated by config.status. */
6182
if test x"$ac_file" = x-; then
6183
echo "/* Generated by configure. */" >$tmp/config.h
6185
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6187
cat $tmp/in >>$tmp/config.h
6189
if test x"$ac_file" != x-; then
6190
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6191
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6192
echo "$as_me: $ac_file is unchanged" >&6;}
6194
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6195
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6196
X"$ac_file" : 'X\(//\)[^/]' \| \
6197
X"$ac_file" : 'X\(//\)$' \| \
6198
X"$ac_file" : 'X\(/\)' \| \
6199
. : '\(.\)' 2>/dev/null ||
6201
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6202
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6203
/^X\(\/\/\)$/{ s//\1/; q; }
6204
/^X\(\/\).*/{ s//\1/; q; }
6206
{ if $as_mkdir_p; then
6211
while test ! -d "$as_dir"; do
6212
as_dirs="$as_dir $as_dirs"
6213
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6214
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6215
X"$as_dir" : 'X\(//\)[^/]' \| \
6216
X"$as_dir" : 'X\(//\)$' \| \
6217
X"$as_dir" : 'X\(/\)' \| \
6218
. : '\(.\)' 2>/dev/null ||
6220
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6221
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6222
/^X\(\/\/\)$/{ s//\1/; q; }
6223
/^X\(\/\).*/{ s//\1/; q; }
6226
test ! -n "$as_dirs" || mkdir $as_dirs
6227
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6228
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6229
{ (exit 1); exit 1; }; }; }
6232
mv $tmp/config.h $ac_file
6238
# Compute $ac_file's index in $config_headers.
6240
for _am_header in $config_headers :; do
6242
$ac_file | $ac_file:* )
6245
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
6248
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6249
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6250
X$ac_file : 'X\(//\)[^/]' \| \
6251
X$ac_file : 'X\(//\)$' \| \
6252
X$ac_file : 'X\(/\)' \| \
6253
. : '\(.\)' 2>/dev/null ||
6255
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6256
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6257
/^X\(\/\/\)$/{ s//\1/; q; }
6258
/^X\(\/\).*/{ s//\1/; q; }
6259
s/.*/./; q'`/stamp-h$_am_stamp_count
6263
cat >>$CONFIG_STATUS <<\_ACEOF
6265
{ (exit 0); exit 0; }
6267
chmod +x $CONFIG_STATUS
6268
ac_clean_files=$ac_clean_files_save
6271
# configure is writing to config.log, and then calls config.status.
6272
# config.status does its own redirection, appending to config.log.
6273
# Unfortunately, on DOS this fails, as config.log is still kept open
6274
# by configure, so config.status won't be able to write to it; its
6275
# output is simply discarded. So we exec the FD to /dev/null,
6276
# effectively closing config.log, so it can be properly (re)opened and
6277
# appended to by config.status. When coming back to configure, we
6278
# need to make the FD available again.
6279
if test "$no_create" != yes; then
6281
ac_config_status_args=
6282
test "$silent" = yes &&
6283
ac_config_status_args="$ac_config_status_args --quiet"
6285
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6287
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6288
# would make configure fail if this is the last instruction.
6289
$ac_cs_success || { (exit 1); exit 1; }