2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for inform 6.31.1.
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='inform'
269
PACKAGE_TARNAME='inform'
270
PACKAGE_VERSION='6.31.1'
271
PACKAGE_STRING='inform 6.31.1'
274
ac_unique_file="src/inform.c"
275
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 INFORM_VERSION 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 CYGWIN_TRUE CYGWIN_FALSE HOST CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S LIBOBJS LTLIBOBJS'
276
ac_subst_files='make_include'
278
# Initialize some variables set by options.
280
ac_init_version=false
281
# The variables have the same names as the options, with
282
# dashes changed to underlines.
290
program_transform_name=s,x,x,
298
# Installation directory options.
299
# These are left unexpanded so users can "make install exec_prefix=/foo"
300
# and all the variables that are supposed to be based on exec_prefix
301
# by default will actually change.
302
# Use braces instead of parens because sh, perl, etc. also accept them.
303
bindir='${exec_prefix}/bin'
304
sbindir='${exec_prefix}/sbin'
305
libexecdir='${exec_prefix}/libexec'
306
datadir='${prefix}/share'
307
sysconfdir='${prefix}/etc'
308
sharedstatedir='${prefix}/com'
309
localstatedir='${prefix}/var'
310
libdir='${exec_prefix}/lib'
311
includedir='${prefix}/include'
312
oldincludedir='/usr/include'
313
infodir='${prefix}/info'
314
mandir='${prefix}/man'
319
# If the previous option needs an argument, assign it.
320
if test -n "$ac_prev"; then
321
eval "$ac_prev=\$ac_option"
326
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
# Accept the important Cygnus configure options, so we can diagnose typos.
332
-bindir | --bindir | --bindi | --bind | --bin | --bi)
334
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337
-build | --build | --buil | --bui | --bu)
338
ac_prev=build_alias ;;
339
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
340
build_alias=$ac_optarg ;;
342
-cache-file | --cache-file | --cache-fil | --cache-fi \
343
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344
ac_prev=cache_file ;;
345
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347
cache_file=$ac_optarg ;;
350
cache_file=config.cache ;;
352
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356
datadir=$ac_optarg ;;
358
-disable-* | --disable-*)
359
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360
# Reject names that are not valid shell variable names.
361
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
363
{ (exit 1); exit 1; }; }
364
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365
eval "enable_$ac_feature=no" ;;
367
-enable-* | --enable-*)
368
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369
# Reject names that are not valid shell variable names.
370
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
372
{ (exit 1); exit 1; }; }
373
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378
eval "enable_$ac_feature='$ac_optarg'" ;;
380
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382
| --exec | --exe | --ex)
383
ac_prev=exec_prefix ;;
384
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386
| --exec=* | --exe=* | --ex=*)
387
exec_prefix=$ac_optarg ;;
389
-gas | --gas | --ga | --g)
390
# Obsolete; use --with-gas.
393
-help | --help | --hel | --he | -h)
395
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396
ac_init_help=recursive ;;
397
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398
ac_init_help=short ;;
400
-host | --host | --hos | --ho)
401
ac_prev=host_alias ;;
402
-host=* | --host=* | --hos=* | --ho=*)
403
host_alias=$ac_optarg ;;
405
-includedir | --includedir | --includedi | --included | --include \
406
| --includ | --inclu | --incl | --inc)
407
ac_prev=includedir ;;
408
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409
| --includ=* | --inclu=* | --incl=* | --inc=*)
410
includedir=$ac_optarg ;;
412
-infodir | --infodir | --infodi | --infod | --info | --inf)
414
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415
infodir=$ac_optarg ;;
417
-libdir | --libdir | --libdi | --libd)
419
-libdir=* | --libdir=* | --libdi=* | --libd=*)
422
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423
| --libexe | --libex | --libe)
424
ac_prev=libexecdir ;;
425
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426
| --libexe=* | --libex=* | --libe=*)
427
libexecdir=$ac_optarg ;;
429
-localstatedir | --localstatedir | --localstatedi | --localstated \
430
| --localstate | --localstat | --localsta | --localst \
431
| --locals | --local | --loca | --loc | --lo)
432
ac_prev=localstatedir ;;
433
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
435
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436
localstatedir=$ac_optarg ;;
438
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444
# Obsolete; use --without-fp.
447
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
448
| --no-cr | --no-c | -n)
451
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
452
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457
| --oldin | --oldi | --old | --ol | --o)
458
ac_prev=oldincludedir ;;
459
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462
oldincludedir=$ac_optarg ;;
464
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469
-program-prefix | --program-prefix | --program-prefi | --program-pref \
470
| --program-pre | --program-pr | --program-p)
471
ac_prev=program_prefix ;;
472
-program-prefix=* | --program-prefix=* | --program-prefi=* \
473
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474
program_prefix=$ac_optarg ;;
476
-program-suffix | --program-suffix | --program-suffi | --program-suff \
477
| --program-suf | --program-su | --program-s)
478
ac_prev=program_suffix ;;
479
-program-suffix=* | --program-suffix=* | --program-suffi=* \
480
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481
program_suffix=$ac_optarg ;;
483
-program-transform-name | --program-transform-name \
484
| --program-transform-nam | --program-transform-na \
485
| --program-transform-n | --program-transform- \
486
| --program-transform | --program-transfor \
487
| --program-transfo | --program-transf \
488
| --program-trans | --program-tran \
489
| --progr-tra | --program-tr | --program-t)
490
ac_prev=program_transform_name ;;
491
-program-transform-name=* | --program-transform-name=* \
492
| --program-transform-nam=* | --program-transform-na=* \
493
| --program-transform-n=* | --program-transform-=* \
494
| --program-transform=* | --program-transfor=* \
495
| --program-transfo=* | --program-transf=* \
496
| --program-trans=* | --program-tran=* \
497
| --progr-tra=* | --program-tr=* | --program-t=*)
498
program_transform_name=$ac_optarg ;;
500
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
501
| -silent | --silent | --silen | --sile | --sil)
504
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508
sbindir=$ac_optarg ;;
510
-sharedstatedir | --sharedstatedir | --sharedstatedi \
511
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512
| --sharedst | --shareds | --shared | --share | --shar \
514
ac_prev=sharedstatedir ;;
515
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519
sharedstatedir=$ac_optarg ;;
521
-site | --site | --sit)
523
-site=* | --site=* | --sit=*)
526
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532
| --syscon | --sysco | --sysc | --sys | --sy)
533
ac_prev=sysconfdir ;;
534
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536
sysconfdir=$ac_optarg ;;
538
-target | --target | --targe | --targ | --tar | --ta | --t)
539
ac_prev=target_alias ;;
540
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541
target_alias=$ac_optarg ;;
543
-v | -verbose | --verbose | --verbos | --verbo | --verb)
546
-version | --version | --versio | --versi | --vers | -V)
550
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551
# Reject names that are not valid shell variable names.
552
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553
{ echo "$as_me: error: invalid package name: $ac_package" >&2
554
{ (exit 1); exit 1; }; }
555
ac_package=`echo $ac_package| sed 's/-/_/g'`
557
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560
eval "with_$ac_package='$ac_optarg'" ;;
562
-without-* | --without-*)
563
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564
# Reject names that are not valid shell variable names.
565
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566
{ echo "$as_me: error: invalid package name: $ac_package" >&2
567
{ (exit 1); exit 1; }; }
568
ac_package=`echo $ac_package | sed 's/-/_/g'`
569
eval "with_$ac_package=no" ;;
572
# Obsolete; use --with-x.
575
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576
| --x-incl | --x-inc | --x-in | --x-i)
577
ac_prev=x_includes ;;
578
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580
x_includes=$ac_optarg ;;
582
-x-libraries | --x-libraries | --x-librarie | --x-librari \
583
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584
ac_prev=x_libraries ;;
585
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587
x_libraries=$ac_optarg ;;
589
-*) { echo "$as_me: error: unrecognized option: $ac_option
590
Try \`$0 --help' for more information." >&2
591
{ (exit 1); exit 1; }; }
595
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596
# Reject names that are not valid shell variable names.
597
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599
{ (exit 1); exit 1; }; }
600
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601
eval "$ac_envvar='$ac_optarg'"
605
# FIXME: should be removed in autoconf 3.0.
606
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615
if test -n "$ac_prev"; then
616
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617
{ echo "$as_me: error: missing argument to $ac_option" >&2
618
{ (exit 1); exit 1; }; }
621
# Be sure to have absolute paths.
622
for ac_var in exec_prefix prefix
624
eval ac_val=$`echo $ac_var`
626
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628
{ (exit 1); exit 1; }; };;
632
# Be sure to have absolute paths.
633
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634
localstatedir libdir includedir oldincludedir infodir mandir
636
eval ac_val=$`echo $ac_var`
638
[\\/$]* | ?:[\\/]* ) ;;
639
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640
{ (exit 1); exit 1; }; };;
644
# There might be people who depend on the old broken behavior: `$host'
645
# used to hold the argument of --host etc.
646
# FIXME: To remove some day.
651
# FIXME: To remove some day.
652
if test "x$host_alias" != x; then
653
if test "x$build_alias" = x; then
654
cross_compiling=maybe
655
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656
If a cross compiler is detected then cross compile mode will be used." >&2
657
elif test "x$build_alias" != "x$host_alias"; then
663
test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
test "$silent" = yes && exec 6>/dev/null
668
# Find the source files, if location was not specified.
669
if test -z "$srcdir"; then
670
ac_srcdir_defaulted=yes
671
# Try the directory containing this script, then its parent.
672
ac_confdir=`(dirname "$0") 2>/dev/null ||
673
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674
X"$0" : 'X\(//\)[^/]' \| \
675
X"$0" : 'X\(//\)$' \| \
676
X"$0" : 'X\(/\)' \| \
677
. : '\(.\)' 2>/dev/null ||
679
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
681
/^X\(\/\/\)$/{ s//\1/; q; }
682
/^X\(\/\).*/{ s//\1/; q; }
685
if test ! -r $srcdir/$ac_unique_file; then
689
ac_srcdir_defaulted=no
691
if test ! -r $srcdir/$ac_unique_file; then
692
if test "$ac_srcdir_defaulted" = yes; then
693
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694
{ (exit 1); exit 1; }; }
696
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697
{ (exit 1); exit 1; }; }
700
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702
{ (exit 1); exit 1; }; }
703
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704
ac_env_build_alias_set=${build_alias+set}
705
ac_env_build_alias_value=$build_alias
706
ac_cv_env_build_alias_set=${build_alias+set}
707
ac_cv_env_build_alias_value=$build_alias
708
ac_env_host_alias_set=${host_alias+set}
709
ac_env_host_alias_value=$host_alias
710
ac_cv_env_host_alias_set=${host_alias+set}
711
ac_cv_env_host_alias_value=$host_alias
712
ac_env_target_alias_set=${target_alias+set}
713
ac_env_target_alias_value=$target_alias
714
ac_cv_env_target_alias_set=${target_alias+set}
715
ac_cv_env_target_alias_value=$target_alias
716
ac_env_CC_set=${CC+set}
718
ac_cv_env_CC_set=${CC+set}
719
ac_cv_env_CC_value=$CC
720
ac_env_CFLAGS_set=${CFLAGS+set}
721
ac_env_CFLAGS_value=$CFLAGS
722
ac_cv_env_CFLAGS_set=${CFLAGS+set}
723
ac_cv_env_CFLAGS_value=$CFLAGS
724
ac_env_LDFLAGS_set=${LDFLAGS+set}
725
ac_env_LDFLAGS_value=$LDFLAGS
726
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727
ac_cv_env_LDFLAGS_value=$LDFLAGS
728
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729
ac_env_CPPFLAGS_value=$CPPFLAGS
730
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734
# Report the --help message.
736
if test "$ac_init_help" = "long"; then
737
# Omit some internal or obsolete options to make the list less imposing.
738
# This message is too long to be a string in the A/UX 3.1 sh.
740
\`configure' configures inform 6.31.1 to adapt to many kinds of systems.
742
Usage: $0 [OPTION]... [VAR=VALUE]...
744
To assign environment variables (e.g., CC, CFLAGS...), specify them as
745
VAR=VALUE. See below for descriptions of some of the useful variables.
747
Defaults for the options are specified in brackets.
750
-h, --help display this help and exit
751
--help=short display options specific to this package
752
--help=recursive display the short help of all the included packages
753
-V, --version display version information and exit
754
-q, --quiet, --silent do not print \`checking...' messages
755
--cache-file=FILE cache test results in FILE [disabled]
756
-C, --config-cache alias for \`--cache-file=config.cache'
757
-n, --no-create do not create output files
758
--srcdir=DIR find the sources in DIR [configure dir or \`..']
763
Installation directories:
764
--prefix=PREFIX install architecture-independent files in PREFIX
766
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
769
By default, \`make install' will install all the files in
770
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772
for instance \`--prefix=\$HOME'.
774
For better control, use the options below.
776
Fine tuning of the installation directories:
777
--bindir=DIR user executables [EPREFIX/bin]
778
--sbindir=DIR system admin executables [EPREFIX/sbin]
779
--libexecdir=DIR program executables [EPREFIX/libexec]
780
--datadir=DIR read-only architecture-independent data [PREFIX/share]
781
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
784
--libdir=DIR object code libraries [EPREFIX/lib]
785
--includedir=DIR C header files [PREFIX/include]
786
--oldincludedir=DIR C header files for non-gcc [/usr/include]
787
--infodir=DIR info documentation [PREFIX/info]
788
--mandir=DIR man documentation [PREFIX/man]
794
--program-prefix=PREFIX prepend PREFIX to installed program names
795
--program-suffix=SUFFIX append SUFFIX to installed program names
796
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
799
--build=BUILD configure for building on BUILD [guessed]
800
--host=HOST cross-compile to build programs to run on HOST [BUILD]
804
if test -n "$ac_init_help"; then
805
case $ac_init_help in
806
short | recursive ) echo "Configuration of inform 6.31.1:";;
811
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
812
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
813
--disable-dependency-tracking speeds up one-time build
814
--enable-dependency-tracking do not reject slow dependency extractors
816
Some influential environment variables:
817
CC C compiler command
818
CFLAGS C compiler flags
819
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
820
nonstandard directory <lib dir>
821
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
822
headers in a nonstandard directory <include dir>
824
Use these variables to override the choices made by `configure' or to help
825
it to find libraries and programs with nonstandard names/locations.
830
if test "$ac_init_help" = "recursive"; then
831
# If there are subdirs, report their specific --help.
833
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
834
test -d $ac_dir || continue
837
if test "$ac_dir" != .; then
838
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
839
# A "../" for each directory in $ac_dir_suffix.
840
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
842
ac_dir_suffix= ac_top_builddir=
846
.) # No --srcdir option. We are building in place.
848
if test -z "$ac_top_builddir"; then
851
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
853
[\\/]* | ?:[\\/]* ) # Absolute path.
854
ac_srcdir=$srcdir$ac_dir_suffix;
855
ac_top_srcdir=$srcdir ;;
857
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
858
ac_top_srcdir=$ac_top_builddir$srcdir ;;
861
# Do not use `cd foo && pwd` to compute absolute paths, because
862
# the directories may not exist.
864
.) ac_abs_builddir="$ac_dir";;
867
.) ac_abs_builddir=`pwd`;;
868
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
869
*) ac_abs_builddir=`pwd`/"$ac_dir";;
872
case $ac_abs_builddir in
873
.) ac_abs_top_builddir=${ac_top_builddir}.;;
875
case ${ac_top_builddir}. in
876
.) ac_abs_top_builddir=$ac_abs_builddir;;
877
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
878
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
881
case $ac_abs_builddir in
882
.) ac_abs_srcdir=$ac_srcdir;;
885
.) ac_abs_srcdir=$ac_abs_builddir;;
886
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
887
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
890
case $ac_abs_builddir in
891
.) ac_abs_top_srcdir=$ac_top_srcdir;;
893
case $ac_top_srcdir in
894
.) ac_abs_top_srcdir=$ac_abs_builddir;;
895
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
896
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
901
# Check for guested configure; otherwise get Cygnus style configure.
902
if test -f $ac_srcdir/configure.gnu; then
904
$SHELL $ac_srcdir/configure.gnu --help=recursive
905
elif test -f $ac_srcdir/configure; then
907
$SHELL $ac_srcdir/configure --help=recursive
908
elif test -f $ac_srcdir/configure.ac ||
909
test -f $ac_srcdir/configure.in; then
913
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
919
test -n "$ac_init_help" && exit 0
920
if $ac_init_version; then
922
inform configure 6.31.1
923
generated by GNU Autoconf 2.59
925
Copyright (C) 2003 Free Software Foundation, Inc.
926
This configure script is free software; the Free Software Foundation
927
gives unlimited permission to copy, distribute and modify it.
933
This file contains any messages produced by compilers while
934
running configure, to aid debugging if configure makes a mistake.
936
It was created by inform $as_me 6.31.1, which was
937
generated by GNU Autoconf 2.59. Invocation command line was
948
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
949
uname -m = `(uname -m) 2>/dev/null || echo unknown`
950
uname -r = `(uname -r) 2>/dev/null || echo unknown`
951
uname -s = `(uname -s) 2>/dev/null || echo unknown`
952
uname -v = `(uname -v) 2>/dev/null || echo unknown`
954
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
955
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
957
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
958
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
959
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
960
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
961
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
962
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
963
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
967
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
971
test -z "$as_dir" && as_dir=.
987
# Keep a trace of the command line.
988
# Strip out --no-create and --no-recursion so they do not pile up.
989
# Strip out --silent because we don't want to record it for future runs.
990
# Also quote any args containing shell meta-characters.
991
# Make two passes to allow for proper duplicate-argument suppression.
996
ac_must_keep_next=false
1002
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1003
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004
| -silent | --silent | --silen | --sile | --sil)
1006
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1007
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1010
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1012
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1013
if test $ac_must_keep_next = true; then
1014
ac_must_keep_next=false # Got value, back to normal.
1017
*=* | --config-cache | -C | -disable-* | --disable-* \
1018
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1019
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1020
| -with-* | --with-* | -without-* | --without-* | --x)
1021
case "$ac_configure_args0 " in
1022
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1025
-* ) ac_must_keep_next=true ;;
1028
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1029
# Get rid of the leading space.
1035
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1036
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1038
# When interrupted or exit'd, cleanup temporary files, and complete
1039
# config.log. We remove comments because anyway the quotes in there
1040
# would cause problems or look ugly.
1041
# WARNING: Be sure not to use single quotes in there, as some shells,
1042
# such as our DU 5.0 friend, will then `close' the trap.
1043
trap 'exit_status=$?
1044
# Save into config.log some information that might help in debugging.
1049
## ---------------- ##
1050
## Cache variables. ##
1051
## ---------------- ##
1054
# The following way of writing the cache mishandles newlines in values,
1057
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1060
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1061
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1065
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1072
## ----------------- ##
1073
## Output variables. ##
1074
## ----------------- ##
1077
for ac_var in $ac_subst_vars
1079
eval ac_val=$`echo $ac_var`
1080
echo "$ac_var='"'"'$ac_val'"'"'"
1084
if test -n "$ac_subst_files"; then
1091
for ac_var in $ac_subst_files
1093
eval ac_val=$`echo $ac_var`
1094
echo "$ac_var='"'"'$ac_val'"'"'"
1099
if test -s confdefs.h; then
1106
sed "/^$/d" confdefs.h | sort
1109
test "$ac_signal" != 0 &&
1110
echo "$as_me: caught signal $ac_signal"
1111
echo "$as_me: exit $exit_status"
1113
rm -f core *.core &&
1114
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1117
for ac_signal in 1 2 13 15; do
1118
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1122
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1123
rm -rf conftest* confdefs.h
1124
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1127
# Predefined preprocessor variables.
1129
cat >>confdefs.h <<_ACEOF
1130
#define PACKAGE_NAME "$PACKAGE_NAME"
1134
cat >>confdefs.h <<_ACEOF
1135
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1139
cat >>confdefs.h <<_ACEOF
1140
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1144
cat >>confdefs.h <<_ACEOF
1145
#define PACKAGE_STRING "$PACKAGE_STRING"
1149
cat >>confdefs.h <<_ACEOF
1150
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1154
# Let the site file select an alternate cache file if it wants to.
1155
# Prefer explicitly selected file to automatically selected ones.
1156
if test -z "$CONFIG_SITE"; then
1157
if test "x$prefix" != xNONE; then
1158
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1160
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1163
for ac_site_file in $CONFIG_SITE; do
1164
if test -r "$ac_site_file"; then
1165
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1166
echo "$as_me: loading site script $ac_site_file" >&6;}
1167
sed 's/^/| /' "$ac_site_file" >&5
1172
if test -r "$cache_file"; then
1173
# Some versions of bash will fail to source /dev/null (special
1174
# files actually), so we avoid doing that.
1175
if test -f "$cache_file"; then
1176
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1177
echo "$as_me: loading cache $cache_file" >&6;}
1179
[\\/]* | ?:[\\/]* ) . $cache_file;;
1180
*) . ./$cache_file;;
1184
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1185
echo "$as_me: creating cache $cache_file" >&6;}
1189
# Check that the precious variables saved in the cache have kept the same
1191
ac_cache_corrupted=false
1192
for ac_var in `(set) 2>&1 |
1193
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1194
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1195
eval ac_new_set=\$ac_env_${ac_var}_set
1196
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1197
eval ac_new_val="\$ac_env_${ac_var}_value"
1198
case $ac_old_set,$ac_new_set in
1200
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1201
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1202
ac_cache_corrupted=: ;;
1204
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1205
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1206
ac_cache_corrupted=: ;;
1209
if test "x$ac_old_val" != "x$ac_new_val"; then
1210
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1211
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1212
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1213
echo "$as_me: former value: $ac_old_val" >&2;}
1214
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1215
echo "$as_me: current value: $ac_new_val" >&2;}
1216
ac_cache_corrupted=:
1219
# Pass precious variables to config.status.
1220
if test "$ac_new_set" = set; then
1222
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1223
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1224
*) ac_arg=$ac_var=$ac_new_val ;;
1226
case " $ac_configure_args " in
1227
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1228
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1232
if $ac_cache_corrupted; then
1233
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1234
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1235
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1236
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1237
{ (exit 1); exit 1; }; }
1241
ac_cpp='$CPP $CPPFLAGS'
1242
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1243
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1244
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1275
for ac_dir in config $srcdir/config; do
1276
if test -f $ac_dir/install-sh; then
1278
ac_install_sh="$ac_aux_dir/install-sh -c"
1280
elif test -f $ac_dir/install.sh; then
1282
ac_install_sh="$ac_aux_dir/install.sh -c"
1284
elif test -f $ac_dir/shtool; then
1286
ac_install_sh="$ac_aux_dir/shtool install -c"
1290
if test -z "$ac_aux_dir"; then
1291
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1292
echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1293
{ (exit 1); exit 1; }; }
1295
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1296
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1297
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1306
am__api_version="1.9"
1307
# Find a good install program. We prefer a C program (faster),
1308
# so one script is as good as another. But avoid the broken or
1309
# incompatible versions:
1310
# SysV /etc/install, /usr/sbin/install
1311
# SunOS /usr/etc/install
1312
# IRIX /sbin/install
1314
# AmigaOS /C/install, which installs bootblocks on floppy discs
1315
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1316
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1317
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1318
# OS/2's system install, which has a completely different semantic
1319
# ./install, which can be erroneously created by make from ./install.sh.
1320
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1321
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1322
if test -z "$INSTALL"; then
1323
if test "${ac_cv_path_install+set}" = set; then
1324
echo $ECHO_N "(cached) $ECHO_C" >&6
1326
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1330
test -z "$as_dir" && as_dir=.
1331
# Account for people who put trailing slashes in PATH elements.
1333
./ | .// | /cC/* | \
1334
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1335
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1338
# OSF1 and SCO ODT 3.0 have their own names for install.
1339
# Don't use installbsd from OSF since it installs stuff as root
1341
for ac_prog in ginstall scoinst install; do
1342
for ac_exec_ext in '' $ac_executable_extensions; do
1343
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1344
if test $ac_prog = install &&
1345
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1346
# AIX install. It has an incompatible calling convention.
1348
elif test $ac_prog = install &&
1349
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1350
# program-specific install script used by HP pwplus--don't use.
1353
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1365
if test "${ac_cv_path_install+set}" = set; then
1366
INSTALL=$ac_cv_path_install
1368
# As a last resort, use the slow shell script. We don't cache a
1369
# path for INSTALL within a source directory, because that will
1370
# break other packages using the cache if that directory is
1371
# removed, or if the path is relative.
1372
INSTALL=$ac_install_sh
1375
echo "$as_me:$LINENO: result: $INSTALL" >&5
1376
echo "${ECHO_T}$INSTALL" >&6
1378
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1379
# It thinks the first close brace ends the variable substitution.
1380
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1382
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1384
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1386
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1387
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1390
echo timestamp > conftest.file
1391
# Do `set' in a subshell so we don't clobber the current shell's
1392
# arguments. Must try -L first in case configure is actually a
1393
# symlink; some systems play weird games with the mod time of symlinks
1394
# (eg FreeBSD returns the mod time of the symlink's containing
1397
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1398
if test "$*" = "X"; then
1400
set X `ls -t $srcdir/configure conftest.file`
1403
if test "$*" != "X $srcdir/configure conftest.file" \
1404
&& test "$*" != "X conftest.file $srcdir/configure"; then
1406
# If neither matched, then we have a broken ls. This can happen
1407
# if, for instance, CONFIG_SHELL is bash and it inherits a
1408
# broken ls alias from the environment. This has actually
1409
# happened. Such a system could not be considered "sane".
1410
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1411
alias in your environment" >&5
1412
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1413
alias in your environment" >&2;}
1414
{ (exit 1); exit 1; }; }
1417
test "$2" = conftest.file
1423
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1424
Check your system clock" >&5
1425
echo "$as_me: error: newly created file is older than distributed files!
1426
Check your system clock" >&2;}
1427
{ (exit 1); exit 1; }; }
1429
echo "$as_me:$LINENO: result: yes" >&5
1430
echo "${ECHO_T}yes" >&6
1431
test "$program_prefix" != NONE &&
1432
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1433
# Use a double $ so make ignores it.
1434
test "$program_suffix" != NONE &&
1435
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1436
# Double any \ or $. echo might interpret backslashes.
1437
# By default was `s,x,x', remove it if useless.
1438
cat <<\_ACEOF >conftest.sed
1439
s/[\\$]/&&/g;s/;s,x,x,$//
1441
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1444
# expand $ac_aux_dir to an absolute path
1445
am_aux_dir=`cd $ac_aux_dir && pwd`
1447
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1448
# Use eval to expand $SHELL
1449
if eval "$MISSING --run true"; then
1450
am_missing_run="$MISSING --run "
1453
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1454
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1457
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1458
# We used to keeping the `.' as first argument, in order to
1459
# allow $(mkdir_p) to be used without argument. As in
1460
# $(mkdir_p) $(somedir)
1461
# where $(somedir) is conditionally defined. However this is wrong
1463
# 1. if the package is installed by a user who cannot write `.'
1464
# make install will fail,
1465
# 2. the above comment should most certainly read
1466
# $(mkdir_p) $(DESTDIR)$(somedir)
1467
# so it does not work when $(somedir) is undefined and
1468
# $(DESTDIR) is not.
1469
# To support the latter case, we have to write
1470
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1471
# so the `.' trick is pointless.
1472
mkdir_p='mkdir -p --'
1474
# On NextStep and OpenStep, the `mkdir' command does not
1475
# recognize any option. It will interpret all options as
1476
# directories to create, and then abort because `.' already
1478
for d in ./-p ./--version;
1480
test -d $d && rmdir $d
1482
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1483
if test -f "$ac_aux_dir/mkinstalldirs"; then
1484
mkdir_p='$(mkinstalldirs)'
1486
mkdir_p='$(install_sh) -d'
1490
for ac_prog in gawk mawk nawk awk
1492
# Extract the first word of "$ac_prog", so it can be a program name with args.
1493
set dummy $ac_prog; ac_word=$2
1494
echo "$as_me:$LINENO: checking for $ac_word" >&5
1495
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1496
if test "${ac_cv_prog_AWK+set}" = set; then
1497
echo $ECHO_N "(cached) $ECHO_C" >&6
1499
if test -n "$AWK"; then
1500
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1502
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506
test -z "$as_dir" && as_dir=.
1507
for ac_exec_ext in '' $ac_executable_extensions; do
1508
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1509
ac_cv_prog_AWK="$ac_prog"
1510
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1519
if test -n "$AWK"; then
1520
echo "$as_me:$LINENO: result: $AWK" >&5
1521
echo "${ECHO_T}$AWK" >&6
1523
echo "$as_me:$LINENO: result: no" >&5
1524
echo "${ECHO_T}no" >&6
1527
test -n "$AWK" && break
1530
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1531
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1532
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1533
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1534
echo $ECHO_N "(cached) $ECHO_C" >&6
1536
cat >conftest.make <<\_ACEOF
1538
@echo 'ac_maketemp="$(MAKE)"'
1540
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1541
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1542
if test -n "$ac_maketemp"; then
1543
eval ac_cv_prog_make_${ac_make}_set=yes
1545
eval ac_cv_prog_make_${ac_make}_set=no
1549
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1550
echo "$as_me:$LINENO: result: yes" >&5
1551
echo "${ECHO_T}yes" >&6
1554
echo "$as_me:$LINENO: result: no" >&5
1555
echo "${ECHO_T}no" >&6
1556
SET_MAKE="MAKE=${MAKE-make}"
1559
rm -rf .tst 2>/dev/null
1560
mkdir .tst 2>/dev/null
1561
if test -d .tst; then
1566
rmdir .tst 2>/dev/null
1568
# test to see if srcdir already configured
1569
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1570
test -f $srcdir/config.status; then
1571
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1572
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1573
{ (exit 1); exit 1; }; }
1576
# test whether we have cygpath
1577
if test -z "$CYGPATH_W"; then
1578
if (cygpath --version) >/dev/null 2>/dev/null; then
1579
CYGPATH_W='cygpath -w'
1586
# Define the identity of the package.
1591
cat >>confdefs.h <<_ACEOF
1592
#define PACKAGE "$PACKAGE"
1596
cat >>confdefs.h <<_ACEOF
1597
#define VERSION "$VERSION"
1600
# Some tools Automake needs.
1602
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1605
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1608
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1611
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1614
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1616
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1618
# Installed binaries are usually stripped using `strip' when the user
1619
# run `make install-strip'. However `strip' might not be the right
1620
# tool to use in cross-compilation environments, therefore Automake
1621
# will honor the `STRIP' environment variable to overrule this program.
1622
if test "$cross_compiling" != no; then
1623
if test -n "$ac_tool_prefix"; then
1624
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1625
set dummy ${ac_tool_prefix}strip; ac_word=$2
1626
echo "$as_me:$LINENO: checking for $ac_word" >&5
1627
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1628
if test "${ac_cv_prog_STRIP+set}" = set; then
1629
echo $ECHO_N "(cached) $ECHO_C" >&6
1631
if test -n "$STRIP"; then
1632
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1634
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1638
test -z "$as_dir" && as_dir=.
1639
for ac_exec_ext in '' $ac_executable_extensions; do
1640
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1641
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1642
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650
STRIP=$ac_cv_prog_STRIP
1651
if test -n "$STRIP"; then
1652
echo "$as_me:$LINENO: result: $STRIP" >&5
1653
echo "${ECHO_T}$STRIP" >&6
1655
echo "$as_me:$LINENO: result: no" >&5
1656
echo "${ECHO_T}no" >&6
1660
if test -z "$ac_cv_prog_STRIP"; then
1662
# Extract the first word of "strip", so it can be a program name with args.
1663
set dummy strip; ac_word=$2
1664
echo "$as_me:$LINENO: checking for $ac_word" >&5
1665
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1666
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1667
echo $ECHO_N "(cached) $ECHO_C" >&6
1669
if test -n "$ac_ct_STRIP"; then
1670
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1672
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1676
test -z "$as_dir" && as_dir=.
1677
for ac_exec_ext in '' $ac_executable_extensions; do
1678
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1679
ac_cv_prog_ac_ct_STRIP="strip"
1680
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1686
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1689
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1690
if test -n "$ac_ct_STRIP"; then
1691
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1692
echo "${ECHO_T}$ac_ct_STRIP" >&6
1694
echo "$as_me:$LINENO: result: no" >&5
1695
echo "${ECHO_T}no" >&6
1700
STRIP="$ac_cv_prog_STRIP"
1704
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1706
# We need awk for the "check" target. The system "awk" is bad on
1708
# Always define AMTAR for backward compatibility.
1710
AMTAR=${AMTAR-"${am_missing_run}tar"}
1712
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1719
# Make sure we can run config.sub.
1720
$ac_config_sub sun4 >/dev/null 2>&1 ||
1721
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1722
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1723
{ (exit 1); exit 1; }; }
1725
echo "$as_me:$LINENO: checking build system type" >&5
1726
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1727
if test "${ac_cv_build+set}" = set; then
1728
echo $ECHO_N "(cached) $ECHO_C" >&6
1730
ac_cv_build_alias=$build_alias
1731
test -z "$ac_cv_build_alias" &&
1732
ac_cv_build_alias=`$ac_config_guess`
1733
test -z "$ac_cv_build_alias" &&
1734
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1735
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1736
{ (exit 1); exit 1; }; }
1737
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1738
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1739
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1740
{ (exit 1); exit 1; }; }
1743
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1744
echo "${ECHO_T}$ac_cv_build" >&6
1746
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1747
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1748
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1751
echo "$as_me:$LINENO: checking host system type" >&5
1752
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1753
if test "${ac_cv_host+set}" = set; then
1754
echo $ECHO_N "(cached) $ECHO_C" >&6
1756
ac_cv_host_alias=$host_alias
1757
test -z "$ac_cv_host_alias" &&
1758
ac_cv_host_alias=$ac_cv_build_alias
1759
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1760
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1761
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1762
{ (exit 1); exit 1; }; }
1765
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1766
echo "${ECHO_T}$ac_cv_host" >&6
1768
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1769
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1770
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1774
*cygwin* ) CYGWIN=yes;;
1782
if test "$CYGWIN" = yes; then
1792
*linux*) HOST=LINUX;;
1799
ac_cpp='$CPP $CPPFLAGS'
1800
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1801
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1802
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1803
if test -n "$ac_tool_prefix"; then
1804
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1805
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1806
echo "$as_me:$LINENO: checking for $ac_word" >&5
1807
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808
if test "${ac_cv_prog_CC+set}" = set; then
1809
echo $ECHO_N "(cached) $ECHO_C" >&6
1811
if test -n "$CC"; then
1812
ac_cv_prog_CC="$CC" # Let the user override the test.
1814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818
test -z "$as_dir" && as_dir=.
1819
for ac_exec_ext in '' $ac_executable_extensions; do
1820
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1821
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1822
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831
if test -n "$CC"; then
1832
echo "$as_me:$LINENO: result: $CC" >&5
1833
echo "${ECHO_T}$CC" >&6
1835
echo "$as_me:$LINENO: result: no" >&5
1836
echo "${ECHO_T}no" >&6
1840
if test -z "$ac_cv_prog_CC"; then
1842
# Extract the first word of "gcc", so it can be a program name with args.
1843
set dummy gcc; ac_word=$2
1844
echo "$as_me:$LINENO: checking for $ac_word" >&5
1845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1847
echo $ECHO_N "(cached) $ECHO_C" >&6
1849
if test -n "$ac_ct_CC"; then
1850
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856
test -z "$as_dir" && as_dir=.
1857
for ac_exec_ext in '' $ac_executable_extensions; do
1858
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859
ac_cv_prog_ac_ct_CC="gcc"
1860
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1869
if test -n "$ac_ct_CC"; then
1870
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1871
echo "${ECHO_T}$ac_ct_CC" >&6
1873
echo "$as_me:$LINENO: result: no" >&5
1874
echo "${ECHO_T}no" >&6
1882
if test -z "$CC"; then
1883
if test -n "$ac_tool_prefix"; then
1884
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1885
set dummy ${ac_tool_prefix}cc; ac_word=$2
1886
echo "$as_me:$LINENO: checking for $ac_word" >&5
1887
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1888
if test "${ac_cv_prog_CC+set}" = set; then
1889
echo $ECHO_N "(cached) $ECHO_C" >&6
1891
if test -n "$CC"; then
1892
ac_cv_prog_CC="$CC" # Let the user override the test.
1894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898
test -z "$as_dir" && as_dir=.
1899
for ac_exec_ext in '' $ac_executable_extensions; do
1900
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1901
ac_cv_prog_CC="${ac_tool_prefix}cc"
1902
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911
if test -n "$CC"; then
1912
echo "$as_me:$LINENO: result: $CC" >&5
1913
echo "${ECHO_T}$CC" >&6
1915
echo "$as_me:$LINENO: result: no" >&5
1916
echo "${ECHO_T}no" >&6
1920
if test -z "$ac_cv_prog_CC"; then
1922
# Extract the first word of "cc", so it can be a program name with args.
1923
set dummy cc; ac_word=$2
1924
echo "$as_me:$LINENO: checking for $ac_word" >&5
1925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1927
echo $ECHO_N "(cached) $ECHO_C" >&6
1929
if test -n "$ac_ct_CC"; then
1930
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936
test -z "$as_dir" && as_dir=.
1937
for ac_exec_ext in '' $ac_executable_extensions; do
1938
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1939
ac_cv_prog_ac_ct_CC="cc"
1940
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1949
if test -n "$ac_ct_CC"; then
1950
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1951
echo "${ECHO_T}$ac_ct_CC" >&6
1953
echo "$as_me:$LINENO: result: no" >&5
1954
echo "${ECHO_T}no" >&6
1963
if test -z "$CC"; then
1964
# Extract the first word of "cc", so it can be a program name with args.
1965
set dummy cc; ac_word=$2
1966
echo "$as_me:$LINENO: checking for $ac_word" >&5
1967
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1968
if test "${ac_cv_prog_CC+set}" = set; then
1969
echo $ECHO_N "(cached) $ECHO_C" >&6
1971
if test -n "$CC"; then
1972
ac_cv_prog_CC="$CC" # Let the user override the test.
1975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979
test -z "$as_dir" && as_dir=.
1980
for ac_exec_ext in '' $ac_executable_extensions; do
1981
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1983
ac_prog_rejected=yes
1987
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993
if test $ac_prog_rejected = yes; then
1994
# We found a bogon in the path, so make sure we never use it.
1995
set dummy $ac_cv_prog_CC
1997
if test $# != 0; then
1998
# We chose a different compiler from the bogus one.
1999
# However, it has the same basename, so the bogon will be chosen
2000
# first if we set CC to just the basename; use the full file name.
2002
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2008
if test -n "$CC"; then
2009
echo "$as_me:$LINENO: result: $CC" >&5
2010
echo "${ECHO_T}$CC" >&6
2012
echo "$as_me:$LINENO: result: no" >&5
2013
echo "${ECHO_T}no" >&6
2017
if test -z "$CC"; then
2018
if test -n "$ac_tool_prefix"; then
2021
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2022
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2023
echo "$as_me:$LINENO: checking for $ac_word" >&5
2024
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025
if test "${ac_cv_prog_CC+set}" = set; then
2026
echo $ECHO_N "(cached) $ECHO_C" >&6
2028
if test -n "$CC"; then
2029
ac_cv_prog_CC="$CC" # Let the user override the test.
2031
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2035
test -z "$as_dir" && as_dir=.
2036
for ac_exec_ext in '' $ac_executable_extensions; do
2037
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2039
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048
if test -n "$CC"; then
2049
echo "$as_me:$LINENO: result: $CC" >&5
2050
echo "${ECHO_T}$CC" >&6
2052
echo "$as_me:$LINENO: result: no" >&5
2053
echo "${ECHO_T}no" >&6
2056
test -n "$CC" && break
2059
if test -z "$CC"; then
2063
# Extract the first word of "$ac_prog", so it can be a program name with args.
2064
set dummy $ac_prog; ac_word=$2
2065
echo "$as_me:$LINENO: checking for $ac_word" >&5
2066
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2067
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2068
echo $ECHO_N "(cached) $ECHO_C" >&6
2070
if test -n "$ac_ct_CC"; then
2071
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077
test -z "$as_dir" && as_dir=.
2078
for ac_exec_ext in '' $ac_executable_extensions; do
2079
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2080
ac_cv_prog_ac_ct_CC="$ac_prog"
2081
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2089
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2090
if test -n "$ac_ct_CC"; then
2091
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2092
echo "${ECHO_T}$ac_ct_CC" >&6
2094
echo "$as_me:$LINENO: result: no" >&5
2095
echo "${ECHO_T}no" >&6
2098
test -n "$ac_ct_CC" && break
2107
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2108
See \`config.log' for more details." >&5
2109
echo "$as_me: error: no acceptable C compiler found in \$PATH
2110
See \`config.log' for more details." >&2;}
2111
{ (exit 1); exit 1; }; }
2113
# Provide some information about the compiler.
2114
echo "$as_me:$LINENO:" \
2115
"checking for C compiler version" >&5
2116
ac_compiler=`set X $ac_compile; echo $2`
2117
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2118
(eval $ac_compiler --version </dev/null >&5) 2>&5
2120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121
(exit $ac_status); }
2122
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2123
(eval $ac_compiler -v </dev/null >&5) 2>&5
2125
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126
(exit $ac_status); }
2127
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2128
(eval $ac_compiler -V </dev/null >&5) 2>&5
2130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131
(exit $ac_status); }
2133
cat >conftest.$ac_ext <<_ACEOF
2136
cat confdefs.h >>conftest.$ac_ext
2137
cat >>conftest.$ac_ext <<_ACEOF
2138
/* end confdefs.h. */
2148
ac_clean_files_save=$ac_clean_files
2149
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2150
# Try to create an executable without -o first, disregard a.out.
2151
# It will help us diagnose broken compilers, and finding out an intuition
2153
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2154
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2155
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2156
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2157
(eval $ac_link_default) 2>&5
2159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160
(exit $ac_status); }; then
2161
# Find the output, starting from the most likely. This scheme is
2162
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2165
# Be careful to initialize this variable, since it used to be cached.
2166
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2168
# b.out is created by i960 compilers.
2169
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2171
test -f "$ac_file" || continue
2173
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2176
# This is the source file.
2179
# We found the default executable, but exeext='' is most
2183
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2184
# FIXME: I believe we export ac_cv_exeext for Libtool,
2185
# but it would be cool to find out if it's true. Does anybody
2186
# maintain Libtool? --akim.
2194
echo "$as_me: failed program was:" >&5
2195
sed 's/^/| /' conftest.$ac_ext >&5
2197
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2198
See \`config.log' for more details." >&5
2199
echo "$as_me: error: C compiler cannot create executables
2200
See \`config.log' for more details." >&2;}
2201
{ (exit 77); exit 77; }; }
2204
ac_exeext=$ac_cv_exeext
2205
echo "$as_me:$LINENO: result: $ac_file" >&5
2206
echo "${ECHO_T}$ac_file" >&6
2208
# Check the compiler produces executables we can run. If not, either
2209
# the compiler is broken, or we cross compile.
2210
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2211
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2212
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2213
# If not cross compiling, check that we can run a simple program.
2214
if test "$cross_compiling" != yes; then
2215
if { ac_try='./$ac_file'
2216
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220
(exit $ac_status); }; }; then
2223
if test "$cross_compiling" = maybe; then
2226
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2227
If you meant to cross compile, use \`--host'.
2228
See \`config.log' for more details." >&5
2229
echo "$as_me: error: cannot run C compiled programs.
2230
If you meant to cross compile, use \`--host'.
2231
See \`config.log' for more details." >&2;}
2232
{ (exit 1); exit 1; }; }
2236
echo "$as_me:$LINENO: result: yes" >&5
2237
echo "${ECHO_T}yes" >&6
2239
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2240
ac_clean_files=$ac_clean_files_save
2241
# Check the compiler produces executables we can run. If not, either
2242
# the compiler is broken, or we cross compile.
2243
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2244
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2245
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2246
echo "${ECHO_T}$cross_compiling" >&6
2248
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2249
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2250
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2251
(eval $ac_link) 2>&5
2253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254
(exit $ac_status); }; then
2255
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2256
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2257
# work properly (i.e., refer to `conftest.exe'), while it won't with
2259
for ac_file in conftest.exe conftest conftest.*; do
2260
test -f "$ac_file" || continue
2262
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2263
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2270
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2271
See \`config.log' for more details." >&5
2272
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2273
See \`config.log' for more details." >&2;}
2274
{ (exit 1); exit 1; }; }
2277
rm -f conftest$ac_cv_exeext
2278
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2279
echo "${ECHO_T}$ac_cv_exeext" >&6
2281
rm -f conftest.$ac_ext
2282
EXEEXT=$ac_cv_exeext
2284
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2285
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2286
if test "${ac_cv_objext+set}" = set; then
2287
echo $ECHO_N "(cached) $ECHO_C" >&6
2289
cat >conftest.$ac_ext <<_ACEOF
2292
cat confdefs.h >>conftest.$ac_ext
2293
cat >>conftest.$ac_ext <<_ACEOF
2294
/* end confdefs.h. */
2304
rm -f conftest.o conftest.obj
2305
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2306
(eval $ac_compile) 2>&5
2308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309
(exit $ac_status); }; then
2310
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2312
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2313
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2318
echo "$as_me: failed program was:" >&5
2319
sed 's/^/| /' conftest.$ac_ext >&5
2321
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2322
See \`config.log' for more details." >&5
2323
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2324
See \`config.log' for more details." >&2;}
2325
{ (exit 1); exit 1; }; }
2328
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2330
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2331
echo "${ECHO_T}$ac_cv_objext" >&6
2332
OBJEXT=$ac_cv_objext
2334
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2335
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2336
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2337
echo $ECHO_N "(cached) $ECHO_C" >&6
2339
cat >conftest.$ac_ext <<_ACEOF
2342
cat confdefs.h >>conftest.$ac_ext
2343
cat >>conftest.$ac_ext <<_ACEOF
2344
/* end confdefs.h. */
2357
rm -f conftest.$ac_objext
2358
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2359
(eval $ac_compile) 2>conftest.er1
2361
grep -v '^ *+' conftest.er1 >conftest.err
2363
cat conftest.err >&5
2364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365
(exit $ac_status); } &&
2366
{ ac_try='test -z "$ac_c_werror_flag"
2367
|| test ! -s conftest.err'
2368
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372
(exit $ac_status); }; } &&
2373
{ ac_try='test -s conftest.$ac_objext'
2374
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378
(exit $ac_status); }; }; then
2381
echo "$as_me: failed program was:" >&5
2382
sed 's/^/| /' conftest.$ac_ext >&5
2386
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2387
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2390
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2391
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2392
GCC=`test $ac_compiler_gnu = yes && echo yes`
2393
ac_test_CFLAGS=${CFLAGS+set}
2394
ac_save_CFLAGS=$CFLAGS
2396
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2397
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2398
if test "${ac_cv_prog_cc_g+set}" = set; then
2399
echo $ECHO_N "(cached) $ECHO_C" >&6
2401
cat >conftest.$ac_ext <<_ACEOF
2404
cat confdefs.h >>conftest.$ac_ext
2405
cat >>conftest.$ac_ext <<_ACEOF
2406
/* end confdefs.h. */
2416
rm -f conftest.$ac_objext
2417
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2418
(eval $ac_compile) 2>conftest.er1
2420
grep -v '^ *+' conftest.er1 >conftest.err
2422
cat conftest.err >&5
2423
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424
(exit $ac_status); } &&
2425
{ ac_try='test -z "$ac_c_werror_flag"
2426
|| test ! -s conftest.err'
2427
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2430
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431
(exit $ac_status); }; } &&
2432
{ ac_try='test -s conftest.$ac_objext'
2433
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437
(exit $ac_status); }; }; then
2440
echo "$as_me: failed program was:" >&5
2441
sed 's/^/| /' conftest.$ac_ext >&5
2445
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2447
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2448
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2449
if test "$ac_test_CFLAGS" = set; then
2450
CFLAGS=$ac_save_CFLAGS
2451
elif test $ac_cv_prog_cc_g = yes; then
2452
if test "$GCC" = yes; then
2458
if test "$GCC" = yes; then
2464
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2465
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2466
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2467
echo $ECHO_N "(cached) $ECHO_C" >&6
2469
ac_cv_prog_cc_stdc=no
2471
cat >conftest.$ac_ext <<_ACEOF
2474
cat confdefs.h >>conftest.$ac_ext
2475
cat >>conftest.$ac_ext <<_ACEOF
2476
/* end confdefs.h. */
2479
#include <sys/types.h>
2480
#include <sys/stat.h>
2481
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2482
struct buf { int x; };
2483
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2484
static char *e (p, i)
2490
static char *f (char * (*g) (char **, int), char **p, ...)
2495
s = g (p, va_arg (v,int));
2500
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2501
function prototypes and stuff, but not '\xHH' hex character constants.
2502
These don't provoke an error unfortunately, instead are silently treated
2503
as 'x'. The following induces an error, until -std1 is added to get
2504
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2505
array size at least. It's necessary to write '\x00'==0 to get something
2506
that's true only with -std1. */
2507
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2509
int test (int i, double x);
2510
struct s1 {int (*f) (int a);};
2511
struct s2 {int (*f) (double a);};
2512
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2518
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2523
# Don't try gcc -ansi; that turns off useful extensions and
2524
# breaks some systems' header files.
2525
# AIX -qlanglvl=ansi
2526
# Ultrix and OSF/1 -std1
2527
# HP-UX 10.20 and later -Ae
2528
# HP-UX older versions -Aa -D_HPUX_SOURCE
2529
# SVR4 -Xc -D__EXTENSIONS__
2530
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2532
CC="$ac_save_CC $ac_arg"
2533
rm -f conftest.$ac_objext
2534
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2535
(eval $ac_compile) 2>conftest.er1
2537
grep -v '^ *+' conftest.er1 >conftest.err
2539
cat conftest.err >&5
2540
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541
(exit $ac_status); } &&
2542
{ ac_try='test -z "$ac_c_werror_flag"
2543
|| test ! -s conftest.err'
2544
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2547
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548
(exit $ac_status); }; } &&
2549
{ ac_try='test -s conftest.$ac_objext'
2550
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554
(exit $ac_status); }; }; then
2555
ac_cv_prog_cc_stdc=$ac_arg
2558
echo "$as_me: failed program was:" >&5
2559
sed 's/^/| /' conftest.$ac_ext >&5
2562
rm -f conftest.err conftest.$ac_objext
2564
rm -f conftest.$ac_ext conftest.$ac_objext
2569
case "x$ac_cv_prog_cc_stdc" in
2571
echo "$as_me:$LINENO: result: none needed" >&5
2572
echo "${ECHO_T}none needed" >&6 ;;
2574
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2575
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2576
CC="$CC $ac_cv_prog_cc_stdc" ;;
2579
# Some people use a C++ compiler to compile C. Since we use `exit',
2580
# in C++ we need to declare it. In case someone uses the same compiler
2581
# for both compiling C and C++ we need to have the C++ compiler decide
2582
# the declaration of exit, since it's the most demanding environment.
2583
cat >conftest.$ac_ext <<_ACEOF
2588
rm -f conftest.$ac_objext
2589
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590
(eval $ac_compile) 2>conftest.er1
2592
grep -v '^ *+' conftest.er1 >conftest.err
2594
cat conftest.err >&5
2595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596
(exit $ac_status); } &&
2597
{ ac_try='test -z "$ac_c_werror_flag"
2598
|| test ! -s conftest.err'
2599
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603
(exit $ac_status); }; } &&
2604
{ ac_try='test -s conftest.$ac_objext'
2605
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609
(exit $ac_status); }; }; then
2610
for ac_declaration in \
2612
'extern "C" void std::exit (int) throw (); using std::exit;' \
2613
'extern "C" void std::exit (int); using std::exit;' \
2614
'extern "C" void exit (int) throw ();' \
2615
'extern "C" void exit (int);' \
2618
cat >conftest.$ac_ext <<_ACEOF
2621
cat confdefs.h >>conftest.$ac_ext
2622
cat >>conftest.$ac_ext <<_ACEOF
2623
/* end confdefs.h. */
2634
rm -f conftest.$ac_objext
2635
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2636
(eval $ac_compile) 2>conftest.er1
2638
grep -v '^ *+' conftest.er1 >conftest.err
2640
cat conftest.err >&5
2641
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642
(exit $ac_status); } &&
2643
{ ac_try='test -z "$ac_c_werror_flag"
2644
|| test ! -s conftest.err'
2645
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649
(exit $ac_status); }; } &&
2650
{ ac_try='test -s conftest.$ac_objext'
2651
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655
(exit $ac_status); }; }; then
2658
echo "$as_me: failed program was:" >&5
2659
sed 's/^/| /' conftest.$ac_ext >&5
2663
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2664
cat >conftest.$ac_ext <<_ACEOF
2667
cat confdefs.h >>conftest.$ac_ext
2668
cat >>conftest.$ac_ext <<_ACEOF
2669
/* end confdefs.h. */
2679
rm -f conftest.$ac_objext
2680
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2681
(eval $ac_compile) 2>conftest.er1
2683
grep -v '^ *+' conftest.er1 >conftest.err
2685
cat conftest.err >&5
2686
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687
(exit $ac_status); } &&
2688
{ ac_try='test -z "$ac_c_werror_flag"
2689
|| test ! -s conftest.err'
2690
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694
(exit $ac_status); }; } &&
2695
{ ac_try='test -s conftest.$ac_objext'
2696
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700
(exit $ac_status); }; }; then
2703
echo "$as_me: failed program was:" >&5
2704
sed 's/^/| /' conftest.$ac_ext >&5
2707
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2710
if test -n "$ac_declaration"; then
2711
echo '#ifdef __cplusplus' >>confdefs.h
2712
echo $ac_declaration >>confdefs.h
2713
echo '#endif' >>confdefs.h
2717
echo "$as_me: failed program was:" >&5
2718
sed 's/^/| /' conftest.$ac_ext >&5
2721
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2723
ac_cpp='$CPP $CPPFLAGS'
2724
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2725
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2726
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2727
DEPDIR="${am__leading_dot}deps"
2729
ac_config_commands="$ac_config_commands depfiles"
2732
am_make=${MAKE-make}
2733
cat > confinc << 'END'
2738
# If we don't find an include directive, just comment out the code.
2739
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2740
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2744
# First try GNU make style include.
2745
echo "include confinc" > confmf
2746
# We grep out `Entering directory' and `Leaving directory'
2747
# messages which can occur if `w' ends up in MAKEFLAGS.
2748
# In particular we don't look at `^make:' because GNU make might
2749
# be invoked under some other name (usually "gmake"), in which
2750
# case it prints its new name instead of `make'.
2751
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2756
# Now try BSD make style include.
2757
if test "$am__include" = "#"; then
2758
echo '.include "confinc"' > confmf
2759
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2760
am__include=.include
2767
echo "$as_me:$LINENO: result: $_am_result" >&5
2768
echo "${ECHO_T}$_am_result" >&6
2769
rm -f confinc confmf
2771
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2772
if test "${enable_dependency_tracking+set}" = set; then
2773
enableval="$enable_dependency_tracking"
2776
if test "x$enable_dependency_tracking" != xno; then
2777
am_depcomp="$ac_aux_dir/depcomp"
2782
if test "x$enable_dependency_tracking" != xno; then
2793
depcc="$CC" am_compiler_list=
2795
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2796
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2797
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2798
echo $ECHO_N "(cached) $ECHO_C" >&6
2800
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2801
# We make a subdir and do the tests there. Otherwise we can end up
2802
# making bogus files that we don't know about and never remove. For
2803
# instance it was reported that on HP-UX the gcc test will end up
2804
# making a dummy file named `D' -- because `-MD' means `put the output
2807
# Copy depcomp to subdir because otherwise we won't find it if we're
2808
# using a relative directory.
2809
cp "$am_depcomp" conftest.dir
2811
# We will build objects and dependencies in a subdirectory because
2812
# it helps to detect inapplicable dependency modes. For instance
2813
# both Tru64's cc and ICC support -MD to output dependencies as a
2814
# side effect of compilation, but ICC will put the dependencies in
2815
# the current directory while Tru64 will put them in the object
2819
am_cv_CC_dependencies_compiler_type=none
2820
if test "$am_compiler_list" = ""; then
2821
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2823
for depmode in $am_compiler_list; do
2824
# Setup a source with many dependencies, because some compilers
2825
# like to wrap large dependency lists on column 80 (with \), and
2826
# we should not choose a depcomp mode which is confused by this.
2828
# We need to recreate these files for each test, as the compiler may
2829
# overwrite some of them when testing with obscure command lines.
2830
# This happens at least with the AIX C compiler.
2832
for i in 1 2 3 4 5 6; do
2833
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2834
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2835
# Solaris 8's {/usr,}/bin/sh.
2836
touch sub/conftst$i.h
2838
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2842
# after this tag, mechanisms are not by side-effect, so they'll
2843
# only be used when explicitly requested
2844
if test "x$enable_dependency_tracking" = xyes; then
2852
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2853
# mode. It turns out that the SunPro C++ compiler does not properly
2854
# handle `-M -o', and we need to detect this.
2855
if depmode=$depmode \
2856
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2857
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2858
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2859
>/dev/null 2>conftest.err &&
2860
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2861
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2862
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2863
# icc doesn't choke on unknown options, it will just issue warnings
2864
# or remarks (even with -Werror). So we grep stderr for any message
2865
# that says an option was ignored or not supported.
2866
# When given -MP, icc 7.0 and 7.1 complain thusly:
2867
# icc: Command line warning: ignoring option '-M'; no argument required
2868
# The diagnosis changed in icc 8.0:
2869
# icc: Command line remark: option '-MP' not supported
2870
if (grep 'ignoring option' conftest.err ||
2871
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2872
am_cv_CC_dependencies_compiler_type=$depmode
2881
am_cv_CC_dependencies_compiler_type=none
2885
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2886
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2887
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2892
test "x$enable_dependency_tracking" != xno \
2893
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2895
am__fastdepCC_FALSE='#'
2897
am__fastdepCC_TRUE='#'
2898
am__fastdepCC_FALSE=
2902
echo "$as_me:$LINENO: checking whether ln -s works" >&5
2903
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2905
if test "$LN_S" = "ln -s"; then
2906
echo "$as_me:$LINENO: result: yes" >&5
2907
echo "${ECHO_T}yes" >&6
2909
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2910
echo "${ECHO_T}no, using $LN_S" >&6
2913
# Find a good install program. We prefer a C program (faster),
2914
# so one script is as good as another. But avoid the broken or
2915
# incompatible versions:
2916
# SysV /etc/install, /usr/sbin/install
2917
# SunOS /usr/etc/install
2918
# IRIX /sbin/install
2920
# AmigaOS /C/install, which installs bootblocks on floppy discs
2921
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2922
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2923
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2924
# OS/2's system install, which has a completely different semantic
2925
# ./install, which can be erroneously created by make from ./install.sh.
2926
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2927
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2928
if test -z "$INSTALL"; then
2929
if test "${ac_cv_path_install+set}" = set; then
2930
echo $ECHO_N "(cached) $ECHO_C" >&6
2932
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2936
test -z "$as_dir" && as_dir=.
2937
# Account for people who put trailing slashes in PATH elements.
2939
./ | .// | /cC/* | \
2940
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2941
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2944
# OSF1 and SCO ODT 3.0 have their own names for install.
2945
# Don't use installbsd from OSF since it installs stuff as root
2947
for ac_prog in ginstall scoinst install; do
2948
for ac_exec_ext in '' $ac_executable_extensions; do
2949
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2950
if test $ac_prog = install &&
2951
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2952
# AIX install. It has an incompatible calling convention.
2954
elif test $ac_prog = install &&
2955
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2956
# program-specific install script used by HP pwplus--don't use.
2959
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2971
if test "${ac_cv_path_install+set}" = set; then
2972
INSTALL=$ac_cv_path_install
2974
# As a last resort, use the slow shell script. We don't cache a
2975
# path for INSTALL within a source directory, because that will
2976
# break other packages using the cache if that directory is
2977
# removed, or if the path is relative.
2978
INSTALL=$ac_install_sh
2981
echo "$as_me:$LINENO: result: $INSTALL" >&5
2982
echo "${ECHO_T}$INSTALL" >&6
2984
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2985
# It thinks the first close brace ends the variable substitution.
2986
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2988
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2990
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2994
make_include=$srcdir/config/commondefs
2996
ac_config_files="$ac_config_files Makefile demos/Makefile include/Makefile lib/Makefile manual/Makefile src/Makefile"
2997
cat >confcache <<\_ACEOF
2998
# This file is a shell script that caches the results of configure
2999
# tests run on this system so they can be shared between configure
3000
# scripts and configure runs, see configure's option --config-cache.
3001
# It is not useful on other systems. If it contains results you don't
3002
# want to keep, you may remove or edit it.
3004
# config.status only pays attention to the cache file if you give it
3005
# the --recheck option to rerun configure.
3007
# `ac_cv_env_foo' variables (set or unset) will be overridden when
3008
# loading this file, other *unset* `ac_cv_foo' will be assigned the
3013
# The following way of writing the cache mishandles newlines in values,
3014
# but we know of no workaround that is simple, portable, and efficient.
3015
# So, don't put newlines in cache variables' values.
3016
# Ultrix sh set writes to stderr and can't be redirected directly,
3017
# and sets the high bit in the cache file unless we assign to the vars.
3020
case `(ac_space=' '; set | grep ac_space) 2>&1` in
3022
# `set' does not quote correctly, so add quotes (double-quote
3023
# substitution turns \\\\ into \\, and sed turns \\ into \).
3026
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3029
# `set' quotes correctly as required by POSIX, so do not add quotes.
3031
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3038
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3040
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3042
if diff $cache_file confcache >/dev/null 2>&1; then :; else
3043
if test -w $cache_file; then
3044
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3045
cat confcache >$cache_file
3047
echo "not updating unwritable cache $cache_file"
3052
test "x$prefix" = xNONE && prefix=$ac_default_prefix
3053
# Let make expand exec_prefix.
3054
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3056
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3057
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3058
# trailing colons and then remove the whole line if VPATH becomes empty
3059
# (actually we leave an empty line to preserve line numbers).
3060
if test "x$srcdir" = x.; then
3061
ac_vpsub='/^[ ]*VPATH[ ]*=/{
3062
s/:*\$(srcdir):*/:/;
3063
s/:*\${srcdir}:*/:/;
3065
s/^\([^=]*=[ ]*\):*/\1/;
3071
# Transform confdefs.h into DEFS.
3072
# Protect against shell expansion while executing Makefile rules.
3073
# Protect against Makefile macro expansion.
3075
# If the first sed substitution is executed (which looks for macros that
3076
# take arguments), then we branch to the quote section. Otherwise,
3077
# look for a macro that doesn't take arguments.
3078
cat >confdef2opt.sed <<\_ACEOF
3081
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3083
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3087
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3093
# We use echo to avoid assuming a particular line-breaking character.
3094
# The extra dot is to prevent the shell from consuming trailing
3095
# line-breaks from the sub-command output. A line-break within
3096
# single-quotes doesn't work because, if this script is created in a
3097
# platform that uses two characters for line-breaks (e.g., DOS), tr
3099
ac_LF_and_DOT=`echo; echo .`
3100
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3101
rm -f confdef2opt.sed
3106
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3107
# 1. Remove the extension, and $U if already installed.
3108
ac_i=`echo "$ac_i" |
3109
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3111
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3112
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3116
LTLIBOBJS=$ac_ltlibobjs
3119
if test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then
3120
{ { echo "$as_me:$LINENO: error: conditional \"CYGWIN\" was never defined.
3121
Usually this means the macro was only invoked conditionally." >&5
3122
echo "$as_me: error: conditional \"CYGWIN\" was never defined.
3123
Usually this means the macro was only invoked conditionally." >&2;}
3124
{ (exit 1); exit 1; }; }
3126
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3127
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3128
Usually this means the macro was only invoked conditionally." >&5
3129
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3130
Usually this means the macro was only invoked conditionally." >&2;}
3131
{ (exit 1); exit 1; }; }
3133
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3134
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3135
Usually this means the macro was only invoked conditionally." >&5
3136
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3137
Usually this means the macro was only invoked conditionally." >&2;}
3138
{ (exit 1); exit 1; }; }
3141
: ${CONFIG_STATUS=./config.status}
3142
ac_clean_files_save=$ac_clean_files
3143
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3144
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3145
echo "$as_me: creating $CONFIG_STATUS" >&6;}
3146
cat >$CONFIG_STATUS <<_ACEOF
3148
# Generated by $as_me.
3149
# Run this file to recreate the current configuration.
3150
# Compiler output produced by configure, useful for debugging
3151
# configure, is in config.log if it exists.
3156
SHELL=\${CONFIG_SHELL-$SHELL}
3159
cat >>$CONFIG_STATUS <<\_ACEOF
3160
## --------------------- ##
3161
## M4sh Initialization. ##
3162
## --------------------- ##
3164
# Be Bourne compatible
3165
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3168
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3169
# is contrary to our usage. Disable this feature.
3170
alias -g '${1+"$@"}'='"$@"'
3171
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3174
DUALCASE=1; export DUALCASE # for MKS sh
3176
# Support unset when possible.
3177
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3184
# Work around bugs in pre-3.0 UWIN ksh.
3185
$as_unset ENV MAIL MAILPATH
3192
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3193
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3194
LC_TELEPHONE LC_TIME
3196
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3197
eval $as_var=C; export $as_var
3203
# Required to use basename.
3204
if expr a : '\(a\)' >/dev/null 2>&1; then
3210
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3211
as_basename=basename
3217
# Name of the executable.
3218
as_me=`$as_basename "$0" ||
3219
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3220
X"$0" : 'X\(//\)$' \| \
3221
X"$0" : 'X\(/\)$' \| \
3222
. : '\(.\)' 2>/dev/null ||
3224
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3225
/^X\/\(\/\/\)$/{ s//\1/; q; }
3226
/^X\/\(\/\).*/{ s//\1/; q; }
3230
# PATH needs CR, and LINENO needs CR and PATH.
3231
# Avoid depending upon Character Ranges.
3232
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3233
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3234
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3235
as_cr_digits='0123456789'
3236
as_cr_alnum=$as_cr_Letters$as_cr_digits
3238
# The user is always right.
3239
if test "${PATH_SEPARATOR+set}" != set; then
3240
echo "#! /bin/sh" >conf$$.sh
3241
echo "exit 0" >>conf$$.sh
3243
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3254
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3255
test "x$as_lineno_1" != "x$as_lineno_2" &&
3256
test "x$as_lineno_3" = "x$as_lineno_2" || {
3257
# Find who we are. Look in the path if we contain no path at all
3260
*[\\/]* ) as_myself=$0 ;;
3261
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265
test -z "$as_dir" && as_dir=.
3266
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3271
# We did not find ourselves, most probably we were run as `sh COMMAND'
3272
# in which case we are not to be found in the path.
3273
if test "x$as_myself" = x; then
3276
if test ! -f "$as_myself"; then
3277
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3278
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3279
{ (exit 1); exit 1; }; }
3281
case $CONFIG_SHELL in
3283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3287
test -z "$as_dir" && as_dir=.
3288
for as_base in sh bash ksh sh5; do
3291
if ("$as_dir/$as_base" -c '
3294
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3295
test "x$as_lineno_1" != "x$as_lineno_2" &&
3296
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3297
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3298
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3299
CONFIG_SHELL=$as_dir/$as_base
3301
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3309
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3310
# uniformly replaced by the line number. The first 'sed' inserts a
3311
# line-number line before each line; the second 'sed' does the real
3312
# work. The second script uses 'N' to pair each line-number line
3313
# with the numbered line, and appends trailing '-' during
3314
# substitution so that $LINENO is not a special case at line end.
3315
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3316
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3317
sed '=' <$as_myself |
3322
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3325
s,^['$as_cr_digits']*\n,,
3327
chmod +x $as_me.lineno ||
3328
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3329
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3330
{ (exit 1); exit 1; }; }
3332
# Don't try to exec as it changes $[0], causing all sort of problems
3333
# (the dirname of $[0] is not the place where we might find the
3334
# original and so on. Autoconf is especially sensible to this).
3336
# Exit status is that of the last command.
3341
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3342
*c*,-n*) ECHO_N= ECHO_C='
3344
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3345
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3348
if expr a : '\(a\)' >/dev/null 2>&1; then
3354
rm -f conf$$ conf$$.exe conf$$.file
3356
if ln -s conf$$.file conf$$ 2>/dev/null; then
3357
# We could just check for DJGPP; but this test a) works b) is more generic
3358
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3359
if test -f conf$$.exe; then
3360
# Don't use ln at all; we don't have any links
3365
elif ln conf$$.file conf$$ 2>/dev/null; then
3370
rm -f conf$$ conf$$.exe conf$$.file
3372
if mkdir -p . 2>/dev/null; then
3375
test -d ./-p && rmdir ./-p
3379
as_executable_p="test -f"
3381
# Sed expression to map a string onto a valid CPP name.
3382
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3384
# Sed expression to map a string onto a valid variable name.
3385
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3389
# We need space, tab and new line, in precisely that order.
3399
# Open the log real soon, to keep \$[0] and so on meaningful, and to
3400
# report actual input values of CONFIG_FILES etc. instead of their
3401
# values after options handling. Logging --version etc. is OK.
3405
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3406
## Running $as_me. ##
3411
This file was extended by inform $as_me 6.31.1, which was
3412
generated by GNU Autoconf 2.59. Invocation command line was
3414
CONFIG_FILES = $CONFIG_FILES
3415
CONFIG_HEADERS = $CONFIG_HEADERS
3416
CONFIG_LINKS = $CONFIG_LINKS
3417
CONFIG_COMMANDS = $CONFIG_COMMANDS
3421
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3425
# Files that config.status was made for.
3426
if test -n "$ac_config_files"; then
3427
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3430
if test -n "$ac_config_headers"; then
3431
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3434
if test -n "$ac_config_links"; then
3435
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3438
if test -n "$ac_config_commands"; then
3439
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3442
cat >>$CONFIG_STATUS <<\_ACEOF
3445
\`$as_me' instantiates files from templates according to the
3446
current configuration.
3448
Usage: $0 [OPTIONS] [FILE]...
3450
-h, --help print this help, then exit
3451
-V, --version print version number, then exit
3452
-q, --quiet do not print progress messages
3453
-d, --debug don't remove temporary files
3454
--recheck update $as_me by reconfiguring in the same conditions
3455
--file=FILE[:TEMPLATE]
3456
instantiate the configuration file FILE
3458
Configuration files:
3461
Configuration commands:
3464
Report bugs to <bug-autoconf@gnu.org>."
3467
cat >>$CONFIG_STATUS <<_ACEOF
3469
inform config.status 6.31.1
3470
configured by $0, generated by GNU Autoconf 2.59,
3471
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3473
Copyright (C) 2003 Free Software Foundation, Inc.
3474
This config.status script is free software; the Free Software Foundation
3475
gives unlimited permission to copy, distribute and modify it."
3480
cat >>$CONFIG_STATUS <<\_ACEOF
3481
# If no file are specified by the user, then we need to provide default
3482
# value. By we need to know if files were specified by the user.
3488
ac_option=`expr "x$1" : 'x\([^=]*\)='`
3489
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3497
*) # This is not an option, so the user has probably given explicit
3500
ac_need_defaults=false;;
3504
# Handling of the options.
3506
cat >>$CONFIG_STATUS <<\_ACEOF
3507
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3509
--version | --vers* | -V )
3510
echo "$ac_cs_version"; exit 0 ;;
3512
# Conflict between --help and --header
3513
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
3514
Try \`$0 --help' for more information." >&5
3515
echo "$as_me: error: ambiguous option: $1
3516
Try \`$0 --help' for more information." >&2;}
3517
{ (exit 1); exit 1; }; };;
3518
--help | --hel | -h )
3519
echo "$ac_cs_usage"; exit 0 ;;
3520
--debug | --d* | -d )
3522
--file | --fil | --fi | --f )
3524
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3525
ac_need_defaults=false;;
3526
--header | --heade | --head | --hea )
3528
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3529
ac_need_defaults=false;;
3530
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
3531
| -silent | --silent | --silen | --sile | --sil | --si | --s)
3535
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3536
Try \`$0 --help' for more information." >&5
3537
echo "$as_me: error: unrecognized option: $1
3538
Try \`$0 --help' for more information." >&2;}
3539
{ (exit 1); exit 1; }; } ;;
3541
*) ac_config_targets="$ac_config_targets $1" ;;
3547
ac_configure_extra_args=
3549
if $ac_cs_silent; then
3551
ac_configure_extra_args="$ac_configure_extra_args --silent"
3555
cat >>$CONFIG_STATUS <<_ACEOF
3556
if \$ac_cs_recheck; then
3557
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3558
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3563
cat >>$CONFIG_STATUS <<_ACEOF
3565
# INIT-COMMANDS section.
3568
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3574
cat >>$CONFIG_STATUS <<\_ACEOF
3575
for ac_config_target in $ac_config_targets
3577
case "$ac_config_target" in
3578
# Handling of arguments.
3579
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3580
"demos/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
3581
"include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
3582
"lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3583
"manual/Makefile" ) CONFIG_FILES="$CONFIG_FILES manual/Makefile" ;;
3584
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3585
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3586
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3587
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3588
{ (exit 1); exit 1; }; };;
3592
# If the user did not use the arguments to specify the items to instantiate,
3593
# then the envvar interface is used. Set only those that are not.
3594
# We use the long form for the default assignment because of an extremely
3595
# bizarre bug on SunOS 4.1.3.
3596
if $ac_need_defaults; then
3597
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3598
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3601
# Have a temporary directory for convenience. Make it in the build tree
3602
# simply because there is no reason to put it here, and in addition,
3603
# creating and moving files from /tmp can sometimes cause problems.
3604
# Create a temporary directory, and hook for its removal unless debugging.
3607
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3608
trap '{ (exit 1); exit 1; }' 1 2 13 15
3611
# Create a (secure) tmp directory for tmp files.
3614
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3615
test -n "$tmp" && test -d "$tmp"
3618
tmp=./confstat$$-$RANDOM
3619
(umask 077 && mkdir $tmp)
3622
echo "$me: cannot create a temporary directory in ." >&2
3623
{ (exit 1); exit 1; }
3628
cat >>$CONFIG_STATUS <<_ACEOF
3631
# CONFIG_FILES section.
3634
# No need to generate the scripts if there are no CONFIG_FILES.
3635
# This happens for instance when ./config.status config.h
3636
if test -n "\$CONFIG_FILES"; then
3637
# Protect against being on the right side of a sed subst in config.status.
3638
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3639
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3640
s,@SHELL@,$SHELL,;t t
3641
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3642
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3643
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3644
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3645
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3646
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3647
s,@exec_prefix@,$exec_prefix,;t t
3648
s,@prefix@,$prefix,;t t
3649
s,@program_transform_name@,$program_transform_name,;t t
3650
s,@bindir@,$bindir,;t t
3651
s,@sbindir@,$sbindir,;t t
3652
s,@libexecdir@,$libexecdir,;t t
3653
s,@datadir@,$datadir,;t t
3654
s,@sysconfdir@,$sysconfdir,;t t
3655
s,@sharedstatedir@,$sharedstatedir,;t t
3656
s,@localstatedir@,$localstatedir,;t t
3657
s,@libdir@,$libdir,;t t
3658
s,@includedir@,$includedir,;t t
3659
s,@oldincludedir@,$oldincludedir,;t t
3660
s,@infodir@,$infodir,;t t
3661
s,@mandir@,$mandir,;t t
3662
s,@build_alias@,$build_alias,;t t
3663
s,@host_alias@,$host_alias,;t t
3664
s,@target_alias@,$target_alias,;t t
3666
s,@ECHO_C@,$ECHO_C,;t t
3667
s,@ECHO_N@,$ECHO_N,;t t
3668
s,@ECHO_T@,$ECHO_T,;t t
3670
s,@INFORM_VERSION@,$INFORM_VERSION,;t t
3671
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3672
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3673
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3674
s,@CYGPATH_W@,$CYGPATH_W,;t t
3675
s,@PACKAGE@,$PACKAGE,;t t
3676
s,@VERSION@,$VERSION,;t t
3677
s,@ACLOCAL@,$ACLOCAL,;t t
3678
s,@AUTOCONF@,$AUTOCONF,;t t
3679
s,@AUTOMAKE@,$AUTOMAKE,;t t
3680
s,@AUTOHEADER@,$AUTOHEADER,;t t
3681
s,@MAKEINFO@,$MAKEINFO,;t t
3682
s,@install_sh@,$install_sh,;t t
3683
s,@STRIP@,$STRIP,;t t
3684
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3685
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3686
s,@mkdir_p@,$mkdir_p,;t t
3688
s,@SET_MAKE@,$SET_MAKE,;t t
3689
s,@am__leading_dot@,$am__leading_dot,;t t
3690
s,@AMTAR@,$AMTAR,;t t
3691
s,@am__tar@,$am__tar,;t t
3692
s,@am__untar@,$am__untar,;t t
3693
s,@build@,$build,;t t
3694
s,@build_cpu@,$build_cpu,;t t
3695
s,@build_vendor@,$build_vendor,;t t
3696
s,@build_os@,$build_os,;t t
3698
s,@host_cpu@,$host_cpu,;t t
3699
s,@host_vendor@,$host_vendor,;t t
3700
s,@host_os@,$host_os,;t t
3701
s,@CYGWIN_TRUE@,$CYGWIN_TRUE,;t t
3702
s,@CYGWIN_FALSE@,$CYGWIN_FALSE,;t t
3705
s,@CFLAGS@,$CFLAGS,;t t
3706
s,@LDFLAGS@,$LDFLAGS,;t t
3707
s,@CPPFLAGS@,$CPPFLAGS,;t t
3708
s,@ac_ct_CC@,$ac_ct_CC,;t t
3709
s,@EXEEXT@,$EXEEXT,;t t
3710
s,@OBJEXT@,$OBJEXT,;t t
3711
s,@DEPDIR@,$DEPDIR,;t t
3712
s,@am__include@,$am__include,;t t
3713
s,@am__quote@,$am__quote,;t t
3714
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3715
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3716
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3717
s,@CCDEPMODE@,$CCDEPMODE,;t t
3718
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3719
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3721
s,@LIBOBJS@,$LIBOBJS,;t t
3722
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3723
/@make_include@/r $make_include
3724
s,@make_include@,,;t t
3729
cat >>$CONFIG_STATUS <<\_ACEOF
3730
# Split the substitutions into bite-sized pieces for seds with
3731
# small command number limits, like on Digital OSF/1 and HP-UX.
3733
ac_sed_frag=1 # Number of current file.
3734
ac_beg=1 # First line for current file.
3735
ac_end=$ac_max_sed_lines # Line after last line for current file.
3738
while $ac_more_lines; do
3739
if test $ac_beg -gt 1; then
3740
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3742
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3744
if test ! -s $tmp/subs.frag; then
3747
# The purpose of the label and of the branching condition is to
3748
# speed up the sed processing (if there are no `@' at all, there
3749
# is no need to browse any of the substitutions).
3750
# These are the two extra sed commands mentioned above.
3752
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3753
if test -z "$ac_sed_cmds"; then
3754
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3756
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3758
ac_sed_frag=`expr $ac_sed_frag + 1`
3760
ac_end=`expr $ac_end + $ac_max_sed_lines`
3763
if test -z "$ac_sed_cmds"; then
3766
fi # test -n "$CONFIG_FILES"
3769
cat >>$CONFIG_STATUS <<\_ACEOF
3770
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3771
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3773
- | *:- | *:-:* ) # input from stdin
3775
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3776
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3777
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3778
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3779
* ) ac_file_in=$ac_file.in ;;
3782
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3783
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3784
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3785
X"$ac_file" : 'X\(//\)[^/]' \| \
3786
X"$ac_file" : 'X\(//\)$' \| \
3787
X"$ac_file" : 'X\(/\)' \| \
3788
. : '\(.\)' 2>/dev/null ||
3790
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3791
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3792
/^X\(\/\/\)$/{ s//\1/; q; }
3793
/^X\(\/\).*/{ s//\1/; q; }
3795
{ if $as_mkdir_p; then
3800
while test ! -d "$as_dir"; do
3801
as_dirs="$as_dir $as_dirs"
3802
as_dir=`(dirname "$as_dir") 2>/dev/null ||
3803
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3804
X"$as_dir" : 'X\(//\)[^/]' \| \
3805
X"$as_dir" : 'X\(//\)$' \| \
3806
X"$as_dir" : 'X\(/\)' \| \
3807
. : '\(.\)' 2>/dev/null ||
3809
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3810
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3811
/^X\(\/\/\)$/{ s//\1/; q; }
3812
/^X\(\/\).*/{ s//\1/; q; }
3815
test ! -n "$as_dirs" || mkdir $as_dirs
3816
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3817
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3818
{ (exit 1); exit 1; }; }; }
3822
if test "$ac_dir" != .; then
3823
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3824
# A "../" for each directory in $ac_dir_suffix.
3825
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3827
ac_dir_suffix= ac_top_builddir=
3831
.) # No --srcdir option. We are building in place.
3833
if test -z "$ac_top_builddir"; then
3836
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3838
[\\/]* | ?:[\\/]* ) # Absolute path.
3839
ac_srcdir=$srcdir$ac_dir_suffix;
3840
ac_top_srcdir=$srcdir ;;
3842
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3843
ac_top_srcdir=$ac_top_builddir$srcdir ;;
3846
# Do not use `cd foo && pwd` to compute absolute paths, because
3847
# the directories may not exist.
3849
.) ac_abs_builddir="$ac_dir";;
3852
.) ac_abs_builddir=`pwd`;;
3853
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3854
*) ac_abs_builddir=`pwd`/"$ac_dir";;
3857
case $ac_abs_builddir in
3858
.) ac_abs_top_builddir=${ac_top_builddir}.;;
3860
case ${ac_top_builddir}. in
3861
.) ac_abs_top_builddir=$ac_abs_builddir;;
3862
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3863
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3866
case $ac_abs_builddir in
3867
.) ac_abs_srcdir=$ac_srcdir;;
3870
.) ac_abs_srcdir=$ac_abs_builddir;;
3871
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3872
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3875
case $ac_abs_builddir in
3876
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3878
case $ac_top_srcdir in
3879
.) ac_abs_top_srcdir=$ac_abs_builddir;;
3880
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3881
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3887
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3888
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3891
if test x"$ac_file" != x-; then
3892
{ echo "$as_me:$LINENO: creating $ac_file" >&5
3893
echo "$as_me: creating $ac_file" >&6;}
3896
# Let's still pretend it is `configure' which instantiates (i.e., don't
3897
# use $as_me), people would be surprised to read:
3898
# /* config.h. Generated by config.status. */
3899
if test x"$ac_file" = x-; then
3902
configure_input="$ac_file. "
3904
configure_input=$configure_input"Generated from `echo $ac_file_in |
3905
sed 's,.*/,,'` by configure."
3907
# First look for the input files in the build tree, otherwise in the
3909
ac_file_inputs=`IFS=:
3910
for f in $ac_file_in; do
3912
-) echo $tmp/stdin ;;
3914
# Absolute (can't be DOS-style, as IFS=:)
3915
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3916
echo "$as_me: error: cannot find input file: $f" >&2;}
3917
{ (exit 1); exit 1; }; }
3920
if test -f "$f"; then
3923
elif test -f "$srcdir/$f"; then
3928
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3929
echo "$as_me: error: cannot find input file: $f" >&2;}
3930
{ (exit 1); exit 1; }; }
3933
done` || { (exit 1); exit 1; }
3935
cat >>$CONFIG_STATUS <<_ACEOF
3939
cat >>$CONFIG_STATUS <<\_ACEOF
3941
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3942
s,@configure_input@,$configure_input,;t t
3943
s,@srcdir@,$ac_srcdir,;t t
3944
s,@abs_srcdir@,$ac_abs_srcdir,;t t
3945
s,@top_srcdir@,$ac_top_srcdir,;t t
3946
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3947
s,@builddir@,$ac_builddir,;t t
3948
s,@abs_builddir@,$ac_abs_builddir,;t t
3949
s,@top_builddir@,$ac_top_builddir,;t t
3950
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3951
s,@INSTALL@,$ac_INSTALL,;t t
3952
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3954
if test x"$ac_file" != x-; then
3955
mv $tmp/out $ac_file
3963
cat >>$CONFIG_STATUS <<\_ACEOF
3966
# CONFIG_COMMANDS section.
3968
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3969
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3970
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3971
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3972
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3973
X"$ac_dest" : 'X\(//\)[^/]' \| \
3974
X"$ac_dest" : 'X\(//\)$' \| \
3975
X"$ac_dest" : 'X\(/\)' \| \
3976
. : '\(.\)' 2>/dev/null ||
3978
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3979
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3980
/^X\(\/\/\)$/{ s//\1/; q; }
3981
/^X\(\/\).*/{ s//\1/; q; }
3983
{ if $as_mkdir_p; then
3988
while test ! -d "$as_dir"; do
3989
as_dirs="$as_dir $as_dirs"
3990
as_dir=`(dirname "$as_dir") 2>/dev/null ||
3991
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3992
X"$as_dir" : 'X\(//\)[^/]' \| \
3993
X"$as_dir" : 'X\(//\)$' \| \
3994
X"$as_dir" : 'X\(/\)' \| \
3995
. : '\(.\)' 2>/dev/null ||
3997
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3998
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3999
/^X\(\/\/\)$/{ s//\1/; q; }
4000
/^X\(\/\).*/{ s//\1/; q; }
4003
test ! -n "$as_dirs" || mkdir $as_dirs
4004
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4005
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4006
{ (exit 1); exit 1; }; }; }
4010
if test "$ac_dir" != .; then
4011
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4012
# A "../" for each directory in $ac_dir_suffix.
4013
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4015
ac_dir_suffix= ac_top_builddir=
4019
.) # No --srcdir option. We are building in place.
4021
if test -z "$ac_top_builddir"; then
4024
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4026
[\\/]* | ?:[\\/]* ) # Absolute path.
4027
ac_srcdir=$srcdir$ac_dir_suffix;
4028
ac_top_srcdir=$srcdir ;;
4030
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4031
ac_top_srcdir=$ac_top_builddir$srcdir ;;
4034
# Do not use `cd foo && pwd` to compute absolute paths, because
4035
# the directories may not exist.
4037
.) ac_abs_builddir="$ac_dir";;
4040
.) ac_abs_builddir=`pwd`;;
4041
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4042
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4045
case $ac_abs_builddir in
4046
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4048
case ${ac_top_builddir}. in
4049
.) ac_abs_top_builddir=$ac_abs_builddir;;
4050
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4051
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4054
case $ac_abs_builddir in
4055
.) ac_abs_srcdir=$ac_srcdir;;
4058
.) ac_abs_srcdir=$ac_abs_builddir;;
4059
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4060
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4063
case $ac_abs_builddir in
4064
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4066
case $ac_top_srcdir in
4067
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4068
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4069
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4074
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4075
echo "$as_me: executing $ac_dest commands" >&6;}
4077
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4078
# Strip MF so we end up with the name of the file.
4079
mf=`echo "$mf" | sed -e 's/:.*$//'`
4080
# Check whether this is an Automake generated Makefile or not.
4081
# We used to match only the files named `Makefile.in', but
4082
# some people rename them; so instead we look at the file content.
4083
# Grep'ing the first line is not enough: some people post-process
4084
# each Makefile.in and add a new line on top of each file to say so.
4085
# So let's grep whole file.
4086
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4087
dirpart=`(dirname "$mf") 2>/dev/null ||
4088
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4089
X"$mf" : 'X\(//\)[^/]' \| \
4090
X"$mf" : 'X\(//\)$' \| \
4091
X"$mf" : 'X\(/\)' \| \
4092
. : '\(.\)' 2>/dev/null ||
4094
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4095
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4096
/^X\(\/\/\)$/{ s//\1/; q; }
4097
/^X\(\/\).*/{ s//\1/; q; }
4102
# Extract the definition of DEPDIR, am__include, and am__quote
4103
# from the Makefile without running `make'.
4104
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4105
test -z "$DEPDIR" && continue
4106
am__include=`sed -n 's/^am__include = //p' < "$mf"`
4107
test -z "am__include" && continue
4108
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4109
# When using ansi2knr, U may be empty or an underscore; expand it
4110
U=`sed -n 's/^U = //p' < "$mf"`
4111
# Find all dependency output files, they are included files with
4112
# $(DEPDIR) in their names. We invoke sed twice because it is the
4113
# simplest approach to changing $(DEPDIR) to its actual value in the
4115
for file in `sed -n "
4116
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4117
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4118
# Make sure the directory exists.
4119
test -f "$dirpart/$file" && continue
4120
fdir=`(dirname "$file") 2>/dev/null ||
4121
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4122
X"$file" : 'X\(//\)[^/]' \| \
4123
X"$file" : 'X\(//\)$' \| \
4124
X"$file" : 'X\(/\)' \| \
4125
. : '\(.\)' 2>/dev/null ||
4127
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4128
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4129
/^X\(\/\/\)$/{ s//\1/; q; }
4130
/^X\(\/\).*/{ s//\1/; q; }
4132
{ if $as_mkdir_p; then
4133
mkdir -p $dirpart/$fdir
4135
as_dir=$dirpart/$fdir
4137
while test ! -d "$as_dir"; do
4138
as_dirs="$as_dir $as_dirs"
4139
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4140
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4141
X"$as_dir" : 'X\(//\)[^/]' \| \
4142
X"$as_dir" : 'X\(//\)$' \| \
4143
X"$as_dir" : 'X\(/\)' \| \
4144
. : '\(.\)' 2>/dev/null ||
4146
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4147
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4148
/^X\(\/\/\)$/{ s//\1/; q; }
4149
/^X\(\/\).*/{ s//\1/; q; }
4152
test ! -n "$as_dirs" || mkdir $as_dirs
4153
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4154
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4155
{ (exit 1); exit 1; }; }; }
4157
# echo "creating $dirpart/$file"
4158
echo '# dummy' > "$dirpart/$file"
4166
cat >>$CONFIG_STATUS <<\_ACEOF
4168
{ (exit 0); exit 0; }
4170
chmod +x $CONFIG_STATUS
4171
ac_clean_files=$ac_clean_files_save
4174
# configure is writing to config.log, and then calls config.status.
4175
# config.status does its own redirection, appending to config.log.
4176
# Unfortunately, on DOS this fails, as config.log is still kept open
4177
# by configure, so config.status won't be able to write to it; its
4178
# output is simply discarded. So we exec the FD to /dev/null,
4179
# effectively closing config.log, so it can be properly (re)opened and
4180
# appended to by config.status. When coming back to configure, we
4181
# need to make the FD available again.
4182
if test "$no_create" != yes; then
4184
ac_config_status_args=
4185
test "$silent" = yes &&
4186
ac_config_status_args="$ac_config_status_args --quiet"
4188
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4190
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
4191
# would make configure fail if this is the last instruction.
4192
$ac_cs_success || { (exit 1); exit 1; }